Overview
  • Namespace
  • Class

Namespaces

  • Mypos
    • IPC

Classes

  • Base
  • Card
  • CardStore
  • Cart
  • Config
  • Customer
  • Defines
  • GetTxnStatus
  • Helper
  • IAPurchase
  • IAStoreCard
  • IAStoredCardUpdate
  • IPCGetTxnLog
  • Loader
  • MandateManagement
  • Purchase
  • Refund
  • RequestMoney
  • Response
  • Reversal

Exceptions

  • IPC_Exception

Class RequestMoney

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

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

Methods summary

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

Return Refund object

Return Refund object

Parameters

$cnf
public
# setAmount( float $amount )

Refund amount

Refund amount

Parameters

$amount
public float
# getAmount( )

Refund amount

Refund amount

Returns

float
public Mypos\IPC\RequestMoney
# setCurrency( string $currency )

ISO-4217 Three letter currency code

ISO-4217 Three letter currency code

Parameters

$currency

Returns

Mypos\IPC\RequestMoney
public string
# getCurrency( )

ISO-4217 Three letter currency code

ISO-4217 Three letter currency code

Returns

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

Request identifier - must be unique

Request identifier - must be unique

Parameters

$orderID

Returns

Mypos\IPC\RequestMoney
public string
# getOrderID( )

Request identifier - must be unique

Request identifier - must be unique

Returns

string
public string
# getMandateReferece( )

Unique identifier of the agreement (mandate) between the merchant and the client (debtor). Up to 127 characters.

Unique identifier of the agreement (mandate) between the merchant and the client (debtor). Up to 127 characters.

Returns

string
public
# setMandateReferece( string $mandateReferece )

Unique identifier of the agreement (mandate) between the merchant and the client (debtor). Up to 127 characters.

Unique identifier of the agreement (mandate) between the merchant and the client (debtor). Up to 127 characters.

Parameters

$mandateReferece
public string
# getCustomerWalletNumber( )

Identifier of the client’s (debtor’s) myPOS account

Identifier of the client’s (debtor’s) myPOS account

Returns

string
public
# setCustomerWalletNumber( string $customerWalletNumber )

Identifier of the client’s (debtor’s) myPOS account

Identifier of the client’s (debtor’s) myPOS account

Parameters

$customerWalletNumber
public boolean
# getReversalIndicator( )

Reversal of the previously executed Request money transaction.

Reversal of the previously executed Request money transaction.

Returns

boolean
public
# setReversalIndicator( boolean $reversalIndicator )

Reversal of the previously executed Request money transaction.

Reversal of the previously executed Request money transaction.

Parameters

$reversalIndicator
public string
# getReason( )

The reason for the transfer.

The reason for the transfer.

Returns

string
public
# setReason( string $reason )

The reason for the transfer.

The reason for the transfer.

Parameters

$reason
public Mypos\IPC\Response
# process( )

Initiate API request

Initiate API request

Returns

Mypos\IPC\Response
public boolean
# validate( )

Validate all set refund details

Validate all set refund details

Returns

boolean

Throws

Mypos\IPC\IPC_Exception

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