-
Notifications
You must be signed in to change notification settings - Fork 2
/
Settings.php
37 lines (34 loc) · 1.28 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
<?php
namespace Dfe\AlphaCommerceHub;
use Dfe\AlphaCommerceHub\Settings\Card;
# 2017-10-25
/** @method static Settings s() */
final class Settings extends \Df\Payment\Settings {
/**
* 2017-12-09 «Test API Domain» / «Live API Domain»
* "Provide an ability to a Magento backend user to choose a different AlphaCommerceHub's API domain"?
* https://github.com/mage2pro/alphacommercehub/issues/66
* @used-by \Dfe\AlphaCommerceHub\Method::urlBase()
*/
function apiDomain():string {return $this->testable();}
/**
* 2017-12-12
* @used-by \Dfe\AlphaCommerceHub\Charge::pCharge()
*/
function card():Card {return dfc($this, function() {return new Card($this->m());});}
/**
* 2017-12-09
* 1) «Test Pay Page Domain» / «Live Pay Page Domain»
* 2) "Provide an ability to a Magento backend user to choose a different AlphaHPP domain"?
* https://github.com/mage2pro/alphacommercehub/issues/80
* @used-by \Dfe\AlphaCommerceHub\Method::urlBase()
*/
function payPageDomain():string {return $this->testable();}
/**
* 2017-11-02
* 1) «Test Pay Page Path» / «Live Pay Page Path»
* 2) "[AlphaCommerceHub] What is a «pay page path»"? https://mage2.pro/t/4856
* @used-by \Dfe\AlphaCommerceHub\Method::urlBase()
*/
function payPagePath():string {return $this->testable();}
}