Class: Inttegro::PaymentMethod::TokenizeMobileMoneyRequestMobileMoney
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::PaymentMethod::TokenizeMobileMoneyRequestMobileMoney
- Defined in:
- lib/inttegro/payment_method/tokenize_mobile_money_request_mobile_money.rb
Overview
Typed representation of the tokenize mobile money request 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 number in a valid local or international phone-number format.
-
#network ⇒ Inttegro::Shared::MobileMoneyNetwork
readonly
Value of the
networkfield in the Inttegro API payload.
Instance Attribute Details
#account_number ⇒ String (readonly)
Mobile-money number in a valid local or international phone-number format.
Required in the API payload. Wire name: account_number.
31 32 33 34 |
# File 'lib/inttegro/payment_method/tokenize_mobile_money_request_mobile_money.rb', line 31 class TokenizeMobileMoneyRequestMobileMoney < T::Struct const :account_number, String const :network, Inttegro::Shared::MobileMoneyNetwork end |
#network ⇒ Inttegro::Shared::MobileMoneyNetwork (readonly)
Value of the network field in the Inttegro API payload.
Required in the API payload. Wire name: network.
31 32 33 34 |
# File 'lib/inttegro/payment_method/tokenize_mobile_money_request_mobile_money.rb', line 31 class TokenizeMobileMoneyRequestMobileMoney < T::Struct const :account_number, String const :network, Inttegro::Shared::MobileMoneyNetwork end |