Methods |
public
|
__construct(Config $cnf)
Return purchase object
|
#
|
public
|
setOrderID(string $orderID): Authorization
Purchase identifier - must be unique
Purchase identifier - must be unique
|
#
|
public
|
setItemName(mixed $itemName): Authorization
Item Name of the PreAuthorization
Item Name of the PreAuthorization
|
#
|
public
|
setCurrency(string $currency): Authorization
ISO-4217 Three letter currency code
ISO-4217 Three letter currency code
|
#
|
public
|
setAmount(mixed $amount): Authorization
Total amount of the PreAuthorization
Total amount of the PreAuthorization
|
#
|
public
|
setCard(Card $card): Authorization
Card object
|
#
|
public
|
setNote(string $note): Authorization
Optional note to purchase
Optional note to purchase
|
#
|
public
|
process(): Response
Initiate API request
|
#
|
public
|
validate(): boolean
Validate all set purchase details
Validate all set purchase details
Throws
|
#
|
public
|
getCurrency(): string
ISO-4217 Three letter currency code
ISO-4217 Three letter currency code
|
#
|
public
|
getCard(): Card
Card object
|
#
|
public
|
getOrderID(): string
Purchase identifier
|
#
|
public
|
getItemName(): mixed
Item Name for the PreAuthorization
Item Name for the PreAuthorization
|
#
|
public
|
getAmount(): mixed
Total amount of the PreAuthorization
Total amount of the PreAuthorization
|
#
|
public
|
getNote(): string
Optional note to purchase
Optional note to purchase
|
#
|