Sha256: 4e6ac7b37c9b0ccae3c16f2d48621cd679411a8c2a74ae9fce2e51ee4d71b140

Contents?: true

Size: 741 Bytes

Versions: 3

Compression:

Stored size: 741 Bytes

Contents

require_relative '../../common/jsonifier'

module MangoModel

  # 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+.
  class ClientWallet < EntityBase
    include MangoPay::Jsonifier

    # [Money] Its current balance
    attr_accessor :balance

    # [FundsType] Its funds' type
    attr_accessor :funds_type

    # [CurrencyIso] Its funds' currency
    attr_accessor :currency
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
mangopay-v4-4.1.0 lib/mangopay/model/entity/client_wallet.rb
mangopay-v4-4.0.2 lib/mangopay/model/entity/client_wallet.rb
mangopay-v4-4.0.1 lib/mangopay/model/entity/client_wallet.rb