Usecase.Builder usecase = new Usecase.Builder()
.setCheckCustomerEligibility(true)
.shouldCheckDownStatus(true) // set it to true to fetch bank down status for each payment option
.shouldGetAdditionalCharges(true) // set it to true to fetch additional charges applicable on each payment option
.shouldGetOfferDetails(true) // set it to true to fetch offers enabled on merchant key
.shouldGetExtendedPaymentDetails(true) // set it to true to get extended payment details
.shouldGetTaxSpecification(true) // set it to true to fetch tax info applicable on each payment mode
GetTransactionDetails.Builder transactionDetails = new GetTransactionDetails.Builder()
.setAmount(1000.0)//transaction amount in double
//Passing Customer Details is optional and can be used
//to check EMI eligibility based on mobile number
CustomerDetails.Builder customerDetails = new CustomerDetails.Builder()
.setMobile("9999999999") //pass the mobile number if want to get eligibility status in payment option
String var1 = new GetCheckoutDetailsRequest.Builder()
.setCustomerDetails(customerDetails)
.setTransactionDetails(transactionDetails)