This class is an instantion of the Command class, that executes a command pertaining to fetching transactions information, in the default case from the database. This class should only be instantiated by dispatchMBAPI() found in include/mbapi/mbapi.php. Something similar to the following XML should be passed to dispatchMBAPI() when you want to call the GetTransactions command:
<mbapi> <command><!-- None --></command> <showXMLHeader><!-- None --></showXMLHeader> <params> <transactionIDs> <transactionID><!-- int --></transactionID> </transactionIDs> <billingAccountIDs> <billingAccountID><!-- int --></billingAccountID> </billingAccountIDs> <transactionPaymentMethod><!-- int --></transactionPaymentMethod> <authReturn><!-- int --></authReturn> <transactionCode><!-- string --></transactionCode> <transactionNotes><!-- string --></transactionNotes> <transactionDateCreated><!-- timestamp --></transactionDateCreated> <transactionDateCreatedGreaterThan><!-- None --></transactionDateCreatedGreaterThan> <transactionDateCreatedLessThan><!-- None --></transactionDateCreatedLessThan> <authCode><!-- int --></authCode> <avsCode><!-- int --></avsCode> <transactionAmount><!-- decimal --></transactionAmount> <transactionAmountGreaterThan><!-- None --></transactionAmountGreaterThan> <transactionAmountLessThan><!-- None --></transactionAmountLessThan> <currencyID><!-- string --></currencyID> <configGroupID><!-- int --></configGroupID> <invoiceIDs> <invoiceID><!-- int --></invoiceID> </invoiceIDs> <getInvoiceIDs><!-- None --></getInvoiceIDs> <getGatewayNames><!-- None --></getGatewayNames> <getClientNames><!-- None --></getClientNames> <getLineItemPayments><!-- None --></getLineItemPayments> <sortDir><!-- None --></sortDir> <sortColumn><!-- None --></sortColumn> <recordOffset><!-- None --></recordOffset> <numRecords><!-- None --></numRecords> </params> </mbapi>
None
mbapi
command
showXMLHeader
params
transactionIDs
transactionID
The ID(s) of the transaction to get.
billingAccountIDs
billingAccountID
The ID(s) of the transaction to get.
transactionPaymentMethod
transaction_payment_method - the payment method with which this transaction too place
authReturn
auth_return
transactionCode
The transaction code.
transactionNotes
The transaction notes.
transactionDateCreated
(int 10) The date this transaction was created.
transactionDateCreatedGreaterThan
transactionDateCreatedLessThan
authCode
The auth code?
avsCode
The avs code.
transactionAmount
The amount of this transaction.
transactionAmountGreaterThan
transactionAmountLessThan
currencyID
3 character code for currency
configGroupID
id of the config group for the gateway the charge was charged on
invoiceIDs
invoiceID
The ID(s) of the invoices in the invoice_transaction_rel table to get transactions for.
getInvoiceIDs
getGatewayNames
getClientNames
getLineItemPayments
sortDir
sortColumn
recordOffset
numRecords