Class Authorization

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

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

Methods summary

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

Return purchase object

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

Purchase identifier - must be unique

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

Item Name of the PreAuthorization

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

ISO-4217 Three letter currency code

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

Total amount of the PreAuthorization

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

Card object

public Mypos\IPC\Authorization
#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