Skip to content

Commit df49992

Browse files
OpenAPI Update (#779)
Update OpenAPI for 33d742be43edbbbb4eeec1d73b531d5d43e0af97 Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
1 parent cab7526 commit df49992

File tree

2 files changed

+136
-1
lines changed

2 files changed

+136
-1
lines changed

embedded/openapi/spec3.beta.sdk.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61328,6 +61328,7 @@
6132861328
"line_items",
6132961329
"livemode",
6133061330
"object",
61331+
"ship_from_details",
6133161332
"shipping_cost",
6133261333
"tax_amount_exclusive",
6133361334
"tax_amount_inclusive",
@@ -61937,6 +61938,7 @@
6193761938
"object",
6193861939
"reference",
6193961940
"reversal",
61941+
"ship_from_details",
6194061942
"shipping_cost",
6194161943
"tax_date",
6194261944
"type"
@@ -184564,7 +184566,7 @@
184564184566
"type": "array"
184565184567
},
184566184568
"ship_from_details": {
184567-
"description": "Details about the address from which the goods are being shippped.",
184569+
"description": "Details about the address from which the goods are being shipped.",
184568184570
"properties": {
184569184571
"address": {
184570184572
"description": "The address from which the goods are being shipped from.",

embedded/openapi/spec3.json

Lines changed: 133 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42736,6 +42736,15 @@
4273642736
],
4273742737
"type": "string"
4273842738
},
42739+
"ship_from_details": {
42740+
"anyOf": [
42741+
{
42742+
"$ref": "#/components/schemas/tax_product_resource_ship_from_details"
42743+
}
42744+
],
42745+
"description": "The details of the ship from location, such as the address.",
42746+
"nullable": true
42747+
},
4273942748
"shipping_cost": {
4274042749
"anyOf": [
4274142750
{
@@ -42782,6 +42791,7 @@
4278242791
"x-expandableFields": [
4278342792
"customer_details",
4278442793
"line_items",
42794+
"ship_from_details",
4278542795
"shipping_cost",
4278642796
"tax_breakdown"
4278742797
],
@@ -43095,6 +43105,15 @@
4309543105
"description": "If `type=reversal`, contains information about what was reversed.",
4309643106
"nullable": true
4309743107
},
43108+
"ship_from_details": {
43109+
"anyOf": [
43110+
{
43111+
"$ref": "#/components/schemas/tax_product_resource_ship_from_details"
43112+
}
43113+
],
43114+
"description": "The details of the ship from location, such as the address.",
43115+
"nullable": true
43116+
},
4309843117
"shipping_cost": {
4309943118
"anyOf": [
4310043119
{
@@ -43135,6 +43154,7 @@
4313543154
"customer_details",
4313643155
"line_items",
4313743156
"reversal",
43157+
"ship_from_details",
4313843158
"shipping_cost"
4313943159
],
4314043160
"x-resourceId": "tax.transaction"
@@ -44344,6 +44364,22 @@
4434444364
"type": "object",
4434544365
"x-expandableFields": []
4434644366
},
44367+
"tax_product_resource_ship_from_details": {
44368+
"description": "",
44369+
"properties": {
44370+
"address": {
44371+
"$ref": "#/components/schemas/tax_product_resource_postal_address"
44372+
}
44373+
},
44374+
"required": [
44375+
"address"
44376+
],
44377+
"title": "TaxProductResourceShipFromDetails",
44378+
"type": "object",
44379+
"x-expandableFields": [
44380+
"address"
44381+
]
44382+
},
4434744383
"tax_product_resource_tax_breakdown": {
4434844384
"description": "",
4434944385
"properties": {
@@ -139497,6 +139533,10 @@
139497139533
"explode": true,
139498139534
"style": "deepObject"
139499139535
},
139536+
"ship_from_details": {
139537+
"explode": true,
139538+
"style": "deepObject"
139539+
},
139500139540
"shipping_cost": {
139501139541
"explode": true,
139502139542
"style": "deepObject"
@@ -139761,6 +139801,99 @@
139761139801
},
139762139802
"type": "array"
139763139803
},
139804+
"ship_from_details": {
139805+
"description": "Details about the address from which the goods are being shipped.",
139806+
"properties": {
139807+
"address": {
139808+
"properties": {
139809+
"city": {
139810+
"anyOf": [
139811+
{
139812+
"maxLength": 5000,
139813+
"type": "string"
139814+
},
139815+
{
139816+
"enum": [
139817+
""
139818+
],
139819+
"type": "string"
139820+
}
139821+
]
139822+
},
139823+
"country": {
139824+
"maxLength": 5000,
139825+
"type": "string"
139826+
},
139827+
"line1": {
139828+
"anyOf": [
139829+
{
139830+
"maxLength": 5000,
139831+
"type": "string"
139832+
},
139833+
{
139834+
"enum": [
139835+
""
139836+
],
139837+
"type": "string"
139838+
}
139839+
]
139840+
},
139841+
"line2": {
139842+
"anyOf": [
139843+
{
139844+
"maxLength": 5000,
139845+
"type": "string"
139846+
},
139847+
{
139848+
"enum": [
139849+
""
139850+
],
139851+
"type": "string"
139852+
}
139853+
]
139854+
},
139855+
"postal_code": {
139856+
"anyOf": [
139857+
{
139858+
"maxLength": 5000,
139859+
"type": "string"
139860+
},
139861+
{
139862+
"enum": [
139863+
""
139864+
],
139865+
"type": "string"
139866+
}
139867+
]
139868+
},
139869+
"state": {
139870+
"anyOf": [
139871+
{
139872+
"maxLength": 5000,
139873+
"type": "string"
139874+
},
139875+
{
139876+
"enum": [
139877+
""
139878+
],
139879+
"type": "string"
139880+
}
139881+
]
139882+
}
139883+
},
139884+
"required": [
139885+
"country"
139886+
],
139887+
"title": "merchant_postal_address",
139888+
"type": "object"
139889+
}
139890+
},
139891+
"required": [
139892+
"address"
139893+
],
139894+
"title": "ship_from_details",
139895+
"type": "object"
139896+
},
139764139897
"shipping_cost": {
139765139898
"description": "Shipping cost details to be used for the calculation.",
139766139899
"properties": {

0 commit comments

Comments
 (0)