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 - The list of brands identified for the card.
        Returns:
        the current CardDetailsResponse instance, allowing for method chaining
      • getBrands

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

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

        public CardDetailsResponse fundingSource​(String fundingSource)
        The funding source of the card, for example **DEBIT**, **CREDIT**, or **PREPAID**.
        Parameters:
        fundingSource - The funding source of the card, for example **DEBIT**, **CREDIT**, or **PREPAID**.
        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 The funding source of the card, for example **DEBIT**, **CREDIT**, or **PREPAID**.
      • setFundingSource

        public void setFundingSource​(String fundingSource)
        The funding source of the card, for example **DEBIT**, **CREDIT**, or **PREPAID**.
        Parameters:
        fundingSource - The funding source of the card, for example **DEBIT**, **CREDIT**, or **PREPAID**.
      • 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 - 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:
        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 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.
      • 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 - 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.
      • issuingCountryCode

        public CardDetailsResponse issuingCountryCode​(String issuingCountryCode)
        The two-letter country code of the country where the card was issued.
        Parameters:
        issuingCountryCode - The two-letter country code of the country where the card was issued.
        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 The two-letter country code of the country where the card was issued.
      • setIssuingCountryCode

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

        public CardDetailsResponse includeNullValues​(boolean includeNullValues)
        Configures whether null values are explicitly serialized in the JSON payload. Default is false.
      • isIncludeNullValues

        public boolean isIncludeNullValues()
        Returns whether null values are explicitly serialized in the JSON payload.
      • setIncludeNullValues

        public void setIncludeNullValues​(boolean includeNullValues)
        Sets whether null values should be explicitly serialized in the JSON payload. Default is false.
      • 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
      • getExplicitNulls

        public Map<String,​Object> getExplicitNulls()
        Returns a map of properties to be merged into the JSON payload as explicit null values.
      • 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