Class: Inttegro::Refund::SettlementMobileMoneyPaymentMethodMobileMoney
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::Refund::SettlementMobileMoneyPaymentMethodMobileMoney
- Defined in:
- lib/inttegro/refund/settlement_mobile_money_payment_method_mobile_money.rb
Overview
Typed representation of the settlement mobile money payment method 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
Masked mobile-money account number.
-
#last4 ⇒ String
readonly
Last four numeric digits of the original account number.
-
#network ⇒ Inttegro::Shared::MobileMoneyNetwork
readonly
Value of the
networkfield in the Inttegro API payload.
Instance Attribute Details
#account_number ⇒ String (readonly)
Masked mobile-money account number. The full number is never returned.
Required in the API payload. Wire name: account_number.
37 38 39 40 41 |
# File 'lib/inttegro/refund/settlement_mobile_money_payment_method_mobile_money.rb', line 37 class SettlementMobileMoneyPaymentMethodMobileMoney < T::Struct const :account_number, String const :last4, String const :network, Inttegro::Shared::MobileMoneyNetwork end |
#last4 ⇒ String (readonly)
Last four numeric digits of the original account number.
Required in the API payload. Wire name: last4.
37 38 39 40 41 |
# File 'lib/inttegro/refund/settlement_mobile_money_payment_method_mobile_money.rb', line 37 class SettlementMobileMoneyPaymentMethodMobileMoney < T::Struct const :account_number, String const :last4, 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.
37 38 39 40 41 |
# File 'lib/inttegro/refund/settlement_mobile_money_payment_method_mobile_money.rb', line 37 class SettlementMobileMoneyPaymentMethodMobileMoney < T::Struct const :account_number, String const :last4, String const :network, Inttegro::Shared::MobileMoneyNetwork end |