Package com.adyen.model.checkout
Class MolPayDetails
- java.lang.Object
-
- com.adyen.model.checkout.MolPayDetails
-
public class MolPayDetails extends Object
MolPayDetails
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMolPayDetails.CustomTypeAdapterFactorystatic classMolPayDetails.TypeEnum**molpay**
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_CHECKOUT_ATTEMPT_IDstatic StringSERIALIZED_NAME_ISSUERstatic StringSERIALIZED_NAME_TYPE
-
Constructor Summary
Constructors Constructor Description MolPayDetails()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MolPayDetailscheckoutAttemptId(String checkoutAttemptId)booleanequals(Object o)static MolPayDetailsfromJson(String jsonString)Create an instance of MolPayDetails given an JSON stringStringgetCheckoutAttemptId()The checkout attempt identifier.StringgetIssuer()The shopper's bank.MolPayDetails.TypeEnumgetType()**molpay**inthashCode()MolPayDetailsissuer(String issuer)voidsetCheckoutAttemptId(String checkoutAttemptId)voidsetIssuer(String issuer)voidsetType(MolPayDetails.TypeEnum type)StringtoJson()Convert an instance of MolPayDetails to an JSON stringStringtoString()MolPayDetailstype(MolPayDetails.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_ISSUER
public static final String SERIALIZED_NAME_ISSUER
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TYPE
public static final String SERIALIZED_NAME_TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
checkoutAttemptId
public MolPayDetails checkoutAttemptId(String checkoutAttemptId)
-
getCheckoutAttemptId
public String getCheckoutAttemptId()
The checkout attempt identifier.- Returns:
- checkoutAttemptId
-
setCheckoutAttemptId
public void setCheckoutAttemptId(String checkoutAttemptId)
-
issuer
public MolPayDetails issuer(String issuer)
-
getIssuer
public String getIssuer()
The shopper's bank. Specify this with the issuer value that corresponds to this bank.- Returns:
- issuer
-
setIssuer
public void setIssuer(String issuer)
-
type
public MolPayDetails type(MolPayDetails.TypeEnum type)
-
getType
public MolPayDetails.TypeEnum getType()
**molpay**- Returns:
- type
-
setType
public void setType(MolPayDetails.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 MolPayDetails
-
fromJson
public static MolPayDetails fromJson(String jsonString) throws IOException
Create an instance of MolPayDetails given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of MolPayDetails
- Throws:
IOException- if the JSON string is invalid with respect to MolPayDetails
-
toJson
public String toJson()
Convert an instance of MolPayDetails to an JSON string- Returns:
- JSON string
-
-