Overview
  • Namespace
  • Class

Namespaces

  • Mypos
    • IPC

Classes

  • Authorization
  • AuthorizationCapture
  • AuthorizationList
  • AuthorizationReverse
  • Base
  • Card
  • CardStore
  • Cart
  • Config
  • Customer
  • Defines
  • GetPaymentStatus
  • GetTxnStatus
  • Helper
  • IAPreAuthorization
  • IAPurchase
  • IAStoreCard
  • IAStoredCardUpdate
  • IPCGetTxnLog
  • Loader
  • MandateManagement
  • PreAuthorization
  • PreAuthorizationCancellation
  • PreAuthorizationCompletion
  • PreAuthorizationStatus
  • Purchase
  • PurchaseByIcard
  • Refund
  • RequestMoney
  • Response
  • Reversal

Exceptions

  • IPC_Exception

Class AuthorizationCapture

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

Mypos\IPC\Base
Extended by Mypos\IPC\AuthorizationCapture
Namespace: Mypos\IPC
Located at AuthorizationCapture.php

Methods summary

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

Return purchase object

Return purchase object

Parameters

$cnf
public Mypos\IPC\AuthorizationCapture
# setOrderID( string $orderID )

Purchase identifier - must be unique

Purchase identifier - must be unique

Parameters

$orderID

Returns

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

ISO-4217 Three letter currency code

ISO-4217 Three letter currency code

Parameters

$currency

Returns

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

The amount for completion

The amount for completion

Parameters

$amount

Returns

Mypos\IPC\AuthorizationCapture
public Mypos\IPC\Response
# process( )

Initiate API request

Initiate API request

Returns

Mypos\IPC\Response

Throws

Mypos\IPC\IPC_Exception
public boolean
# validate( )

Validate all set purchase details

Validate all set purchase details

Returns

boolean

Throws

Mypos\IPC\IPC_Exception
public string
# getCurrency( )

ISO-4217 Three letter currency code

ISO-4217 Three letter currency code

Returns

string
public string
# getOrderID( )

Purchase identifier

Purchase identifier

Returns

string
public mixed
# getAmount( )

The amount for completion

The amount for completion

Returns

mixed

Methods inherited from Mypos\IPC\Base

_addPostParam(), _processHtmlPost(), _processPost(), getCnf(), getOutputFormat(), isValidSignature(), setCnf(), setOutputFormat()

Properties summary

Properties inherited from Mypos\IPC\Base

$outputFormat

API documentation generated by ApiGen