Liz::FlavioSet::Transaction - module for Transaction objects of the FlavioSet
use Liz::FlavioSet; $flavioset = new Liz::FlavioSet;
$transaction = $flavioset->Transaction; $transaction = $flavioset->Transaction( $transactionID );
$transaction->update;
Provide object oriented access to transactions in a FlavioSet. Usually not accessed directly, but rather through the Liz::FlavioSet object and its Transaction method.
Create a new Transaction object from a FlavioSet object.
1 Liz::FlavioSet object 2 ID to created Transaction object with (default: none = new transaction)
1 instantiated object
It is not intended to call this method directly, but rather indirectly through the Liz::FlavioSet module.
$flavioset = new Liz::FlavioSet; $transaction = $flavioset->Transaction; $transaction = $flavioset->Transaction( $transactionID );
Update a Transaction object in the Liz::FlavioSet database.
1 ID with which the object was updated (undef = error)
$transactionID = $transaction->update;
Delete a Liz::FlavioSet::Transaction object from the database.
1 flag: whether action was successful
$transaction->delete;
The following methods allow you to inspect and/or change certain fields of the Liz::FlavioSet::Transaction object.
Return or set the Amount of the Liz::FlavioSet::Transaction object.
1 new amount (default: no change)
1 current/old amount
$transaction->Amount( $amount ); $amount = $transaction->amount;
Return the Created timestamp of the Liz::FlavioSet::Transaction object.
1 current timestamp value of the Created date
$created = $transaction->Created;
Return or set the CreditorID of the Liz::FlavioSet::Transaction object.
1 new creditorID (default: no change)
1 current/old creditorID
$transaction->CreditorID( $creditorID ); $creditorID = $transaction->CreditorID;
Return or set the DebtorID of the Liz::FlavioSet::Transaction object.
1 new debtorID (default: no change)
1 current/old debtorID
$transaction->DebtorID( $debtorID ); $debtorID = $transaction->DebtorID;
Return or set the Description of the Liz::FlavioSet::Transaction object.
1 new description (default: no change)
1 current/old description
$transaction->Description( $description ); $description = $transaction->Description;
Return the ID of the Liz::FlavioSet::Transaction object.
1 current ID of the object
$ID = $transaction->ID;
Return the IP-number from where the Liz::FlavioSet::Transaction object was created or last changed.
1 IP-number from which created or last changed
$IP = $transaction->IP;
Return or set the Options information of the Liz::FlavioSet::Transaction object.
1 new name value of the Options (default: no change)
1 current/old name value of the Options
$transaction->Options( $options ); $options = $transaction->Options;
Return or set the Status information of the Liz::FlavioSet::Transaction object.
1 new value of the Status (default: no change)
1 current/old value of the Status
$transaction->Status( $status ); $status = $transaction->Status;
Return the Updated timestamp of the Liz::FlavioSet::Transaction object.
1 current timestamp value of the Updated date
$updated = $transaction->Updated;
Elizabeth Mattijsen ( lizperl@INC.nl )
(C) 2000 International Network Consultants
First version of this true Perl module.