Class: Inttegro::FinancialAccount::WalletMobileMoney

Inherits:
T::Struct
  • Object
show all
Defined in:
lib/inttegro/financial_account/wallet_mobile_money.rb

Overview

Typed representation of the wallet 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)

Value of the account_number field in the Inttegro API payload.

Required in the API payload. Wire name: account_number.

Returns:

  • (String)


30
31
32
33
# File 'lib/inttegro/financial_account/wallet_mobile_money.rb', line 30

class WalletMobileMoney < 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.



30
31
32
33
# File 'lib/inttegro/financial_account/wallet_mobile_money.rb', line 30

class WalletMobileMoney < T::Struct
  const :account_number, String
  const :network, Inttegro::Shared::MobileMoneyNetwork
end