Class: Inttegro::FinancialAccount::WalletRequestWallet

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

Overview

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

#mobile_money ⇒ Inttegro::FinancialAccount::WalletRequestWalletMobileMoney (readonly)

Value of the mobile_money field in the Inttegro API payload.

Required in the API payload. Wire name: mobile_money.



31
32
33
34
# File 'lib/inttegro/financial_account/wallet_request_wallet.rb', line 31

class WalletRequestWallet < T::Struct
  const :type, Inttegro::Wallet::Type
  const :mobile_money, Inttegro::FinancialAccount::WalletRequestWalletMobileMoney
end

#type ⇒ Inttegro::Wallet::Type (readonly)

Value of the type field in the Inttegro API payload.

Required in the API payload. Wire name: type.



31
32
33
34
# File 'lib/inttegro/financial_account/wallet_request_wallet.rb', line 31

class WalletRequestWallet < T::Struct
  const :type, Inttegro::Wallet::Type
  const :mobile_money, Inttegro::FinancialAccount::WalletRequestWalletMobileMoney
end