Class: Inttegro::Order::CreateExistingCustomerCheckoutSettings
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::Order::CreateExistingCustomerCheckoutSettings
- Defined in:
- lib/inttegro/order/create_existing_customer_checkout_settings.rb
Overview
Checkout and payment flow configuration. Strongly recommended to provide both redirect_url and cancel_url for a delightful customer experience.
This generated model is immutable. Construct it with .new, or decode a string-keyed API
payload with .from_hash. #serialize produces a string-keyed hash using the original wire
field names and serialized enum values.
Instance Attribute Summary collapse
-
#cancel_url ⇒ String?
readonly
URL to redirect customer if they cancel payment.
-
#redirect_url ⇒ String?
readonly
URL to redirect customer after payment completion.
Instance Attribute Details
#cancel_url ⇒ String? (readonly)
URL to redirect customer if they cancel payment
Optional in the API payload; omitted values default to nil. Wire name: cancel_url.
30 31 32 33 |
# File 'lib/inttegro/order/create_existing_customer_checkout_settings.rb', line 30 class CreateExistingCustomerCheckoutSettings < T::Struct const :redirect_url, T.nilable(String), default: nil const :cancel_url, T.nilable(String), default: nil end |
#redirect_url ⇒ String? (readonly)
URL to redirect customer after payment completion
Optional in the API payload; omitted values default to nil. Wire name: redirect_url.
30 31 32 33 |
# File 'lib/inttegro/order/create_existing_customer_checkout_settings.rb', line 30 class CreateExistingCustomerCheckoutSettings < T::Struct const :redirect_url, T.nilable(String), default: nil const :cancel_url, T.nilable(String), default: nil end |