Class: Inttegro::Order::CheckoutSettings
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::Order::CheckoutSettings
- Defined in:
- lib/inttegro/order/checkout_settings.rb
Overview
Checkout and payment flow configuration for this order
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 the customer after canceling checkout.
-
#redirect_url ⇒ String?
readonly
URL to redirect the customer after payment completion.
Instance Attribute Details
#cancel_url ⇒ String? (readonly)
URL to redirect the customer after canceling checkout
Optional in the API payload; omitted values default to nil. Wire name: cancel_url.
29 30 31 32 |
# File 'lib/inttegro/order/checkout_settings.rb', line 29 class CheckoutSettings < 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 the customer after payment completion
Optional in the API payload; omitted values default to nil. Wire name: redirect_url.
29 30 31 32 |
# File 'lib/inttegro/order/checkout_settings.rb', line 29 class CheckoutSettings < T::Struct const :redirect_url, T.nilable(String), default: nil const :cancel_url, T.nilable(String), default: nil end |