GatewayRequest
in package
Table of Contents
Properties
- $txAmount : mixed
- $txCardExpiryMonth : mixed
- $txCardExpiryYear : mixed
- $txCardholderAddress : mixed
- $txCardholderEmailAddress : mixed
- $txCardholderFirstName : mixed
- $txCardholderLastName : mixed
- $txCardholderName : mixed
- $txCardholderPostalCode : mixed
- $txCardNumber : mixed
- $txCustomerBillingCountry : mixed
- $txCustomerID : mixed
- $txCustomerIPAddress : mixed
- $txCVN : mixed
- $txInvoiceDescription : mixed
- $txInvoiceReference : mixed
- $txOption1 : mixed
- $txOption2 : mixed
- $txOption3 : mixed
- $txTransactionNumber : mixed
Methods
- __construct() : mixed
- CardExpiryMonth() : mixed
- CardExpiryYear() : mixed
- CardHolderName() : mixed
- CardNumber() : mixed
- CreateNode() : mixed
- Builds a simple XML Node
- CustomerBillingCountry() : mixed
- CustomerIPAddress() : mixed
- CVN() : mixed
- EwayCustomerID() : mixed
- EwayOption1() : mixed
- EwayOption2() : mixed
- EwayOption3() : mixed
- GetTransactionNumber() : mixed
- InvoiceAmount() : mixed
- InvoiceDescription() : mixed
- InvoiceReference() : mixed
- PurchaserAddress() : mixed
- PurchaserEmailAddress() : mixed
- PurchaserFirstName() : mixed
- PurchaserLastName() : mixed
- PurchaserPostalCode() : mixed
- replaceEntities() : string
- replace XML entities
- ToXml() : mixed
- TransactionNumber() : mixed
Properties
$txAmount
public
mixed
$txAmount
= 0
$txCardExpiryMonth
public
mixed
$txCardExpiryMonth
= "01"
$txCardExpiryYear
public
mixed
$txCardExpiryYear
= "00"
$txCardholderAddress
public
mixed
$txCardholderAddress
= ""
$txCardholderEmailAddress
public
mixed
$txCardholderEmailAddress
= ""
$txCardholderFirstName
public
mixed
$txCardholderFirstName
= ""
$txCardholderLastName
public
mixed
$txCardholderLastName
= ""
$txCardholderName
public
mixed
$txCardholderName
= ""
$txCardholderPostalCode
public
mixed
$txCardholderPostalCode
= ""
$txCardNumber
public
mixed
$txCardNumber
= ""
$txCustomerBillingCountry
public
mixed
$txCustomerBillingCountry
= ""
$txCustomerID
public
mixed
$txCustomerID
= ""
$txCustomerIPAddress
public
mixed
$txCustomerIPAddress
= ""
$txCVN
public
mixed
$txCVN
= ""
$txInvoiceDescription
public
mixed
$txInvoiceDescription
= ""
$txInvoiceReference
public
mixed
$txInvoiceReference
= ""
$txOption1
public
mixed
$txOption1
= ""
$txOption2
public
mixed
$txOption2
= ""
$txOption3
public
mixed
$txOption3
= ""
$txTransactionNumber
public
mixed
$txTransactionNumber
= ""
Methods
__construct()
public
__construct() : mixed
CardExpiryMonth()
public
CardExpiryMonth(mixed $value) : mixed
Parameters
- $value : mixed
CardExpiryYear()
public
CardExpiryYear(mixed $value) : mixed
Parameters
- $value : mixed
CardHolderName()
public
CardHolderName(mixed $value) : mixed
Parameters
- $value : mixed
CardNumber()
public
CardNumber(mixed $value) : mixed
Parameters
- $value : mixed
CreateNode()
Builds a simple XML Node
public
CreateNode(mixed $NodeName, mixed $NodeValue) : mixed
'NodeName' is the anem of the node being created. 'NodeValue' is its value
Parameters
- $NodeName : mixed
- $NodeValue : mixed
CustomerBillingCountry()
public
CustomerBillingCountry(mixed $value) : mixed
Parameters
- $value : mixed
CustomerIPAddress()
public
CustomerIPAddress(mixed $value) : mixed
Parameters
- $value : mixed
CVN()
public
CVN(mixed $value) : mixed
Parameters
- $value : mixed
EwayCustomerID()
public
EwayCustomerID(mixed $value) : mixed
Parameters
- $value : mixed
EwayOption1()
public
EwayOption1(mixed $value) : mixed
Parameters
- $value : mixed
EwayOption2()
public
EwayOption2(mixed $value) : mixed
Parameters
- $value : mixed
EwayOption3()
public
EwayOption3(mixed $value) : mixed
Parameters
- $value : mixed
GetTransactionNumber()
public
GetTransactionNumber() : mixed
InvoiceAmount()
public
InvoiceAmount(mixed $value) : mixed
Parameters
- $value : mixed
InvoiceDescription()
public
InvoiceDescription(mixed $value) : mixed
Parameters
- $value : mixed
InvoiceReference()
public
InvoiceReference(mixed $value) : mixed
Parameters
- $value : mixed
PurchaserAddress()
public
PurchaserAddress(mixed $value) : mixed
Parameters
- $value : mixed
PurchaserEmailAddress()
public
PurchaserEmailAddress(mixed $value) : mixed
Parameters
- $value : mixed
PurchaserFirstName()
public
PurchaserFirstName(mixed $value) : mixed
Parameters
- $value : mixed
PurchaserLastName()
public
PurchaserLastName(mixed $value) : mixed
Parameters
- $value : mixed
PurchaserPostalCode()
public
PurchaserPostalCode(mixed $value) : mixed
Parameters
- $value : mixed
replaceEntities()
replace XML entities
public
static replaceEntities(string $string) : string
// replace XML entites:
$string = self::replaceEntities('This string contains < & >.');
Parameters
- $string : string
-
string where XML special chars should be replaced
Return values
string —string with replaced chars
ToXml()
public
ToXml() : mixed
TransactionNumber()
public
TransactionNumber(mixed $value) : mixed
Parameters
- $value : mixed