Package com.adyen.model.checkout
Class CheckoutUtilityResponse
- java.lang.Object
-
- com.adyen.model.checkout.CheckoutUtilityResponse
-
public class CheckoutUtilityResponse extends Object
CheckoutUtilityResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCheckoutUtilityResponse.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_ORIGIN_KEYS
-
Constructor Summary
Constructors Constructor Description CheckoutUtilityResponse()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static CheckoutUtilityResponsefromJson(String jsonString)Create an instance of CheckoutUtilityResponse given an JSON stringMap<String,String>getOriginKeys()The list of origin keys for all requested domains.inthashCode()CheckoutUtilityResponseoriginKeys(Map<String,String> originKeys)CheckoutUtilityResponseputOriginKeysItem(String key, String originKeysItem)voidsetOriginKeys(Map<String,String> originKeys)StringtoJson()Convert an instance of CheckoutUtilityResponse to an JSON stringStringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues found
-
-
-
Method Detail
-
originKeys
public CheckoutUtilityResponse originKeys(Map<String,String> originKeys)
-
putOriginKeysItem
public CheckoutUtilityResponse putOriginKeysItem(String key, String originKeysItem)
-
getOriginKeys
public Map<String,String> getOriginKeys()
The list of origin keys for all requested domains. For each list item, the key is the domain and the value is the origin key.- Returns:
- originKeys
-
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 CheckoutUtilityResponse
-
fromJson
public static CheckoutUtilityResponse fromJson(String jsonString) throws IOException
Create an instance of CheckoutUtilityResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of CheckoutUtilityResponse
- Throws:
IOException- if the JSON string is invalid with respect to CheckoutUtilityResponse
-
toJson
public String toJson()
Convert an instance of CheckoutUtilityResponse to an JSON string- Returns:
- JSON string
-
-