Class ApplePayInfo


  • public class ApplePayInfo
    extends Object
    ApplePayInfo
    • Constructor Detail

      • ApplePayInfo

        public ApplePayInfo()
    • Method Detail

      • getDomains

        public List<String> getDomains()
        The list of merchant domains. Maximum: 99 domains per request. For more information, see [Apple Pay documentation](https://docs.adyen.com/payment-methods/apple-pay/web-drop-in?tab=adyen-certificate-live_1#going-live).
        Returns:
        domains
      • setDomains

        public void setDomains​(List<String> domains)
      • hashCode

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

        public static void validateJsonObject​(com.google.gson.JsonObject jsonObj)
                                       throws IOException
        Validates the JSON Object and throws an exception if issues found
        Parameters:
        jsonObj - JSON Object
        Throws:
        IOException - if the JSON Object is invalid with respect to ApplePayInfo
      • fromJson

        public static ApplePayInfo fromJson​(String jsonString)
                                     throws IOException
        Create an instance of ApplePayInfo given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of ApplePayInfo
        Throws:
        IOException - if the JSON string is invalid with respect to ApplePayInfo
      • toJson

        public String toJson()
        Convert an instance of ApplePayInfo to an JSON string
        Returns:
        JSON string