Skip to content

Commit

Permalink
Update OpenAPI specification
Browse files Browse the repository at this point in the history
  • Loading branch information
stripe-openapi[bot] committed Jul 25, 2024
1 parent e489e2e commit cfc30af
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 28 deletions.
4 changes: 2 additions & 2 deletions openapi/spec3.beta.sdk.json
Original file line number Diff line number Diff line change
Expand Up @@ -63334,7 +63334,7 @@
"description": "A Tax Calculation allows you to calculate the tax to collect from your customer.\n\nRelated guide: [Calculate tax in your custom payment flow](https://stripe.com/docs/tax/custom)",
"properties": {
"amount_total": {
"description": "Total after taxes.",
"description": "Total amount after taxes in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal).",
"type": "integer"
},
"currency": {
Expand Down Expand Up @@ -189342,7 +189342,7 @@
"items": {
"properties": {
"amount": {
"description": "A positive integer representing the line item's total price in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal) (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency).\nThe minimum amount is $0.0 US or [equivalent in charge currency](https://stripe.com/docs/currencies#minimum-and-maximum-charge-amounts).\nThe amount value supports up to twelve digits (e.g., a value of 999999999999 for a USD charge of $9,999,999,999.99).\nIf `tax_behavior=inclusive`, then this amount includes taxes. Otherwise, taxes are calculated on top of this amount.",
"description": "A positive integer representing the line item's total price in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal).\nIf `tax_behavior=inclusive`, then this amount includes taxes. Otherwise, taxes are calculated on top of this amount.",
"type": "integer"
},
"product": {
Expand Down
15 changes: 4 additions & 11 deletions openapi/spec3.beta.sdk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57526,7 +57526,9 @@ components:
flow](https://stripe.com/docs/tax/custom)
properties:
amount_total:
description: Total after taxes.
description: >-
Total amount after taxes in the [smallest currency
unit](https://stripe.com/docs/currencies#zero-decimal).
type: integer
currency:
description: >-
Expand Down Expand Up @@ -179957,16 +179959,7 @@ paths:
description: >-
A positive integer representing the line item's total
price in the [smallest currency
unit](https://stripe.com/docs/currencies#zero-decimal)
(e.g., 100 cents to charge $1.00 or 100 to charge
¥100, a zero-decimal currency).

The minimum amount is $0.0 US or [equivalent in charge
currency](https://stripe.com/docs/currencies#minimum-and-maximum-charge-amounts).

The amount value supports up to twelve digits (e.g., a
value of 999999999999 for a USD charge of
$9,999,999,999.99).
unit](https://stripe.com/docs/currencies#zero-decimal).

If `tax_behavior=inclusive`, then this amount includes
taxes. Otherwise, taxes are calculated on top of this
Expand Down
2 changes: 1 addition & 1 deletion openapi/spec3.json
Original file line number Diff line number Diff line change
Expand Up @@ -44053,7 +44053,7 @@
"description": "A Tax Calculation allows you to calculate the tax to collect from your customer.\n\nRelated guide: [Calculate tax in your custom payment flow](https://stripe.com/docs/tax/custom)",
"properties": {
"amount_total": {
"description": "Total after taxes.",
"description": "Total amount after taxes in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal).",
"type": "integer"
},
"currency": {
Expand Down
4 changes: 2 additions & 2 deletions openapi/spec3.sdk.json
Original file line number Diff line number Diff line change
Expand Up @@ -53651,7 +53651,7 @@
"description": "A Tax Calculation allows you to calculate the tax to collect from your customer.\n\nRelated guide: [Calculate tax in your custom payment flow](https://stripe.com/docs/tax/custom)",
"properties": {
"amount_total": {
"description": "Total after taxes.",
"description": "Total amount after taxes in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal).",
"type": "integer"
},
"currency": {
Expand Down Expand Up @@ -151226,7 +151226,7 @@
"items": {
"properties": {
"amount": {
"description": "A positive integer representing the line item's total price in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal) (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency).\nThe minimum amount is $0.0 US or [equivalent in charge currency](https://stripe.com/docs/currencies#minimum-and-maximum-charge-amounts).\nThe amount value supports up to twelve digits (e.g., a value of 999999999999 for a USD charge of $9,999,999,999.99).\nIf `tax_behavior=inclusive`, then this amount includes taxes. Otherwise, taxes are calculated on top of this amount.",
"description": "A positive integer representing the line item's total price in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal).\nIf `tax_behavior=inclusive`, then this amount includes taxes. Otherwise, taxes are calculated on top of this amount.",
"type": "integer"
},
"product": {
Expand Down
15 changes: 4 additions & 11 deletions openapi/spec3.sdk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48932,7 +48932,9 @@ components:
flow](https://stripe.com/docs/tax/custom)
properties:
amount_total:
description: Total after taxes.
description: >-
Total amount after taxes in the [smallest currency
unit](https://stripe.com/docs/currencies#zero-decimal).
type: integer
currency:
description: >-
Expand Down Expand Up @@ -143757,16 +143759,7 @@ paths:
description: >-
A positive integer representing the line item's total
price in the [smallest currency
unit](https://stripe.com/docs/currencies#zero-decimal)
(e.g., 100 cents to charge $1.00 or 100 to charge
¥100, a zero-decimal currency).

The minimum amount is $0.0 US or [equivalent in charge
currency](https://stripe.com/docs/currencies#minimum-and-maximum-charge-amounts).

The amount value supports up to twelve digits (e.g., a
value of 999999999999 for a USD charge of
$9,999,999,999.99).
unit](https://stripe.com/docs/currencies#zero-decimal).

If `tax_behavior=inclusive`, then this amount includes
taxes. Otherwise, taxes are calculated on top of this
Expand Down
4 changes: 3 additions & 1 deletion openapi/spec3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41367,7 +41367,9 @@ components:
flow](https://stripe.com/docs/tax/custom)
properties:
amount_total:
description: Total after taxes.
description: >-
Total amount after taxes in the [smallest currency
unit](https://stripe.com/docs/currencies#zero-decimal).
type: integer
currency:
description: >-
Expand Down

0 comments on commit cfc30af

Please sign in to comment.