Overview

Namespaces

  • GeoIp2
    • Compat
    • Database
    • Exception
    • Model
    • Record
    • Test
      • Database
      • Model
      • WebService
    • WebService
  • MaxMind
    • MinFraud
      • Model

Classes

  • Address
  • BillingAddress
  • CreditCard
  • Device
  • Email
  • Factors
  • GeoIp2Country
  • GeoIp2Location
  • Insights
  • IpAddress
  • Issuer
  • Score
  • ScoreIpAddress
  • ShippingAddress
  • Subscores
  • Warning
  • Overview
  • Namespace
  • Class

Class CreditCard

Class CreditCard

MaxMind\MinFraud\Model\AbstractModel implements JsonSerializable
Extended by MaxMind\MinFraud\Model\CreditCard
Namespace: MaxMind\MinFraud\Model
Package: MaxMind\MinFraud\Model
Located at MinFraud/Model/CreditCard.php
Methods summary
public
# __construct( array $response, array $locales = ['en'] )

Parameters

$response

The array corresponding to the object in the minFraud Insights response.

$locales

List of locale codes to use in name property from most preferred to least preferred.

Overrides

MaxMind\MinFraud\Model\AbstractModel::__construct()
Methods inherited from MaxMind\MinFraud\Model\AbstractModel
__get(), jsonSerialize(), safeArrayLookup()
Magic properties summary
public string|null $brand

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

public string|null $country

This property contains the 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.

public boolean|null $isIssuedInBillingAddressCountry

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.

public boolean|null $isPrepaid

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

public MaxMind\MinFraud\Model\Issuer $issuer

An object containing information about the credit card issuer.

public string|null $type

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

minFraud Score and Insights PHP API v0.5.0 API documentation generated by ApiGen