Class: Inttegro::Refund::SettlementMobileMoneyPaymentMethodMobileMoney

Inherits:
T::Struct
  • Object
show all
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

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.

Returns:

  • (String)


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.

Returns:

  • (String)


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