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

Class Warning

Class Warning

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

Parameters

$response
<p>The array corresponding to the object in the minFraud Insights response.</p>
$locales
<p>List of locale codes to use in name property from most preferred to least preferred.</p>

Overrides

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

This value is a machine-readable code identifying the warning. Although more codes may be added in the future, the current codes are: * BILLING_CITY_NOT_FOUND - the billing city could not be found in our database. * BILLING_COUNTRY_NOT_FOUND - the billing country could not be found in our database. * BILLING_POSTAL_NOT_FOUND - the billing postal could not be found in our database. * INPUT_INVALID - the value associated with the key does not meet the required constraints, e.g., "United States" in a field that requires a two-letter country code. * INPUT_UNKNOWN - an unknown key was encountered in the request body. * IP_ADDRESS_NOT_FOUND - the IP address could not be geolocated. * SHIPPING_CITY_NOT_FOUND - the shipping city could not be found in our database. * SHIPPING_COUNTRY_NOT_FOUND - the shipping country could not be found in our database. * SHIPPING_POSTAL_NOT_FOUND - the shipping postal could not be found in our database.

public string $warning

This property provides a human-readable explanation of the warning. The description may change at any time and should not be matched against.

public array $input

This is an array of keys representing the path to the input that the warning is associated with. For instance, if the warning was about the billing city, the array would be ["billing", "city"]. The key is used for an object and the index number for an array.

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