Class: Inttegro::PaymentMethod::MobileMoneyInput
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::PaymentMethod::MobileMoneyInput
- Defined in:
- lib/inttegro/payment_method/mobile_money_input.rb
Overview
Mobile-money wallet details.
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
-
#account_number ⇒ String
readonly
Mobile-money account number in local or international form.
-
#network ⇒ Inttegro::Shared::MobileMoneyNetwork
readonly
Mobile-money network provider.
-
#reference ⇒ String?
readonly
Value of the
referencefield in the Inttegro API payload.
Instance Attribute Details
#account_number ⇒ String (readonly)
Mobile-money account number in local or international form.
Required in the API payload. Wire name: account_number.
36 37 38 39 40 |
# File 'lib/inttegro/payment_method/mobile_money_input.rb', line 36 class MobileMoneyInput < T::Struct const :reference, T.nilable(String), default: nil const :network, Inttegro::Shared::MobileMoneyNetwork const :account_number, String end |
#network ⇒ Inttegro::Shared::MobileMoneyNetwork (readonly)
Mobile-money network provider.
Required in the API payload. Wire name: network.
36 37 38 39 40 |
# File 'lib/inttegro/payment_method/mobile_money_input.rb', line 36 class MobileMoneyInput < T::Struct const :reference, T.nilable(String), default: nil const :network, Inttegro::Shared::MobileMoneyNetwork const :account_number, String end |
#reference ⇒ String? (readonly)
Value of the reference field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: reference.
36 37 38 39 40 |
# File 'lib/inttegro/payment_method/mobile_money_input.rb', line 36 class MobileMoneyInput < T::Struct const :reference, T.nilable(String), default: nil const :network, Inttegro::Shared::MobileMoneyNetwork const :account_number, String end |