Sha256: ffc97307515963931cc24ed60a6900cfe91f91d600ad2ee61bfe615658c4264a

Contents?: true

Size: 564 Bytes

Versions: 3

Compression:

Stored size: 564 Bytes

Contents

require_relative '../entity_base'
require_relative '../../../util/non_instantiable'
require_relative '../../enum/account_type'

module MangoModel

  # Bank account entity
  class BankAccount < EntityBase
    extend NonInstantiable

    # [String] Its owning user's ID
    attr_accessor :user_id

    # [AccountType] Its type
    attr_accessor :type

    # [String] Its owner's name
    attr_accessor :owner_name

    # [Address] Its owner's address
    attr_accessor :owner_address

    # [true/false] Whether it's active or not
    attr_accessor :active
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

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