-
Notifications
You must be signed in to change notification settings - Fork 0
/
Settings.php
43 lines (39 loc) · 1.24 KB
/
Settings.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<?php
namespace Dfe\Sift;
use Dfe\Sift\PM\Entity as PM;
# 2020-01-23
/** @method static Settings s() */
final class Settings extends \Df\API\Settings {
/**
* 2020-01-25
* Where is a «Sandbox REST API Key» located? https://mage2.pro/t/6092
* Where is a «Production REST API Key» located? https://mage2.pro/t/6093
* @used-by \Dfe\Sift\API\B\Event::p()
* @used-by \Dfe\Sift\API\Facade\GetDecisions::adjustClient()
*/
function backendKey():string {return $this->testableP();}
/**
* 2020-01-24
* Where is a «Sandbox Beacon Key» located? https://mage2.pro/t/6089
* Where is a «Production Beacon Key» located? https://mage2.pro/t/6091
* @used-by \Dfe\Sift\Js::_toHtml()
*/
function frontendKey():string {return $this->testableP();}
/**
* 2020-02-03
* @return PM|null
*/
function pm(string $id) {return $this->_a(PM::class)->get($id);}
/**
* 2020-02-24 Where is a «Signature Key» located? https://mage2.pro/t/6099
* @used-by \Dfe\Sift\Controller\Index\Index::checkSignature()
*/
function signatureKey():string {return $this->p();}
/**
* 2020-01-23
* @override
* @see \Df\Config\Settings::prefix()
* @used-by \Df\Config\Settings::v()
*/
protected function prefix():string {return 'fraud_protection/sift';}
}