Class: Inttegro::PaymentMethod::MobileMoney
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::PaymentMethod::MobileMoney
- Defined in:
- lib/inttegro/payment_method/mobile_money.rb
Overview
Masked mobile-money wallet details (present when type is mobile_money)
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
Masked wallet number.
-
#last4 ⇒ String
readonly
Last four numeric digits of the normalized wallet number.
-
#network ⇒ Inttegro::Shared::MobileMoneyNetwork
readonly
Mobile network operator.
Instance Attribute Details
#account_number ⇒ String (readonly)
Masked wallet number. The full account number is never returned.
Required in the API payload. Wire name: account_number.
36 37 38 39 40 |
# File 'lib/inttegro/payment_method/mobile_money.rb', line 36 class MobileMoney < T::Struct const :account_number, String const :last4, String const :network, Inttegro::Shared::MobileMoneyNetwork end |
#last4 ⇒ String (readonly)
Last four numeric digits of the normalized wallet number.
Required in the API payload. Wire name: last4.
36 37 38 39 40 |
# File 'lib/inttegro/payment_method/mobile_money.rb', line 36 class MobileMoney < T::Struct const :account_number, String const :last4, String const :network, Inttegro::Shared::MobileMoneyNetwork end |
#network ⇒ Inttegro::Shared::MobileMoneyNetwork (readonly)
Mobile network operator
Required in the API payload. Wire name: network.
36 37 38 39 40 |
# File 'lib/inttegro/payment_method/mobile_money.rb', line 36 class MobileMoney < T::Struct const :account_number, String const :last4, String const :network, Inttegro::Shared::MobileMoneyNetwork end |