Class: Inttegro::Payout::SettingsLookup
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::Payout::SettingsLookup
- Defined in:
- lib/inttegro/payout/settings_lookup.rb
Overview
Complete payout settings read model
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
-
#destinations ⇒ Inttegro::Payout::Destinations
readonly
Supported currency-to-financial-account destination assignments.
-
#fx_enabled ⇒ Boolean?
readonly
Present only when foreign exchange is enabled in stored settings.
-
#schedule ⇒ Inttegro::Payout::SettingsLookupSchedule?
readonly
Active payout schedule returned when settings are retrieved.
Instance Attribute Details
#destinations ⇒ Inttegro::Payout::Destinations (readonly)
Supported currency-to-financial-account destination assignments.
Required in the API payload. Wire name: destinations.
37 38 39 40 41 |
# File 'lib/inttegro/payout/settings_lookup.rb', line 37 class SettingsLookup < T::Struct const :destinations, Inttegro::Payout::Destinations const :fx_enabled, T.nilable(T::Boolean), default: nil const :schedule, T.nilable(Inttegro::Payout::SettingsLookupSchedule), default: nil end |
#fx_enabled ⇒ Boolean? (readonly)
Present only when foreign exchange is enabled in stored settings
Optional in the API payload; omitted values default to nil. Wire name: fx_enabled.
37 38 39 40 41 |
# File 'lib/inttegro/payout/settings_lookup.rb', line 37 class SettingsLookup < T::Struct const :destinations, Inttegro::Payout::Destinations const :fx_enabled, T.nilable(T::Boolean), default: nil const :schedule, T.nilable(Inttegro::Payout::SettingsLookupSchedule), default: nil end |
#schedule ⇒ Inttegro::Payout::SettingsLookupSchedule? (readonly)
Active payout schedule returned when settings are retrieved.
Optional in the API payload; omitted values default to nil. Wire name: schedule.
37 38 39 40 41 |
# File 'lib/inttegro/payout/settings_lookup.rb', line 37 class SettingsLookup < T::Struct const :destinations, Inttegro::Payout::Destinations const :fx_enabled, T.nilable(T::Boolean), default: nil const :schedule, T.nilable(Inttegro::Payout::SettingsLookupSchedule), default: nil end |