\MaxMind\MinFraud\ModelCreditCard

Model with details about the credit card used.

Summary

Methods
Properties
Constants
__construct()
$brand
$country
$isBusiness
$isIssuedInBillingAddressCountry
$isPrepaid
$isVirtual
$issuer
$type
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$brand

$brand : string|null

The card brand, such as "Visa", "Discover", "American Express", etc.

Type

string|null

$country

$country : string|null

This property contains the two letter ISO 3166-1 alpha-2 country code (https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) 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.

Type

string|null

$isBusiness

$isBusiness : bool|null

This property is true if the card is a business card.

Type

bool|null

$isIssuedInBillingAddressCountry

$isIssuedInBillingAddressCountry : bool|null

This property is true if the country of the billing address matches the country of the majority of customers using this credit card. In cases where the location of customers is highly mixed, the match is to the country of the bank issuing the card.

Type

bool|null

$isPrepaid

$isPrepaid : bool|null

This property is true if the card is a prepaid card.

Type

bool|null

$isVirtual

$isVirtual : bool|null

This property is true if the card is a virtual card.

Type

bool|null

$issuer

$issuer : \MaxMind\MinFraud\Model\Issuer

An object containing information about the credit card issuer.

Type

Issuer

$type

$type : string|null

The card's type. The valid values are: charge, credit, debit.

Type

string|null

Methods

__construct()

__construct(?array  $response, array  $locales = ['en']) : mixed

Parameters

?array $response
array $locales

Returns

mixed —