Package com.adyen.model.checkout
Class MobilePayDetails
- java.lang.Object
-
- com.adyen.model.checkout.MobilePayDetails
-
public class MobilePayDetails extends Object
MobilePayDetails
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMobilePayDetails.CustomTypeAdapterFactorystatic classMobilePayDetails.TypeEnum**mobilepay**
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_CHECKOUT_ATTEMPT_IDstatic StringSERIALIZED_NAME_TYPE
-
Constructor Summary
Constructors Constructor Description MobilePayDetails()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MobilePayDetailscheckoutAttemptId(String checkoutAttemptId)booleanequals(Object o)static MobilePayDetailsfromJson(String jsonString)Create an instance of MobilePayDetails given an JSON stringStringgetCheckoutAttemptId()The checkout attempt identifier.MobilePayDetails.TypeEnumgetType()**mobilepay**inthashCode()voidsetCheckoutAttemptId(String checkoutAttemptId)voidsetType(MobilePayDetails.TypeEnum type)StringtoJson()Convert an instance of MobilePayDetails to an JSON stringStringtoString()MobilePayDetailstype(MobilePayDetails.TypeEnum type)static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_CHECKOUT_ATTEMPT_ID
public static final String SERIALIZED_NAME_CHECKOUT_ATTEMPT_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TYPE
public static final String SERIALIZED_NAME_TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
checkoutAttemptId
public MobilePayDetails checkoutAttemptId(String checkoutAttemptId)
-
getCheckoutAttemptId
public String getCheckoutAttemptId()
The checkout attempt identifier.- Returns:
- checkoutAttemptId
-
setCheckoutAttemptId
public void setCheckoutAttemptId(String checkoutAttemptId)
-
type
public MobilePayDetails type(MobilePayDetails.TypeEnum type)
-
getType
public MobilePayDetails.TypeEnum getType()
**mobilepay**- Returns:
- type
-
setType
public void setType(MobilePayDetails.TypeEnum type)
-
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 MobilePayDetails
-
fromJson
public static MobilePayDetails fromJson(String jsonString) throws IOException
Create an instance of MobilePayDetails given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of MobilePayDetails
- Throws:
IOException- if the JSON string is invalid with respect to MobilePayDetails
-
toJson
public String toJson()
Convert an instance of MobilePayDetails to an JSON string- Returns:
- JSON string
-
-