Package com.adyen.model.paymentsapp
Class PaymentsAppDto
- java.lang.Object
-
- com.adyen.model.paymentsapp.PaymentsAppDto
-
public class PaymentsAppDto extends Object
PaymentsAppDto
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_INSTALLATION_IDstatic StringJSON_PROPERTY_MERCHANT_ACCOUNT_CODEstatic StringJSON_PROPERTY_MERCHANT_STORE_CODEstatic StringJSON_PROPERTY_STATUS
-
Constructor Summary
Constructors Constructor Description PaymentsAppDto()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)Return true if this PaymentsAppDto object is equal to o.static PaymentsAppDtofromJson(String jsonString)Create an instance of PaymentsAppDto given an JSON stringMap<String,Object>getExplicitNulls()Returns a map of properties to be merged into the JSON payload as explicit null values.StringgetInstallationId()The unique identifier of the Payments App instance.StringgetMerchantAccountCode()The account code associated with the Payments App instance.StringgetMerchantStoreCode()The store code associated with the Payments App instance.StringgetStatus()The status of the Payments App instance.inthashCode()PaymentsAppDtoincludeNullValues(boolean includeNullValues)Configures whether null values are explicitly serialized in the JSON payload.PaymentsAppDtoinstallationId(String installationId)The unique identifier of the Payments App instance.booleanisIncludeNullValues()Returns whether null values are explicitly serialized in the JSON payload.PaymentsAppDtomerchantAccountCode(String merchantAccountCode)The account code associated with the Payments App instance.PaymentsAppDtomerchantStoreCode(String merchantStoreCode)The store code associated with the Payments App instance.voidsetIncludeNullValues(boolean includeNullValues)Sets whether null values should be explicitly serialized in the JSON payload.voidsetInstallationId(String installationId)The unique identifier of the Payments App instance.voidsetMerchantAccountCode(String merchantAccountCode)The account code associated with the Payments App instance.voidsetMerchantStoreCode(String merchantStoreCode)The store code associated with the Payments App instance.voidsetStatus(String status)The status of the Payments App instance.PaymentsAppDtostatus(String status)The status of the Payments App instance.StringtoJson()Convert an instance of PaymentsAppDto to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_INSTALLATION_ID
public static final String JSON_PROPERTY_INSTALLATION_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MERCHANT_ACCOUNT_CODE
public static final String JSON_PROPERTY_MERCHANT_ACCOUNT_CODE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MERCHANT_STORE_CODE
public static final String JSON_PROPERTY_MERCHANT_STORE_CODE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_STATUS
public static final String JSON_PROPERTY_STATUS
- See Also:
- Constant Field Values
-
-
Method Detail
-
installationId
public PaymentsAppDto installationId(String installationId)
The unique identifier of the Payments App instance.- Parameters:
installationId- The unique identifier of the Payments App instance.- Returns:
- the current
PaymentsAppDtoinstance, allowing for method chaining
-
getInstallationId
public String getInstallationId()
The unique identifier of the Payments App instance.- Returns:
- installationId The unique identifier of the Payments App instance.
-
setInstallationId
public void setInstallationId(String installationId)
The unique identifier of the Payments App instance.- Parameters:
installationId- The unique identifier of the Payments App instance.
-
merchantAccountCode
public PaymentsAppDto merchantAccountCode(String merchantAccountCode)
The account code associated with the Payments App instance.- Parameters:
merchantAccountCode- The account code associated with the Payments App instance.- Returns:
- the current
PaymentsAppDtoinstance, allowing for method chaining
-
getMerchantAccountCode
public String getMerchantAccountCode()
The account code associated with the Payments App instance.- Returns:
- merchantAccountCode The account code associated with the Payments App instance.
-
setMerchantAccountCode
public void setMerchantAccountCode(String merchantAccountCode)
The account code associated with the Payments App instance.- Parameters:
merchantAccountCode- The account code associated with the Payments App instance.
-
merchantStoreCode
public PaymentsAppDto merchantStoreCode(String merchantStoreCode)
The store code associated with the Payments App instance.- Parameters:
merchantStoreCode- The store code associated with the Payments App instance.- Returns:
- the current
PaymentsAppDtoinstance, allowing for method chaining
-
getMerchantStoreCode
public String getMerchantStoreCode()
The store code associated with the Payments App instance.- Returns:
- merchantStoreCode The store code associated with the Payments App instance.
-
setMerchantStoreCode
public void setMerchantStoreCode(String merchantStoreCode)
The store code associated with the Payments App instance.- Parameters:
merchantStoreCode- The store code associated with the Payments App instance.
-
status
public PaymentsAppDto status(String status)
The status of the Payments App instance.- Parameters:
status- The status of the Payments App instance.- Returns:
- the current
PaymentsAppDtoinstance, allowing for method chaining
-
getStatus
public String getStatus()
The status of the Payments App instance.- Returns:
- status The status of the Payments App instance.
-
setStatus
public void setStatus(String status)
The status of the Payments App instance.- Parameters:
status- The status of the Payments App instance.
-
includeNullValues
public PaymentsAppDto 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 PaymentsAppDto 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 PaymentsAppDto fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of PaymentsAppDto given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of PaymentsAppDto
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to PaymentsAppDto
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of PaymentsAppDto to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-