Class: MangoModel::Wallet
- Inherits:
-
EntityBase
- Object
- EntityBase
- MangoModel::Wallet
- Includes:
- MangoPay::Jsonifier
- Defined in:
- lib/mangopay/model/entity/wallet.rb
Overview
Wallet entity A Wallet is an object in which PayIns and Transfers from users are stored in order to collect money. Wallets can be paid into, funds can be withdrawn from them or transferred from one Wallet to another.
Constant Summary
Constants included from MangoPay::Jsonifier
Instance Attribute Summary collapse
-
#balance ⇒ Object
- Money
-
Its current balance.
-
#currency ⇒ Object
- CurrencyIso
-
Its funds’ currency.
-
#description ⇒ Object
- String
-
Its description.
-
#funds_type ⇒ Object
- FundsType
-
Its funds’ type.
-
#owners ⇒ Object
- Array
-
Its owners (currently only one may be specified).
Attributes inherited from EntityBase
Method Summary
Methods included from MangoPay::Jsonifier
Methods included from NonInstantiable
Instance Attribute Details
#balance ⇒ Object
- Money
-
Its current balance
17 18 19 |
# File 'lib/mangopay/model/entity/wallet.rb', line 17 def balance @balance end |
#currency ⇒ Object
- CurrencyIso
-
Its funds’ currency
26 27 28 |
# File 'lib/mangopay/model/entity/wallet.rb', line 26 def currency @currency end |
#description ⇒ Object
- String
-
Its description
23 24 25 |
# File 'lib/mangopay/model/entity/wallet.rb', line 23 def description @description end |
#funds_type ⇒ Object
- FundsType
-
Its funds’ type
20 21 22 |
# File 'lib/mangopay/model/entity/wallet.rb', line 20 def funds_type @funds_type end |
#owners ⇒ Object
- Array
-
Its owners (currently only one may be specified)
14 15 16 |
# File 'lib/mangopay/model/entity/wallet.rb', line 14 def owners @owners end |