Class: Inttegro::Refund::SettlementMobileMoneyPaymentMethod
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::Refund::SettlementMobileMoneyPaymentMethod
- Defined in:
- lib/inttegro/refund/settlement_mobile_money_payment_method.rb
Overview
Typed representation of the settlement mobile money payment method 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
-
#id ⇒ String
readonly
Public identifier of the original payment method.
-
#mobile_money ⇒ Inttegro::Refund::SettlementMobileMoneyPaymentMethodMobileMoney
readonly
Value of the
mobile_moneyfield in the Inttegro API payload. -
#type ⇒ Inttegro::Refund::SettlementMobileMoneyPaymentMethodType
readonly
Value of the
typefield in the Inttegro API payload.
Instance Attribute Details
#id ⇒ String (readonly)
Public identifier of the original payment method.
Required in the API payload. Wire name: id.
38 39 40 41 42 |
# File 'lib/inttegro/refund/settlement_mobile_money_payment_method.rb', line 38 class SettlementMobileMoneyPaymentMethod < T::Struct const :id, String const :mobile_money, Inttegro::Refund::SettlementMobileMoneyPaymentMethodMobileMoney const :type, Inttegro::Refund::SettlementMobileMoneyPaymentMethodType end |
#mobile_money ⇒ Inttegro::Refund::SettlementMobileMoneyPaymentMethodMobileMoney (readonly)
Value of the mobile_money field in the Inttegro API payload.
Required in the API payload. Wire name: mobile_money.
38 39 40 41 42 |
# File 'lib/inttegro/refund/settlement_mobile_money_payment_method.rb', line 38 class SettlementMobileMoneyPaymentMethod < T::Struct const :id, String const :mobile_money, Inttegro::Refund::SettlementMobileMoneyPaymentMethodMobileMoney const :type, Inttegro::Refund::SettlementMobileMoneyPaymentMethodType end |
#type ⇒ Inttegro::Refund::SettlementMobileMoneyPaymentMethodType (readonly)
Value of the type field in the Inttegro API payload.
Required in the API payload. Wire name: type.
38 39 40 41 42 |
# File 'lib/inttegro/refund/settlement_mobile_money_payment_method.rb', line 38 class SettlementMobileMoneyPaymentMethod < T::Struct const :id, String const :mobile_money, Inttegro::Refund::SettlementMobileMoneyPaymentMethodMobileMoney const :type, Inttegro::Refund::SettlementMobileMoneyPaymentMethodType end |