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↑
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) | 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 |
xmlElement(args \\ []) | |
xmlElement(record, args) | |
xmlText(args \\ []) | |
xmlText(record, args) |
Types ↑
t :: %AuthorizeNet.BankAccount{account_number: term, bank_name: term, echeck_type: term, name_on_account: term, routing_number: term, type: term}
echeck_type :: :ccd | :ppd | :tel | :web
account_type :: :savings | :checking | :business_checking
Functions
Specs:
- business_checking(String.t, String.t, String.t, String.t, AuthorizeNet.BankAccount.echeck_type) :: AuthorizeNet.BankAccount.t | no_return
Creates a new business checking account.
Specs:
- checking(String.t, String.t, String.t, String.t, AuthorizeNet.BankAccount.echeck_type) :: AuthorizeNet.BankAccount.t | no_return
Creates a new checking account.
Specs:
- from_xml(Record) :: AuthorizeNet.BankAccount.t
Builds a BankAccount from an xmlElement record.
Specs:
- savings(String.t, String.t, String.t, String.t, AuthorizeNet.BankAccount.echeck_type) :: AuthorizeNet.BankAccount.t | no_return
Creates a new savings account.
Specs:
- to_xml(AuthorizeNet.BankAccount.t) :: Keyword.t
Renders the given bank account structure as a structure suitable to be rendered as xml.