Payment History Detail
Payment history detail feature is to show detail of one payment transaction from list payment history. It contains a data card, amount, payment status, etc. Below is Payment History Detail flow (Figure Below).
Payment History Detail Flow
Payment history detail feature is to show detail of one payment transaction from list payment history. it contains a data card, amount, payment status, etc.
3.5.2.1 CLPaymentHistoryDetailHandler
CLPaymentHistoryDetailhandler is a class for handling payment history detail requests.
Method | Description |
---|---|
doGetSalesHistoryDetail(String transactionId) | this function gets transaction detail based on transaction identifier |
doGetSalesHistoryDetail
3.5.2.2 ICLPaymentHistoryDetailService
CLPaymentHistoryDetailService is protocol provided from CLPaymentHistoryDetailHandler. It will return a response through the delegate method whenever it throws a success or an error. Make sure that protocol is placed in class and set a delegate from CLPaymentHistoryDetailHandler before sending the data (Table ICLLoginService, in section 3.3.1.4 ICLLoginService).
Method | Description |
---|---|
onSalesHistoryDetailSuccess | This callback is called to get the transaction details. |
onSalesHistoryDetailError | This callback is called when user can't see transaction detail history because there is error |
onSalesHistoryImageSuccess | This callback is called when success showing image |
onSalesHistoryImageError | This callback is called when fail showing image |