Class MerchantDetails


  • public class MerchantDetails
    extends Object
    MerchantDetails
    • Constructor Detail

      • MerchantDetails

        public MerchantDetails()
    • Method Detail

      • countryCode

        public MerchantDetails countryCode​(String countryCode)
        2-letter ISO 3166 country code of the card acceptor location. > This parameter is required for the merchants who don't use Adyen as the payment authorisation gateway.
        Parameters:
        countryCode -
        Returns:
        the current MerchantDetails instance, allowing for method chaining
      • getCountryCode

        public String getCountryCode()
        2-letter ISO 3166 country code of the card acceptor location. > This parameter is required for the merchants who don't use Adyen as the payment authorisation gateway.
        Returns:
        countryCode
      • setCountryCode

        public void setCountryCode​(String countryCode)
        2-letter ISO 3166 country code of the card acceptor location. > This parameter is required for the merchants who don't use Adyen as the payment authorisation gateway.
        Parameters:
        countryCode -
      • enrolledIn3DSecure

        public MerchantDetails enrolledIn3DSecure​(Boolean enrolledIn3DSecure)
        If true, indicates that the merchant is enrolled in 3D Secure for the card network.
        Parameters:
        enrolledIn3DSecure -
        Returns:
        the current MerchantDetails instance, allowing for method chaining
      • getEnrolledIn3DSecure

        public Boolean getEnrolledIn3DSecure()
        If true, indicates that the merchant is enrolled in 3D Secure for the card network.
        Returns:
        enrolledIn3DSecure
      • setEnrolledIn3DSecure

        public void setEnrolledIn3DSecure​(Boolean enrolledIn3DSecure)
        If true, indicates that the merchant is enrolled in 3D Secure for the card network.
        Parameters:
        enrolledIn3DSecure -
      • mcc

        public MerchantDetails mcc​(String mcc)
        The merchant category code (MCC) is a four-digit number which relates to a particular market segment. This code reflects the predominant activity that is conducted by the merchant. The list of MCCs can be found [here](https://en.wikipedia.org/wiki/Merchant_category_code).
        Parameters:
        mcc -
        Returns:
        the current MerchantDetails instance, allowing for method chaining
      • getMcc

        public String getMcc()
        The merchant category code (MCC) is a four-digit number which relates to a particular market segment. This code reflects the predominant activity that is conducted by the merchant. The list of MCCs can be found [here](https://en.wikipedia.org/wiki/Merchant_category_code).
        Returns:
        mcc
      • setMcc

        public void setMcc​(String mcc)
        The merchant category code (MCC) is a four-digit number which relates to a particular market segment. This code reflects the predominant activity that is conducted by the merchant. The list of MCCs can be found [here](https://en.wikipedia.org/wiki/Merchant_category_code).
        Parameters:
        mcc -
      • equals

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

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

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

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