Sunnysideup\EcommerceMaxmindMinfraud\Api\MinFraudAPIConnector
Synopsis
class MinFraudAPIConnector
{
- // members
- private static string $account_id = '';
- private static string $license_key = '';
- // methods
- public void getConnection()
- public MinFraud buildRequest()
- public Score getScore()
- public Insights getInsights()
- public Factors getFactors()
Hierarchy
Uses
- SilverStripe\Core\Config\Configurable
- SilverStripe\Core\Extensible
- SilverStripe\Core\Injector\Injectable
Members
private
- $account_id
—
string
REQUIRED! - $license_key
—
string
REQUIRED!
Methods
public
- buildRequest() — Creates the `MinFraud` object and builds the request with all the data available in the order.
- getConnection()
- getFactors() — minFraud Factors provides detail on the specific components used to determine the riskScore. These subscores provide insight into how we arrived at a riskScore for a given transaction.
- getInsights() — minFraud Insights provides a wide range of data points in addition to the riskScore and the IP Risk Score.
- getScore() — minFraud Score provides the risk assessment of the transaction with the riskScore and the IP address risk as expressed in the IP Risk Score.