The Transaction class allows you to set and get different trnasaction's properties - see details
TYPE: PARAMETER - VALUE(s), description
- STRING: STATUS - OK, ERROR
- STRING: OPERATION - CONFIRMATION
- STRING: TID - length <= 32
- STRING: TRANSACTION_STATUS - RESERVED, BILLED, REVERSED, CREDITED, ERROR
- INT: PRICE - length = 11 (e. g. "10" = "0,10")
- STRING: CURRENCY - length = 3 (ISO currency code, e. g. "EUR")
- STRING: P_TYPE - CC, ELV, EPS, GIROPAY, MAESTRO, PB, PSC, QUICK, etc
- STRING: BRAND - AMEX, DINERS, JCB, MASTERCARD, VISA, ATOS, HOBEX-AT, HOBEX-DE, etc
- INT: MPAYTID - length = 11
- STRING: USER_FIELD
- STRING: ORDERDESC
- STRING: CUSTOMER
- STRING: CUSTOMER_EMAIL
- STRING: LANGUAGE - length = 2
- STRING: CUSTOMER_ID - length = 11
- STRING: PROFILE_STATUS - IGNORED, USED, ERROR, CREATED, UPDATED, DELETED
- STRING: FILTER_STATUS
- STRING: APPR_CODE
author
|
mPAY24 GmbH <support@mpay24.com> |
version
|
$Id: MPay24Shop.php 5522 2013-06-24 13:08:35Z anna $ |
filesource
|
MPay24Shop.php |
license
|
http://ec.europa.eu/idabc/eupl.html EUPL, Version 1.1 |
Methods
Create a transaction object and set the allowed properties from the TRANSACTION_PROPERTIES
Transaction(string $tid)
inherited
Arguments
$tid
string
The ID of a transaction
Get the property of the Transaction object
__get(string $property)
inherited
Arguments
$property
string
The name of the property, which is searched
Set the property of the Transaction object
__set(string $property, mixed $value)
inherited
Arguments
$property
string
The name of the property you want to set, see TRANSACTION_PROPERTIES
$value
mixed
The value of the property you want to set
Set all the allowed properties for this transaction
setProperties(array $args)
inherited
Arguments
$args
array
An array with the allowed properties
Get all the allowed properties for this transaction
getProperties()
inherited
Properties
An array, which contains the allowed properties for an transaction
allowedProperties
An array, which contains the set properties for this transaction object
properties