Class: Inttegro::FinancialAccount::UpdatedWallet
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::FinancialAccount::UpdatedWallet
- Defined in:
- lib/inttegro/financial_account/updated_wallet.rb
Overview
Update responses currently return the wallet ID without its type prefix.
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
Value of the
idfield in the Inttegro API payload. -
#mobile_money ⇒ Inttegro::FinancialAccount::WalletMobileMoney?
readonly
Value of the
mobile_moneyfield in the Inttegro API payload. -
#type ⇒ Inttegro::Wallet::Type
readonly
Value of the
typefield in the Inttegro API payload.
Instance Attribute Details
#id ⇒ String (readonly)
Value of the id field in the Inttegro API payload.
Required in the API payload. Wire name: id.
37 38 39 40 41 |
# File 'lib/inttegro/financial_account/updated_wallet.rb', line 37 class UpdatedWallet < T::Struct const :id, String const :type, Inttegro::Wallet::Type const :mobile_money, T.nilable(Inttegro::FinancialAccount::WalletMobileMoney), default: nil end |
#mobile_money ⇒ Inttegro::FinancialAccount::WalletMobileMoney? (readonly)
Value of the mobile_money field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: mobile_money.
37 38 39 40 41 |
# File 'lib/inttegro/financial_account/updated_wallet.rb', line 37 class UpdatedWallet < T::Struct const :id, String const :type, Inttegro::Wallet::Type const :mobile_money, T.nilable(Inttegro::FinancialAccount::WalletMobileMoney), default: nil end |
#type ⇒ Inttegro::Wallet::Type (readonly)
Value of the type field in the Inttegro API payload.
Required in the API payload. Wire name: type.
37 38 39 40 41 |
# File 'lib/inttegro/financial_account/updated_wallet.rb', line 37 class UpdatedWallet < T::Struct const :id, String const :type, Inttegro::Wallet::Type const :mobile_money, T.nilable(Inttegro::FinancialAccount::WalletMobileMoney), default: nil end |