Class PreAuthorization

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

Mypos\IPC\Base
Extended byMypos\IPC\PreAuthorization

Methods summary

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

Return PreAuthorization object

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

PreAuthorization identifier - must be unique

public Mypos\IPC\PreAuthorization
#setItemName( string $itemName )
 
public Mypos\IPC\PreAuthorization
#setAmount( float $amount )

Total amount of the PreAuthorization

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

Optional note for PreAuthorization

public Mypos\IPC\PreAuthorization
#setUrlCancel( string $urlCancel )

Merchant Site URL where client comes after unsuccessful payment

public Mypos\IPC\PreAuthorization
#setUrlNotify( string $urlNotify )

Merchant Site URL where IPC posts PreAuthorization Notify requests

public boolean
#process( )

Initiate API request

public boolean
#validate( )

Validate all set PreAuthorization details

public string
#getUrlCancel( )

Merchant Site URL where client comes after unsuccessful payment

public
#getUrlNotify( )

Merchant Site URL where IPC posts PreAuthorization Notify requests

public string
#getUrlOk( )

Merchant Site URL where client comes after successful payment

public Mypos\IPC\PreAuthorization
#setUrlOk( string $urlOk )

Merchant Site URL where client comes after successful payment

public string
#getCurrency( )

ISO-4217 Three letter currency code

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

ISO-4217 Three letter currency code

public string
#getOrderID( )

PreAuthorization identifier

public string
public float
#getAmount( )

Total amount of the PreAuthorization

public string
#getNote( )

Optional note to PreAuthorization

Properties summary

Properties inherited from Mypos\IPC\Base

$outputFormat