Package com.adyen.model.checkout
Class AppIdentifierInfo
- java.lang.Object
-
- com.adyen.model.checkout.AppIdentifierInfo
-
public class AppIdentifierInfo extends Object
AppIdentifierInfo
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ANDROID_PACKAGE_IDstatic StringJSON_PROPERTY_IOS_SCHEME
-
Constructor Summary
Constructors Constructor Description AppIdentifierInfo()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AppIdentifierInfoandroidPackageId(String androidPackageId)The Android package identifier for this app.booleanequals(Object o)Return true if this AppIdentifierInfo object is equal to o.static AppIdentifierInfofromJson(String jsonString)Create an instance of AppIdentifierInfo given an JSON stringStringgetAndroidPackageId()The Android package identifier for this app.Map<String,Object>getExplicitNulls()Returns a map of properties to be merged into the JSON payload as explicit null values.StringgetIosScheme()The iOS URL scheme for this app.inthashCode()AppIdentifierInfoincludeNullValues(boolean includeNullValues)Configures whether null values are explicitly serialized in the JSON payload.AppIdentifierInfoiosScheme(String iosScheme)The iOS URL scheme for this app.booleanisIncludeNullValues()Returns whether null values are explicitly serialized in the JSON payload.voidsetAndroidPackageId(String androidPackageId)The Android package identifier for this app.voidsetIncludeNullValues(boolean includeNullValues)Sets whether null values should be explicitly serialized in the JSON payload.voidsetIosScheme(String iosScheme)The iOS URL scheme for this app.StringtoJson()Convert an instance of AppIdentifierInfo to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_ANDROID_PACKAGE_ID
public static final String JSON_PROPERTY_ANDROID_PACKAGE_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_IOS_SCHEME
public static final String JSON_PROPERTY_IOS_SCHEME
- See Also:
- Constant Field Values
-
-
Method Detail
-
androidPackageId
public AppIdentifierInfo androidPackageId(String androidPackageId)
The Android package identifier for this app.- Parameters:
androidPackageId- The Android package identifier for this app.- Returns:
- the current
AppIdentifierInfoinstance, allowing for method chaining
-
getAndroidPackageId
public String getAndroidPackageId()
The Android package identifier for this app.- Returns:
- androidPackageId The Android package identifier for this app.
-
setAndroidPackageId
public void setAndroidPackageId(String androidPackageId)
The Android package identifier for this app.- Parameters:
androidPackageId- The Android package identifier for this app.
-
iosScheme
public AppIdentifierInfo iosScheme(String iosScheme)
The iOS URL scheme for this app.- Parameters:
iosScheme- The iOS URL scheme for this app.- Returns:
- the current
AppIdentifierInfoinstance, allowing for method chaining
-
getIosScheme
public String getIosScheme()
The iOS URL scheme for this app.- Returns:
- iosScheme The iOS URL scheme for this app.
-
setIosScheme
public void setIosScheme(String iosScheme)
The iOS URL scheme for this app.- Parameters:
iosScheme- The iOS URL scheme for this app.
-
includeNullValues
public AppIdentifierInfo 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 AppIdentifierInfo 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 AppIdentifierInfo fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of AppIdentifierInfo given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of AppIdentifierInfo
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to AppIdentifierInfo
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of AppIdentifierInfo to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-