Methods |
public
|
__construct(Config $cnf)
Return purchase object
|
#
|
public
|
setOrderID(string $orderID): IAPurchase
Purchase identifier - must be unique
Purchase identifier - must be unique
|
#
|
public
|
setNote(string $note): IAPurchase
Optional note to purchase
Optional note to purchase
|
#
|
public
|
setAccountSettlement(string $accountSettlement)
Account for payment settlement
Account for payment settlement
|
#
|
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
|
setCurrency(string $currency): IAPurchase
ISO-4217 Three letter currency code
ISO-4217 Three letter currency code
|
#
|
public
|
getCart(): Cart
Cart object
|
#
|
public
|
setCart(Cart $cart): IAPurchase
Cart object
|
#
|
public
|
getCard(): Card
Card object
|
#
|
public
|
setCard(Card $card)
Card object
|
#
|
public
|
getOrderID(): string
Purchase identifier
|
#
|
public
|
getAccountSettlement(): string
Account for payment settlement
Account for payment settlement
|
#
|
public
|
getNote(): string
Optional note to purchase
Optional note to purchase
|
#
|