Class IAPreAuthorization

Process IPC method: IPCIAPreAuthorization. Collect, validate and send API params

Mypos\IPC\Base
Extended byMypos\IPC\IAPreAuthorization
Namespace: Mypos\IPC
Located at IAPreAuthorization.php

Methods summary

public
#__construct( Mypos\IPC\Config $cnf )

Return purchase object

public Mypos\IPC\IAPreAuthorization
#setOrderID( string $orderID )

Purchase identifier - must be unique

public Mypos\IPC\IAPreAuthorization
#setItemName( mixed $itemName )

Item Name of the PreAuthorization

public Mypos\IPC\IAPreAuthorization
#setCurrency( string $currency )

ISO-4217 Three letter currency code

public Mypos\IPC\IAPreAuthorization
#setAmount( mixed $amount )

Total amount of the PreAuthorization

public Mypos\IPC\IAPreAuthorization
#setCard( Mypos\IPC\Card $card )

Card object

public Mypos\IPC\IAPreAuthorization
#setNote( string $note )

Optional note to purchase

public Mypos\IPC\Response
#process( )

Initiate API request

public boolean
#validate( )

Validate all set purchase details

public string
#getCurrency( )

ISO-4217 Three letter currency code

public Mypos\IPC\Card
#getCard( )

Card object

public string
#getOrderID( )

Purchase identifier

public mixed
#getItemName( )

Item Name for the PreAuthorization

public mixed
#getAmount( )

Total amount of the PreAuthorization

public string
#getNote( )

Optional note to purchase

Properties summary

Properties inherited from Mypos\IPC\Base

$outputFormat