Class CardDetailsResponse


  • public class CardDetailsResponse
    extends Object
    CardDetailsResponse
    • Constructor Detail

      • CardDetailsResponse

        public CardDetailsResponse()
    • Method Detail

      • brands

        public CardDetailsResponse brands​(List<CardBrandDetails> brands)
        The list of brands identified for the card.
        Parameters:
        brands -
        Returns:
        the current CardDetailsResponse instance, allowing for method chaining
      • 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 -
      • fundingSource

        public CardDetailsResponse fundingSource​(String fundingSource)
        The funding source of the card, for example **DEBIT**, **CREDIT**, or **PREPAID**.
        Parameters:
        fundingSource -
        Returns:
        the current CardDetailsResponse instance, allowing for method chaining
      • getFundingSource

        public String getFundingSource()
        The funding source of the card, for example **DEBIT**, **CREDIT**, or **PREPAID**.
        Returns:
        fundingSource
      • setFundingSource

        public void setFundingSource​(String fundingSource)
        The funding source of the card, for example **DEBIT**, **CREDIT**, or **PREPAID**.
        Parameters:
        fundingSource -
      • isCardCommercial

        public CardDetailsResponse isCardCommercial​(Boolean isCardCommercial)
        Indicates if this is a commercial card or a consumer card. If **true**, it is a commercial card. If **false**, it is a consumer card.
        Parameters:
        isCardCommercial -
        Returns:
        the current CardDetailsResponse instance, allowing for method chaining
      • getIsCardCommercial

        public Boolean getIsCardCommercial()
        Indicates if this is a commercial card or a consumer card. If **true**, it is a commercial card. If **false**, it is a consumer card.
        Returns:
        isCardCommercial
      • setIsCardCommercial

        public void setIsCardCommercial​(Boolean isCardCommercial)
        Indicates if this is a commercial card or a consumer card. If **true**, it is a commercial card. If **false**, it is a consumer card.
        Parameters:
        isCardCommercial -
      • issuingCountryCode

        public CardDetailsResponse issuingCountryCode​(String issuingCountryCode)
        The two-letter country code of the country where the card was issued.
        Parameters:
        issuingCountryCode -
        Returns:
        the current CardDetailsResponse instance, allowing for method chaining
      • 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