Class MerchantAcquirerPair


  • public class MerchantAcquirerPair
    extends Object
    MerchantAcquirerPair
    • Constructor Detail

      • MerchantAcquirerPair

        public MerchantAcquirerPair()
    • Method Detail

      • acquirerId

        public MerchantAcquirerPair acquirerId​(String acquirerId)
        The acquirer ID.
        Parameters:
        acquirerId -
        Returns:
        the current MerchantAcquirerPair instance, allowing for method chaining
      • getAcquirerId

        public String getAcquirerId()
        The acquirer ID.
        Returns:
        acquirerId
      • setAcquirerId

        public void setAcquirerId​(String acquirerId)
        The acquirer ID.
        Parameters:
        acquirerId -
      • merchantId

        public MerchantAcquirerPair merchantId​(String merchantId)
        The merchant identification number (MID).
        Parameters:
        merchantId -
        Returns:
        the current MerchantAcquirerPair instance, allowing for method chaining
      • getMerchantId

        public String getMerchantId()
        The merchant identification number (MID).
        Returns:
        merchantId
      • setMerchantId

        public void setMerchantId​(String merchantId)
        The merchant identification number (MID).
        Parameters:
        merchantId -
      • equals

        public boolean equals​(Object o)
        Return true if this MerchantAcquirerPair object is equal to o.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • fromJson

        public static MerchantAcquirerPair fromJson​(String jsonString)
                                             throws com.fasterxml.jackson.core.JsonProcessingException
        Create an instance of MerchantAcquirerPair given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of MerchantAcquirerPair
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException - if the JSON string is invalid with respect to MerchantAcquirerPair
      • toJson

        public String toJson()
                      throws com.fasterxml.jackson.core.JsonProcessingException
        Convert an instance of MerchantAcquirerPair to an JSON string
        Returns:
        JSON string
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException