\AuthorizeNetTD
A class to send a request to the Transaction Details XML API.
Synopsis
class AuthorizeNetTD
extends AuthorizeNetRequest
{
- // constants
- const LIVE_URL = "https://api.authorize.net/xml/v1/request.api";
- const SANDBOX_URL = "https://apitest.authorize.net/xml/v1/request.api";
- // members
- private $_xml;
- // Inherited members from AuthorizeNetRequest
- protected $_api_login;
- protected $_transaction_key;
- protected $_post_string;
- public boolean $VERIFY_PEER;
- protected boolean $_sandbox;
- protected boolean $_log_file;
- // methods
- public AuthorizeNetTD_Response getSettledBatchList()
- public AuthorizeNetTD_Response getSettledBatchListForMonth()
- public AuthorizeNetTD_Response getTransactionList()
- public array getTransactionsForDay()
- public AuthorizeNetTD_Response getTransactionDetails()
- public AuthorizeNetTD_Response getBatchStatistics()
- public AuthorizeNetTD_Response getUnsettledTransactionList()
- protected string _getPostUrl()
- protected AuthorizeNetTransactionDetails_Response _handleResponse()
- protected void _setPostString()
- private void _constructXml()
- // Inherited methods from AuthorizeNetRequest
- protected abstract void _setPostString()
- protected abstract void _handleResponse()
- protected abstract void _getPostUrl()
- public void __construct()
- public void setSandbox()
- public void setLogFile()
- public string getPostString()
- protected AuthorizeNetARB_Response _sendRequest()
Hierarchy
Extends
Constants
Name | Value |
---|---|
LIVE_URL | "https://api.authorize.net/xml/v1/request.api" |
SANDBOX_URL | "https://apitest.authorize.net/xml/v1/request.api" |
Members
private
- $_xml
protected
- $_api_login
- $_log_file
- $_post_string
- $_sandbox
- $_transaction_key
public
- $VERIFY_PEER
Methods
private
- _constructXml() — Start the SimpleXMLElement that will be posted.
protected
- _getPostUrl()
- _handleResponse()
- _setPostString() — Prepare the XML post string.
public
- getBatchStatistics() — This function returns statistics about the settled batch specified by $batchId.
- getSettledBatchList() — This function returns information about a settled batch: Batch ID, Settlement Time, & Settlement State. If you specify includeStatistics, you also receive batch statistics by payment type.
- getSettledBatchListForMonth() — Return all settled batches for a certain month.
- getTransactionDetails() — This function returns full transaction details for a specified transaction ID.
- getTransactionList() — This function returns limited transaction details for a specified batch ID
- getTransactionsForDay() — Return all transactions for a certain day.
- getUnsettledTransactionList() — This function returns the last 1000 unsettled transactions.
Inherited from AuthorizeNetRequest
protected
- _getPostUrl() — Get the post url. We need this because until 5.3 you you could not access child constants in a parent class.
- _handleResponse() — Handle the response string
- _sendRequest() — Posts the request to AuthorizeNet & returns response.
- _setPostString() — Set the _post_string
public
- getPostString() — Return the post string.
- setLogFile() — Set a log file.
- setSandbox() — Alter the gateway url.