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 Apr 26, 2024
1 parent 665f7ad commit 33d742b
Show file tree
Hide file tree
Showing 6 changed files with 460 additions and 2 deletions.
4 changes: 3 additions & 1 deletion openapi/spec3.beta.sdk.json
Original file line number Diff line number Diff line change
Expand Up @@ -61328,6 +61328,7 @@
"line_items",
"livemode",
"object",
"ship_from_details",
"shipping_cost",
"tax_amount_exclusive",
"tax_amount_inclusive",
Expand Down Expand Up @@ -61937,6 +61938,7 @@
"object",
"reference",
"reversal",
"ship_from_details",
"shipping_cost",
"tax_date",
"type"
Expand Down Expand Up @@ -184564,7 +184566,7 @@
"type": "array"
},
"ship_from_details": {
"description": "Details about the address from which the goods are being shippped.",
"description": "Details about the address from which the goods are being shipped.",
"properties": {
"address": {
"description": "The address from which the goods are being shipped from.",
Expand Down
4 changes: 3 additions & 1 deletion openapi/spec3.beta.sdk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55673,6 +55673,7 @@ components:
- line_items
- livemode
- object
- ship_from_details
- shipping_cost
- tax_amount_exclusive
- tax_amount_inclusive
Expand Down Expand Up @@ -56236,6 +56237,7 @@ components:
- object
- reference
- reversal
- ship_from_details
- shipping_cost
- tax_date
- type
Expand Down Expand Up @@ -175456,7 +175458,7 @@ paths:
ship_from_details:
description: >-
Details about the address from which the goods are being
shippped.
shipped.
properties:
address:
description: The address from which the goods are being shipped from.
Expand Down
133 changes: 133 additions & 0 deletions openapi/spec3.json
Original file line number Diff line number Diff line change
Expand Up @@ -42736,6 +42736,15 @@
],
"type": "string"
},
"ship_from_details": {
"anyOf": [
{
"$ref": "#/components/schemas/tax_product_resource_ship_from_details"
}
],
"description": "The details of the ship from location, such as the address.",
"nullable": true
},
"shipping_cost": {
"anyOf": [
{
Expand Down Expand Up @@ -42782,6 +42791,7 @@
"x-expandableFields": [
"customer_details",
"line_items",
"ship_from_details",
"shipping_cost",
"tax_breakdown"
],
Expand Down Expand Up @@ -43095,6 +43105,15 @@
"description": "If `type=reversal`, contains information about what was reversed.",
"nullable": true
},
"ship_from_details": {
"anyOf": [
{
"$ref": "#/components/schemas/tax_product_resource_ship_from_details"
}
],
"description": "The details of the ship from location, such as the address.",
"nullable": true
},
"shipping_cost": {
"anyOf": [
{
Expand Down Expand Up @@ -43135,6 +43154,7 @@
"customer_details",
"line_items",
"reversal",
"ship_from_details",
"shipping_cost"
],
"x-resourceId": "tax.transaction"
Expand Down Expand Up @@ -44344,6 +44364,22 @@
"type": "object",
"x-expandableFields": []
},
"tax_product_resource_ship_from_details": {
"description": "",
"properties": {
"address": {
"$ref": "#/components/schemas/tax_product_resource_postal_address"
}
},
"required": [
"address"
],
"title": "TaxProductResourceShipFromDetails",
"type": "object",
"x-expandableFields": [
"address"
]
},
"tax_product_resource_tax_breakdown": {
"description": "",
"properties": {
Expand Down Expand Up @@ -139497,6 +139533,10 @@
"explode": true,
"style": "deepObject"
},
"ship_from_details": {
"explode": true,
"style": "deepObject"
},
"shipping_cost": {
"explode": true,
"style": "deepObject"
Expand Down Expand Up @@ -139761,6 +139801,99 @@
},
"type": "array"
},
"ship_from_details": {
"description": "Details about the address from which the goods are being shipped.",
"properties": {
"address": {
"properties": {
"city": {
"anyOf": [
{
"maxLength": 5000,
"type": "string"
},
{
"enum": [
""
],
"type": "string"
}
]
},
"country": {
"maxLength": 5000,
"type": "string"
},
"line1": {
"anyOf": [
{
"maxLength": 5000,
"type": "string"
},
{
"enum": [
""
],
"type": "string"
}
]
},
"line2": {
"anyOf": [
{
"maxLength": 5000,
"type": "string"
},
{
"enum": [
""
],
"type": "string"
}
]
},
"postal_code": {
"anyOf": [
{
"maxLength": 5000,
"type": "string"
},
{
"enum": [
""
],
"type": "string"
}
]
},
"state": {
"anyOf": [
{
"maxLength": 5000,
"type": "string"
},
{
"enum": [
""
],
"type": "string"
}
]
}
},
"required": [
"country"
],
"title": "merchant_postal_address",
"type": "object"
}
},
"required": [
"address"
],
"title": "ship_from_details",
"type": "object"
},
"shipping_cost": {
"description": "Shipping cost details to be used for the calculation.",
"properties": {
Expand Down
Loading

0 comments on commit 33d742b

Please sign in to comment.