|
Squiz Matrix
4.12.2
|
Public Member Functions | |
| __construct () | |
| getTransactionDatasetArray () | |
| getTransactionDatasetXML () | |
| _convertToXML ($str) | |
| addPurchaserRow ($fname, $sname, $email, $address1, $address2, $suburb, $city, $postcode) | |
| addTransactionRow ($reference_id, $credit_card, $expiry_date, $card_holder_name, $merchant_id='', $payment_model='', $gst_rate=0) | |
| addLineItemRow ($application_username, $name, $description, $quantity, $refund_type, $refund_expiry_date, $amount, $product_code, $financial_code, $financial_values, $additional_info) | |
| _getNewTransactionXSD () | |
Definition at line 28 of file transaction_dataset.inc.
| __construct | ( | ) |
Constructor
Definition at line 65 of file transaction_dataset.inc.
| _convertToXML | ( | $str | ) |
Converts an array structure into an xml string
Example: Array( "Profile" => Array( "Name" => "Maxx", "Age" => "22", ), ) will be converted into string: " <Profile> <Name>Maxx</Name> <Age>22</Age> </Profile> "
Array $str
Definition at line 148 of file transaction_dataset.inc.
| _getNewTransactionXSD | ( | ) |
Returns XSD for the new transaction dataset
Definition at line 313 of file transaction_dataset.inc.
| addLineItemRow | ( | $application_username, | |
| $name, | |||
| $description, | |||
| $quantity, | |||
| $refund_type, | |||
| $refund_expiry_date, | |||
| $amount, | |||
| $product_code, | |||
| $financial_code, | |||
| $financial_values, | |||
| $additional_info | |||
| ) |
Create an line item and add it to the list
| string | $application_username | |
| string | $name | |
| string | $description | |
| int | $quantity | |
| string | $refund_type | |
| string | $refund_expiry_date | |
| float | $amount | |
| string | $product_code | |
| string | $financial_code | |
| string | $financial_values | |
| string | $additional_info |
Definition at line 266 of file transaction_dataset.inc.
| addPurchaserRow | ( | $fname, | |
| $sname, | |||
| $email, | |||
| $address1, | |||
| $address2, | |||
| $suburb, | |||
| $city, | |||
| $postcode | |||
| ) |
Set purchaser details
| string | $fname | First name |
| string | $sname | Surname |
| string | ||
| string | $address1 | Address line 1 |
| string | $address1 | Address line 2 |
| string | $suburb | Suburb |
| string | $city | City |
| int | $postcode | Post code |
Definition at line 180 of file transaction_dataset.inc.
| addTransactionRow | ( | $reference_id, | |
| $credit_card, | |||
| $expiry_date, | |||
| $card_holder_name, | |||
$merchant_id = '', |
|||
$payment_model = '', |
|||
$gst_rate = 0 |
|||
| ) |
Set transaction details
| string | $reference_id | |
| string | $credit_card | |
| string | $expiry_date | |
| string | $card_holder_name | |
| int | $merchant_id | |
| string | $payment_model | |
| string | $gst_rate |
Definition at line 223 of file transaction_dataset.inc.
| getTransactionDatasetArray | ( | ) |
Return the transaction dataset array
Definition at line 78 of file transaction_dataset.inc.
| getTransactionDatasetXML | ( | ) |
Return the transaction dataset in xml format
Definition at line 104 of file transaction_dataset.inc.