Skip to content

Commit

Permalink
OpenAPI Update (#574)
Browse files Browse the repository at this point in the history
Update OpenAPI for 1d749d6aad1569a51971028c524b827efb5a2df6

Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
  • Loading branch information
stripe-openapi[bot] committed Dec 15, 2023
1 parent 63d66b1 commit d3bdaf2
Showing 1 changed file with 145 additions and 0 deletions.
145 changes: 145 additions & 0 deletions embedded/openapi/spec3.beta.sdk.json
Original file line number Diff line number Diff line change
Expand Up @@ -2357,6 +2357,7 @@
"setup_intent_mandate_invalid",
"setup_intent_setup_attempt_expired",
"setup_intent_unexpected_state",
"shipping_address_invalid",
"shipping_calculation_failed",
"sku_inactive",
"state_unsupported",
Expand Down Expand Up @@ -60520,6 +60521,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 @@ -60571,6 +60581,7 @@
"x-expandableFields": [
"customer_details",
"line_items",
"ship_from_details",
"shipping_cost",
"tax_breakdown"
],
Expand Down Expand Up @@ -61117,6 +61128,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 @@ -61162,6 +61182,7 @@
"customer_details",
"line_items",
"reversal",
"ship_from_details",
"shipping_cost"
],
"x-resourceId": "tax.transaction",
Expand Down Expand Up @@ -62476,6 +62497,26 @@
"in_package": ""
}
},
"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"
],
"x-stripeResource": {
"class_name": "ShipFromDetails",
"in_package": ""
}
},
"tax_product_resource_tax_breakdown": {
"description": "",
"properties": {
Expand Down Expand Up @@ -172727,6 +172768,10 @@
"explode": true,
"style": "deepObject"
},
"ship_from_details": {
"explode": true,
"style": "deepObject"
},
"shipping_cost": {
"explode": true,
"style": "deepObject"
Expand Down Expand Up @@ -173005,6 +173050,106 @@
},
"type": "array"
},
"ship_from_details": {
"description": "Details about the address from which the goods are being shippped.",
"properties": {
"address": {
"description": "The address from which the goods are being shipped from.",
"properties": {
"city": {
"anyOf": [
{
"maxLength": 5000,
"type": "string"
},
{
"enum": [
""
],
"type": "string"
}
],
"description": "City, district, suburb, town, or village."
},
"country": {
"description": "Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).",
"maxLength": 5000,
"type": "string"
},
"line1": {
"anyOf": [
{
"maxLength": 5000,
"type": "string"
},
{
"enum": [
""
],
"type": "string"
}
],
"description": "Address line 1 (e.g., street, PO Box, or company name)."
},
"line2": {
"anyOf": [
{
"maxLength": 5000,
"type": "string"
},
{
"enum": [
""
],
"type": "string"
}
],
"description": "Address line 2 (e.g., apartment, suite, unit, or building)."
},
"postal_code": {
"anyOf": [
{
"maxLength": 5000,
"type": "string"
},
{
"enum": [
""
],
"type": "string"
}
],
"description": "ZIP or postal code."
},
"state": {
"anyOf": [
{
"maxLength": 5000,
"type": "string"
},
{
"enum": [
""
],
"type": "string"
}
],
"description": "State/province as an [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2) subdivision code, without country prefix. Example: \"NY\" or \"TX\"."
}
},
"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 d3bdaf2

Please sign in to comment.