Properties

$xmlCcRegResponse

$xmlCcRegResponse : string

Example Credit Card Registration Response

Type

string

$xmlCcDbPendingResponse

$xmlCcDbPendingResponse : string

Example Credit Card Debit (pending) Response (with 3DSecure)

Type

string

$xmlDdDbResponse

$xmlDdDbResponse : string

Example Direct Debit Response

Type

string

$xmlIvRcResponse

$xmlIvRcResponse : string

Example Invoice Receipt Response

Type

string

$xmlPpPaResponse

$xmlPpPaResponse : string

Example Prepayment Pre-Authorisation Response

Type

string

$xmlInvalidResponse

$xmlInvalidResponse : string

Example invalid response that covers some null values

Type

string

Methods

setUp()

setUp() 

setUp sample response Object

isMappedResponseClass()

isMappedResponseClass() 

throwXmlResponseParserException()

throwXmlResponseParserException() 

Tests if an exception will be thrown when no raw response is set.

hasValidMappedCcRgProperties()

hasValidMappedCcRgProperties() 

This test validates all response values to be correct after the mapping process for a credit card registration response.

hasValidMappedCcDbPendingProperties()

hasValidMappedCcDbPendingProperties() 

This test validates all response values to be correct after the mapping process for a pending credit card debit response with 3d secure.

hasValidMappedDdDbProperties()

hasValidMappedDdDbProperties() 

hasValidMappedIvRcProperties()

hasValidMappedIvRcProperties() 

This test validates all response values to be correct after the mapping process for a invoice receipt response.

hasValidMappedPpPaProperties()

hasValidMappedPpPaProperties() 

This test validates all response values to be correct after the mapping process for a prepayment pre-authorisation response.

hasExceptedValuesOnIncompleteResponse()

hasExceptedValuesOnIncompleteResponse() 

setSampleCcRgResponse()

setSampleCcRgResponse() 

setSampleCcDbPendingResponse()

setSampleCcDbPendingResponse() 

setSampleDdDbResponse()

setSampleDdDbResponse() 

setSampleIvRcResponse()

setSampleIvRcResponse() 

setSamplePpPaResponse()

setSamplePpPaResponse() 

setSampleInvalidResponse()

setSampleInvalidResponse()