Overview

Namespaces

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

Classes

  • Address
  • BillingAddress
  • CreditCard
  • GeoIp2Country
  • GeoIp2Location
  • Insights
  • IpAddress
  • Issuer
  • Score
  • ShippingAddress
  • Warning
  • Overview
  • Namespace
  • Class
  • Tree
 1: <?php
 2: 
 3: namespace MaxMind\MinFraud\Model;
 4: 
 5: /**
 6:  * Class Issuer
 7:  * @package MaxMind\MinFraud\Model
 8:  *
 9:  * @property string $name The name of the bank which issued the credit card.
10:  * @property boolean $matchesProvidedName This property is true if the name
11:  * matches the name provided in the request for the card issuer. It is false
12:  * if the name does not match. The property is null if either no name or issuer
13:  * ID number (IIN) was provided in the request or if MaxMind does not have a
14:  * name associated with the IIN.
15:  * @property string $phoneNumber The phone number of the bank which issued the
16:  * credit card. In some cases the phone number we return may be out of date.
17:  * @property boolean $matchesProvidedPhoneNumber This property is true if the
18:  * phone number matches the number provided in the request for the card
19:  * issuer. It is false if the number does not match. It is null if either no
20:  * phone number was provided or issuer ID number (IIN) was provided in the
21:  * request or if MaxMind does not have a phone number associated with the IIN.
22:  */
23: class Issuer extends AbstractModel
24: {
25:     /**
26:      * @internal
27:      */
28:     protected $name;
29: 
30:     /**
31:      * @internal
32:      */
33:     protected $matchesProvidedName;
34: 
35:     /**
36:      * @internal
37:      */
38:     protected $phoneNumber;
39: 
40:     /**
41:      * @internal
42:      */
43:     protected $matchesProvidedPhoneNumber;
44: 
45:     public function __construct($response, $locales = array('en'))
46:     {
47:         $this->name = $this->safeArrayLookup($response['name']);
48:         $this->matchesProvidedName
49:             = $this->safeArrayLookup($response['matches_provided_name']);
50:         $this->phoneNumber = $this->safeArrayLookup($response['phone_number']);
51:         $this->matchesProvidedPhoneNumber
52:             = $this->safeArrayLookup($response['matches_provided_phone_number']);
53:     }
54: }
55: 
minFraud Score and Insights PHP API v0.1.0 API documentation generated by ApiGen