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 stringStringgetInstallationId()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()PaymentsAppDtoinstallationId(String installationId)The unique identifier of the Payments App instance.PaymentsAppDtomerchantAccountCode(String merchantAccountCode)The account code associated with the Payments App instance.PaymentsAppDtomerchantStoreCode(String merchantStoreCode)The store code associated with the Payments App instance.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-- Returns:
- the current
PaymentsAppDtoinstance, allowing for method chaining
-
getInstallationId
public String getInstallationId()
The unique identifier of the Payments App instance.- Returns:
- installationId
-
setInstallationId
public void setInstallationId(String installationId)
The unique identifier of the Payments App instance.- Parameters:
installationId-
-
merchantAccountCode
public PaymentsAppDto merchantAccountCode(String merchantAccountCode)
The account code associated with the Payments App instance.- Parameters:
merchantAccountCode-- Returns:
- the current
PaymentsAppDtoinstance, allowing for method chaining
-
getMerchantAccountCode
public String getMerchantAccountCode()
The account code associated with the Payments App instance.- Returns:
- merchantAccountCode
-
setMerchantAccountCode
public void setMerchantAccountCode(String merchantAccountCode)
The account code associated with the Payments App instance.- Parameters:
merchantAccountCode-
-
merchantStoreCode
public PaymentsAppDto merchantStoreCode(String merchantStoreCode)
The store code associated with the Payments App instance.- Parameters:
merchantStoreCode-- Returns:
- the current
PaymentsAppDtoinstance, allowing for method chaining
-
getMerchantStoreCode
public String getMerchantStoreCode()
The store code associated with the Payments App instance.- Returns:
- merchantStoreCode
-
setMerchantStoreCode
public void setMerchantStoreCode(String merchantStoreCode)
The store code associated with the Payments App instance.- Parameters:
merchantStoreCode-
-
status
public PaymentsAppDto status(String status)
The status of the Payments App instance.- Parameters:
status-- Returns:
- the current
PaymentsAppDtoinstance, allowing for method chaining
-
getStatus
public String getStatus()
The status of the Payments App instance.- Returns:
- status
-
setStatus
public void setStatus(String status)
The status of the Payments App instance.- Parameters:
status-
-
equals
public boolean equals(Object o)
Return true if this PaymentsAppDto object is equal to o.
-
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
-
-