Class: MangoModel::ClientWallet
- Inherits:
-
EntityBase
- Object
- EntityBase
- MangoModel::ClientWallet
- Includes:
- MangoPay::Jsonifier
- Defined in:
- lib/mangopay/model/entity/client_wallet.rb
Overview
Client Wallet entity The Client Wallet is very similar to a normal Wallet except the parameters description
and owners
are removed. Currently, there are two types of Client Wallet (specified by the funds_type
parameter) - FEES
where your collected turnover is stored and +CREDIT_ where repudiations are taken from. A normal wallet for a user has the FundsType
of DEFAULT
.
Constant Summary
Constants included from MangoPay::Jsonifier
Instance Attribute Summary collapse
-
#balance ⇒ Object
- Money
-
Its current balance.
-
#currency ⇒ Object
- CurrencyIso
-
Its funds’ currency.
-
#funds_type ⇒ Object
- FundsType
-
Its funds’ type.
Attributes inherited from EntityBase
Method Summary
Methods included from MangoPay::Jsonifier
Methods included from NonInstantiable
Instance Attribute Details
#balance ⇒ Object
- Money
-
Its current balance
15 16 17 |
# File 'lib/mangopay/model/entity/client_wallet.rb', line 15 def balance @balance end |
#currency ⇒ Object
- CurrencyIso
-
Its funds’ currency
21 22 23 |
# File 'lib/mangopay/model/entity/client_wallet.rb', line 21 def currency @currency end |
#funds_type ⇒ Object
- FundsType
-
Its funds’ type
18 19 20 |
# File 'lib/mangopay/model/entity/client_wallet.rb', line 18 def funds_type @funds_type end |