From 4dd1f4b16f44f673c31226d2538ff5bcb192166d Mon Sep 17 00:00:00 2001 From: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> Date: Thu, 21 Sep 2023 17:56:04 +0000 Subject: [PATCH] Update generated code for v545 --- OPENAPI_VERSION | 2 +- checkout_session.go | 12 ++++++------ paymentlink.go | 12 ++++++------ 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION index 46e1697fde..688708d739 100644 --- a/OPENAPI_VERSION +++ b/OPENAPI_VERSION @@ -1 +1 @@ -v542 \ No newline at end of file +v545 \ No newline at end of file diff --git a/checkout_session.go b/checkout_session.go index 8d11b4b2fb..de6d1814d5 100644 --- a/checkout_session.go +++ b/checkout_session.go @@ -820,19 +820,19 @@ type CheckoutSessionCustomFieldParams struct { // Custom text that should be displayed alongside shipping address collection. type CheckoutSessionCustomTextShippingAddressParams struct { - // Text may be up to 1000 characters in length. + // Text may be up to 1200 characters in length. Message *string `form:"message"` } // Custom text that should be displayed alongside the payment confirmation button. type CheckoutSessionCustomTextSubmitParams struct { - // Text may be up to 1000 characters in length. + // Text may be up to 1200 characters in length. Message *string `form:"message"` } // Custom text that should be displayed in place of the default terms of service agreement text. type CheckoutSessionCustomTextTermsOfServiceAcceptanceParams struct { - // Text may be up to 1000 characters in length. + // Text may be up to 1200 characters in length. Message *string `form:"message"` } @@ -1961,19 +1961,19 @@ type CheckoutSessionCustomField struct { // Custom text that should be displayed alongside shipping address collection. type CheckoutSessionCustomTextShippingAddress struct { - // Text may be up to 1000 characters in length. + // Text may be up to 1200 characters in length. Message string `json:"message"` } // Custom text that should be displayed alongside the payment confirmation button. type CheckoutSessionCustomTextSubmit struct { - // Text may be up to 1000 characters in length. + // Text may be up to 1200 characters in length. Message string `json:"message"` } // Custom text that should be displayed in place of the default terms of service agreement text. type CheckoutSessionCustomTextTermsOfServiceAcceptance struct { - // Text may be up to 1000 characters in length. + // Text may be up to 1200 characters in length. Message string `json:"message"` } type CheckoutSessionCustomText struct { diff --git a/paymentlink.go b/paymentlink.go index e2e2ec80e4..391883bf6b 100644 --- a/paymentlink.go +++ b/paymentlink.go @@ -256,19 +256,19 @@ type PaymentLinkCustomFieldParams struct { // Custom text that should be displayed alongside shipping address collection. type PaymentLinkCustomTextShippingAddressParams struct { - // Text may be up to 1000 characters in length. + // Text may be up to 1200 characters in length. Message *string `form:"message"` } // Custom text that should be displayed alongside the payment confirmation button. type PaymentLinkCustomTextSubmitParams struct { - // Text may be up to 1000 characters in length. + // Text may be up to 1200 characters in length. Message *string `form:"message"` } // Custom text that should be displayed in place of the default terms of service agreement text. type PaymentLinkCustomTextTermsOfServiceAcceptanceParams struct { - // Text may be up to 1000 characters in length. + // Text may be up to 1200 characters in length. Message *string `form:"message"` } @@ -589,19 +589,19 @@ type PaymentLinkCustomField struct { // Custom text that should be displayed alongside shipping address collection. type PaymentLinkCustomTextShippingAddress struct { - // Text may be up to 1000 characters in length. + // Text may be up to 1200 characters in length. Message string `json:"message"` } // Custom text that should be displayed alongside the payment confirmation button. type PaymentLinkCustomTextSubmit struct { - // Text may be up to 1000 characters in length. + // Text may be up to 1200 characters in length. Message string `json:"message"` } // Custom text that should be displayed in place of the default terms of service agreement text. type PaymentLinkCustomTextTermsOfServiceAcceptance struct { - // Text may be up to 1000 characters in length. + // Text may be up to 1200 characters in length. Message string `json:"message"` } type PaymentLinkCustomText struct {