Hi,
I am using following code to make the Auth type payment with the help of Payment connector:
AuthRequest request = new AuthRequest();
request.setAmount(amount);
request.setTaxAmount(getTaxAmount()));
request.setExternalId(ExternalIdUtils.generateNewID());
request.setExternalReferenceId(getInvoiceNumber());
request.setCardEntryMethods(CardEntryMethods.ALL);
request.setDisablePrinting(true);
request.setDisableReceiptSelection(true);
request.setDisableDuplicateChecking(true);
request.setAllowOfflinePayment(false);
request.setTipMode(TipMode.TIP_PROVIDED);
mPaymentConnector.auth(request);
I want to add the Tip amount as well with the auth request but not found setTipAmount() method in AuthRequest class. Can you please suggest us that how can we add the Tip amount in Auth type payment?
Thanks.