Class TwintInfo


  • public class TwintInfo
    extends Object
    TwintInfo
    • Constructor Detail

      • TwintInfo

        public TwintInfo()
    • Method Detail

      • logo

        public TwintInfo logo​(String logo)
        Twint logo. Format: Base64-encoded string.
        Parameters:
        logo -
        Returns:
        the current TwintInfo instance, allowing for method chaining
      • getLogo

        public String getLogo()
        Twint logo. Format: Base64-encoded string.
        Returns:
        logo
      • setLogo

        public void setLogo​(String logo)
        Twint logo. Format: Base64-encoded string.
        Parameters:
        logo -
      • equals

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

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

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

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