Skip to main content

3.6.2 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 ICLSendReceiptHandler

The ICLSendReceiptHandlerservice class to send receipt.

This function to send receipt
doSendReceipt

The ICLSendReceiptHandler service class to send send receipt.

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

3.6.2.2 ICLSendReceipt

The ICLSendReceiptServiceinterfaces has methods/callbacks:

This callback is called when send receipt success
onSendReceiptSuccess

This callback is called when send receipt failed
onSendReceiptError

The ICLSendReceiptService interface 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