Package com.adyen.model.management
Class ApplePayInfo
- java.lang.Object
-
- com.adyen.model.management.ApplePayInfo
-
public class ApplePayInfo extends Object
ApplePayInfo
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classApplePayInfo.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_DOMAINS
-
Constructor Summary
Constructors Constructor Description ApplePayInfo()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ApplePayInfoaddDomainsItem(String domainsItem)ApplePayInfodomains(List<String> domains)booleanequals(Object o)static ApplePayInfofromJson(String jsonString)Create an instance of ApplePayInfo given an JSON stringList<String>getDomains()The list of merchant domains.inthashCode()voidsetDomains(List<String> domains)StringtoJson()Convert an instance of ApplePayInfo to an JSON stringStringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues found
-
-
-
Method Detail
-
domains
public ApplePayInfo domains(List<String> domains)
-
addDomainsItem
public ApplePayInfo addDomainsItem(String domainsItem)
-
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
-
validateJsonObject
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOExceptionValidates 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
-
-