-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSettings.php
More file actions
49 lines (44 loc) · 1.41 KB
/
Settings.php
File metadata and controls
49 lines (44 loc) · 1.41 KB
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
44
45
46
47
48
49
<?php
# 2016-06-29
namespace Dfe\AllPay;
use Df\Config\Source\WaitPeriodType;
use Df\Payment\Settings\Options as O;
use Dfe\AllPay\InstallmentSales\Settings as SettingsI;
use Dfe\AllPay\Source\Option as OptionSource;
/** @method static Settings s() */
final class Settings extends \Df\Payment\Settings {
/**
* 2016-07-01 «Description on a kiosk's screen»
* @used-by \Dfe\AllPay\Charge::descriptionOnKiosk()
*/
function descriptionOnKiosk():string {return $this->v();}
/**
* 2016-06-29 «ALL IN ONE 介接 HashIV»
* Note that we encrypt the live keys, but do not encrypt the test keys.
*/
function hashIV():string {return $this->testablePV();}
/**
* 2016-06-29
* 1) «LL IN ONE 介接 HashKey»
* 2) We encrypt live keys, but do not encrypt test keys.
* @used-by \Dfe\AllPay\Signer::sign()
*/
function hashKey():string {return $this->testablePV();}
/**
* 2016-07-31
* @used-by \Dfe\AllPay\ConfigProvider::config()
* @used-by \Dfe\AllPay\Method::plan()
* @used-by \Dfe\AllPay\Total\Quote::collect()
*/
function installmentSales():SettingsI {return $this->child(SettingsI::class);}
/**
* 2017-03-03
* @used-by \Dfe\AllPay\ConfigProvider::config()
*/
function options():O {return $this->_options(OptionSource::class);}
/**
* 2016-07-19 «Wait period for an ATM payment»
* @used-by \Dfe\AllPay\Charge::pCharge()
*/
function waitPeriodATM():int {return WaitPeriodType::calculate($this);}
}