Methods |
public
|
__construct(Config $cnf)
Return Refund object
|
#
|
public
|
setAmount(float $amount)
Refund amount
|
#
|
public
|
setOrderID(string $orderID): RequestMoney
Request identifier - must be unique
Request identifier - must be unique
|
#
|
public
|
setMandateReference(string $mandateReference)
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.
|
#
|
public
|
setCustomerWalletNumber(string $customerWalletNumber)
Identifier of the client’s (debtor’s) myPOS account
Identifier of the client’s (debtor’s) myPOS account
|
#
|
public
|
setReversalIndicator(bool $reversalIndicator)
Reversal of the previously executed Request money transaction.
Reversal of the previously executed Request money transaction.
|
#
|
public
|
setReason(string $reason)
The reason for the transfer.
The reason for the transfer.
|
#
|
public
|
process(): Response
Initiate API request
|
#
|
public
|
validate(): boolean
Validate all set refund details
Validate all set refund details
Throws
|
#
|
public
|
getAmount(): float
Refund amount
|
#
|
public
|
getCurrency(): string
ISO-4217 Three letter currency code
ISO-4217 Three letter currency code
|
#
|
public
|
setCurrency(string $currency): RequestMoney
ISO-4217 Three letter currency code
ISO-4217 Three letter currency code
|
#
|
public
|
getOrderID(): string
Request identifier - must be unique
Request identifier - must be unique
|
#
|
public
|
getMandateReference(): string
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.
|
#
|
public
|
getCustomerWalletNumber(): string
Identifier of the client’s (debtor’s) myPOS account
Identifier of the client’s (debtor’s) myPOS account
|
#
|
public
|
getReversalIndicator(): bool
Reversal of the previously executed Request money transaction.
Reversal of the previously executed Request money transaction.
|
#
|
public
|
getReason(): string
The reason for the transfer.
The reason for the transfer.
|
#
|