refreshHistory
void refreshHistory(java.lang.String accessToken,
java.lang.String digitalCardId,
java.lang.String timeStamp,
TransactionHistoryListener transactionHistoryListener)
Use this method to get transactions performed after provided timestamp. If user passes empty timeStamp
then all previous transactions performed on provided card will be returned in server response
- Parameters:
accessToken
- accessToken of the digital card, received from CPS sdk
digitalCardId
- digital cardId of the card for which the transactions are requested
Digitized card ID shared by the HCE platform components (Different than token ID)
timeStamp
- (Optional) request for the transactions performed after provided timestamp,
if passed empty or null: onSuccess of result will contain all transactions performed for provided card
transactionHistoryListener
- transaction history listener is used as callback for refreshHistory.
onSuccess and onError method returns the server response