A class to send a request to the Transaction Details XML API.
package |
AuthorizeNet |
---|---|
subpackage |
AuthorizeNetTD |
getSettledBatchList(bool $includeStatistics = false, string $firstSettlementDate = false, string $lastSettlementDate = false, bool $utc = true) : \AuthorizeNetTD_Response
The detault date range is one day (the previous 24 hour period). The maximum date range is 31 days. The merchant time zone is taken into consideration when calculating the batch date range, unless the Z is specified in the first and last settlement date
bool
string
// yyyy-mmddTHH:MM:SS
string
// yyyy-mmddTHH:MM:SS
bool
// Use UTC instead of merchant time zone setting
\AuthorizeNetTD_Response
getSettledBatchListForMonth(int $month = false, int $year = false) : \AuthorizeNetTD_Response
getTransactionList(int $batchId) : \AuthorizeNetTD_Response
getTransactionsForDay(int $month = false, int $day = false, int $year = false) : array
int
int
int
array
Array of SimpleXMLElments
getTransactionDetails(int $transId) : \AuthorizeNetTD_Response
getBatchStatistics(int $batchId) : \AuthorizeNetTD_Response
getUnsettledTransactionList() : \AuthorizeNetTD_Response
_getPostUrl() : string
string
_handleResponse(string $response) : \AuthorizeNetTransactionDetails_Response
string
\AuthorizeNetTransactionDetails_Response
_setPostString()
_constructXml(string $request_type)
string
The action to be performed.
__construct(string $api_login_id = false, string $transaction_key = false)
string
The Merchant's API Login ID.
string
The Merchant's Transaction Key.
setSandbox(bool $bool)
bool
Use the Sandbox.
setLogFile(string $filepath)
string
Path to log file.
getPostString() : string
string
_sendRequest() : \AuthorizeNetARB_Response
LIVE_URL
SANDBOX_URL
_xml
_api_login
_transaction_key
_post_string
VERIFY_PEER
_sandbox
_log_file