Package com.adyen.model.management
Class WeChatPayPosResponseInfo
- java.lang.Object
-
- com.adyen.model.management.WeChatPayPosResponseInfo
-
public class WeChatPayPosResponseInfo extends Object
WeChatPayPosResponseInfo
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_CONTACT_PERSON_NAMEstatic StringJSON_PROPERTY_EMAIL
-
Constructor Summary
Constructors Constructor Description WeChatPayPosResponseInfo()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description WeChatPayPosResponseInfocontactPersonName(String contactPersonName)The name of the contact person from merchant support.WeChatPayPosResponseInfoemail(String email)The email address of merchant support.booleanequals(Object o)Return true if this WeChatPayPosResponseInfo object is equal to o.static WeChatPayPosResponseInfofromJson(String jsonString)Create an instance of WeChatPayPosResponseInfo given an JSON stringStringgetContactPersonName()The name of the contact person from merchant support.StringgetEmail()The email address of merchant support.Map<String,Object>getExplicitNulls()Returns a map of properties to be merged into the JSON payload as explicit null values.inthashCode()WeChatPayPosResponseInfoincludeNullValues(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.voidsetContactPersonName(String contactPersonName)The name of the contact person from merchant support.voidsetEmail(String email)The email address of merchant support.voidsetIncludeNullValues(boolean includeNullValues)Sets whether null values should be explicitly serialized in the JSON payload.StringtoJson()Convert an instance of WeChatPayPosResponseInfo to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_CONTACT_PERSON_NAME
public static final String JSON_PROPERTY_CONTACT_PERSON_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_EMAIL
public static final String JSON_PROPERTY_EMAIL
- See Also:
- Constant Field Values
-
-
Method Detail
-
contactPersonName
public WeChatPayPosResponseInfo contactPersonName(String contactPersonName)
The name of the contact person from merchant support.- Parameters:
contactPersonName- The name of the contact person from merchant support.- Returns:
- the current
WeChatPayPosResponseInfoinstance, allowing for method chaining
-
getContactPersonName
public String getContactPersonName()
The name of the contact person from merchant support.- Returns:
- contactPersonName The name of the contact person from merchant support.
-
setContactPersonName
public void setContactPersonName(String contactPersonName)
The name of the contact person from merchant support.- Parameters:
contactPersonName- The name of the contact person from merchant support.
-
email
public WeChatPayPosResponseInfo email(String email)
The email address of merchant support.- Parameters:
email- The email address of merchant support.- Returns:
- the current
WeChatPayPosResponseInfoinstance, allowing for method chaining
-
getEmail
public String getEmail()
The email address of merchant support.- Returns:
- email The email address of merchant support.
-
setEmail
public void setEmail(String email)
The email address of merchant support.- Parameters:
email- The email address of merchant support.
-
includeNullValues
public WeChatPayPosResponseInfo 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 WeChatPayPosResponseInfo 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 WeChatPayPosResponseInfo fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of WeChatPayPosResponseInfo given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of WeChatPayPosResponseInfo
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to WeChatPayPosResponseInfo
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of WeChatPayPosResponseInfo to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-