Skip to content

Commit

Permalink
OpenAPI Update (#740)
Browse files Browse the repository at this point in the history
Update OpenAPI for dc9615857c32bcea36b4ed88ab1e6291a71d649a

Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
  • Loading branch information
stripe-openapi[bot] committed Apr 2, 2024
1 parent 7b12bb1 commit c2ecbed
Show file tree
Hide file tree
Showing 2 changed files with 65 additions and 10 deletions.
47 changes: 41 additions & 6 deletions embedded/openapi/spec3.beta.sdk.json
Original file line number Diff line number Diff line change
Expand Up @@ -102403,6 +102403,11 @@
],
"title": "discount_end",
"type": "object"
},
"promotion_code": {
"description": "ID of the promotion code to create a new discount for.",
"maxLength": 5000,
"type": "string"
}
},
"title": "discounts_data_param",
Expand All @@ -102417,7 +102422,7 @@
"type": "string"
}
],
"description": "The coupons to redeem into discounts for the invoice item or invoice line item."
"description": "The coupons and promotion codes to redeem into discounts for the invoice item or invoice line item."
},
"expand": {
"description": "Specifies which fields in the response should be expanded.",
Expand Down Expand Up @@ -102852,6 +102857,11 @@
],
"title": "discount_end",
"type": "object"
},
"promotion_code": {
"description": "ID of the promotion code to create a new discount for.",
"maxLength": 5000,
"type": "string"
}
},
"title": "discounts_data_param",
Expand All @@ -102866,7 +102876,7 @@
"type": "string"
}
],
"description": "The coupons & existing discounts which apply to the invoice item or invoice line item. Item discounts are applied before invoice discounts. Pass an empty string to remove previously-defined discounts."
"description": "The coupons, promotion codes & existing discounts which apply to the invoice item or invoice line item. Item discounts are applied before invoice discounts. Pass an empty string to remove previously-defined discounts."
},
"expand": {
"description": "Specifies which fields in the response should be expanded.",
Expand Down Expand Up @@ -103643,6 +103653,11 @@
],
"title": "discount_end",
"type": "object"
},
"promotion_code": {
"description": "ID of the promotion code to create a new discount for.",
"maxLength": 5000,
"type": "string"
}
},
"title": "discounts_data_param",
Expand All @@ -103657,7 +103672,7 @@
"type": "string"
}
],
"description": "The coupons to redeem into discounts for the invoice. If not specified, inherits the discount from the invoice's customer. Pass an empty string to avoid inheriting any discounts."
"description": "The coupons and promotion codes to redeem into discounts for the invoice. If not specified, inherits the discount from the invoice's customer. Pass an empty string to avoid inheriting any discounts."
},
"due_date": {
"description": "The date on which payment for this invoice is due. Valid only for invoices where `collection_method=send_invoice`.",
Expand Down Expand Up @@ -114430,6 +114445,11 @@
],
"title": "discount_end",
"type": "object"
},
"promotion_code": {
"description": "ID of the promotion code to create a new discount for.",
"maxLength": 5000,
"type": "string"
}
},
"title": "discounts_data_param",
Expand Down Expand Up @@ -115417,6 +115437,11 @@
],
"title": "discount_end",
"type": "object"
},
"promotion_code": {
"description": "ID of the promotion code to create a new discount for.",
"maxLength": 5000,
"type": "string"
}
},
"title": "discounts_data_param",
Expand All @@ -115431,7 +115456,7 @@
"type": "string"
}
],
"description": "The coupons & existing discounts which apply to the line item. Item discounts are applied before invoice discounts. Pass an empty string to remove previously-defined discounts."
"description": "The coupons, promotion codes & existing discounts which apply to the line item. Item discounts are applied before invoice discounts. Pass an empty string to remove previously-defined discounts."
},
"invoice_item": {
"description": "ID of an unassigned invoice item to assign to this invoice. If not provided, a new item will be created.",
Expand Down Expand Up @@ -116163,6 +116188,11 @@
],
"title": "discount_end",
"type": "object"
},
"promotion_code": {
"description": "ID of the promotion code to create a new discount for.",
"maxLength": 5000,
"type": "string"
}
},
"title": "discounts_data_param",
Expand All @@ -116177,7 +116207,7 @@
"type": "string"
}
],
"description": "The coupons & existing discounts which apply to the line item. Item discounts are applied before invoice discounts. Pass an empty string to remove previously-defined discounts."
"description": "The coupons, promotion codes & existing discounts which apply to the line item. Item discounts are applied before invoice discounts. Pass an empty string to remove previously-defined discounts."
},
"expand": {
"description": "Specifies which fields in the response should be expanded.",
Expand Down Expand Up @@ -117192,6 +117222,11 @@
],
"title": "discount_end",
"type": "object"
},
"promotion_code": {
"description": "ID of the promotion code to create a new discount for.",
"maxLength": 5000,
"type": "string"
}
},
"title": "discounts_data_param",
Expand All @@ -117206,7 +117241,7 @@
"type": "string"
}
],
"description": "The coupons & existing discounts which apply to the line item. Item discounts are applied before invoice discounts. Pass an empty string to remove previously-defined discounts."
"description": "The coupons, promotion codes & existing discounts which apply to the line item. Item discounts are applied before invoice discounts. Pass an empty string to remove previously-defined discounts."
},
"id": {
"description": "ID of an existing line item on the invoice.",
Expand Down
28 changes: 24 additions & 4 deletions embedded/openapi/spec3.json
Original file line number Diff line number Diff line change
Expand Up @@ -81266,6 +81266,10 @@
"discount": {
"maxLength": 5000,
"type": "string"
},
"promotion_code": {
"maxLength": 5000,
"type": "string"
}
},
"title": "discounts_data_param",
Expand All @@ -81280,7 +81284,7 @@
"type": "string"
}
],
"description": "The coupons to redeem into discounts for the invoice item or invoice line item."
"description": "The coupons and promotion codes to redeem into discounts for the invoice item or invoice line item."
},
"expand": {
"description": "Specifies which fields in the response should be expanded.",
Expand Down Expand Up @@ -81646,6 +81650,10 @@
"discount": {
"maxLength": 5000,
"type": "string"
},
"promotion_code": {
"maxLength": 5000,
"type": "string"
}
},
"title": "discounts_data_param",
Expand All @@ -81660,7 +81668,7 @@
"type": "string"
}
],
"description": "The coupons & existing discounts which apply to the invoice item or invoice line item. Item discounts are applied before invoice discounts. Pass an empty string to remove previously-defined discounts."
"description": "The coupons, promotion codes & existing discounts which apply to the invoice item or invoice line item. Item discounts are applied before invoice discounts. Pass an empty string to remove previously-defined discounts."
},
"expand": {
"description": "Specifies which fields in the response should be expanded.",
Expand Down Expand Up @@ -82286,6 +82294,10 @@
"discount": {
"maxLength": 5000,
"type": "string"
},
"promotion_code": {
"maxLength": 5000,
"type": "string"
}
},
"title": "discounts_data_param",
Expand All @@ -82300,7 +82312,7 @@
"type": "string"
}
],
"description": "The coupons to redeem into discounts for the invoice. If not specified, inherits the discount from the invoice's customer. Pass an empty string to avoid inheriting any discounts."
"description": "The coupons and promotion codes to redeem into discounts for the invoice. If not specified, inherits the discount from the invoice's customer. Pass an empty string to avoid inheriting any discounts."
},
"due_date": {
"description": "The date on which payment for this invoice is due. Valid only for invoices where `collection_method=send_invoice`.",
Expand Down Expand Up @@ -85519,6 +85531,10 @@
"discount": {
"maxLength": 5000,
"type": "string"
},
"promotion_code": {
"maxLength": 5000,
"type": "string"
}
},
"title": "discounts_data_param",
Expand Down Expand Up @@ -86568,6 +86584,10 @@
"discount": {
"maxLength": 5000,
"type": "string"
},
"promotion_code": {
"maxLength": 5000,
"type": "string"
}
},
"title": "discounts_data_param",
Expand All @@ -86582,7 +86602,7 @@
"type": "string"
}
],
"description": "The coupons & existing discounts which apply to the line item. Item discounts are applied before invoice discounts. Pass an empty string to remove previously-defined discounts."
"description": "The coupons, promotion codes & existing discounts which apply to the line item. Item discounts are applied before invoice discounts. Pass an empty string to remove previously-defined discounts."
},
"expand": {
"description": "Specifies which fields in the response should be expanded.",
Expand Down

0 comments on commit c2ecbed

Please sign in to comment.