Package com.adyen.model.management
Class PayMeResponseInfo
- java.lang.Object
-
- com.adyen.model.management.PayMeResponseInfo
-
public class PayMeResponseInfo extends Object
PayMeResponseInfo
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_DISPLAY_NAMEstatic StringJSON_PROPERTY_LOGOstatic StringJSON_PROPERTY_SUPPORT_EMAIL
-
Constructor Summary
Constructors Constructor Description PayMeResponseInfo()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PayMeResponseInfodisplayName(String displayName)Merchant display namebooleanequals(Object o)Return true if this PayMeResponseInfo object is equal to o.static PayMeResponseInfofromJson(String jsonString)Create an instance of PayMeResponseInfo given an JSON stringStringgetDisplayName()Merchant display nameMap<String,Object>getExplicitNulls()Returns a map of properties to be merged into the JSON payload as explicit null values.StringgetLogo()Merchant logo.StringgetSupportEmail()The email address of merchant support.inthashCode()PayMeResponseInfoincludeNullValues(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.PayMeResponseInfologo(String logo)Merchant logo.voidsetDisplayName(String displayName)Merchant display namevoidsetIncludeNullValues(boolean includeNullValues)Sets whether null values should be explicitly serialized in the JSON payload.voidsetLogo(String logo)Merchant logo.voidsetSupportEmail(String supportEmail)The email address of merchant support.PayMeResponseInfosupportEmail(String supportEmail)The email address of merchant support.StringtoJson()Convert an instance of PayMeResponseInfo to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_DISPLAY_NAME
public static final String JSON_PROPERTY_DISPLAY_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_LOGO
public static final String JSON_PROPERTY_LOGO
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SUPPORT_EMAIL
public static final String JSON_PROPERTY_SUPPORT_EMAIL
- See Also:
- Constant Field Values
-
-
Method Detail
-
displayName
public PayMeResponseInfo displayName(String displayName)
Merchant display name- Parameters:
displayName- Merchant display name- Returns:
- the current
PayMeResponseInfoinstance, allowing for method chaining
-
getDisplayName
public String getDisplayName()
Merchant display name- Returns:
- displayName Merchant display name
-
setDisplayName
public void setDisplayName(String displayName)
Merchant display name- Parameters:
displayName- Merchant display name
-
logo
public PayMeResponseInfo logo(String logo)
Merchant logo. Format: Base64-encoded string.- Parameters:
logo- Merchant logo. Format: Base64-encoded string.- Returns:
- the current
PayMeResponseInfoinstance, allowing for method chaining
-
getLogo
public String getLogo()
Merchant logo. Format: Base64-encoded string.- Returns:
- logo Merchant logo. Format: Base64-encoded string.
-
setLogo
public void setLogo(String logo)
Merchant logo. Format: Base64-encoded string.- Parameters:
logo- Merchant logo. Format: Base64-encoded string.
-
supportEmail
public PayMeResponseInfo supportEmail(String supportEmail)
The email address of merchant support.- Parameters:
supportEmail- The email address of merchant support.- Returns:
- the current
PayMeResponseInfoinstance, allowing for method chaining
-
getSupportEmail
public String getSupportEmail()
The email address of merchant support.- Returns:
- supportEmail The email address of merchant support.
-
setSupportEmail
public void setSupportEmail(String supportEmail)
The email address of merchant support.- Parameters:
supportEmail- The email address of merchant support.
-
includeNullValues
public PayMeResponseInfo 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 PayMeResponseInfo 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 PayMeResponseInfo fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of PayMeResponseInfo given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of PayMeResponseInfo
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to PayMeResponseInfo
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of PayMeResponseInfo to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-