Methods |
public
|
__construct(Config $cnf)
Return purchase object
|
#
|
public
|
setOrderID(string $orderID): AuthorizationCapture
Purchase identifier - must be unique
Purchase identifier - must be unique
|
#
|
public
|
setCurrency(string $currency): AuthorizationCapture
ISO-4217 Three letter currency code
ISO-4217 Three letter currency code
|
#
|
public
|
setAmount(mixed $amount): AuthorizationCapture
The amount for completion
The amount for completion
|
#
|
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
|
getOrderID(): string
Purchase identifier
|
#
|
public
|
getAmount(): mixed
The amount for completion
The amount for completion
|
#
|