Package 

Class BinBaseDetailsRequest


  • 
    public class BinBaseDetailsRequest
    extends V2ApiBase
                        

    Represents a request to fetch details for a particular BIN (Bank Identification Number) based transaction. This class contains information about the transaction such as the card number, amount, additional charges, and merchant details. It uses a Builder pattern to facilitate object construction. it is used as request class for BinBaseDetails Api Task classcom.payu.india.Tasks.BinBaseDetailsTask

    This class extends V2ApiBase and provides a method getJson to get the JSON representation of the request for use in an API call.

    Example usage:

    BinBaseDetailsRequest request = new BinBaseDetailsRequest.Builder("1234567890123456")
         .setAmount("1000")
         .setAdditionalCharges("20")
         .setPercentageAdditionalCharges("2")
         .setTxnId("txn123")
         .setMerchantKey("merchantXYZ")
         .setValidateOfferRequest(validateOfferRequest)
         .setPricingCFEnable(true)
         .setSource("Android_sdk")
         .setIsSITxn(true)
         .build();
    
    • Method Summary

      Modifier and Type Method Description
      String getJson() Returns the JSON representation of this request.
      • Methods inherited from class com.payu.paymentparamhelper.V2ApiBase

        getJson
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getJson

         String getJson()

        Returns the JSON representation of this request.