elixir_authorizenet v0.4.1 AuthorizeNet.BankAccount

Bank account information for payment profiles and other transactions.

Copyright 2015 Marcelo Gornstein marcelog@gmail.com

Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Summary

Functions

Builds a BankAccount from an xmlElement record

Renders the given bank account structure as a structure suitable to be rendered as xml

Types

account_type()
account_type() :: :savings | :checking | :business_checking
echeck_type()
echeck_type() :: :ccd | :ppd | :tel | :web
t()
t() :: %AuthorizeNet.BankAccount{account_number: term, bank_name: term, echeck_type: term, name_on_account: term, routing_number: term, type: term}

Functions

business_checking(bank_name, routing_number, account_number, name_on_account, echeck_type)

Creates a new business checking account.

checking(bank_name, routing_number, account_number, name_on_account, echeck_type)

Creates a new checking account.

from_xml(doc)
from_xml(Record) :: AuthorizeNet.BankAccount.t

Builds a BankAccount from an xmlElement record.

savings(bank_name, routing_number, account_number, name_on_account, echeck_type)

Creates a new savings account.

to_xml(account)

Renders the given bank account structure as a structure suitable to be rendered as xml.