3.5.2 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 ICLPaymentHistoryDetailHandler
ICLPaymentHistoryDetailhandler is a class for handling payment history detail requests.
doGetSalesHistoryDetail
ICLPaymenetHistoryDetailHandler is a class for handling payment detail requests.
Method | Description |
---|---|
doGetSalesHistoryDetail(String transactionId) | this function gets transaction detail based on transaction identifier |
3.5.2.2 ICLPaymentHistoryDetailService
ICLPaymentHistoryDetailService is protocol provided from ICLPaymentHistoryDetailHandler. 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 ICLPaymentHistoryDetailHandler before sending the data (Table ICLLoginService, 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 |