Skip to content

Commit

Permalink
document updateQuantity
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Jul 12, 2015
1 parent 9386962 commit 25bf7ab
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions billing.md
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,10 @@ Sometimes subscriptions are affected by "quantity". For example, your applicatio
// Subtract five to the subscription's current quantity...
$user->subscription()->decrement(5);

Alternatively, you may set a specific quantity using the `updateQuantity` method:

$user->subscription()->updateQuantity(10);

For more information on subscription quantities, consult the [Stripe documentation](https://stripe.com/docs/guides/subscriptions#setting-quantities).

<a name="subscription-taxes"></a>
Expand Down

0 comments on commit 25bf7ab

Please sign in to comment.