A class to send a request to the CIM XML API.
package |
AuthorizeNet |
---|---|
subpackage |
AuthorizeNetCIM |
setRefId(string $refId)
string
createCustomerProfile(\AuthorizeNetCustomer $customerProfile, string $validationMode = "none") : \AuthorizeNetCIM_Response
createCustomerPaymentProfile(int $customerProfileId, \AuthorizeNetPaymentProfile $paymentProfile, string $validationMode = "none") : \AuthorizeNetCIM_Response
createCustomerShippingAddress(int $customerProfileId, \AuthorizeNetAddress $shippingAddress) : \AuthorizeNetCIM_Response
createCustomerProfileTransaction(string $transactionType, \AuthorizeNetTransaction $transaction, string $extraOptionsString = "") : \AuthorizeNetCIM_Response
deleteCustomerProfile(int $customerProfileId) : \AuthorizeNetCIM_Response
deleteCustomerPaymentProfile(int $customerProfileId, int $customerPaymentProfileId) : \AuthorizeNetCIM_Response
deleteCustomerShippingAddress(int $customerProfileId, int $customerAddressId) : \AuthorizeNetCIM_Response
getCustomerProfileIds() : \AuthorizeNetCIM_Response
getCustomerProfile(int $customerProfileId) : \AuthorizeNetCIM_Response
getCustomerPaymentProfile(int $customerProfileId, int $customerPaymentProfileId) : \AuthorizeNetCIM_Response
getCustomerShippingAddress(int $customerProfileId, int $customerAddressId) : \AuthorizeNetCIM_Response
updateCustomerProfile(int $customerProfileId, \AuthorizeNetCustomer $customerProfile) : \AuthorizeNetCIM_Response
updateCustomerPaymentProfile(int $customerProfileId, int $customerPaymentProfileId, \AuthorizeNetPaymentProfile $paymentProfile, string $validationMode = "none") : \AuthorizeNetCIM_Response
int
int
string
\AuthorizeNetCIM_Response
updateCustomerShippingAddress(int $customerProfileId, int $customerShippingAddressId, \AuthorizeNetAddress $shippingAddress) : \AuthorizeNetCIM_Response
updateSplitTenderGroup(int $splitTenderId, string $splitTenderStatus) : \AuthorizeNetCIM_Response
validateCustomerPaymentProfile(int $customerProfileId, int $customerPaymentProfileId, int $customerShippingAddressId, int $cardCode, string $validationMode = "testMode") : \AuthorizeNetCIM_Response
int
int
int
int
string
\AuthorizeNetCIM_Response
_getPostUrl() : string
string
_handleResponse(string $response) : \AuthorizeNetCIM_Response
_setPostString()
_constructXml(string $request_type)
string
The action to be performed.
_addObject(\SimpleXMLElement $destination, Object $object)
\SimpleXMLElement
The parent element.
Object
An object, array or value.
_notEmpty(Object $object) : bool
Object
bool
__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
_refId
_validationMode
_extraOptions
_transactionTypes
_api_login
_transaction_key
_post_string
VERIFY_PEER
_sandbox
_log_file