Class WeChatPayPosInfo


  • public class WeChatPayPosInfo
    extends Object
    WeChatPayPosInfo
    • Constructor Detail

      • WeChatPayPosInfo

        public WeChatPayPosInfo()
    • Method Detail

      • contactPersonName

        public WeChatPayPosInfo contactPersonName​(String contactPersonName)
        The name of the contact person from merchant support.
        Parameters:
        contactPersonName -
        Returns:
        the current WeChatPayPosInfo instance, 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 WeChatPayPosInfo email​(String email)
        The email address of merchant support.
        Parameters:
        email -
        Returns:
        the current WeChatPayPosInfo instance, allowing for method chaining
      • getEmail

        public String getEmail()
        The email address of merchant support.
        Returns:
        email
      • setEmail

        public void setEmail​(String email)
        The email address of merchant support.
        Parameters:
        email -
      • equals

        public boolean equals​(Object o)
        Return true if this WeChatPayPosInfo object is equal to o.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • fromJson

        public static WeChatPayPosInfo fromJson​(String jsonString)
                                         throws com.fasterxml.jackson.core.JsonProcessingException
        Create an instance of WeChatPayPosInfo given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of WeChatPayPosInfo
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException - if the JSON string is invalid with respect to WeChatPayPosInfo
      • toJson

        public String toJson()
                      throws com.fasterxml.jackson.core.JsonProcessingException
        Convert an instance of WeChatPayPosInfo to an JSON string
        Returns:
        JSON string
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException