Class: Inttegro::Order::PayoutSettingsRequest
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::Order::PayoutSettingsRequest
- Defined in:
- lib/inttegro/order/payout_settings_request.rb
Overview
Typed representation of the payout settings request object in the Inttegro API.
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
-
#destination ⇒ Inttegro::Order::PayoutSettingsRequestDestination?
readonly
Value of the
destinationfield in the Inttegro API payload. -
#enable_fx ⇒ Boolean?
readonly
Omit this field or set it to false.
Instance Attribute Details
#destination ⇒ Inttegro::Order::PayoutSettingsRequestDestination? (readonly)
Value of the destination field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: destination.
30 31 32 33 |
# File 'lib/inttegro/order/payout_settings_request.rb', line 30 class PayoutSettingsRequest < T::Struct const :destination, T.nilable(Inttegro::Order::PayoutSettingsRequestDestination), default: nil const :enable_fx, T.nilable(T::Boolean), default: nil end |
#enable_fx ⇒ Boolean? (readonly)
Omit this field or set it to false. Cross-currency payouts are not currently available.
Optional in the API payload; omitted values default to nil. Wire name: enable_fx.
30 31 32 33 |
# File 'lib/inttegro/order/payout_settings_request.rb', line 30 class PayoutSettingsRequest < T::Struct const :destination, T.nilable(Inttegro::Order::PayoutSettingsRequestDestination), default: nil const :enable_fx, T.nilable(T::Boolean), default: nil end |