minFraud PHP API v1.0.0
  • Namespace
  • Class

Namespaces

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

Classes

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

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(), jsonSerialize(), safeArrayLookup()

Properties summary

Magic properties

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.0.0 API documentation generated by ApiGen