getTotalFundsInCustomerWallet method

Future<TotalFunds> getTotalFundsInCustomerWallet()

Returns the total funds accumulated in the customer wallet Useful for determining if a customer can afford making a payment or not

Implementation

Future<TotalFunds> getTotalFundsInCustomerWallet() async {
  return PaymentsHelper.processTotalFundsForWallet(customerWallet!);
}