Skip to main content

Send Receipt

The service is used to send receipt payment transactions. The receipt is sent by cashlez's e-mail or SMS. Below is Send Receipt flow (Figure Below).

Send Receipt Flow
image 1

The service is used to send receipt payment transactions. the receipt sent by cashlez's e-mail or SMS.

3.6.2.1 CLSendReceiptHandler

The CLSendReceiptHandlerservice class to send receipt.

This fucntion to send receipt
doSendReceipt

The CLSendReceiptHandler service class to send send receipt.
doSendReceipt

The CLSendReceiptHandler service class to send send receipt.

ICLSendReceiptHandler
MethodDescription
doSendReceipt(CLPaymentResponse response)this function used to send receipt

3.6.2.2 CLSendReceipt

The CLSendReceiptServiceinterfaces has methods/callbacks:

This callback is called when send receipt success
onSendReceiptSuccess

This callback is called when send receipt failed
onSendReceiptError

The ICLSendReceiptService interfaces has methods/callbacks;

ICLSendReceiptService
MethodDescription
onSendReceiptSuccess(CLSendReceiptResponse response)this callback is called when send receipt success
onSendReceiptError(CLErrorResponse error)this callback is called when send receipt fail/error