本文整理汇总了PHP中Am_Paysystem_Abstract::__construct方法的典型用法代码示例。如果您正苦于以下问题:PHP Am_Paysystem_Abstract::__construct方法的具体用法?PHP Am_Paysystem_Abstract::__construct怎么用?PHP Am_Paysystem_Abstract::__construct使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Am_Paysystem_Abstract
的用法示例。
在下文中一共展示了Am_Paysystem_Abstract::__construct方法的13个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: __construct
public function __construct(Am_Di $di, array $config)
{
$this->defaultTitle = ___("ClickBank");
$this->defaultDescription = ___("pay using credit card or PayPal");
parent::__construct($di, $config);
$di->billingPlanTable->customFields()->add(new Am_CustomFieldText('clickbank_product_id', 'ClickBank Product#', 'you have to create similar product in ClickBank and enter its number here', array()));
}
示例2: __construct
public function __construct(Am_Di $di, array $config)
{
parent::__construct($di, $config);
foreach ($di->paysystemList->getList() as $k => $p) {
if ($p->getId() == $this->getId()) {
$p->setPublic(false);
}
}
$di->productTable->customFields()->add(new Am_CustomFieldText('dg_product_id', "DealGuardian Product ID", "ID of corresponding product from your DealGuardian account.\n Should be specified in this format: product_id-pricepoint_id\n Where product_id - is ID of product in DelaGuardian, pricepoint_id is ID of price point.\n If Price point doesn't matter it can be ommited. <br/>\n Example: <br/>\n Price point 1 of product # 34: 34-1<br/>\n Product #36 : 36<br/>\n \n "));
}
示例3: __construct
public function __construct(Am_Di $di, array $config)
{
parent::__construct($di, $config);
foreach ($di->paysystemList->getList() as $k => $p) {
if ($p->getId() == $this->getId()) {
$p->setPublic(false);
}
}
$di->billingPlanTable->customFields()->add(new Am_CustomFieldText('zaxaa_prod_number', "Zaxaa Product Number", "The product number registered in Zaxaa (SKU)"));
}
示例4: __construct
public function __construct(Am_Di $di, array $config)
{
parent::__construct($di, $config);
foreach ($di->paysystemList->getList() as $k => $p) {
if ($p->getId() == $this->getId()) {
$p->setPublic(false);
}
}
$di->billingPlanTable->customFields()->add(new Am_CustomFieldText('jvzoo_prod_item', "JVZoo product number", "1-5 Characters", array()));
}
示例5: __construct
public function __construct(Am_Di $di, array $config)
{
parent::__construct($di, $config);
foreach ($di->paysystemList->getList() as $k => $p) {
if ($p->getId() == $this->getId()) {
$p->setPublic(false);
}
}
$di->billingPlanTable->customFields()->add(new Am_CustomFieldText('hotmart_id', "Hotmart Product#", "", array()));
}
示例6: __construct
public function __construct(Am_Di $di, array $config)
{
parent::__construct($di, $config);
// $di->billingPlanTable->customFields()->add(
// new Am_CustomFieldText(
// 'paypal_id',
// "PayPal Button Item Number",
// "if you want to use PayPal buttons, create button with \n".
// "the same billing settings, and enter its item number here"
// ,array(/*,'required'*/)
// ));
}
示例7: __construct
public function __construct(Am_Di $di, array $config)
{
parent::__construct($di, $config);
foreach ($di->paysystemList->getList() as $k => $p) {
if ($p->getId() == $this->getId()) {
$p->setPublic(false);
}
}
$di->billingPlanTable->customFields()->add(new Am_CustomFieldText('nanacast_product_id', 'Nanacast Product ID used for Advanced API', '%Your Product/Podcast/RSS Feed/Membership ID% <br />
(you can find this ID by clicking on "Edit Listing"
for your particular Product/Podcast/RSS Feed/Membership.
At the top there is a field that says "ID used for Advanced API'));
}
示例8: __construct
public function __construct(Am_Di $di, array $config)
{
$this->defaultTitle = ___("Offline Payment");
$this->defaultDescription = ___("pay using wire transfer or by sending offline check");
parent::__construct($di, $config);
}
示例9: __construct
public function __construct(Am_Di $di, array $config)
{
parent::__construct($di, $config);
$di->billingPlanTable->customFields()->add(new Am_CustomFieldText('paypro_product_id', "Paypro product ID", "", array()));
}
示例10: __construct
public function __construct(Am_Di $di, array $config)
{
parent::__construct($di, $config);
$di->billingPlanTable->customFields()->add(new Am_CustomFieldText('hipay_site_id', "Hipay Site Id", "(optional)", array()));
}
示例11: __construct
public function __construct(Am_Di $di, array $config)
{
parent::__construct($di, $config);
$di->billingPlanTable->customFields()->add(new Am_CustomFieldText('payone_product_id', 'PayOne Offer ID', 'you have to create similar offer in PayOne and enter its number here'));
}
示例12: __construct
public function __construct(Am_Di $di, array $config)
{
parent::__construct($di, $config);
$di->billingPlanTable->customFields()->add(new Am_CustomFieldText('paypal_id', "PayPal Button Item Number", "if you want to use PayPal buttons, create button with \n" . "the same billing settings, and enter its item number here", array()));
}
示例13: __construct
public function __construct(Am_Di $di, array $config)
{
parent::__construct($di, $config);
$di->billingPlanTable->customFields()->add(new Am_CustomFieldText('justclick_id', "Justclick product ID"));
}