checkBalance
fun checkBalance(balance: Amount?, transactionLimit: Amount?, amountToBePaid: Amount?): GiftCardBalanceStatus
Check whether a full or partial payment can be made with a certain gift card for a give amount.
Return
the result of the balance check.
Parameters
balance
the balance of the gift card. Should be extracted from the /paymentMethods/balance call.
transactionLimit
the maximum amount for a single transaction of the gift card. Should be extracted from the /paymentMethods/balance call.
amountToBePaid
the desired amount to be paid using this gift card.