Class SofortInfo


  • public class SofortInfo
    extends Object
    SofortInfo
    • Constructor Detail

      • SofortInfo

        public SofortInfo()
    • Method Detail

      • getCurrencyCode

        public String getCurrencyCode()
        Sofort currency code. For example, **EUR**.
        Returns:
        currencyCode
      • setCurrencyCode

        public void setCurrencyCode​(String currencyCode)
        Sofort currency code. For example, **EUR**.
        Parameters:
        currencyCode -
      • getLogo

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

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

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

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

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

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