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 Warning

Warning about the minFraud request.

Although more codes may be added in the future, the current warning 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.
MaxMind\MinFraud\Model\AbstractModel implements JsonSerializable
Extended by MaxMind\MinFraud\Model\Warning
Namespace: MaxMind\MinFraud\Model
Located at MinFraud/Model/Warning.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 $code

This value is a machine-readable code identifying the warning.

public read-only 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 read-only array|null $input

A JSON Pointer to the input field that the warning is associated with. For instance, if the warning was about the billing city, this would be /billing/city. If it was for the price in the second shopping cart item, it would be /shopping_cart/1/price.

minFraud PHP API v1.0.0 API documentation generated by ApiGen