\MaxMind\MinFraud\ModelIssuer

Model containing information about the card issuer.

Summary

Methods
Properties
Constants
__construct()
jsonSerialize()
$name
$matchesProvidedName
$phoneNumber
$matchesProvidedPhoneNumber
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$name

$name : string|null

The name of the bank which issued the credit card.

Type

normal

$matchesProvidedName

$matchesProvidedName : bool|null

This property is true if the name matches the name provided in the request for the card issuer. It is false if the name does not match. The property is null if either no name or issuer ID number (IIN) was provided in the request or if MaxMind does not have a name associated with the IIN.

Type

normal

$phoneNumber

$phoneNumber : string|null

The phone number of the bank which issued the credit card. In some cases the phone number we return may be out of date.

Type

normal

$matchesProvidedPhoneNumber

$matchesProvidedPhoneNumber : bool|null

This property is true if the phone number matches the number provided in the request for the card issuer. It is false if the number does not match. It is null if either no phone number was provided or issuer ID number (IIN) was provided in the request or if MaxMind does not have a phone number associated with the IIN.

Type

normal

Methods

__construct()

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

Parameters

mixed $response

the array corresponding to the object in the minFraud Insights response

mixed $locales

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

Returns

mixed

jsonSerialize()

jsonSerialize() : array

Returns

array —

data that can be serialized by json_encode