Class: Inttegro::PaymentMethod::Settings
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::PaymentMethod::Settings
- Defined in:
- lib/inttegro/payment_method/settings.rb
Overview
Payment method acceptance configuration for an application
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
-
#bank_account ⇒ Inttegro::PaymentMethod::TypeSetting?
readonly
Settings for a specific payment method type.
-
#card ⇒ Inttegro::PaymentMethod::TypeSetting?
readonly
Settings for a specific payment method type.
-
#mobile_money ⇒ Inttegro::PaymentMethod::TypeSetting?
readonly
Settings for a specific payment method type.
-
#motito ⇒ Inttegro::PaymentMethod::TypeSetting?
readonly
Settings for a specific payment method type.
Instance Attribute Details
#bank_account ⇒ Inttegro::PaymentMethod::TypeSetting? (readonly)
Settings for a specific payment method type
Optional in the API payload; omitted values default to nil. Wire name: bank_account.
42 43 44 45 46 47 |
# File 'lib/inttegro/payment_method/settings.rb', line 42 class Settings < T::Struct const :mobile_money, T.nilable(Inttegro::PaymentMethod::TypeSetting), default: nil const :bank_account, T.nilable(Inttegro::PaymentMethod::TypeSetting), default: nil const :card, T.nilable(Inttegro::PaymentMethod::TypeSetting), default: nil const :motito, T.nilable(Inttegro::PaymentMethod::TypeSetting), default: nil end |
#card ⇒ Inttegro::PaymentMethod::TypeSetting? (readonly)
Settings for a specific payment method type
Optional in the API payload; omitted values default to nil. Wire name: card.
42 43 44 45 46 47 |
# File 'lib/inttegro/payment_method/settings.rb', line 42 class Settings < T::Struct const :mobile_money, T.nilable(Inttegro::PaymentMethod::TypeSetting), default: nil const :bank_account, T.nilable(Inttegro::PaymentMethod::TypeSetting), default: nil const :card, T.nilable(Inttegro::PaymentMethod::TypeSetting), default: nil const :motito, T.nilable(Inttegro::PaymentMethod::TypeSetting), default: nil end |
#mobile_money ⇒ Inttegro::PaymentMethod::TypeSetting? (readonly)
Settings for a specific payment method type
Optional in the API payload; omitted values default to nil. Wire name: mobile_money.
42 43 44 45 46 47 |
# File 'lib/inttegro/payment_method/settings.rb', line 42 class Settings < T::Struct const :mobile_money, T.nilable(Inttegro::PaymentMethod::TypeSetting), default: nil const :bank_account, T.nilable(Inttegro::PaymentMethod::TypeSetting), default: nil const :card, T.nilable(Inttegro::PaymentMethod::TypeSetting), default: nil const :motito, T.nilable(Inttegro::PaymentMethod::TypeSetting), default: nil end |
#motito ⇒ Inttegro::PaymentMethod::TypeSetting? (readonly)
Settings for a specific payment method type
Optional in the API payload; omitted values default to nil. Wire name: motito.
42 43 44 45 46 47 |
# File 'lib/inttegro/payment_method/settings.rb', line 42 class Settings < T::Struct const :mobile_money, T.nilable(Inttegro::PaymentMethod::TypeSetting), default: nil const :bank_account, T.nilable(Inttegro::PaymentMethod::TypeSetting), default: nil const :card, T.nilable(Inttegro::PaymentMethod::TypeSetting), default: nil const :motito, T.nilable(Inttegro::PaymentMethod::TypeSetting), default: nil end |