Kirim Struk
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).
Service ini digunakan untuk mengirimkan Transaksi Struk Pembayaran. Struk dikirimkan melalui E-mail atau SMS dari Cashlez. Dibawah adalah Alur Kirim Struk.
Alur Kirim Struk
Service tersebut digunakan untuk mengirimkan struk transaksi pembayaran. Struk tersebut dikrimkan melalui E-mail Cashlez atau SMS.
3.6.2.1 ICLSendReceiptHandler
ICLSendReceiptHandlerservice class untuk mengirimkan struk.
doSendReceipt
Method | Description |
---|---|
doSendReceipt(CLPaymentResponse response) | this function used to send receipt |
3.6.2.2 ICLSendReceiptService
ICLSendReceiptServiceinterfaces mempunyai methods/callbacks:
onSendReceiptSuccess
onSendReceiptError
Method | Description |
---|---|
onSendReceiptSuccess(CLSendReceiptResponse response) | this callback is called when send receipt success |
onSendReceiptError(CLErrorResponse error) | this callback is called when send receipt fail/error |