Class: Inttegro::Checkout::MobileMoneyData
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::Checkout::MobileMoneyData
- Defined in:
- lib/inttegro/checkout/mobile_money_data.rb
Overview
Typed representation of the mobile money data 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
-
#account_number ⇒ String
readonly
Value of the
account_numberfield in the Inttegro API payload. -
#network ⇒ Inttegro::Checkout::MobileMoneyDataNetwork
readonly
Value of the
networkfield in the Inttegro API payload. -
#reference ⇒ String?
readonly
Value of the
referencefield in the Inttegro API payload.
Instance Attribute Details
#account_number ⇒ String (readonly)
Value of the account_number field in the Inttegro API payload.
Required in the API payload. Wire name: account_number.
36 37 38 39 40 |
# File 'lib/inttegro/checkout/mobile_money_data.rb', line 36 class MobileMoneyData < T::Struct const :reference, T.nilable(String), default: nil const :network, Inttegro::Checkout::MobileMoneyDataNetwork const :account_number, String end |
#network ⇒ Inttegro::Checkout::MobileMoneyDataNetwork (readonly)
Value of the network field in the Inttegro API payload.
Required in the API payload. Wire name: network.
36 37 38 39 40 |
# File 'lib/inttegro/checkout/mobile_money_data.rb', line 36 class MobileMoneyData < T::Struct const :reference, T.nilable(String), default: nil const :network, Inttegro::Checkout::MobileMoneyDataNetwork 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/checkout/mobile_money_data.rb', line 36 class MobileMoneyData < T::Struct const :reference, T.nilable(String), default: nil const :network, Inttegro::Checkout::MobileMoneyDataNetwork const :account_number, String end |