Package com.adyen.model.management
Class InstallAndroidCertificateDetails
- java.lang.Object
-
- com.adyen.model.management.InstallAndroidCertificateDetails
-
public class InstallAndroidCertificateDetails extends Object
InstallAndroidCertificateDetails
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classInstallAndroidCertificateDetails.TypeEnumType of terminal action: Install an Android certificate.
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_CERTIFICATE_IDstatic StringJSON_PROPERTY_TYPE
-
Constructor Summary
Constructors Constructor Description InstallAndroidCertificateDetails()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description InstallAndroidCertificateDetailscertificateId(String certificateId)The unique identifier of the certificate to be installed.booleanequals(Object o)Return true if this InstallAndroidCertificateDetails object is equal to o.static InstallAndroidCertificateDetailsfromJson(String jsonString)Create an instance of InstallAndroidCertificateDetails given an JSON stringStringgetCertificateId()The unique identifier of the certificate to be installed.InstallAndroidCertificateDetails.TypeEnumgetType()Type of terminal action: Install an Android certificate.inthashCode()voidsetCertificateId(String certificateId)The unique identifier of the certificate to be installed.voidsetType(InstallAndroidCertificateDetails.TypeEnum type)Type of terminal action: Install an Android certificate.StringtoJson()Convert an instance of InstallAndroidCertificateDetails to an JSON stringStringtoString()InstallAndroidCertificateDetailstype(InstallAndroidCertificateDetails.TypeEnum type)Type of terminal action: Install an Android certificate.
-
-
-
Field Detail
-
JSON_PROPERTY_CERTIFICATE_ID
public static final String JSON_PROPERTY_CERTIFICATE_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TYPE
public static final String JSON_PROPERTY_TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
certificateId
public InstallAndroidCertificateDetails certificateId(String certificateId)
The unique identifier of the certificate to be installed.- Parameters:
certificateId-- Returns:
- the current
InstallAndroidCertificateDetailsinstance, allowing for method chaining
-
getCertificateId
public String getCertificateId()
The unique identifier of the certificate to be installed.- Returns:
- certificateId
-
setCertificateId
public void setCertificateId(String certificateId)
The unique identifier of the certificate to be installed.- Parameters:
certificateId-
-
type
public InstallAndroidCertificateDetails type(InstallAndroidCertificateDetails.TypeEnum type)
Type of terminal action: Install an Android certificate.- Parameters:
type-- Returns:
- the current
InstallAndroidCertificateDetailsinstance, allowing for method chaining
-
getType
public InstallAndroidCertificateDetails.TypeEnum getType()
Type of terminal action: Install an Android certificate.- Returns:
- type
-
setType
public void setType(InstallAndroidCertificateDetails.TypeEnum type)
Type of terminal action: Install an Android certificate.- Parameters:
type-
-
equals
public boolean equals(Object o)
Return true if this InstallAndroidCertificateDetails object is equal to o.
-
fromJson
public static InstallAndroidCertificateDetails fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of InstallAndroidCertificateDetails given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of InstallAndroidCertificateDetails
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to InstallAndroidCertificateDetails
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of InstallAndroidCertificateDetails to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-