gray > Finance-Card-Discover-0.05 > Finance::Card::Discover::Account

Download:
Finance-Card-Discover-0.05.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source  

NAME ^

Finance::Card::Discover::Account

ACCESSORS ^

METHODS ^

balance

    $balance = $account->balance()

Requests and returns the balance for the account.

profile

    $profile = $account->profile()

Requests profile data for the account and returns a Finance::Card::Discover::Account::Profile object.

soan

    $soan = $account->soan()

Requests a new Secure Online Account Number and returns a Finance::Card::Discover::Account::SOAN object.

soan_transactions

    @soan_transactions = $account->soan_transactions()

Requests the last 50 transactions made with SOANs and returns a list of Finance::Card::Discover::Account::SOAN::Transaction objects.

transactions

    @transactions = $account->transactions()
    @transactions = $account->transactions(
        start => $state_date_time,
        end   => $end_date_time,
    )

Requests a list of credit card transactions and returns the corresponding Finance::Card::Discover::Account::Transaction objects. Given no arguments, the latest transactions are returned. The optional start and end arguments requests only transactions within that time range and should be DateTime or DateTime::Tiny objects.

Notes:

syntax highlighting: