Skip to main content

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
image 1

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.

This function gets transaction detail based on transaction identifier
doGetSalesHistoryDetail

ICLPaymenetHistoryDetailHandler is a class for handling payment detail requests.

ICLPaymentHistoryDetailHandler
MethodDescription
doGetSalesHistoryDetail(String transactionId)this function gets transaction detail based on transaction identifier

CLPaymenetHistoryDetailHandler is a class for handling payment detail requests.

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).


ICLPaymentHistoryDetailService
MethodDescription
onSalesHistoryDetailSuccessThis callback is called to get the transaction details.
onSalesHistoryDetailErrorThis callback is called when user can't see transaction detail history because there is error
onSalesHistoryImageSuccessThis callback is called when success showing image
onSalesHistoryImageErrorThis callback is called when fail showing image