Class: Inttegro::Shared::MobileMoney
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::Shared::MobileMoney
- Defined in:
- lib/inttegro/shared/mobile_money.rb
Overview
Typed representation of the mobile money 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
Mobile money account number.
-
#network ⇒ Inttegro::Shared::MobileMoneyNetwork
readonly
Mobile money service provider.
Instance Attribute Details
#account_number ⇒ String (readonly)
Mobile money account number
Required in the API payload. Wire name: account_number.
30 31 32 33 |
# File 'lib/inttegro/shared/mobile_money.rb', line 30 class MobileMoney < T::Struct const :network, Inttegro::Shared::MobileMoneyNetwork const :account_number, String end |
#network ⇒ Inttegro::Shared::MobileMoneyNetwork (readonly)
Mobile money service provider
Required in the API payload. Wire name: network.
30 31 32 33 |
# File 'lib/inttegro/shared/mobile_money.rb', line 30 class MobileMoney < T::Struct const :network, Inttegro::Shared::MobileMoneyNetwork const :account_number, String end |