Class CreditCard

java.lang.Object
com.maxmind.minfraud.AbstractModel
com.maxmind.minfraud.response.CreditCard

public final class CreditCard extends AbstractModel
This class contains minFraud response data related to the credit card.
  • Constructor Details

    • CreditCard

      public CreditCard(String brand, String country, Boolean isBusiness, Boolean isIssuedInBillingAddressCountry, Boolean isPrepaid, Boolean isVirtual, Issuer issuer, String type)
      Parameters:
      brand - The credit card brand.
      country - The country the card was issued in.
      isBusiness - Whether it is a business card.
      isIssuedInBillingAddressCountry - Whether the issuing country matches billing country.
      isPrepaid - Whether the card was prepaid.
      isVirtual - Whether it is a virtual card.
      issuer - The issuer information.
      type - The type.
    • CreditCard

      public CreditCard()
  • Method Details

    • getIssuer

      public Issuer getIssuer()
      Returns:
      The Issuer model object.
    • getBrand

      public String getBrand()
      Returns:
      The credit card brand.
    • getCountry

      public String getCountry()
      Returns:
      The two letter ISO 3166-1 alpha-2 country code associated with the location of the majority of customers using this credit card as determined by their billing address. In cases where the location of customers is highly mixed, this defaults to the country of the bank issuing the card.
    • isBusiness

      public Boolean isBusiness()
      Returns:
      True if the card is a business card. False if not a business card. If the IIN was not provided or is unknown, null will be returned.
    • isIssuedInBillingAddressCountry

      public Boolean isIssuedInBillingAddressCountry()
      Returns:
      True if the country of the billing address matches the country of the majority of customers using that IIN. In cases where the location of customers is highly mixed, the match is to the country of the bank issuing the card.
    • isPrepaid

      public Boolean isPrepaid()
      Returns:
      True if the card is a prepaid card. False if not prepaid. If the IIN was not provided or is unknown, null will be returned.
    • isVirtual

      public Boolean isVirtual()
      Returns:
      True if the card is a virtual card. False if not virtual. If the IIN was not provided or is unknown, null will be returned.
    • getType

      public String getType()
      Returns:
      The credit card type.