Class AffirmInfo


  • public class AffirmInfo
    extends Object
    AffirmInfo
    • Constructor Detail

      • AffirmInfo

        public AffirmInfo()
    • Method Detail

      • supportEmail

        public AffirmInfo supportEmail​(String supportEmail)
        Merchant support email
        Parameters:
        supportEmail -
        Returns:
        the current AffirmInfo instance, allowing for method chaining
      • getSupportEmail

        public String getSupportEmail()
        Merchant support email
        Returns:
        supportEmail
      • setSupportEmail

        public void setSupportEmail​(String supportEmail)
        Merchant support email
        Parameters:
        supportEmail -
      • equals

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

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

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

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