Package com.adyen.model.management
Class WeChatPayInfo
- java.lang.Object
-
- com.adyen.model.management.WeChatPayInfo
-
public class WeChatPayInfo extends Object
WeChatPayInfo
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_CONTACT_PERSON_NAMEstatic StringJSON_PROPERTY_EMAIL
-
Constructor Summary
Constructors Constructor Description WeChatPayInfo()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description WeChatPayInfocontactPersonName(String contactPersonName)The name of the contact person from merchant support.WeChatPayInfoemail(String email)The email address of merchant support.booleanequals(Object o)Return true if this WeChatPayInfo object is equal to o.static WeChatPayInfofromJson(String jsonString)Create an instance of WeChatPayInfo given an JSON stringStringgetContactPersonName()The name of the contact person from merchant support.StringgetEmail()The email address of merchant support.inthashCode()voidsetContactPersonName(String contactPersonName)The name of the contact person from merchant support.voidsetEmail(String email)The email address of merchant support.StringtoJson()Convert an instance of WeChatPayInfo 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 WeChatPayInfo contactPersonName(String contactPersonName)
The name of the contact person from merchant support.- Parameters:
contactPersonName-- Returns:
- the current
WeChatPayInfoinstance, allowing for method chaining
-
getContactPersonName
public String getContactPersonName()
The name of the contact person from merchant support.- Returns:
- contactPersonName
-
setContactPersonName
public void setContactPersonName(String contactPersonName)
The name of the contact person from merchant support.- Parameters:
contactPersonName-
-
email
public WeChatPayInfo email(String email)
The email address of merchant support.- Parameters:
email-- Returns:
- the current
WeChatPayInfoinstance, allowing for method chaining
-
getEmail
public String getEmail()
The email address of merchant support.- Returns:
-
setEmail
public void setEmail(String email)
The email address of merchant support.- Parameters:
email-
-
equals
public boolean equals(Object o)
Return true if this WeChatPayInfo object is equal to o.
-
fromJson
public static WeChatPayInfo fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of WeChatPayInfo given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of WeChatPayInfo
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to WeChatPayInfo
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of WeChatPayInfo to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-