customUICards method

Future<PaymentResultData> customUICards({
  1. required CustomUI customUI,
})

This method is used for making custom UI payments with cards. It takes in the required CustomUI input and returns a PaymentResultData object.

Implementation

Future<PaymentResultData> customUICards({required CustomUI customUI}) async {
  return await implementPaymentCustomUI(
    brand: customUI.brandName,
    checkoutId: customUI.checkoutId,
    shopperResultUrl: shopperResultUrl,
    channelName: channelName,
    paymentMode: paymentMode,
    cardNumber: customUI.cardNumber,
    holderName: customUI.holderName,
    month: customUI.month,
    year: customUI.year,
    cvv: customUI.cvv,
    lang: lang,
    enabledTokenization: customUI.enabledTokenization,
  );
}