Class CardBrandDetails


  • public class CardBrandDetails
    extends Object
    CardBrandDetails
    • Constructor Detail

      • CardBrandDetails

        public CardBrandDetails()
    • Method Detail

      • getSupported

        public Boolean getSupported()
        Indicates if you support the card brand.
        Returns:
        supported
      • setSupported

        public void setSupported​(Boolean supported)
        Indicates if you support the card brand.
        Parameters:
        supported -
      • getType

        public String getType()
        The name of the card brand.
        Returns:
        type
      • setType

        public void setType​(String type)
        The name of the card brand.
        Parameters:
        type -
      • equals

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

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

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

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