Skip to content

Commit

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

Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
  • Loading branch information
stripe-openapi[bot] authored Sep 22, 2023
1 parent 08ac6d0 commit 0668699
Show file tree
Hide file tree
Showing 2 changed files with 271 additions and 0 deletions.
152 changes: 152 additions & 0 deletions embedded/openapi/spec3.beta.sdk.json
Original file line number Diff line number Diff line change
Expand Up @@ -16748,6 +16748,15 @@
"nullable": true,
"type": "string"
},
"rendering": {
"anyOf": [
{
"$ref": "#/components/schemas/invoices_invoice_rendering"
}
],
"description": "The rendering-related settings that control how the invoice is displayed on customer-facing surfaces such as PDF and Hosted Invoice Page.",
"nullable": true
},
"rendering_options": {
"anyOf": [
{
Expand Down Expand Up @@ -16967,6 +16976,7 @@
"pre_payment_credit_notes_amount",
"quote",
"receipt_number",
"rendering",
"rendering_options",
"shipping_cost",
"shipping_details",
Expand Down Expand Up @@ -17013,6 +17023,7 @@
"payment_intent",
"payment_settings",
"quote",
"rendering",
"rendering_options",
"shipping_cost",
"shipping_details",
Expand Down Expand Up @@ -17502,6 +17513,31 @@
"in_package": ""
}
},
"invoice_rendering_pdf": {
"description": "",
"properties": {
"page_size": {
"description": "Page size of invoice pdf. Options include a4, letter, and auto. If set to auto, page size will be switched to a4 or letter based on customer locale.",
"enum": [
"a4",
"auto",
"letter"
],
"nullable": true,
"type": "string"
}
},
"required": [
"page_size"
],
"title": "InvoiceRenderingPdf",
"type": "object",
"x-expandableFields": [],
"x-stripeResource": {
"class_name": "InvoiceRenderingPdfResource",
"in_package": ""
}
},
"invoice_setting_custom_field": {
"description": "",
"properties": {
Expand Down Expand Up @@ -18211,6 +18247,39 @@
"in_package": ""
}
},
"invoices_invoice_rendering": {
"description": "",
"properties": {
"amount_tax_display": {
"description": "How line-item prices and amounts will be displayed with respect to tax on invoice PDFs.",
"maxLength": 5000,
"nullable": true,
"type": "string"
},
"pdf": {
"anyOf": [
{
"$ref": "#/components/schemas/invoice_rendering_pdf"
}
],
"description": "Invoice pdf rendering options",
"nullable": true
}
},
"required": [
"amount_tax_display",
"pdf"
],
"title": "InvoicesInvoiceRendering",
"type": "object",
"x-expandableFields": [
"pdf"
],
"x-stripeResource": {
"class_name": "InvoiceRendering",
"in_package": ""
}
},
"invoices_payment_method_options": {
"description": "",
"properties": {
Expand Down Expand Up @@ -42488,6 +42557,15 @@
"nullable": true,
"type": "string"
},
"rendering": {
"anyOf": [
{
"$ref": "#/components/schemas/invoices_invoice_rendering"
}
],
"description": "The rendering-related settings that control how the invoice is displayed on customer-facing surfaces such as PDF and Hosted Invoice Page.",
"nullable": true
},
"rendering_options": {
"anyOf": [
{
Expand Down Expand Up @@ -42707,6 +42785,7 @@
"pre_payment_credit_notes_amount",
"quote",
"receipt_number",
"rendering",
"rendering_options",
"shipping_cost",
"shipping_details",
Expand Down Expand Up @@ -42752,6 +42831,7 @@
"payment_intent",
"payment_settings",
"quote",
"rendering",
"rendering_options",
"shipping_cost",
"shipping_details",
Expand Down Expand Up @@ -88596,6 +88676,10 @@
"explode": true,
"style": "deepObject"
},
"rendering": {
"explode": true,
"style": "deepObject"
},
"rendering_options": {
"explode": true,
"style": "deepObject"
Expand Down Expand Up @@ -89275,6 +89359,38 @@
],
"type": "string"
},
"rendering": {
"description": "The rendering-related settings that control how the invoice is displayed on customer-facing surfaces such as PDF and Hosted Invoice Page.",
"properties": {
"amount_tax_display": {
"description": "How line-item prices and amounts will be displayed with respect to tax on invoice PDFs. One of `exclude_tax` or `include_inclusive_tax`. `include_inclusive_tax` will include inclusive tax (and exclude exclusive tax) in invoice PDF amounts. `exclude_tax` will exclude all tax (inclusive and exclusive alike) from invoice PDF amounts.",
"enum": [
"",
"exclude_tax",
"include_inclusive_tax"
],
"type": "string"
},
"pdf": {
"description": "Invoice pdf rendering options",
"properties": {
"page_size": {
"description": "Page size for invoice PDF. Can be set to a4, letter, or auto.\n If set to auto, page size will be switched to a4 or letter based on customer locale.",
"enum": [
"a4",
"auto",
"letter"
],
"type": "string"
}
},
"title": "rendering_pdf_param",
"type": "object"
}
},
"title": "rendering_param",
"type": "object"
},
"rendering_options": {
"anyOf": [
{
Expand Down Expand Up @@ -92434,6 +92550,10 @@
"explode": true,
"style": "deepObject"
},
"rendering": {
"explode": true,
"style": "deepObject"
},
"rendering_options": {
"explode": true,
"style": "deepObject"
Expand Down Expand Up @@ -93111,6 +93231,38 @@
"title": "payment_settings",
"type": "object"
},
"rendering": {
"description": "The rendering-related settings that control how the invoice is displayed on customer-facing surfaces such as PDF and Hosted Invoice Page.",
"properties": {
"amount_tax_display": {
"description": "How line-item prices and amounts will be displayed with respect to tax on invoice PDFs. One of `exclude_tax` or `include_inclusive_tax`. `include_inclusive_tax` will include inclusive tax (and exclude exclusive tax) in invoice PDF amounts. `exclude_tax` will exclude all tax (inclusive and exclusive alike) from invoice PDF amounts.",
"enum": [
"",
"exclude_tax",
"include_inclusive_tax"
],
"type": "string"
},
"pdf": {
"description": "Invoice pdf rendering options",
"properties": {
"page_size": {
"description": "Page size for invoice PDF. Can be set to a4, letter, or auto.\n If set to auto, page size will be switched to a4 or letter based on customer locale.",
"enum": [
"a4",
"auto",
"letter"
],
"type": "string"
}
},
"title": "rendering_pdf_param",
"type": "object"
}
},
"title": "rendering_param",
"type": "object"
},
"rendering_options": {
"anyOf": [
{
Expand Down
Loading

0 comments on commit 0668699

Please sign in to comment.