Class CardDetailsResponse


  • public class CardDetailsResponse
    extends Object
    CardDetailsResponse
    • Constructor Detail

      • CardDetailsResponse

        public CardDetailsResponse()
    • Method Detail

      • getBrands

        public List<CardBrandDetails> getBrands()
        The list of brands identified for the card.
        Returns:
        brands
      • setBrands

        public void setBrands​(List<CardBrandDetails> brands)
        The list of brands identified for the card.
        Parameters:
        brands -
      • getIssuingCountryCode

        public String getIssuingCountryCode()
        The two-letter country code of the country where the card was issued.
        Returns:
        issuingCountryCode
      • setIssuingCountryCode

        public void setIssuingCountryCode​(String issuingCountryCode)
        The two-letter country code of the country where the card was issued.
        Parameters:
        issuingCountryCode -
      • equals

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

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

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

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