Skip to content

Commit

Permalink
Add tax
Browse files Browse the repository at this point in the history
  • Loading branch information
bakura10 committed Dec 24, 2014
1 parent e5038ae commit 46fb36f
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 2.8.1

* Add the new `tax_percent` property to subscriptions.

# 2.8.0

* [BC] Set default Stripe API to "2014-12-22" version
Expand Down
12 changes: 12 additions & 0 deletions src/Client/ServiceDescription/Stripe-v1.0.php
Original file line number Diff line number Diff line change
Expand Up @@ -1094,6 +1094,12 @@
'type' => 'string',
'required' => false
],
'tax_percent' => [
'description' => 'A positive decimal (with at most two decimal places) between 1 and 100 that represents the percentage of the subscription invoice subtotal that will be calculated and added as tax to the final amount each billing period',
'location' => 'query',
'type' => 'string',
'required' => false
],
'metadata' => [
'description' => 'Optional metadata',
'location' => 'query',
Expand Down Expand Up @@ -1250,6 +1256,12 @@
'type' => 'string',
'required' => false
],
'tax_percent' => [
'description' => 'A positive decimal (with at most two decimal places) between 1 and 100 that represents the percentage of the subscription invoice subtotal that will be calculated and added as tax to the final amount each billing period',
'location' => 'query',
'type' => 'string',
'required' => false
],
'metadata' => [
'description' => 'Optional metadata',
'location' => 'query',
Expand Down
12 changes: 12 additions & 0 deletions src/Client/ServiceDescription/Stripe-v1.1.php
Original file line number Diff line number Diff line change
Expand Up @@ -1094,6 +1094,12 @@
'type' => 'string',
'required' => false
],
'tax_percent' => [
'description' => 'A positive decimal (with at most two decimal places) between 1 and 100 that represents the percentage of the subscription invoice subtotal that will be calculated and added as tax to the final amount each billing period',
'location' => 'query',
'type' => 'string',
'required' => false
],
'metadata' => [
'description' => 'Optional metadata',
'location' => 'query',
Expand Down Expand Up @@ -1250,6 +1256,12 @@
'type' => 'string',
'required' => false
],
'tax_percent' => [
'description' => 'A positive decimal (with at most two decimal places) between 1 and 100 that represents the percentage of the subscription invoice subtotal that will be calculated and added as tax to the final amount each billing period',
'location' => 'query',
'type' => 'string',
'required' => false
],
'metadata' => [
'description' => 'Optional metadata',
'location' => 'query',
Expand Down

0 comments on commit 46fb36f

Please sign in to comment.