Sha256: 58c526e4a0ec487ed69d35c9b1d23fd9229d0bfeba6a8605e4fbc8e0fcdc0ed2

Contents?: true

Size: 717 Bytes

Versions: 3

Compression:

Stored size: 717 Bytes

Contents

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

module MangoModel

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

    # [Array] Its owners (currently only one may be specified)
    attr_accessor :owners

    # [Money] Its current balance
    attr_accessor :balance

    # [FundsType] Its funds' type
    attr_accessor :funds_type

    # [String] Its description
    attr_accessor :description

    # [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/wallet.rb
mangopay-v4-4.0.2 lib/mangopay/model/entity/wallet.rb
mangopay-v4-4.0.1 lib/mangopay/model/entity/wallet.rb