$connector
$connector :
Class Settlement
__construct(\Ezypay\Contract\IDriver $connector, \Ezypay\Validation\ValidationBase $validation)
constructor.
| \Ezypay\Contract\IDriver | $connector | |
| \Ezypay\Validation\ValidationBase | $validation | ValidationBase |
latest( $merchantId) : \Ezypay\Result\ResultProducer
Get Latest Settlement
| $merchantId | string The ID of the merchant. Filter settlements that belongs only to a Merchant. |
findAll(array $data) : \Ezypay\Result\ResultProducer
List the settlements based on the given filters. MerchantId is compulsory.
| array | $data | Parameters (see link) |
getRevenue( $merchantId, $settlementId) : \Ezypay\Result\ResultProducer
Get Settlement Revenue Details
| $merchantId | string The ID of the merchant. Filter settlements that belongs only to a Merchant. |
|
| $settlementId | integer The ID of the settlement. Filter settlement that belongs to the settlement run. |
getDeduction( $merchantId, $settlementId) : \Ezypay\Result\ResultProducer
Get Settlement Deduction Details
| $merchantId | string The ID of the merchant. Filter settlements that belongs only to a Merchant. |
|
| $settlementId | integer The ID of the settlement. Filter plans that belongs to the settlement run. |
addValidator(\Ezypay\Contract\IValidator $validator)
| \Ezypay\Contract\IValidator | $validator |
result() : \Ezypay\Result\ResultProducer
Result