Skip to content

Commit

Permalink
OpenAPI Update (#779)
Browse files Browse the repository at this point in the history
Update OpenAPI for 33d742be43edbbbb4eeec1d73b531d5d43e0af97

Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
  • Loading branch information
stripe-openapi[bot] committed Apr 26, 2024
1 parent cab7526 commit df49992
Show file tree
Hide file tree
Showing 2 changed files with 136 additions and 1 deletion.
4 changes: 3 additions & 1 deletion embedded/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
133 changes: 133 additions & 0 deletions embedded/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

0 comments on commit df49992

Please sign in to comment.