NAME

Finance::Bank::Bankwest::Transaction - representation of an account transaction

VERSION

This module is part of distribution Finance-Bank-Bankwest v1.0.1.

This distribution's version numbering follows the conventions defined at semver.org.

SYNOPSIS

$transaction->date;         # '31/12/2012'
$transaction->narrative;    # '1 BANK CHEQUE FEE - BWA CUSTOMER'
$transaction->cheque_num;   # undef
$transaction->amount;       # -10.00
$transaction->type;         # 'FEE'

DESCRIPTION

Instances of this module are returned by "transactions" in Finance::Bank::Bankwest::Session.

ATTRIBUTES

date

A string in DD/MM/YYYY format representing the date of the transaction.

narrative

A description of the transaction.

cheque_num

The cheque number for cheque withdrawals, or undef if not applicable.

amount

A positive or negative value representing the credit or debit value of the transaction respectively, or undef if not applicable (such as for fee notices or declined transactions).

type

The transaction "type." May be one of the following values (or even something else):

CHQ

Debit via cheque.

DAU

Authorisation only.

DEP

Non-salary deposit or EFTPOS refund.

DFD

Deposit via a Fast Deposit box.

DID

Dishonoured debit, e.g. bounced cheque.

DRI

Debit interest.

ENQ

Declined transaction.

FEE

Bank fee, e.g. bank cheque fee.

NAR

Information-only transaction without a credit or debit, such as notification of an ATM fee being paid by Bankwest or a breakdown of fees included in another transaction (such as foreign currency conversion).

PAY

Salary deposit.

TFC

Internal credit from another Bankwest account.

TFD

BPAY or internal debit to another Bankwest account.

WDC

Credit withdrawal.

WDI

Credit withdrawal by an international merchant.

WDL

ATM, EFTPOS or "pay anyone" withdrawal, or direct debit.

SEE ALSO

AUTHOR

Alex Peters <lxp@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2013 by Alex Peters.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

The full text of the license can be found in the 'LICENSE' file included with this distribution.