Overview

Namespaces

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

Classes

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

Class CreditCard

Model with details about the credit card used.

MaxMind\MinFraud\Model\AbstractModel implements JsonSerializable
Extended by MaxMind\MinFraud\Model\CreditCard
Namespace: 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(), __isset(), jsonSerialize(), safeArrayLookup()
Magic properties summary
public read-only string|null $brand

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

public read-only 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 read-only 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 read-only boolean|null $isPrepaid

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

public read-only MaxMind\MinFraud\Model\Issuer $issuer

An object containing information about the credit card issuer.

public read-only string|null $type

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

minFraud PHP API v1.4.0 API documentation generated by ApiGen