diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION index b4a6a7f3..75329f83 100644 --- a/OPENAPI_VERSION +++ b/OPENAPI_VERSION @@ -1 +1 @@ -v1673 \ No newline at end of file +v1675 \ No newline at end of file diff --git a/lib/stripe/resources/checkout/session.rb b/lib/stripe/resources/checkout/session.rb index 4d2786b6..ee321272 100644 --- a/lib/stripe/resources/checkout/session.rb +++ b/lib/stripe/resources/checkout/session.rb @@ -3292,7 +3292,7 @@ module Stripe # prioritize the most relevant payment methods based on the customer's location and # other characteristics. attr_accessor :payment_method_types - # This property is used to set up permissions for various actions (e.g., update) on the CheckoutSession object. + # This property is used to set up permissions for various actions (e.g., update) on the CheckoutSession object. Can only be set when creating `embedded` or `custom` sessions. # # For specific permissions, please refer to their dedicated subsections, such as `permissions.update_shipping_details`. attr_accessor :permissions @@ -3631,7 +3631,7 @@ module Stripe @shipping_rate_data = shipping_rate_data end end - # Information about the customer collected within the Checkout Session. + # Information about the customer collected within the Checkout Session. Can only be set when updating `embedded` or `custom` sessions. attr_accessor :collected_information # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/lib/stripe/services/checkout/session_service.rb b/lib/stripe/services/checkout/session_service.rb index 311b2f4b..d0c4b6ef 100644 --- a/lib/stripe/services/checkout/session_service.rb +++ b/lib/stripe/services/checkout/session_service.rb @@ -2201,7 +2201,7 @@ module Stripe # prioritize the most relevant payment methods based on the customer's location and # other characteristics. attr_accessor :payment_method_types - # This property is used to set up permissions for various actions (e.g., update) on the CheckoutSession object. + # This property is used to set up permissions for various actions (e.g., update) on the CheckoutSession object. Can only be set when creating `embedded` or `custom` sessions. # # For specific permissions, please refer to their dedicated subsections, such as `permissions.update_shipping_details`. attr_accessor :permissions @@ -2549,7 +2549,7 @@ module Stripe @shipping_rate_data = shipping_rate_data end end - # Information about the customer collected within the Checkout Session. + # Information about the customer collected within the Checkout Session. Can only be set when updating `embedded` or `custom` sessions. attr_accessor :collected_information # Specifies which fields in the response should be expanded. attr_accessor :expand diff --git a/rbi/stripe.rbi b/rbi/stripe.rbi index 53ec3dc3..0849ebec 100644 --- a/rbi/stripe.rbi +++ b/rbi/stripe.rbi @@ -22447,7 +22447,7 @@ module Stripe # other characteristics. sig { returns(T.nilable(T::Array[String])) } attr_accessor :payment_method_types - # This property is used to set up permissions for various actions (e.g., update) on the CheckoutSession object. + # This property is used to set up permissions for various actions (e.g., update) on the CheckoutSession object. Can only be set when creating `embedded` or `custom` sessions. # # For specific permissions, please refer to their dedicated subsections, such as `permissions.update_shipping_details`. sig { returns(T.nilable(::Stripe::Checkout::Session::CreateParams::Permissions)) } @@ -22781,7 +22781,7 @@ module Stripe } def initialize(shipping_rate: nil, shipping_rate_data: nil); end end - # Information about the customer collected within the Checkout Session. + # Information about the customer collected within the Checkout Session. Can only be set when updating `embedded` or `custom` sessions. sig { returns(T.nilable(::Stripe::Checkout::Session::UpdateParams::CollectedInformation)) } attr_accessor :collected_information # Specifies which fields in the response should be expanded. @@ -122035,7 +122035,7 @@ module Stripe # other characteristics. sig { returns(T.nilable(T::Array[String])) } attr_accessor :payment_method_types - # This property is used to set up permissions for various actions (e.g., update) on the CheckoutSession object. + # This property is used to set up permissions for various actions (e.g., update) on the CheckoutSession object. Can only be set when creating `embedded` or `custom` sessions. # # For specific permissions, please refer to their dedicated subsections, such as `permissions.update_shipping_details`. sig { returns(T.nilable(::Stripe::Checkout::SessionService::CreateParams::Permissions)) } @@ -122384,7 +122384,7 @@ module Stripe } def initialize(shipping_rate: nil, shipping_rate_data: nil); end end - # Information about the customer collected within the Checkout Session. + # Information about the customer collected within the Checkout Session. Can only be set when updating `embedded` or `custom` sessions. sig { returns(T.nilable(::Stripe::Checkout::SessionService::UpdateParams::CollectedInformation)) } diff --git a/rbi/stripe/resources/checkout/session.rbi b/rbi/stripe/resources/checkout/session.rbi index 20c656c3..ce2907de 100644 --- a/rbi/stripe/resources/checkout/session.rbi +++ b/rbi/stripe/resources/checkout/session.rbi @@ -3824,7 +3824,7 @@ module Stripe # other characteristics. sig { returns(T.nilable(T::Array[String])) } attr_accessor :payment_method_types - # This property is used to set up permissions for various actions (e.g., update) on the CheckoutSession object. + # This property is used to set up permissions for various actions (e.g., update) on the CheckoutSession object. Can only be set when creating `embedded` or `custom` sessions. # # For specific permissions, please refer to their dedicated subsections, such as `permissions.update_shipping_details`. sig { returns(T.nilable(::Stripe::Checkout::Session::CreateParams::Permissions)) } @@ -4158,7 +4158,7 @@ module Stripe } def initialize(shipping_rate: nil, shipping_rate_data: nil); end end - # Information about the customer collected within the Checkout Session. + # Information about the customer collected within the Checkout Session. Can only be set when updating `embedded` or `custom` sessions. sig { returns(T.nilable(::Stripe::Checkout::Session::UpdateParams::CollectedInformation)) } attr_accessor :collected_information # Specifies which fields in the response should be expanded. diff --git a/rbi/stripe/services/checkout/session_service.rbi b/rbi/stripe/services/checkout/session_service.rbi index 68ec2b8c..db158bdf 100644 --- a/rbi/stripe/services/checkout/session_service.rbi +++ b/rbi/stripe/services/checkout/session_service.rbi @@ -2354,7 +2354,7 @@ module Stripe # other characteristics. sig { returns(T.nilable(T::Array[String])) } attr_accessor :payment_method_types - # This property is used to set up permissions for various actions (e.g., update) on the CheckoutSession object. + # This property is used to set up permissions for various actions (e.g., update) on the CheckoutSession object. Can only be set when creating `embedded` or `custom` sessions. # # For specific permissions, please refer to their dedicated subsections, such as `permissions.update_shipping_details`. sig { returns(T.nilable(::Stripe::Checkout::SessionService::CreateParams::Permissions)) } @@ -2703,7 +2703,7 @@ module Stripe } def initialize(shipping_rate: nil, shipping_rate_data: nil); end end - # Information about the customer collected within the Checkout Session. + # Information about the customer collected within the Checkout Session. Can only be set when updating `embedded` or `custom` sessions. sig { returns(T.nilable(::Stripe::Checkout::SessionService::UpdateParams::CollectedInformation)) }