Sha256: 30fea9aa7bb566ec48126297678c2e1c4bd9eec49597f9b047b88eafa7cc3053

Contents?: true

Size: 518 Bytes

Versions: 3

Compression:

Stored size: 518 Bytes

Contents

require_relative 'bank_account'
require_relative '../../enum/account_type'
require_relative '../../../common/jsonifier'

module MangoModel

  # Bank account of +AccountType::OTHER+
  class OtherBankAccount < BankAccount
    include MangoPay::Jsonifier

    # [String] Its BIC code
    attr_accessor :bic

    # [String] Its account number
    attr_accessor :account_number

    # [CountryIso] Its country
    attr_accessor :country

    def initialize
      self.type = MangoModel::AccountType::OTHER
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

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