Package com.adyen.model.management
Class InstalledAPKs
- java.lang.Object
-
- com.adyen.model.management.InstalledAPKs
-
public class InstalledAPKs extends Object
InstalledAPKs
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_CONFIRMATION_DATEstatic StringJSON_PROPERTY_PACKAGE_NAMEstatic StringJSON_PROPERTY_VERSION_NAME
-
Constructor Summary
Constructors Constructor Description InstalledAPKs()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description InstalledAPKsconfirmationDate(OffsetDateTime confirmationDate)The date and time when the app was installed.booleanequals(Object o)Return true if this InstalledAPKs object is equal to o.static InstalledAPKsfromJson(String jsonString)Create an instance of InstalledAPKs given an JSON stringOffsetDateTimegetConfirmationDate()The date and time when the app was installed.Map<String,Object>getExplicitNulls()Returns a map of properties to be merged into the JSON payload as explicit null values.StringgetPackageName()The package name of the app.StringgetVersionName()The version name of the app.inthashCode()InstalledAPKsincludeNullValues(boolean includeNullValues)Configures whether null values are explicitly serialized in the JSON payload.booleanisIncludeNullValues()Returns whether null values are explicitly serialized in the JSON payload.InstalledAPKspackageName(String packageName)The package name of the app.voidsetConfirmationDate(OffsetDateTime confirmationDate)The date and time when the app was installed.voidsetIncludeNullValues(boolean includeNullValues)Sets whether null values should be explicitly serialized in the JSON payload.voidsetPackageName(String packageName)The package name of the app.voidsetVersionName(String versionName)The version name of the app.StringtoJson()Convert an instance of InstalledAPKs to an JSON stringStringtoString()InstalledAPKsversionName(String versionName)The version name of the app.
-
-
-
Field Detail
-
JSON_PROPERTY_CONFIRMATION_DATE
public static final String JSON_PROPERTY_CONFIRMATION_DATE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PACKAGE_NAME
public static final String JSON_PROPERTY_PACKAGE_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_VERSION_NAME
public static final String JSON_PROPERTY_VERSION_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
confirmationDate
public InstalledAPKs confirmationDate(OffsetDateTime confirmationDate)
The date and time when the app was installed.- Parameters:
confirmationDate- The date and time when the app was installed.- Returns:
- the current
InstalledAPKsinstance, allowing for method chaining
-
getConfirmationDate
public OffsetDateTime getConfirmationDate()
The date and time when the app was installed.- Returns:
- confirmationDate The date and time when the app was installed.
-
setConfirmationDate
public void setConfirmationDate(OffsetDateTime confirmationDate)
The date and time when the app was installed.- Parameters:
confirmationDate- The date and time when the app was installed.
-
packageName
public InstalledAPKs packageName(String packageName)
The package name of the app.- Parameters:
packageName- The package name of the app.- Returns:
- the current
InstalledAPKsinstance, allowing for method chaining
-
getPackageName
public String getPackageName()
The package name of the app.- Returns:
- packageName The package name of the app.
-
setPackageName
public void setPackageName(String packageName)
The package name of the app.- Parameters:
packageName- The package name of the app.
-
versionName
public InstalledAPKs versionName(String versionName)
The version name of the app.- Parameters:
versionName- The version name of the app.- Returns:
- the current
InstalledAPKsinstance, allowing for method chaining
-
getVersionName
public String getVersionName()
The version name of the app.- Returns:
- versionName The version name of the app.
-
setVersionName
public void setVersionName(String versionName)
The version name of the app.- Parameters:
versionName- The version name of the app.
-
includeNullValues
public InstalledAPKs includeNullValues(boolean includeNullValues)
Configures whether null values are explicitly serialized in the JSON payload. Default is false.
-
isIncludeNullValues
public boolean isIncludeNullValues()
Returns whether null values are explicitly serialized in the JSON payload.
-
setIncludeNullValues
public void setIncludeNullValues(boolean includeNullValues)
Sets whether null values should be explicitly serialized in the JSON payload. Default is false.
-
equals
public boolean equals(Object o)
Return true if this InstalledAPKs object is equal to o.
-
getExplicitNulls
public Map<String,Object> getExplicitNulls()
Returns a map of properties to be merged into the JSON payload as explicit null values.
-
fromJson
public static InstalledAPKs fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of InstalledAPKs given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of InstalledAPKs
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to InstalledAPKs
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of InstalledAPKs to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-