Version Notes
- добавлен специальный статус оплаты для PayAnyWay
Download this release
Release Info
Developer | PayAnyWay |
Extension | Paw_Payanyway |
Version | 1.4.0 |
Comparing to | |
See all releases |
Code changes from version 1.3.1 to 1.4.0
- app/code/community/Paw/Payanyway/Block/Form.php +45 -45
- app/code/community/Paw/Payanyway/Block/Info.php +54 -54
- app/code/community/Paw/Payanyway/Block/Invoice.php +113 -133
- app/code/community/Paw/Payanyway/Block/Payment.php +61 -61
- app/code/community/Paw/Payanyway/Block/Redirect.php +13 -13
- app/code/community/Paw/Payanyway/Helper/Data.php +6 -6
- app/code/community/Paw/Payanyway/Model/Abstract.php +207 -202
- app/code/community/Paw/Payanyway/Model/Alfaclick.php +12 -12
- app/code/community/Paw/Payanyway/Model/Banktransfer.php +13 -13
- app/code/community/Paw/Payanyway/Model/Ciberpay.php +13 -13
- app/code/community/Paw/Payanyway/Model/Comepay.php +13 -13
- app/code/community/Paw/Payanyway/Model/Contact.php +13 -13
- app/code/community/Paw/Payanyway/Model/Dengimail.php +12 -12
- app/code/community/Paw/Payanyway/Model/Elecsnet.php +13 -13
- app/code/community/Paw/Payanyway/Model/Euroset.php +14 -14
- app/code/community/Paw/Payanyway/Model/Event.php +241 -264
- app/code/community/Paw/Payanyway/Model/Faktura.php +12 -12
- app/code/community/Paw/Payanyway/Model/Forward.php +13 -13
- app/code/community/Paw/Payanyway/Model/Gorod.php +13 -13
- app/code/community/Paw/Payanyway/Model/Mcb.php +13 -13
- app/code/community/Paw/Payanyway/Model/Moneta.php +12 -12
- app/code/community/Paw/Payanyway/Model/Moneymail.php +12 -12
- app/code/community/Paw/Payanyway/Model/Novoplat.php +13 -13
- app/code/community/Paw/Payanyway/Model/Payanyway.php +12 -12
- app/code/community/Paw/Payanyway/Model/Paymentaction.php +24 -24
- app/code/community/Paw/Payanyway/Model/Plastic.php +12 -12
- app/code/community/Paw/Payanyway/Model/Platika.php +13 -13
- app/code/community/Paw/Payanyway/Model/Post.php +14 -14
- app/code/community/Paw/Payanyway/Model/Psb.php +12 -12
- app/code/community/Paw/Payanyway/Model/Qiwi.php +12 -12
- app/code/community/Paw/Payanyway/Model/Resource/Setup.php +5 -0
- app/code/community/Paw/Payanyway/Model/Sberbank.php +13 -13
- app/code/community/Paw/Payanyway/Model/Walletone.php +12 -12
- app/code/community/Paw/Payanyway/Model/Webmoney.php +12 -12
- app/code/community/Paw/Payanyway/Model/Yandex.php +12 -12
- app/code/community/Paw/Payanyway/controllers/Moneta/MonetaDataTypes.php +4195 -4195
- app/code/community/Paw/Payanyway/controllers/Moneta/MonetaWebService.php +79 -79
- app/code/community/Paw/Payanyway/controllers/Moneta/MonetaWebServiceConnector.php +712 -712
- app/code/community/Paw/Payanyway/controllers/PayanywayController.php +16 -16
- app/code/community/Paw/Payanyway/controllers/ProcessingController.php +144 -145
- app/code/community/Paw/Payanyway/etc/config.xml +86 -54
- app/code/community/Paw/Payanyway/etc/system.xml +2002 -2002
- app/code/community/Paw/Payanyway/sql/payanyway_setup/install-1.0.0.php +0 -4
- app/code/community/Paw/Payanyway/sql/payanyway_setup/install-1.4.0.php +19 -0
- app/code/community/Paw/Payanyway/sql/payanyway_setup/mysql4-install-1.4.0.php +19 -0
- app/code/community/Paw/Payanyway/sql/payanyway_setup/mysql4-upgrade-1.3.1-1.4.0.php +19 -0
- app/code/community/Paw/Payanyway/sql/payanyway_setup/upgrade-1.3.1-1.4.0.php +19 -0
- package.xml +5 -5
- skin/frontend/base/default/images/payanyway/alfaclick.jpg +0 -0
- skin/frontend/base/default/images/payanyway/banktransfer.jpg +0 -0
- skin/frontend/base/default/images/payanyway/contact.jpg +0 -0
- skin/frontend/base/default/images/payanyway/elecsnet.jpg +0 -0
- skin/frontend/base/default/images/payanyway/euroset.png +0 -0
- skin/frontend/base/default/images/payanyway/forward.jpg +0 -0
- skin/frontend/base/default/images/payanyway/gorod.jpg +0 -0
- skin/frontend/base/default/images/payanyway/mastercard.png +0 -0
- skin/frontend/base/default/images/payanyway/mcb.jpg +0 -0
- skin/frontend/base/default/images/payanyway/moneta.jpg +0 -0
- skin/frontend/base/default/images/payanyway/payanyway.jpg +0 -0
- skin/frontend/base/default/images/payanyway/post.jpg +0 -0
- skin/frontend/base/default/images/payanyway/psb.jpg +0 -0
- skin/frontend/base/default/images/payanyway/sberbank.jpg +0 -0
- skin/frontend/base/default/images/payanyway/visa.jpg +0 -0
- skin/frontend/base/default/images/payanyway/webmoney.jpg +0 -0
- skin/frontend/base/default/images/payanyway/yandex.jpg +0 -0
app/code/community/Paw/Payanyway/Block/Form.php
CHANGED
@@ -1,45 +1,45 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
class Paw_Payanyway_Block_Form extends Mage_Payment_Block_Form
|
4 |
-
{
|
5 |
-
|
6 |
-
/**
|
7 |
-
* Constructor. Set template.
|
8 |
-
*/
|
9 |
-
protected function _construct()
|
10 |
-
{
|
11 |
-
parent::_construct();
|
12 |
-
$this->setTemplate('payanyway/form.phtml');
|
13 |
-
}
|
14 |
-
|
15 |
-
protected function _prepareLayout()
|
16 |
-
{
|
17 |
-
$section = $this->getAction()->getRequest()->getParam('section', false);
|
18 |
-
if ($section == 'payanyway') {
|
19 |
-
$this->getLayout()
|
20 |
-
->getBlock('head')
|
21 |
-
->addJs('mage/frontend/validation.js');
|
22 |
-
}
|
23 |
-
parent::_prepareLayout();
|
24 |
-
}
|
25 |
-
|
26 |
-
/**
|
27 |
-
* Return payment logo image src
|
28 |
-
*
|
29 |
-
* @param string $payment Payment Code
|
30 |
-
* @return string|bool
|
31 |
-
*/
|
32 |
-
public function getPaymentImageSrc($payment)
|
33 |
-
{
|
34 |
-
$src = $this->getMethod()->getMethodParam("logotype");
|
35 |
-
|
36 |
-
$imageFilename = Mage::getDesign()
|
37 |
-
->getFilename('images' . DS . 'payanyway' . DS . $src, array('_type' => 'skin'));
|
38 |
-
|
39 |
-
if (is_file($imageFilename))
|
40 |
-
return $this->getSkinUrl('images/payanyway/' . $src);
|
41 |
-
|
42 |
-
return $this->getSkinUrl('images/payanyway/payanyway.jpg');
|
43 |
-
}
|
44 |
-
|
45 |
-
}
|
1 |
+
<?php
|
2 |
+
|
3 |
+
class Paw_Payanyway_Block_Form extends Mage_Payment_Block_Form
|
4 |
+
{
|
5 |
+
|
6 |
+
/**
|
7 |
+
* Constructor. Set template.
|
8 |
+
*/
|
9 |
+
protected function _construct()
|
10 |
+
{
|
11 |
+
parent::_construct();
|
12 |
+
$this->setTemplate('payanyway/form.phtml');
|
13 |
+
}
|
14 |
+
|
15 |
+
protected function _prepareLayout()
|
16 |
+
{
|
17 |
+
$section = $this->getAction()->getRequest()->getParam('section', false);
|
18 |
+
if ($section == 'payanyway') {
|
19 |
+
$this->getLayout()
|
20 |
+
->getBlock('head')
|
21 |
+
->addJs('mage/frontend/validation.js');
|
22 |
+
}
|
23 |
+
parent::_prepareLayout();
|
24 |
+
}
|
25 |
+
|
26 |
+
/**
|
27 |
+
* Return payment logo image src
|
28 |
+
*
|
29 |
+
* @param string $payment Payment Code
|
30 |
+
* @return string|bool
|
31 |
+
*/
|
32 |
+
public function getPaymentImageSrc($payment)
|
33 |
+
{
|
34 |
+
$src = $this->getMethod()->getMethodParam("logotype");
|
35 |
+
|
36 |
+
$imageFilename = Mage::getDesign()
|
37 |
+
->getFilename('images' . DS . 'payanyway' . DS . $src, array('_type' => 'skin'));
|
38 |
+
|
39 |
+
if (is_file($imageFilename))
|
40 |
+
return $this->getSkinUrl('images/payanyway/' . $src);
|
41 |
+
|
42 |
+
return $this->getSkinUrl('images/payanyway/payanyway.jpg');
|
43 |
+
}
|
44 |
+
|
45 |
+
}
|
app/code/community/Paw/Payanyway/Block/Info.php
CHANGED
@@ -1,54 +1,54 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
class Paw_Payanyway_Block_Info extends Mage_Payment_Block_Info
|
4 |
-
{
|
5 |
-
/**
|
6 |
-
* Constructor. Set template.
|
7 |
-
*/
|
8 |
-
protected function _construct()
|
9 |
-
{
|
10 |
-
parent::_construct();
|
11 |
-
$this->setTemplate('payanyway/info.phtml');
|
12 |
-
}
|
13 |
-
|
14 |
-
/**
|
15 |
-
* Returns code of payment method
|
16 |
-
*
|
17 |
-
* @return string
|
18 |
-
*/
|
19 |
-
public function getMethodCode()
|
20 |
-
{
|
21 |
-
return $this->getInfo()->getMethodInstance()->getCode();
|
22 |
-
}
|
23 |
-
|
24 |
-
/**
|
25 |
-
* Build PDF content of info block
|
26 |
-
*
|
27 |
-
* @return string
|
28 |
-
*/
|
29 |
-
public function toPdf()
|
30 |
-
{
|
31 |
-
$this->setTemplate('payanyway/pdf/info.phtml');
|
32 |
-
return $this->toHtml();
|
33 |
-
}
|
34 |
-
|
35 |
-
/**
|
36 |
-
* Return payment logo image src
|
37 |
-
*
|
38 |
-
* @param string $payment Payment Code
|
39 |
-
* @return string|bool
|
40 |
-
*/
|
41 |
-
public function getPaymentImageSrc($payment)
|
42 |
-
{
|
43 |
-
$src = $this->getInfo()->getMethodInstance()->getMethodParam("logotype");
|
44 |
-
|
45 |
-
$imageFilename = Mage::getDesign()
|
46 |
-
->getFilename('images' . DS . 'payanyway' . DS . $src, array('_type' => 'skin'));
|
47 |
-
|
48 |
-
if (is_file($imageFilename))
|
49 |
-
return $this->getSkinUrl('images/payanyway/' . $src);
|
50 |
-
|
51 |
-
return $this->getSkinUrl('images/payanyway/payanyway.jpg');
|
52 |
-
}
|
53 |
-
|
54 |
-
}
|
1 |
+
<?php
|
2 |
+
|
3 |
+
class Paw_Payanyway_Block_Info extends Mage_Payment_Block_Info
|
4 |
+
{
|
5 |
+
/**
|
6 |
+
* Constructor. Set template.
|
7 |
+
*/
|
8 |
+
protected function _construct()
|
9 |
+
{
|
10 |
+
parent::_construct();
|
11 |
+
$this->setTemplate('payanyway/info.phtml');
|
12 |
+
}
|
13 |
+
|
14 |
+
/**
|
15 |
+
* Returns code of payment method
|
16 |
+
*
|
17 |
+
* @return string
|
18 |
+
*/
|
19 |
+
public function getMethodCode()
|
20 |
+
{
|
21 |
+
return $this->getInfo()->getMethodInstance()->getCode();
|
22 |
+
}
|
23 |
+
|
24 |
+
/**
|
25 |
+
* Build PDF content of info block
|
26 |
+
*
|
27 |
+
* @return string
|
28 |
+
*/
|
29 |
+
public function toPdf()
|
30 |
+
{
|
31 |
+
$this->setTemplate('payanyway/pdf/info.phtml');
|
32 |
+
return $this->toHtml();
|
33 |
+
}
|
34 |
+
|
35 |
+
/**
|
36 |
+
* Return payment logo image src
|
37 |
+
*
|
38 |
+
* @param string $payment Payment Code
|
39 |
+
* @return string|bool
|
40 |
+
*/
|
41 |
+
public function getPaymentImageSrc($payment)
|
42 |
+
{
|
43 |
+
$src = $this->getInfo()->getMethodInstance()->getMethodParam("logotype");
|
44 |
+
|
45 |
+
$imageFilename = Mage::getDesign()
|
46 |
+
->getFilename('images' . DS . 'payanyway' . DS . $src, array('_type' => 'skin'));
|
47 |
+
|
48 |
+
if (is_file($imageFilename))
|
49 |
+
return $this->getSkinUrl('images/payanyway/' . $src);
|
50 |
+
|
51 |
+
return $this->getSkinUrl('images/payanyway/payanyway.jpg');
|
52 |
+
}
|
53 |
+
|
54 |
+
}
|
app/code/community/Paw/Payanyway/Block/Invoice.php
CHANGED
@@ -1,133 +1,113 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
|
4 |
-
class Paw_Payanyway_Block_Invoice extends Mage_Core_Block_Template
|
5 |
-
{
|
6 |
-
public function getPaymentAction()
|
7 |
-
{
|
8 |
-
$storeId = Mage::app()->getStore()->getId();
|
9 |
-
return Mage::getStoreConfig('payanyway/settings/payment_action', $storeId);
|
10 |
-
}
|
11 |
-
|
12 |
-
public function getInvoice()
|
13 |
-
{
|
14 |
-
require_once ('Paw/Payanyway/controllers/Moneta/MonetaWebService.php');
|
15 |
-
|
16 |
-
$params = $this->getRequest()->getParams();
|
17 |
-
$order = Mage::getModel('sales/order')->loadByIncrementId($params['MNT_TRANSACTION_ID']);
|
18 |
-
|
19 |
-
$methodInstance = $order->getPayment()->getMethodInstance();
|
20 |
-
|
21 |
-
$login = $methodInstance->getConfigParam('payanyway_login');
|
22 |
-
$password = $methodInstance->getConfigParam('payanyway_password');
|
23 |
-
$payment_method = $methodInstance->getCode();
|
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 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
$
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
$operationInfo
|
64 |
-
$
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
$
|
69 |
-
$
|
70 |
-
$
|
71 |
-
$
|
72 |
-
$
|
73 |
-
$
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
$
|
80 |
-
$
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
$
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
'amount' => $totalAmount,
|
115 |
-
'fee' => $fee,
|
116 |
-
'unitid' => $params['paymentSystem_unitId'],
|
117 |
-
'payment_server' => $payment_server);
|
118 |
-
}
|
119 |
-
catch (Exception $e)
|
120 |
-
{
|
121 |
-
$invoice = array( 'status' => 'FAILED',
|
122 |
-
'error_message' => $e->getMessage());
|
123 |
-
|
124 |
-
if($order->canCancel()) {
|
125 |
-
$order->cancel();
|
126 |
-
$order->addStatusToHistory(Mage_Sales_Model_Order::STATE_CANCELED, $e->getMessage());
|
127 |
-
$order->save();
|
128 |
-
}
|
129 |
-
}
|
130 |
-
|
131 |
-
return $invoice;
|
132 |
-
}
|
133 |
-
}
|
1 |
+
<?php
|
2 |
+
|
3 |
+
|
4 |
+
class Paw_Payanyway_Block_Invoice extends Mage_Core_Block_Template
|
5 |
+
{
|
6 |
+
public function getPaymentAction()
|
7 |
+
{
|
8 |
+
$storeId = Mage::app()->getStore()->getId();
|
9 |
+
return Mage::getStoreConfig('payanyway/settings/payment_action', $storeId);
|
10 |
+
}
|
11 |
+
|
12 |
+
public function getInvoice()
|
13 |
+
{
|
14 |
+
require_once ('Paw/Payanyway/controllers/Moneta/MonetaWebService.php');
|
15 |
+
|
16 |
+
$params = $this->getRequest()->getParams();
|
17 |
+
$order = Mage::getModel('sales/order')->loadByIncrementId($params['MNT_TRANSACTION_ID']);
|
18 |
+
|
19 |
+
$methodInstance = $order->getPayment()->getMethodInstance();
|
20 |
+
|
21 |
+
$login = $methodInstance->getConfigParam('payanyway_login');
|
22 |
+
$password = $methodInstance->getConfigParam('payanyway_password');
|
23 |
+
$payment_method = $methodInstance->getCode();
|
24 |
+
|
25 |
+
switch ($methodInstance->getConfigParam('payment_action'))
|
26 |
+
{
|
27 |
+
case "demo.moneta.ru":
|
28 |
+
$service = new MonetaWebService("https://demo.moneta.ru/services.wsdl", $login, $password);
|
29 |
+
break;
|
30 |
+
case "www.payanyway.ru":
|
31 |
+
$service = new MonetaWebService("https://www.moneta.ru/services.wsdl", $login, $password);
|
32 |
+
break;
|
33 |
+
}
|
34 |
+
|
35 |
+
try
|
36 |
+
{
|
37 |
+
// получить данные счета
|
38 |
+
$request = new MonetaInvoiceRequest();
|
39 |
+
|
40 |
+
if (isset($params['paymentSystem_accountId']))
|
41 |
+
$request->payer = $params['paymentSystem_accountId'];
|
42 |
+
$request->payee = $params['MNT_ID'];
|
43 |
+
$request->amount = $params['MNT_AMOUNT'];
|
44 |
+
$request->clientTransaction = $params['MNT_TRANSACTION_ID'];
|
45 |
+
if ($payment_method == 'payanyway_post')
|
46 |
+
{
|
47 |
+
$operationInfo = new MonetaOperationInfo();
|
48 |
+
$a1 = new MonetaKeyValueAttribute();
|
49 |
+
$a1->key = 'mailofrussiaindex';
|
50 |
+
$a1->value = $params['additionalParameters_mailofrussiaSenderIndex'];
|
51 |
+
$operationInfo->addAttribute($a1);
|
52 |
+
$a2 = new MonetaKeyValueAttribute();
|
53 |
+
$a2->key = 'mailofrussiaregion';
|
54 |
+
$a2->value = $params['additionalParameters_mailofrussiaSenderRegion'];
|
55 |
+
$operationInfo->addAttribute($a2);
|
56 |
+
$a3 = new MonetaKeyValueAttribute();
|
57 |
+
$a3->key = 'mailofrussiaaddress';
|
58 |
+
$a3->value = $params['additionalParameters_mailofrussiaSenderAddress'];
|
59 |
+
$operationInfo->addAttribute($a3);
|
60 |
+
$a4 = new MonetaKeyValueAttribute();
|
61 |
+
$a5->key = 'mailofrussianame';
|
62 |
+
$a5->value = $params['additionalParameters_mailofrussiaSenderName'];
|
63 |
+
$operationInfo->addAttribute($a5);
|
64 |
+
$request->operationInfo = $operationInfo;
|
65 |
+
}
|
66 |
+
elseif ($payment_method == 'payanyway_euroset')
|
67 |
+
{
|
68 |
+
$operationInfo = new MonetaOperationInfo();
|
69 |
+
$a1 = new MonetaKeyValueAttribute();
|
70 |
+
$a1->key = 'rapidamphone';
|
71 |
+
$a1->value = $params['additionalParameters_rapidaPhone'];
|
72 |
+
$operationInfo->addAttribute($a1);
|
73 |
+
$request->operationInfo = $operationInfo;
|
74 |
+
}
|
75 |
+
|
76 |
+
$response = $service->Invoice($request);
|
77 |
+
if ($payment_method == 'payanyway_euroset')
|
78 |
+
{
|
79 |
+
$response1 = $service->GetOperationDetailsById($response->transaction);
|
80 |
+
foreach ($response1->operation->attribute as $attr)
|
81 |
+
{
|
82 |
+
if ($attr->key == 'rapidatid')
|
83 |
+
{
|
84 |
+
$transaction_id = $attr->value;
|
85 |
+
}
|
86 |
+
}
|
87 |
+
}
|
88 |
+
else
|
89 |
+
{
|
90 |
+
$transaction_id = $response->transaction;
|
91 |
+
}
|
92 |
+
|
93 |
+
$invoice = array( 'status' => $response->status,
|
94 |
+
'system' => $payment_method,
|
95 |
+
'transaction' => str_pad($transaction_id, 10, "0", STR_PAD_LEFT),
|
96 |
+
'amount' => $params['MNT_AMOUNT']." ".$params['MNT_CURRENCY_CODE'],
|
97 |
+
'unitid' => $params['paymentSystem_unitId']);
|
98 |
+
}
|
99 |
+
catch (Exception $e)
|
100 |
+
{
|
101 |
+
$invoice = array( 'status' => 'FAILED',
|
102 |
+
'error_message' => $e->getMessage());
|
103 |
+
|
104 |
+
if($order->canCancel()) {
|
105 |
+
$order->cancel();
|
106 |
+
$order->addStatusToHistory(Mage_Sales_Model_Order::STATE_CANCELED, $e->getMessage());
|
107 |
+
$order->save();
|
108 |
+
}
|
109 |
+
}
|
110 |
+
|
111 |
+
return $invoice;
|
112 |
+
}
|
113 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/code/community/Paw/Payanyway/Block/Payment.php
CHANGED
@@ -1,61 +1,61 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
class Paw_Payanyway_Block_Payment extends Mage_Core_Block_Template
|
4 |
-
{
|
5 |
-
/**
|
6 |
-
* Return Payment logo src
|
7 |
-
*
|
8 |
-
* @return string
|
9 |
-
*/
|
10 |
-
public function getPayanywayLogoSrc()
|
11 |
-
{
|
12 |
-
return $this->getSkinUrl('images/payanyway/payanyway.png');
|
13 |
-
}
|
14 |
-
|
15 |
-
/**
|
16 |
-
* Return checkout session instance
|
17 |
-
*
|
18 |
-
* @return Mage_Checkout_Model_Session
|
19 |
-
*/
|
20 |
-
protected function _getCheckout()
|
21 |
-
{
|
22 |
-
return Mage::getSingleton('checkout/session');
|
23 |
-
}
|
24 |
-
|
25 |
-
/**
|
26 |
-
* Return order instance
|
27 |
-
*
|
28 |
-
* @return Mage_Sales_Model_Order|null
|
29 |
-
*/
|
30 |
-
protected function _getOrder()
|
31 |
-
{
|
32 |
-
if ($this->getOrder()) {
|
33 |
-
return $this->getOrder();
|
34 |
-
} elseif ($orderIncrementId = $this->_getCheckout()->getLastRealOrderId()) {
|
35 |
-
return Mage::getModel('sales/order')->loadByIncrementId($orderIncrementId);
|
36 |
-
} else {
|
37 |
-
return null;
|
38 |
-
}
|
39 |
-
}
|
40 |
-
|
41 |
-
/**
|
42 |
-
* Get Form data by using ogone payment api
|
43 |
-
*
|
44 |
-
* @return array
|
45 |
-
*/
|
46 |
-
public function getFormData()
|
47 |
-
{
|
48 |
-
$additionalInformation = $this->_getOrder()->getPayment()->getAdditionalInformation();
|
49 |
-
return array_merge($this->_getOrder()->getPayment()->getMethodInstance()->getFormFields(), $additionalInformation);
|
50 |
-
}
|
51 |
-
|
52 |
-
/**
|
53 |
-
* Getting gateway url
|
54 |
-
*
|
55 |
-
* @return string
|
56 |
-
*/
|
57 |
-
public function getFormAction()
|
58 |
-
{
|
59 |
-
return $this->_getOrder()->getPayment()->getMethodInstance()->getUrl();
|
60 |
-
}
|
61 |
-
}
|
1 |
+
<?php
|
2 |
+
|
3 |
+
class Paw_Payanyway_Block_Payment extends Mage_Core_Block_Template
|
4 |
+
{
|
5 |
+
/**
|
6 |
+
* Return Payment logo src
|
7 |
+
*
|
8 |
+
* @return string
|
9 |
+
*/
|
10 |
+
public function getPayanywayLogoSrc()
|
11 |
+
{
|
12 |
+
return $this->getSkinUrl('images/payanyway/payanyway.png');
|
13 |
+
}
|
14 |
+
|
15 |
+
/**
|
16 |
+
* Return checkout session instance
|
17 |
+
*
|
18 |
+
* @return Mage_Checkout_Model_Session
|
19 |
+
*/
|
20 |
+
protected function _getCheckout()
|
21 |
+
{
|
22 |
+
return Mage::getSingleton('checkout/session');
|
23 |
+
}
|
24 |
+
|
25 |
+
/**
|
26 |
+
* Return order instance
|
27 |
+
*
|
28 |
+
* @return Mage_Sales_Model_Order|null
|
29 |
+
*/
|
30 |
+
protected function _getOrder()
|
31 |
+
{
|
32 |
+
if ($this->getOrder()) {
|
33 |
+
return $this->getOrder();
|
34 |
+
} elseif ($orderIncrementId = $this->_getCheckout()->getLastRealOrderId()) {
|
35 |
+
return Mage::getModel('sales/order')->loadByIncrementId($orderIncrementId);
|
36 |
+
} else {
|
37 |
+
return null;
|
38 |
+
}
|
39 |
+
}
|
40 |
+
|
41 |
+
/**
|
42 |
+
* Get Form data by using ogone payment api
|
43 |
+
*
|
44 |
+
* @return array
|
45 |
+
*/
|
46 |
+
public function getFormData()
|
47 |
+
{
|
48 |
+
$additionalInformation = $this->_getOrder()->getPayment()->getAdditionalInformation();
|
49 |
+
return array_merge($this->_getOrder()->getPayment()->getMethodInstance()->getFormFields(), $additionalInformation);
|
50 |
+
}
|
51 |
+
|
52 |
+
/**
|
53 |
+
* Getting gateway url
|
54 |
+
*
|
55 |
+
* @return string
|
56 |
+
*/
|
57 |
+
public function getFormAction()
|
58 |
+
{
|
59 |
+
return $this->_getOrder()->getPayment()->getMethodInstance()->getUrl();
|
60 |
+
}
|
61 |
+
}
|
app/code/community/Paw/Payanyway/Block/Redirect.php
CHANGED
@@ -1,13 +1,13 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
class Paw_Payanyway_Block_Redirect extends Mage_Core_Block_Template
|
4 |
-
{
|
5 |
-
/**
|
6 |
-
* Constructor. Set template.
|
7 |
-
*/
|
8 |
-
protected function _construct()
|
9 |
-
{
|
10 |
-
parent::_construct();
|
11 |
-
$this->setTemplate('payanyway/redirect.phtml');
|
12 |
-
}
|
13 |
-
}
|
1 |
+
<?php
|
2 |
+
|
3 |
+
class Paw_Payanyway_Block_Redirect extends Mage_Core_Block_Template
|
4 |
+
{
|
5 |
+
/**
|
6 |
+
* Constructor. Set template.
|
7 |
+
*/
|
8 |
+
protected function _construct()
|
9 |
+
{
|
10 |
+
parent::_construct();
|
11 |
+
$this->setTemplate('payanyway/redirect.phtml');
|
12 |
+
}
|
13 |
+
}
|
app/code/community/Paw/Payanyway/Helper/Data.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
class Paw_Payanyway_Helper_Data extends Mage_Payment_Helper_Data
|
4 |
-
{
|
5 |
-
|
6 |
-
}
|
1 |
+
<?php
|
2 |
+
|
3 |
+
class Paw_Payanyway_Helper_Data extends Mage_Payment_Helper_Data
|
4 |
+
{
|
5 |
+
|
6 |
+
}
|
app/code/community/Paw/Payanyway/Model/Abstract.php
CHANGED
@@ -1,202 +1,207 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
|
4 |
-
abstract class Paw_Payanyway_Model_Abstract extends Mage_Payment_Model_Method_Abstract
|
5 |
-
{
|
6 |
-
/**
|
7 |
-
* unique internal payment method identifier
|
8 |
-
*/
|
9 |
-
protected $_code = 'payanyway_abstract';
|
10 |
-
protected $_paymentMethod = 'abstract';
|
11 |
-
|
12 |
-
protected $_formBlockType = 'payanyway/form';
|
13 |
-
protected $_infoBlockType = 'payanyway/info';
|
14 |
-
|
15 |
-
protected $_canUseInternal = false;
|
16 |
-
protected $_canUseForMultishipping = false;
|
17 |
-
|
18 |
-
protected $_isInvoice = true;
|
19 |
-
|
20 |
-
protected $_order;
|
21 |
-
|
22 |
-
const XML_PATH_PAYMENTACTION = 'payanyway/settings/payment_action';
|
23 |
-
const XML_PATH_MNTID = 'payanyway/settings/mnt_id';
|
24 |
-
const XML_PATH_MNTDATAINTEGRITYCODE = 'payanyway/settings/mnt_dataintegrity_code';
|
25 |
-
const XML_PATH_MNTTESTMODE = 'payanyway/settings/mnt_test_mode';
|
26 |
-
const XML_PATH_PAYANYWAYLOGIN = 'payanyway/settings/payanyway_login';
|
27 |
-
const XML_PATH_PAYANYWAYPASSWORD = 'payanyway/settings/payanyway_password';
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
*
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
*
|
55 |
-
*
|
56 |
-
* @
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
*
|
71 |
-
*
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
*
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
*
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
*
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
-
$
|
141 |
-
$
|
142 |
-
$
|
143 |
-
$
|
144 |
-
$
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
|
149 |
-
'
|
150 |
-
'
|
151 |
-
'
|
152 |
-
'
|
153 |
-
'
|
154 |
-
'
|
155 |
-
|
156 |
-
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
-
|
173 |
-
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
|
178 |
-
|
179 |
-
|
180 |
-
|
181 |
-
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
-
|
186 |
-
|
187 |
-
|
188 |
-
|
189 |
-
|
190 |
-
|
191 |
-
|
192 |
-
|
193 |
-
|
194 |
-
|
195 |
-
|
196 |
-
|
197 |
-
|
198 |
-
|
199 |
-
|
200 |
-
|
201 |
-
|
202 |
-
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
|
4 |
+
abstract class Paw_Payanyway_Model_Abstract extends Mage_Payment_Model_Method_Abstract
|
5 |
+
{
|
6 |
+
/**
|
7 |
+
* unique internal payment method identifier
|
8 |
+
*/
|
9 |
+
protected $_code = 'payanyway_abstract';
|
10 |
+
protected $_paymentMethod = 'abstract';
|
11 |
+
|
12 |
+
protected $_formBlockType = 'payanyway/form';
|
13 |
+
protected $_infoBlockType = 'payanyway/info';
|
14 |
+
|
15 |
+
protected $_canUseInternal = false;
|
16 |
+
protected $_canUseForMultishipping = false;
|
17 |
+
|
18 |
+
protected $_isInvoice = true;
|
19 |
+
|
20 |
+
protected $_order;
|
21 |
+
|
22 |
+
const XML_PATH_PAYMENTACTION = 'payanyway/settings/payment_action';
|
23 |
+
const XML_PATH_MNTID = 'payanyway/settings/mnt_id';
|
24 |
+
const XML_PATH_MNTDATAINTEGRITYCODE = 'payanyway/settings/mnt_dataintegrity_code';
|
25 |
+
const XML_PATH_MNTTESTMODE = 'payanyway/settings/mnt_test_mode';
|
26 |
+
const XML_PATH_PAYANYWAYLOGIN = 'payanyway/settings/payanyway_login';
|
27 |
+
const XML_PATH_PAYANYWAYPASSWORD = 'payanyway/settings/payanyway_password';
|
28 |
+
|
29 |
+
const STATE_PAYANYWAY_PENDING = 'pending_payanyway';
|
30 |
+
|
31 |
+
/**
|
32 |
+
* Get order model
|
33 |
+
*
|
34 |
+
* @return Mage_Sales_Model_Order
|
35 |
+
*/
|
36 |
+
public function getOrder()
|
37 |
+
{
|
38 |
+
if (!$this->_order) {
|
39 |
+
$this->_order = $this->getInfoInstance()->getOrder();
|
40 |
+
}
|
41 |
+
return $this->_order;
|
42 |
+
}
|
43 |
+
|
44 |
+
/**
|
45 |
+
* Return url for redirection after order placed
|
46 |
+
* @return string
|
47 |
+
*/
|
48 |
+
public function getOrderPlaceRedirectUrl()
|
49 |
+
{
|
50 |
+
return Mage::getUrl('payanyway/processing/payment');
|
51 |
+
}
|
52 |
+
|
53 |
+
/**
|
54 |
+
* Capture payment through PayAnyWay api
|
55 |
+
*
|
56 |
+
* @param Varien_Object $payment
|
57 |
+
* @param decimal $amount
|
58 |
+
* @return Paw_Payanyway_Model_Abstract
|
59 |
+
*/
|
60 |
+
public function capture(Varien_Object $payment, $amount)
|
61 |
+
{
|
62 |
+
$payment->setStatus(self::STATUS_APPROVED)
|
63 |
+
->setTransactionId($this->getTransactionId())
|
64 |
+
->setIsTransactionClosed(0);
|
65 |
+
|
66 |
+
return $this;
|
67 |
+
}
|
68 |
+
|
69 |
+
/**
|
70 |
+
* Cancel payment
|
71 |
+
*
|
72 |
+
* @param Varien_Object $payment
|
73 |
+
* @return Paw_Payanyway_Model_Abstract
|
74 |
+
*/
|
75 |
+
public function cancel(Varien_Object $payment)
|
76 |
+
{
|
77 |
+
$payment->setStatus(self::STATUS_DECLINED)
|
78 |
+
->setTransactionId($this->getTransactionId())
|
79 |
+
->setIsTransactionClosed(1);
|
80 |
+
|
81 |
+
return $this;
|
82 |
+
}
|
83 |
+
|
84 |
+
/**
|
85 |
+
* Check if method is offline one
|
86 |
+
*
|
87 |
+
* @return boolean
|
88 |
+
*/
|
89 |
+
public function isInvoice()
|
90 |
+
{
|
91 |
+
return $this->_isInvoice;
|
92 |
+
}
|
93 |
+
|
94 |
+
/**
|
95 |
+
* Return url of payment method
|
96 |
+
*
|
97 |
+
* @return string
|
98 |
+
*/
|
99 |
+
public function getUrl()
|
100 |
+
{
|
101 |
+
if (!$this->_isInvoice)
|
102 |
+
{
|
103 |
+
return "https://".$this->getConfigParam('payment_action')."/assistant.htm";
|
104 |
+
}
|
105 |
+
else
|
106 |
+
{
|
107 |
+
return Mage::getUrl('payanyway/processing/invoice');;
|
108 |
+
}
|
109 |
+
}
|
110 |
+
|
111 |
+
public function getDataintegrityCode()
|
112 |
+
{
|
113 |
+
$storeId = Mage::app()->getStore()->getId();
|
114 |
+
return Mage::getStoreConfig(self::XML_PATH_MNTDATAINTEGRITYCODE, $storeId);
|
115 |
+
}
|
116 |
+
|
117 |
+
public function getConfigParam($param)
|
118 |
+
{
|
119 |
+
$storeId = Mage::app()->getStore()->getId();
|
120 |
+
return Mage::getStoreConfig('payanyway/settings/'.$param, $storeId);
|
121 |
+
|
122 |
+
}
|
123 |
+
|
124 |
+
public function getMethodParam($param)
|
125 |
+
{
|
126 |
+
$storeId = Mage::app()->getStore()->getId();
|
127 |
+
return Mage::getStoreConfig('payment/'.$this->_code.'/'.$param, $storeId);
|
128 |
+
|
129 |
+
}
|
130 |
+
|
131 |
+
/**
|
132 |
+
* prepare params array to send it to gateway page via POST
|
133 |
+
*
|
134 |
+
* @return array
|
135 |
+
*/
|
136 |
+
public function getFormFields()
|
137 |
+
{
|
138 |
+
$order_id = $this->getOrder()->getRealOrderId();
|
139 |
+
|
140 |
+
$mntId = $this->getConfigParam('mnt_id');
|
141 |
+
$mntDataintegrityCode = $this->getConfigParam('mnt_dataintegrity_code');
|
142 |
+
$amount = number_format($this->getOrder()->getGrandTotal(), 2, '.', '');
|
143 |
+
$currencyCode = $this->getOrder()->getOrderCurrencyCode();
|
144 |
+
$mntTestMode = $this->getConfigParam('mnt_test_mode');
|
145 |
+
$mntSignature = md5($mntId.$order_id.$amount.$currencyCode.$mntTestMode.$mntDataintegrityCode);
|
146 |
+
$unitId = $this->getMethodParam('unitid');
|
147 |
+
|
148 |
+
$params = array(
|
149 |
+
'MNT_ID' => $mntId,
|
150 |
+
'MNT_TRANSACTION_ID' => $order_id,
|
151 |
+
'MNT_AMOUNT' => $amount,
|
152 |
+
'MNT_CURRENCY_CODE' => $currencyCode,
|
153 |
+
'MNT_TEST_MODE' => $mntTestMode,
|
154 |
+
'MNT_SIGNATURE' => $mntSignature,
|
155 |
+
'MNT_SUCCESS_URL' => Mage::getUrl('payanyway/processing/success'),
|
156 |
+
'MNT_FAIL_URL' => Mage::getUrl('payanyway/processing/cancel')
|
157 |
+
);
|
158 |
+
if (!empty($unitId))
|
159 |
+
$params['paymentSystem.unitId'] = $unitId;
|
160 |
+
|
161 |
+
if (isset($this->_accountId))
|
162 |
+
$params['paymentSystem.accountId'] = $this->_accountId;
|
163 |
+
|
164 |
+
if ($this->_code !== 'payanyway') {
|
165 |
+
$params['followup'] = 'true';
|
166 |
+
$params['javascriptEnabled'] = 'true';
|
167 |
+
}
|
168 |
+
|
169 |
+
return $params;
|
170 |
+
}
|
171 |
+
/**
|
172 |
+
* Get initialized flag status
|
173 |
+
* @return true
|
174 |
+
*/
|
175 |
+
public function isInitializeNeeded()
|
176 |
+
{
|
177 |
+
return true;
|
178 |
+
}
|
179 |
+
|
180 |
+
/**
|
181 |
+
* Instantiate state and set it to state object
|
182 |
+
* //
|
183 |
+
*
|
184 |
+
* @param string $paymentAction
|
185 |
+
* @param object $stateObject
|
186 |
+
* @return \Mage_Payment_Model_Abstract|void
|
187 |
+
*/
|
188 |
+
public function initialize($paymentAction, $stateObject)
|
189 |
+
{
|
190 |
+
$state = Mage_Sales_Model_Order::STATE_PENDING_PAYMENT;
|
191 |
+
$stateObject->setState($state);
|
192 |
+
$stateObject->setStatus(Mage_Sales_Model_Order::STATE_PENDING_PAYMENT);
|
193 |
+
$stateObject->setIsNotified(false);
|
194 |
+
}
|
195 |
+
|
196 |
+
/**
|
197 |
+
* Get config action to process initialization
|
198 |
+
*
|
199 |
+
* @return string
|
200 |
+
*/
|
201 |
+
public function getConfigPaymentAction()
|
202 |
+
{
|
203 |
+
$paymentAction = $this->getConfigData('payment_action');
|
204 |
+
return empty($paymentAction) ? true : $paymentAction;
|
205 |
+
}
|
206 |
+
|
207 |
+
}
|
app/code/community/Paw/Payanyway/Model/Alfaclick.php
CHANGED
@@ -1,12 +1,12 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
class Paw_Payanyway_Model_Alfaclick extends Paw_Payanyway_Model_Abstract
|
4 |
-
{
|
5 |
-
/**
|
6 |
-
* unique internal payment method identifier
|
7 |
-
*/
|
8 |
-
protected $_code = 'payanyway_alfaclick';
|
9 |
-
protected $_paymentMethod = 'ALFACLICK';
|
10 |
-
|
11 |
-
protected $_isInvoice = false;
|
12 |
-
}
|
1 |
+
<?php
|
2 |
+
|
3 |
+
class Paw_Payanyway_Model_Alfaclick extends Paw_Payanyway_Model_Abstract
|
4 |
+
{
|
5 |
+
/**
|
6 |
+
* unique internal payment method identifier
|
7 |
+
*/
|
8 |
+
protected $_code = 'payanyway_alfaclick';
|
9 |
+
protected $_paymentMethod = 'ALFACLICK';
|
10 |
+
|
11 |
+
protected $_isInvoice = false;
|
12 |
+
}
|
app/code/community/Paw/Payanyway/Model/Banktransfer.php
CHANGED
@@ -1,13 +1,13 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
|
4 |
-
class Paw_Payanyway_Model_Banktransfer extends Paw_Payanyway_Model_Abstract
|
5 |
-
{
|
6 |
-
/**
|
7 |
-
* unique internal payment method identifier
|
8 |
-
*/
|
9 |
-
protected $_code = 'payanyway_banktransfer';
|
10 |
-
protected $_paymentMethod = 'BANKTRANSFER';
|
11 |
-
|
12 |
-
protected $_isInvoice = true;
|
13 |
-
}
|
1 |
+
<?php
|
2 |
+
|
3 |
+
|
4 |
+
class Paw_Payanyway_Model_Banktransfer extends Paw_Payanyway_Model_Abstract
|
5 |
+
{
|
6 |
+
/**
|
7 |
+
* unique internal payment method identifier
|
8 |
+
*/
|
9 |
+
protected $_code = 'payanyway_banktransfer';
|
10 |
+
protected $_paymentMethod = 'BANKTRANSFER';
|
11 |
+
|
12 |
+
protected $_isInvoice = true;
|
13 |
+
}
|
app/code/community/Paw/Payanyway/Model/Ciberpay.php
CHANGED
@@ -1,13 +1,13 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
|
4 |
-
class Paw_Payanyway_Model_Ciberpay extends Paw_Payanyway_Model_Abstract
|
5 |
-
{
|
6 |
-
/**
|
7 |
-
* unique internal payment method identifier
|
8 |
-
*/
|
9 |
-
protected $_code = 'payanyway_ciberpay';
|
10 |
-
protected $_paymentMethod = 'CIBERPAY';
|
11 |
-
|
12 |
-
protected $_isInvoice = true;
|
13 |
-
}
|
1 |
+
<?php
|
2 |
+
|
3 |
+
|
4 |
+
class Paw_Payanyway_Model_Ciberpay extends Paw_Payanyway_Model_Abstract
|
5 |
+
{
|
6 |
+
/**
|
7 |
+
* unique internal payment method identifier
|
8 |
+
*/
|
9 |
+
protected $_code = 'payanyway_ciberpay';
|
10 |
+
protected $_paymentMethod = 'CIBERPAY';
|
11 |
+
|
12 |
+
protected $_isInvoice = true;
|
13 |
+
}
|
app/code/community/Paw/Payanyway/Model/Comepay.php
CHANGED
@@ -1,13 +1,13 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
|
4 |
-
class Paw_Payanyway_Model_Comepay extends Paw_Payanyway_Model_Abstract
|
5 |
-
{
|
6 |
-
/**
|
7 |
-
* unique internal payment method identifier
|
8 |
-
*/
|
9 |
-
protected $_code = 'payanyway_comepay';
|
10 |
-
protected $_paymentMethod = 'COMEPAY';
|
11 |
-
|
12 |
-
protected $_isInvoice = true;
|
13 |
-
}
|
1 |
+
<?php
|
2 |
+
|
3 |
+
|
4 |
+
class Paw_Payanyway_Model_Comepay extends Paw_Payanyway_Model_Abstract
|
5 |
+
{
|
6 |
+
/**
|
7 |
+
* unique internal payment method identifier
|
8 |
+
*/
|
9 |
+
protected $_code = 'payanyway_comepay';
|
10 |
+
protected $_paymentMethod = 'COMEPAY';
|
11 |
+
|
12 |
+
protected $_isInvoice = true;
|
13 |
+
}
|
app/code/community/Paw/Payanyway/Model/Contact.php
CHANGED
@@ -1,13 +1,13 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
|
4 |
-
class Paw_Payanyway_Model_Contact extends Paw_Payanyway_Model_Abstract
|
5 |
-
{
|
6 |
-
/**
|
7 |
-
* unique internal payment method identifier
|
8 |
-
*/
|
9 |
-
protected $_code = 'payanyway_contact';
|
10 |
-
protected $_paymentMethod = 'CONTACT';
|
11 |
-
|
12 |
-
protected $_isInvoice = true;
|
13 |
-
}
|
1 |
+
<?php
|
2 |
+
|
3 |
+
|
4 |
+
class Paw_Payanyway_Model_Contact extends Paw_Payanyway_Model_Abstract
|
5 |
+
{
|
6 |
+
/**
|
7 |
+
* unique internal payment method identifier
|
8 |
+
*/
|
9 |
+
protected $_code = 'payanyway_contact';
|
10 |
+
protected $_paymentMethod = 'CONTACT';
|
11 |
+
|
12 |
+
protected $_isInvoice = true;
|
13 |
+
}
|
app/code/community/Paw/Payanyway/Model/Dengimail.php
CHANGED
@@ -1,12 +1,12 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
class Paw_Payanyway_Model_Dengimail extends Paw_Payanyway_Model_Abstract
|
4 |
-
{
|
5 |
-
/**
|
6 |
-
* unique internal payment method identifier
|
7 |
-
*/
|
8 |
-
protected $_code = 'payanyway_dengimail';
|
9 |
-
protected $_paymentMethod = 'DENGIMAIL';
|
10 |
-
|
11 |
-
protected $_isInvoice = false;
|
12 |
-
}
|
1 |
+
<?php
|
2 |
+
|
3 |
+
class Paw_Payanyway_Model_Dengimail extends Paw_Payanyway_Model_Abstract
|
4 |
+
{
|
5 |
+
/**
|
6 |
+
* unique internal payment method identifier
|
7 |
+
*/
|
8 |
+
protected $_code = 'payanyway_dengimail';
|
9 |
+
protected $_paymentMethod = 'DENGIMAIL';
|
10 |
+
|
11 |
+
protected $_isInvoice = false;
|
12 |
+
}
|
app/code/community/Paw/Payanyway/Model/Elecsnet.php
CHANGED
@@ -1,13 +1,13 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
|
4 |
-
class Paw_Payanyway_Model_Elecsnet extends Paw_Payanyway_Model_Abstract
|
5 |
-
{
|
6 |
-
/**
|
7 |
-
* unique internal payment method identifier
|
8 |
-
*/
|
9 |
-
protected $_code = 'payanyway_elecsnet';
|
10 |
-
protected $_paymentMethod = 'ELECSNET';
|
11 |
-
|
12 |
-
protected $_isInvoice = true;
|
13 |
-
}
|
1 |
+
<?php
|
2 |
+
|
3 |
+
|
4 |
+
class Paw_Payanyway_Model_Elecsnet extends Paw_Payanyway_Model_Abstract
|
5 |
+
{
|
6 |
+
/**
|
7 |
+
* unique internal payment method identifier
|
8 |
+
*/
|
9 |
+
protected $_code = 'payanyway_elecsnet';
|
10 |
+
protected $_paymentMethod = 'ELECSNET';
|
11 |
+
|
12 |
+
protected $_isInvoice = true;
|
13 |
+
}
|
app/code/community/Paw/Payanyway/Model/Euroset.php
CHANGED
@@ -1,14 +1,14 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
|
4 |
-
class Paw_Payanyway_Model_Euroset extends Paw_Payanyway_Model_Abstract
|
5 |
-
{
|
6 |
-
/**
|
7 |
-
* unique internal payment method identifier
|
8 |
-
*/
|
9 |
-
protected $_code = 'payanyway_euroset';
|
10 |
-
protected $_paymentMethod = 'EUROSET';
|
11 |
-
protected $_accountId = 136;
|
12 |
-
|
13 |
-
protected $_isInvoice = true;
|
14 |
-
}
|
1 |
+
<?php
|
2 |
+
|
3 |
+
|
4 |
+
class Paw_Payanyway_Model_Euroset extends Paw_Payanyway_Model_Abstract
|
5 |
+
{
|
6 |
+
/**
|
7 |
+
* unique internal payment method identifier
|
8 |
+
*/
|
9 |
+
protected $_code = 'payanyway_euroset';
|
10 |
+
protected $_paymentMethod = 'EUROSET';
|
11 |
+
protected $_accountId = 136;
|
12 |
+
|
13 |
+
protected $_isInvoice = true;
|
14 |
+
}
|
app/code/community/Paw/Payanyway/Model/Event.php
CHANGED
@@ -1,264 +1,241 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
|
4 |
-
/**
|
5 |
-
* Payanyway notification processor model
|
6 |
-
*/
|
7 |
-
class Paw_Payanyway_Model_Event
|
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 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
$
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
-
|
156 |
-
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
-
|
173 |
-
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
|
178 |
-
|
179 |
-
|
180 |
-
|
181 |
-
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
-
|
186 |
-
|
187 |
-
|
188 |
-
|
189 |
-
|
190 |
-
|
191 |
-
|
192 |
-
|
193 |
-
|
194 |
-
|
195 |
-
|
196 |
-
|
197 |
-
|
198 |
-
|
199 |
-
|
200 |
-
|
201 |
-
|
202 |
-
|
203 |
-
|
204 |
-
|
205 |
-
|
206 |
-
|
207 |
-
|
208 |
-
|
209 |
-
|
210 |
-
|
211 |
-
|
212 |
-
|
213 |
-
|
214 |
-
|
215 |
-
|
216 |
-
|
217 |
-
|
218 |
-
|
219 |
-
|
220 |
-
|
221 |
-
|
222 |
-
|
223 |
-
|
224 |
-
|
225 |
-
|
226 |
-
|
227 |
-
|
228 |
-
|
229 |
-
|
230 |
-
$
|
231 |
-
$
|
232 |
-
|
233 |
-
|
234 |
-
$
|
235 |
-
|
236 |
-
|
237 |
-
$
|
238 |
-
|
239 |
-
|
240 |
-
|
241 |
-
|
242 |
-
|
243 |
-
if(strcasecmp($signature, $eventData['MNT_SIGNATURE'] ) == 0) {
|
244 |
-
return true;
|
245 |
-
}
|
246 |
-
return false;
|
247 |
-
}
|
248 |
-
|
249 |
-
|
250 |
-
private function _getXMLResponse($resultCode)
|
251 |
-
{
|
252 |
-
$params = $this->_eventData;
|
253 |
-
$signature = md5($resultCode . $params['MNT_ID'] . $params['MNT_TRANSACTION_ID'] . $this->_order->getPayment()->getMethodInstance()->getDataintegrityCode());
|
254 |
-
$result = '<?xml version="1.0" encoding="UTF-8" ?>';
|
255 |
-
$result .= '<MNT_RESPONSE>';
|
256 |
-
$result .= '<MNT_ID>' . $params['MNT_ID'] . '</MNT_ID>';
|
257 |
-
$result .= '<MNT_TRANSACTION_ID>' . $params['MNT_TRANSACTION_ID'] . '</MNT_TRANSACTION_ID>';
|
258 |
-
$result .= '<MNT_RESULT_CODE>' . $resultCode . '</MNT_RESULT_CODE>';
|
259 |
-
$result .= '<MNT_SIGNATURE>' . $signature . '</MNT_SIGNATURE>';
|
260 |
-
$result .= '</MNT_RESPONSE>';
|
261 |
-
return $result;
|
262 |
-
}
|
263 |
-
|
264 |
-
}
|
1 |
+
<?php
|
2 |
+
|
3 |
+
|
4 |
+
/**
|
5 |
+
* Payanyway notification processor model
|
6 |
+
*/
|
7 |
+
class Paw_Payanyway_Model_Event
|
8 |
+
{
|
9 |
+
/*
|
10 |
+
* @param Mage_Sales_Model_Order
|
11 |
+
*/
|
12 |
+
protected $_order = null;
|
13 |
+
|
14 |
+
/**
|
15 |
+
* Event request data
|
16 |
+
* @var array
|
17 |
+
*/
|
18 |
+
protected $_eventData = array();
|
19 |
+
|
20 |
+
/**
|
21 |
+
* Event response code
|
22 |
+
* @var int
|
23 |
+
*/
|
24 |
+
protected $_responseCode = 500;
|
25 |
+
|
26 |
+
/**
|
27 |
+
* Enent request data setter
|
28 |
+
* @param array $data
|
29 |
+
* @return Paw_Payanyway_Model_Event
|
30 |
+
*/
|
31 |
+
public function setEventData(array $data)
|
32 |
+
{
|
33 |
+
$this->_eventData = $data;
|
34 |
+
return $this;
|
35 |
+
}
|
36 |
+
|
37 |
+
/**
|
38 |
+
* Event request data getter
|
39 |
+
* @param string $key
|
40 |
+
* @return array|string
|
41 |
+
*/
|
42 |
+
public function getEventData($key = null)
|
43 |
+
{
|
44 |
+
if (null === $key) {
|
45 |
+
return $this->_eventData;
|
46 |
+
}
|
47 |
+
return isset($this->_eventData[$key]) ? $this->_eventData[$key] : null;
|
48 |
+
}
|
49 |
+
|
50 |
+
/**
|
51 |
+
* Get singleton of Checkout Session Model
|
52 |
+
*
|
53 |
+
* @return Mage_Checkout_Model_Session
|
54 |
+
*/
|
55 |
+
protected function _getCheckout()
|
56 |
+
{
|
57 |
+
return Mage::getSingleton('checkout/session');
|
58 |
+
}
|
59 |
+
|
60 |
+
/**
|
61 |
+
* Process cancelation
|
62 |
+
*/
|
63 |
+
public function cancelEvent() {
|
64 |
+
try {
|
65 |
+
$this->_validateEventData(false);
|
66 |
+
$this->_processCancel('Payment was canceled.');
|
67 |
+
return Mage::helper('payanyway')->__('The order has been canceled.');
|
68 |
+
} catch (Mage_Core_Exception $e) {
|
69 |
+
return $e->getMessage();
|
70 |
+
} catch(Exception $e) {
|
71 |
+
Mage::logException($e);
|
72 |
+
}
|
73 |
+
return '';
|
74 |
+
}
|
75 |
+
|
76 |
+
/**
|
77 |
+
* Validate request and return QuoteId
|
78 |
+
* Can throw Mage_Core_Exception and Exception
|
79 |
+
*
|
80 |
+
* @return int
|
81 |
+
*/
|
82 |
+
public function successEvent(){
|
83 |
+
$this->_validateEventData(false);
|
84 |
+
return $this->_order->getQuoteId();
|
85 |
+
}
|
86 |
+
|
87 |
+
public function callbackEvent()
|
88 |
+
{
|
89 |
+
$this->_validateEventData(true);
|
90 |
+
|
91 |
+
header("Content-type: application/xml");
|
92 |
+
echo $this->_getXMLResponse($this->_responseCode);
|
93 |
+
exit;
|
94 |
+
}
|
95 |
+
|
96 |
+
public function invoiceEvent()
|
97 |
+
{
|
98 |
+
$this->_validateEventData(false);
|
99 |
+
return '';
|
100 |
+
}
|
101 |
+
|
102 |
+
/**
|
103 |
+
* Processed order cancelation
|
104 |
+
* @param string $msg Order history message
|
105 |
+
*/
|
106 |
+
protected function _processCancel($msg)
|
107 |
+
{
|
108 |
+
$this->_order->cancel();
|
109 |
+
$this->_order->addStatusToHistory(Mage_Sales_Model_Order::STATE_CANCELED, $msg);
|
110 |
+
$this->_order->save();
|
111 |
+
}
|
112 |
+
|
113 |
+
/**
|
114 |
+
* Builds invoice for order
|
115 |
+
*/
|
116 |
+
protected function _createInvoice()
|
117 |
+
{
|
118 |
+
if (!$this->_order->canInvoice()) {
|
119 |
+
return;
|
120 |
+
}
|
121 |
+
$invoice = $this->_order->prepareInvoice();
|
122 |
+
$invoice->register()->capture();
|
123 |
+
$this->_order->addRelatedObject($invoice);
|
124 |
+
}
|
125 |
+
|
126 |
+
/**
|
127 |
+
* Checking returned parameters
|
128 |
+
* Thorws Mage_Core_Exception if error
|
129 |
+
* @param bool $fullCheck Whether to make additional validations such as payment status, transaction signature etc.
|
130 |
+
*
|
131 |
+
* @return array $params request params
|
132 |
+
*/
|
133 |
+
protected function _validateEventData($fullCheck = true)
|
134 |
+
{
|
135 |
+
// get request variables
|
136 |
+
$params = $this->_eventData;
|
137 |
+
if (empty($params)) {
|
138 |
+
Mage::throwException('Request does not contain any elements.');
|
139 |
+
}
|
140 |
+
|
141 |
+
// check order ID
|
142 |
+
if (empty($params['MNT_TRANSACTION_ID'])
|
143 |
+
|| ($fullCheck == false && $this->_getCheckout()->getPayanywayRealOrderId() != $params['MNT_TRANSACTION_ID'])
|
144 |
+
) {
|
145 |
+
Mage::throwException('Missing or invalid order ID.');
|
146 |
+
}
|
147 |
+
|
148 |
+
// load order for further validation
|
149 |
+
$this->_order = Mage::getModel('sales/order')->loadByIncrementId($params['MNT_TRANSACTION_ID']);
|
150 |
+
|
151 |
+
if ($fullCheck == false) {
|
152 |
+
if (!$this->_order->getId()) {
|
153 |
+
Mage::throwException('Order not found.');
|
154 |
+
}
|
155 |
+
|
156 |
+
if (0 !== strpos($this->_order->getPayment()->getMethodInstance()->getCode(), 'payanyway_')) {
|
157 |
+
Mage::throwException('Unknown payment method.');
|
158 |
+
}
|
159 |
+
}
|
160 |
+
|
161 |
+
// make additional validation
|
162 |
+
if ($fullCheck && $this->_order->getId())
|
163 |
+
{
|
164 |
+
if(isset($params['MNT_ID']) && isset($params['MNT_TRANSACTION_ID']) && isset($params['MNT_AMOUNT']) && isset($params['MNT_CURRENCY_CODE']) && isset($params['MNT_TEST_MODE']) && isset($params['MNT_SIGNATURE']))
|
165 |
+
{
|
166 |
+
if ($this->_checkSignature())
|
167 |
+
{
|
168 |
+
$amount = (float) $params['MNT_AMOUNT'];
|
169 |
+
if ( !isset($params['MNT_COMMAND']) && ($this->_order->getGrandTotal() == $amount) )
|
170 |
+
{
|
171 |
+
$this->_createInvoice();
|
172 |
+
$this->_order->setState(Mage_Sales_Model_Order::STATE_PROCESSING, true, Mage::helper('payanyway')->__('Payment has been completed.'));
|
173 |
+
// save transaction ID
|
174 |
+
$this->_order->getPayment()->setLastTransId($this->getEventData('MNT_TRANSACTION_ID'));
|
175 |
+
// send new order email
|
176 |
+
$this->_order->sendNewOrderEmail();
|
177 |
+
$this->_order->setEmailSent(true);
|
178 |
+
$this->_order->save();
|
179 |
+
|
180 |
+
$this->_responseCode = 200;
|
181 |
+
}
|
182 |
+
else
|
183 |
+
{
|
184 |
+
$status = $this->_order->getStatus();
|
185 |
+
switch($params['MNT_COMMAND']) {
|
186 |
+
case "CHECK":
|
187 |
+
if ($status == Mage_Sales_Model_Order::STATE_PROCESSING || $status == Paw_Payanyway_Model_Abstract::STATE_PAYANYWAY_PENDING)
|
188 |
+
$this->_responseCode = 402;
|
189 |
+
break;
|
190 |
+
case "CANCELLED_CREDIT":
|
191 |
+
/*отмена зачисления*/
|
192 |
+
$this->_processCancel( Mage::helper('payanyway')->__('Canceled by payment system.') );
|
193 |
+
$this->_responseCode = 200;
|
194 |
+
break;
|
195 |
+
default:
|
196 |
+
$this->_responseCode = 200;
|
197 |
+
break;
|
198 |
+
}
|
199 |
+
}
|
200 |
+
}
|
201 |
+
}
|
202 |
+
}
|
203 |
+
}
|
204 |
+
|
205 |
+
private function _checkSignature()
|
206 |
+
{
|
207 |
+
$eventData = $this->_eventData;
|
208 |
+
$params = '';
|
209 |
+
|
210 |
+
if (isset($eventData['MNT_COMMAND'])) $params .= $eventData['MNT_COMMAND'];
|
211 |
+
$params .= $eventData['MNT_ID'] . $eventData['MNT_TRANSACTION_ID'];
|
212 |
+
if (isset($eventData['MNT_OPERATION_ID'])) $params .= $eventData['MNT_OPERATION_ID'];
|
213 |
+
if (isset($eventData['MNT_AMOUNT'])) $params .= $eventData['MNT_AMOUNT'];
|
214 |
+
$params .= $eventData['MNT_CURRENCY_CODE'];
|
215 |
+
if (isset($eventData['MNT_SUBSCRIBER_ID'])) $params .= $eventData['MNT_SUBSCRIBER_ID'];
|
216 |
+
$params .= $eventData['MNT_TEST_MODE'];
|
217 |
+
|
218 |
+
$signature = md5($params . $this->_order->getPayment()->getMethodInstance()->getDataintegrityCode());
|
219 |
+
|
220 |
+
if(strcasecmp($signature, $eventData['MNT_SIGNATURE'] ) == 0) {
|
221 |
+
return true;
|
222 |
+
}
|
223 |
+
return false;
|
224 |
+
}
|
225 |
+
|
226 |
+
|
227 |
+
private function _getXMLResponse($resultCode)
|
228 |
+
{
|
229 |
+
$params = $this->_eventData;
|
230 |
+
$signature = md5($resultCode . $params['MNT_ID'] . $params['MNT_TRANSACTION_ID'] . $this->_order->getPayment()->getMethodInstance()->getDataintegrityCode());
|
231 |
+
$result = '<?xml version="1.0" encoding="UTF-8" ?>';
|
232 |
+
$result .= '<MNT_RESPONSE>';
|
233 |
+
$result .= '<MNT_ID>' . $params['MNT_ID'] . '</MNT_ID>';
|
234 |
+
$result .= '<MNT_TRANSACTION_ID>' . $params['MNT_TRANSACTION_ID'] . '</MNT_TRANSACTION_ID>';
|
235 |
+
$result .= '<MNT_RESULT_CODE>' . $resultCode . '</MNT_RESULT_CODE>';
|
236 |
+
$result .= '<MNT_SIGNATURE>' . $signature . '</MNT_SIGNATURE>';
|
237 |
+
$result .= '</MNT_RESPONSE>';
|
238 |
+
return $result;
|
239 |
+
}
|
240 |
+
|
241 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/code/community/Paw/Payanyway/Model/Faktura.php
CHANGED
@@ -1,12 +1,12 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
class Paw_Payanyway_Model_Faktura extends Paw_Payanyway_Model_Abstract
|
4 |
-
{
|
5 |
-
/**
|
6 |
-
* unique internal payment method identifier
|
7 |
-
*/
|
8 |
-
protected $_code = 'payanyway_faktura';
|
9 |
-
protected $_paymentMethod = 'FAKTURA';
|
10 |
-
|
11 |
-
protected $_isInvoice = false;
|
12 |
-
}
|
1 |
+
<?php
|
2 |
+
|
3 |
+
class Paw_Payanyway_Model_Faktura extends Paw_Payanyway_Model_Abstract
|
4 |
+
{
|
5 |
+
/**
|
6 |
+
* unique internal payment method identifier
|
7 |
+
*/
|
8 |
+
protected $_code = 'payanyway_faktura';
|
9 |
+
protected $_paymentMethod = 'FAKTURA';
|
10 |
+
|
11 |
+
protected $_isInvoice = false;
|
12 |
+
}
|
app/code/community/Paw/Payanyway/Model/Forward.php
CHANGED
@@ -1,13 +1,13 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
|
4 |
-
class Paw_Payanyway_Model_Forward extends Paw_Payanyway_Model_Abstract
|
5 |
-
{
|
6 |
-
/**
|
7 |
-
* unique internal payment method identifier
|
8 |
-
*/
|
9 |
-
protected $_code = 'payanyway_forward';
|
10 |
-
protected $_paymentMethod = 'FORWARD';
|
11 |
-
|
12 |
-
protected $_isInvoice = true;
|
13 |
-
}
|
1 |
+
<?php
|
2 |
+
|
3 |
+
|
4 |
+
class Paw_Payanyway_Model_Forward extends Paw_Payanyway_Model_Abstract
|
5 |
+
{
|
6 |
+
/**
|
7 |
+
* unique internal payment method identifier
|
8 |
+
*/
|
9 |
+
protected $_code = 'payanyway_forward';
|
10 |
+
protected $_paymentMethod = 'FORWARD';
|
11 |
+
|
12 |
+
protected $_isInvoice = true;
|
13 |
+
}
|
app/code/community/Paw/Payanyway/Model/Gorod.php
CHANGED
@@ -1,13 +1,13 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
|
4 |
-
class Paw_Payanyway_Model_Gorod extends Paw_Payanyway_Model_Abstract
|
5 |
-
{
|
6 |
-
/**
|
7 |
-
* unique internal payment method identifier
|
8 |
-
*/
|
9 |
-
protected $_code = 'payanyway_gorod';
|
10 |
-
protected $_paymentMethod = 'GOROD';
|
11 |
-
|
12 |
-
protected $_isInvoice = true;
|
13 |
-
}
|
1 |
+
<?php
|
2 |
+
|
3 |
+
|
4 |
+
class Paw_Payanyway_Model_Gorod extends Paw_Payanyway_Model_Abstract
|
5 |
+
{
|
6 |
+
/**
|
7 |
+
* unique internal payment method identifier
|
8 |
+
*/
|
9 |
+
protected $_code = 'payanyway_gorod';
|
10 |
+
protected $_paymentMethod = 'GOROD';
|
11 |
+
|
12 |
+
protected $_isInvoice = true;
|
13 |
+
}
|
app/code/community/Paw/Payanyway/Model/Mcb.php
CHANGED
@@ -1,13 +1,13 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
|
4 |
-
class Paw_Payanyway_Model_Mcb extends Paw_Payanyway_Model_Abstract
|
5 |
-
{
|
6 |
-
/**
|
7 |
-
* unique internal payment method identifier
|
8 |
-
*/
|
9 |
-
protected $_code = 'payanyway_mcb';
|
10 |
-
protected $_paymentMethod = 'MCB';
|
11 |
-
|
12 |
-
protected $_isInvoice = true;
|
13 |
-
}
|
1 |
+
<?php
|
2 |
+
|
3 |
+
|
4 |
+
class Paw_Payanyway_Model_Mcb extends Paw_Payanyway_Model_Abstract
|
5 |
+
{
|
6 |
+
/**
|
7 |
+
* unique internal payment method identifier
|
8 |
+
*/
|
9 |
+
protected $_code = 'payanyway_mcb';
|
10 |
+
protected $_paymentMethod = 'MCB';
|
11 |
+
|
12 |
+
protected $_isInvoice = true;
|
13 |
+
}
|
app/code/community/Paw/Payanyway/Model/Moneta.php
CHANGED
@@ -1,12 +1,12 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
class Paw_Payanyway_Model_Moneta extends Paw_Payanyway_Model_Abstract
|
4 |
-
{
|
5 |
-
/**
|
6 |
-
* unique internal payment method identifier
|
7 |
-
*/
|
8 |
-
protected $_code = 'payanyway_moneta';
|
9 |
-
protected $_paymentMethod = 'MONETA';
|
10 |
-
|
11 |
-
protected $_isInvoice = false;
|
12 |
-
}
|
1 |
+
<?php
|
2 |
+
|
3 |
+
class Paw_Payanyway_Model_Moneta extends Paw_Payanyway_Model_Abstract
|
4 |
+
{
|
5 |
+
/**
|
6 |
+
* unique internal payment method identifier
|
7 |
+
*/
|
8 |
+
protected $_code = 'payanyway_moneta';
|
9 |
+
protected $_paymentMethod = 'MONETA';
|
10 |
+
|
11 |
+
protected $_isInvoice = false;
|
12 |
+
}
|
app/code/community/Paw/Payanyway/Model/Moneymail.php
CHANGED
@@ -1,12 +1,12 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
class Paw_Payanyway_Model_Moneymail extends Paw_Payanyway_Model_Abstract
|
4 |
-
{
|
5 |
-
/**
|
6 |
-
* unique internal payment method identifier
|
7 |
-
*/
|
8 |
-
protected $_code = 'payanyway_moneymail';
|
9 |
-
protected $_paymentMethod = 'MONEYMAIL';
|
10 |
-
|
11 |
-
protected $_isInvoice = false;
|
12 |
-
}
|
1 |
+
<?php
|
2 |
+
|
3 |
+
class Paw_Payanyway_Model_Moneymail extends Paw_Payanyway_Model_Abstract
|
4 |
+
{
|
5 |
+
/**
|
6 |
+
* unique internal payment method identifier
|
7 |
+
*/
|
8 |
+
protected $_code = 'payanyway_moneymail';
|
9 |
+
protected $_paymentMethod = 'MONEYMAIL';
|
10 |
+
|
11 |
+
protected $_isInvoice = false;
|
12 |
+
}
|
app/code/community/Paw/Payanyway/Model/Novoplat.php
CHANGED
@@ -1,13 +1,13 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
|
4 |
-
class Paw_Payanyway_Model_Novoplat extends Paw_Payanyway_Model_Abstract
|
5 |
-
{
|
6 |
-
/**
|
7 |
-
* unique internal payment method identifier
|
8 |
-
*/
|
9 |
-
protected $_code = 'payanyway_novoplat';
|
10 |
-
protected $_paymentMethod = 'NOVOPLAT';
|
11 |
-
|
12 |
-
protected $_isInvoice = true;
|
13 |
-
}
|
1 |
+
<?php
|
2 |
+
|
3 |
+
|
4 |
+
class Paw_Payanyway_Model_Novoplat extends Paw_Payanyway_Model_Abstract
|
5 |
+
{
|
6 |
+
/**
|
7 |
+
* unique internal payment method identifier
|
8 |
+
*/
|
9 |
+
protected $_code = 'payanyway_novoplat';
|
10 |
+
protected $_paymentMethod = 'NOVOPLAT';
|
11 |
+
|
12 |
+
protected $_isInvoice = true;
|
13 |
+
}
|
app/code/community/Paw/Payanyway/Model/Payanyway.php
CHANGED
@@ -1,12 +1,12 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
class Paw_Payanyway_Model_Payanyway extends Paw_Payanyway_Model_Abstract
|
4 |
-
{
|
5 |
-
/**
|
6 |
-
* unique internal payment method identifier
|
7 |
-
*/
|
8 |
-
protected $_code = 'payanyway';
|
9 |
-
protected $_paymentMethod = 'PAYANYWAY';
|
10 |
-
|
11 |
-
protected $_isInvoice = false;
|
12 |
-
}
|
1 |
+
<?php
|
2 |
+
|
3 |
+
class Paw_Payanyway_Model_Payanyway extends Paw_Payanyway_Model_Abstract
|
4 |
+
{
|
5 |
+
/**
|
6 |
+
* unique internal payment method identifier
|
7 |
+
*/
|
8 |
+
protected $_code = 'payanyway';
|
9 |
+
protected $_paymentMethod = 'PAYANYWAY';
|
10 |
+
|
11 |
+
protected $_isInvoice = false;
|
12 |
+
}
|
app/code/community/Paw/Payanyway/Model/Paymentaction.php
CHANGED
@@ -1,24 +1,24 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
|
4 |
-
/**
|
5 |
-
* Used in creating options for Yes|No config value selection
|
6 |
-
*
|
7 |
-
*/
|
8 |
-
class Paw_Payanyway_Model_Paymentaction
|
9 |
-
{
|
10 |
-
|
11 |
-
/**
|
12 |
-
* Options getter
|
13 |
-
*
|
14 |
-
* @return array
|
15 |
-
*/
|
16 |
-
public function toOptionArray()
|
17 |
-
{
|
18 |
-
return array(
|
19 |
-
array('value' => 'www.payanyway.ru', 'label'=>'www.payanyway.ru'),
|
20 |
-
array('value' => 'demo.moneta.ru', 'label'=>'demo.moneta.ru'),
|
21 |
-
);
|
22 |
-
}
|
23 |
-
|
24 |
-
}
|
1 |
+
<?php
|
2 |
+
|
3 |
+
|
4 |
+
/**
|
5 |
+
* Used in creating options for Yes|No config value selection
|
6 |
+
*
|
7 |
+
*/
|
8 |
+
class Paw_Payanyway_Model_Paymentaction
|
9 |
+
{
|
10 |
+
|
11 |
+
/**
|
12 |
+
* Options getter
|
13 |
+
*
|
14 |
+
* @return array
|
15 |
+
*/
|
16 |
+
public function toOptionArray()
|
17 |
+
{
|
18 |
+
return array(
|
19 |
+
array('value' => 'www.payanyway.ru', 'label'=>'www.payanyway.ru'),
|
20 |
+
array('value' => 'demo.moneta.ru', 'label'=>'demo.moneta.ru'),
|
21 |
+
);
|
22 |
+
}
|
23 |
+
|
24 |
+
}
|
app/code/community/Paw/Payanyway/Model/Plastic.php
CHANGED
@@ -1,12 +1,12 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
class Paw_Payanyway_Model_Plastic extends Paw_Payanyway_Model_Abstract
|
4 |
-
{
|
5 |
-
/**
|
6 |
-
* unique internal payment method identifier
|
7 |
-
*/
|
8 |
-
protected $_code = 'payanyway_plastic';
|
9 |
-
protected $_paymentMethod = 'PLASTIC';
|
10 |
-
|
11 |
-
protected $_isInvoice = false;
|
12 |
-
}
|
1 |
+
<?php
|
2 |
+
|
3 |
+
class Paw_Payanyway_Model_Plastic extends Paw_Payanyway_Model_Abstract
|
4 |
+
{
|
5 |
+
/**
|
6 |
+
* unique internal payment method identifier
|
7 |
+
*/
|
8 |
+
protected $_code = 'payanyway_plastic';
|
9 |
+
protected $_paymentMethod = 'PLASTIC';
|
10 |
+
|
11 |
+
protected $_isInvoice = false;
|
12 |
+
}
|
app/code/community/Paw/Payanyway/Model/Platika.php
CHANGED
@@ -1,13 +1,13 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
|
4 |
-
class Paw_Payanyway_Model_Platika extends Paw_Payanyway_Model_Abstract
|
5 |
-
{
|
6 |
-
/**
|
7 |
-
* unique internal payment method identifier
|
8 |
-
*/
|
9 |
-
protected $_code = 'payanyway_platika';
|
10 |
-
protected $_paymentMethod = 'PLATIKA';
|
11 |
-
|
12 |
-
protected $_isInvoice = true;
|
13 |
-
}
|
1 |
+
<?php
|
2 |
+
|
3 |
+
|
4 |
+
class Paw_Payanyway_Model_Platika extends Paw_Payanyway_Model_Abstract
|
5 |
+
{
|
6 |
+
/**
|
7 |
+
* unique internal payment method identifier
|
8 |
+
*/
|
9 |
+
protected $_code = 'payanyway_platika';
|
10 |
+
protected $_paymentMethod = 'PLATIKA';
|
11 |
+
|
12 |
+
protected $_isInvoice = true;
|
13 |
+
}
|
app/code/community/Paw/Payanyway/Model/Post.php
CHANGED
@@ -1,14 +1,14 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
|
4 |
-
class Paw_Payanyway_Model_Post extends Paw_Payanyway_Model_Abstract
|
5 |
-
{
|
6 |
-
/**
|
7 |
-
* unique internal payment method identifier
|
8 |
-
*/
|
9 |
-
protected $_code = 'payanyway_post';
|
10 |
-
protected $_paymentMethod = 'POST';
|
11 |
-
protected $_accountId = 15;
|
12 |
-
|
13 |
-
protected $_isInvoice = true;
|
14 |
-
}
|
1 |
+
<?php
|
2 |
+
|
3 |
+
|
4 |
+
class Paw_Payanyway_Model_Post extends Paw_Payanyway_Model_Abstract
|
5 |
+
{
|
6 |
+
/**
|
7 |
+
* unique internal payment method identifier
|
8 |
+
*/
|
9 |
+
protected $_code = 'payanyway_post';
|
10 |
+
protected $_paymentMethod = 'POST';
|
11 |
+
protected $_accountId = 15;
|
12 |
+
|
13 |
+
protected $_isInvoice = true;
|
14 |
+
}
|
app/code/community/Paw/Payanyway/Model/Psb.php
CHANGED
@@ -1,12 +1,12 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
class Paw_Payanyway_Model_Psb extends Paw_Payanyway_Model_Abstract
|
4 |
-
{
|
5 |
-
/**
|
6 |
-
* unique internal payment method identifier
|
7 |
-
*/
|
8 |
-
protected $_code = 'payanyway_psb';
|
9 |
-
protected $_paymentMethod = 'PSB';
|
10 |
-
|
11 |
-
protected $_isInvoice = false;
|
12 |
-
}
|
1 |
+
<?php
|
2 |
+
|
3 |
+
class Paw_Payanyway_Model_Psb extends Paw_Payanyway_Model_Abstract
|
4 |
+
{
|
5 |
+
/**
|
6 |
+
* unique internal payment method identifier
|
7 |
+
*/
|
8 |
+
protected $_code = 'payanyway_psb';
|
9 |
+
protected $_paymentMethod = 'PSB';
|
10 |
+
|
11 |
+
protected $_isInvoice = false;
|
12 |
+
}
|
app/code/community/Paw/Payanyway/Model/Qiwi.php
CHANGED
@@ -1,12 +1,12 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
class Paw_Payanyway_Model_Qiwi extends Paw_Payanyway_Model_Abstract
|
4 |
-
{
|
5 |
-
/**
|
6 |
-
* unique internal payment method identifier
|
7 |
-
*/
|
8 |
-
protected $_code = 'payanyway_qiwi';
|
9 |
-
protected $_paymentMethod = 'QIWI';
|
10 |
-
|
11 |
-
protected $_isInvoice = false;
|
12 |
-
}
|
1 |
+
<?php
|
2 |
+
|
3 |
+
class Paw_Payanyway_Model_Qiwi extends Paw_Payanyway_Model_Abstract
|
4 |
+
{
|
5 |
+
/**
|
6 |
+
* unique internal payment method identifier
|
7 |
+
*/
|
8 |
+
protected $_code = 'payanyway_qiwi';
|
9 |
+
protected $_paymentMethod = 'QIWI';
|
10 |
+
|
11 |
+
protected $_isInvoice = false;
|
12 |
+
}
|
app/code/community/Paw/Payanyway/Model/Resource/Setup.php
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
class Paw_Payanyway_Model_Resource_Setup extends Mage_Core_Model_Resource_Setup
|
4 |
+
{
|
5 |
+
}
|
app/code/community/Paw/Payanyway/Model/Sberbank.php
CHANGED
@@ -1,13 +1,13 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
|
4 |
-
class Paw_Payanyway_Model_Sberbank extends Paw_Payanyway_Model_Abstract
|
5 |
-
{
|
6 |
-
/**
|
7 |
-
* unique internal payment method identifier
|
8 |
-
*/
|
9 |
-
protected $_code = 'payanyway_sberbank';
|
10 |
-
protected $_paymentMethod = 'SBERBANK';
|
11 |
-
|
12 |
-
protected $_isInvoice = true;
|
13 |
-
}
|
1 |
+
<?php
|
2 |
+
|
3 |
+
|
4 |
+
class Paw_Payanyway_Model_Sberbank extends Paw_Payanyway_Model_Abstract
|
5 |
+
{
|
6 |
+
/**
|
7 |
+
* unique internal payment method identifier
|
8 |
+
*/
|
9 |
+
protected $_code = 'payanyway_sberbank';
|
10 |
+
protected $_paymentMethod = 'SBERBANK';
|
11 |
+
|
12 |
+
protected $_isInvoice = true;
|
13 |
+
}
|
app/code/community/Paw/Payanyway/Model/Walletone.php
CHANGED
@@ -1,12 +1,12 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
class Paw_Payanyway_Model_Walletone extends Paw_Payanyway_Model_Abstract
|
4 |
-
{
|
5 |
-
/**
|
6 |
-
* unique internal payment method identifier
|
7 |
-
*/
|
8 |
-
protected $_code = 'payanyway_walletone';
|
9 |
-
protected $_paymentMethod = 'WALLETONE';
|
10 |
-
|
11 |
-
protected $_isInvoice = false;
|
12 |
-
}
|
1 |
+
<?php
|
2 |
+
|
3 |
+
class Paw_Payanyway_Model_Walletone extends Paw_Payanyway_Model_Abstract
|
4 |
+
{
|
5 |
+
/**
|
6 |
+
* unique internal payment method identifier
|
7 |
+
*/
|
8 |
+
protected $_code = 'payanyway_walletone';
|
9 |
+
protected $_paymentMethod = 'WALLETONE';
|
10 |
+
|
11 |
+
protected $_isInvoice = false;
|
12 |
+
}
|
app/code/community/Paw/Payanyway/Model/Webmoney.php
CHANGED
@@ -1,12 +1,12 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
class Paw_Payanyway_Model_Webmoney extends Paw_Payanyway_Model_Abstract
|
4 |
-
{
|
5 |
-
/**
|
6 |
-
* unique internal payment method identifier
|
7 |
-
*/
|
8 |
-
protected $_code = 'payanyway_webmoney';
|
9 |
-
protected $_paymentMethod = 'WEBMONEY';
|
10 |
-
|
11 |
-
protected $_isInvoice = false;
|
12 |
-
}
|
1 |
+
<?php
|
2 |
+
|
3 |
+
class Paw_Payanyway_Model_Webmoney extends Paw_Payanyway_Model_Abstract
|
4 |
+
{
|
5 |
+
/**
|
6 |
+
* unique internal payment method identifier
|
7 |
+
*/
|
8 |
+
protected $_code = 'payanyway_webmoney';
|
9 |
+
protected $_paymentMethod = 'WEBMONEY';
|
10 |
+
|
11 |
+
protected $_isInvoice = false;
|
12 |
+
}
|
app/code/community/Paw/Payanyway/Model/Yandex.php
CHANGED
@@ -1,12 +1,12 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
class Paw_Payanyway_Model_Yandex extends Paw_Payanyway_Model_Abstract
|
4 |
-
{
|
5 |
-
/**
|
6 |
-
* unique internal payment method identifier
|
7 |
-
*/
|
8 |
-
protected $_code = 'payanyway_yandex';
|
9 |
-
protected $_paymentMethod = 'YANDEX';
|
10 |
-
|
11 |
-
protected $_isInvoice = false;
|
12 |
-
}
|
1 |
+
<?php
|
2 |
+
|
3 |
+
class Paw_Payanyway_Model_Yandex extends Paw_Payanyway_Model_Abstract
|
4 |
+
{
|
5 |
+
/**
|
6 |
+
* unique internal payment method identifier
|
7 |
+
*/
|
8 |
+
protected $_code = 'payanyway_yandex';
|
9 |
+
protected $_paymentMethod = 'YANDEX';
|
10 |
+
|
11 |
+
protected $_isInvoice = false;
|
12 |
+
}
|
app/code/community/Paw/Payanyway/controllers/Moneta/MonetaDataTypes.php
CHANGED
@@ -1,4196 +1,4196 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
// Warning! This code was generated by WSDL2PHP tool.
|
4 |
-
// author: Filippov Andrey <afi.work@gmail.com>
|
5 |
-
// see https://solo-framework-lib.googlecode.com
|
6 |
-
// Timestamp: 1301913375
|
7 |
-
|
8 |
-
|
9 |
-
/**
|
10 |
-
* Тип, описывающий статусы операций в системе МОНЕТА.РУ.
|
11 |
-
* Данный тип может иметь только определенные значения, описанные ниже.
|
12 |
-
* Transaction status type in MONETA.RU.
|
13 |
-
* This type may have enumerated values.
|
14 |
-
*
|
15 |
-
*/
|
16 |
-
class MonetaOperationStatus
|
17 |
-
{
|
18 |
-
|
19 |
-
/**
|
20 |
-
* В обработке
|
21 |
-
* Transaction processing is in progress
|
22 |
-
*
|
23 |
-
*
|
24 |
-
* @var string
|
25 |
-
*/
|
26 |
-
const INPROGRESS = 'INPROGRESS';
|
27 |
-
|
28 |
-
/**
|
29 |
-
* Операция обработана
|
30 |
-
* Transaction processing completed successfully
|
31 |
-
*
|
32 |
-
*
|
33 |
-
* @var string
|
34 |
-
*/
|
35 |
-
const SUCCEED = 'SUCCEED';
|
36 |
-
|
37 |
-
/**
|
38 |
-
* Операция отменена
|
39 |
-
* Transaction processing is canceled
|
40 |
-
*
|
41 |
-
*
|
42 |
-
* @var string
|
43 |
-
*/
|
44 |
-
const CANCELED = 'CANCELED';
|
45 |
-
|
46 |
-
/**
|
47 |
-
* Уведомление по операции не отправлено (или не принято)
|
48 |
-
* External notification is not sent (or not accepted)
|
49 |
-
*
|
50 |
-
*
|
51 |
-
* @var string
|
52 |
-
*/
|
53 |
-
const TAKENIN_NOTSENT = 'TAKENIN_NOTSENT';
|
54 |
-
|
55 |
-
/**
|
56 |
-
* Операция создана
|
57 |
-
* Transaction is registered
|
58 |
-
*
|
59 |
-
*
|
60 |
-
* @var string
|
61 |
-
*/
|
62 |
-
const CREATED = 'CREATED';
|
63 |
-
|
64 |
-
}
|
65 |
-
|
66 |
-
/**
|
67 |
-
* Тип, описывающий валюты, используемые в системе МОНЕТА.РУ.
|
68 |
-
* Данный тип может иметь только строго определенные значения, описанные ниже.
|
69 |
-
* Currency type in MONETA.RU.
|
70 |
-
* Must be one of values listed below.
|
71 |
-
*
|
72 |
-
*/
|
73 |
-
class MonetaCurrency
|
74 |
-
{
|
75 |
-
|
76 |
-
/**
|
77 |
-
*
|
78 |
-
*
|
79 |
-
* @var string
|
80 |
-
*/
|
81 |
-
const RUB = 'RUB';
|
82 |
-
|
83 |
-
/**
|
84 |
-
*
|
85 |
-
*
|
86 |
-
* @var string
|
87 |
-
*/
|
88 |
-
const USD = 'USD';
|
89 |
-
|
90 |
-
/**
|
91 |
-
*
|
92 |
-
*
|
93 |
-
* @var string
|
94 |
-
*/
|
95 |
-
const EUR = 'EUR';
|
96 |
-
|
97 |
-
/**
|
98 |
-
*
|
99 |
-
*
|
100 |
-
* @var string
|
101 |
-
*/
|
102 |
-
const GBP = 'GBP';
|
103 |
-
|
104 |
-
}
|
105 |
-
|
106 |
-
/**
|
107 |
-
* Тип, описывающий статусы счетов в системе МОНЕТА.РУ.
|
108 |
-
* Счет может быть либо активным, либо заблокированным.
|
109 |
-
* Account status in MONETA.RU.
|
110 |
-
* May be either active or inactive.
|
111 |
-
*
|
112 |
-
*/
|
113 |
-
class MonetaAccountStatus
|
114 |
-
{
|
115 |
-
|
116 |
-
/**
|
117 |
-
* Активный счет
|
118 |
-
* Active account
|
119 |
-
*
|
120 |
-
*
|
121 |
-
* @var int
|
122 |
-
*/
|
123 |
-
const AccountStatus1 = '1';
|
124 |
-
|
125 |
-
/**
|
126 |
-
* Заблокированный счет
|
127 |
-
* Inactive (blocked) account
|
128 |
-
*
|
129 |
-
*
|
130 |
-
* @var int
|
131 |
-
*/
|
132 |
-
const AccountStatus2 = '2';
|
133 |
-
|
134 |
-
}
|
135 |
-
|
136 |
-
/**
|
137 |
-
* Типы счетов в системе МОНЕТА.РУ.
|
138 |
-
* Account types in MONETA.RU.
|
139 |
-
*
|
140 |
-
*/
|
141 |
-
class MonetaAccountType
|
142 |
-
{
|
143 |
-
|
144 |
-
/**
|
145 |
-
* Обычный счет
|
146 |
-
* Standard account
|
147 |
-
*
|
148 |
-
*
|
149 |
-
* @var int
|
150 |
-
*/
|
151 |
-
const AccountType1 = '1';
|
152 |
-
|
153 |
-
/**
|
154 |
-
* Расширенный счет
|
155 |
-
* Advanced account
|
156 |
-
*
|
157 |
-
*
|
158 |
-
* @var int
|
159 |
-
*/
|
160 |
-
const AccountType2 = '2';
|
161 |
-
|
162 |
-
/**
|
163 |
-
* Бонус-счет
|
164 |
-
* Bonus account
|
165 |
-
*
|
166 |
-
*
|
167 |
-
* @var int
|
168 |
-
*/
|
169 |
-
const AccountType3 = '3';
|
170 |
-
|
171 |
-
}
|
172 |
-
|
173 |
-
/**
|
174 |
-
* Тип данных пользователя.
|
175 |
-
* User profile information type.
|
176 |
-
*
|
177 |
-
*/
|
178 |
-
class MonetaProfileType
|
179 |
-
{
|
180 |
-
|
181 |
-
/**
|
182 |
-
* Тип данных "Организация". В данных такого типа присутствуют поля,
|
183 |
-
* характерные для организаций, например: "Название организации", "ФИО директора" и т.п.
|
184 |
-
* "Organization" profile type containing organization related information.
|
185 |
-
*
|
186 |
-
*
|
187 |
-
* @var string
|
188 |
-
*/
|
189 |
-
const organization = 'organization';
|
190 |
-
|
191 |
-
/**
|
192 |
-
* Тип данных "Клиент". В данных такого типа присутствуют поля,
|
193 |
-
* характерные для обычных пользователей, например: "фамилия", "имя", "отчество" и т.д.
|
194 |
-
* "Client" profile type containing person related information.
|
195 |
-
*
|
196 |
-
*
|
197 |
-
* @var string
|
198 |
-
*/
|
199 |
-
const client = 'client';
|
200 |
-
|
201 |
-
}
|
202 |
-
|
203 |
-
/**
|
204 |
-
* Типы документов, поддерживаемые в системе МОНЕТА.РУ.
|
205 |
-
* Document type supported in MONETA.RU.
|
206 |
-
*
|
207 |
-
*/
|
208 |
-
class MonetaDocumentType
|
209 |
-
{
|
210 |
-
|
211 |
-
/**
|
212 |
-
* Паспорт
|
213 |
-
* Civil passport
|
214 |
-
*
|
215 |
-
*
|
216 |
-
* @var string
|
217 |
-
*/
|
218 |
-
const PASSPORT = 'PASSPORT';
|
219 |
-
|
220 |
-
/**
|
221 |
-
* Водительское удостоверение
|
222 |
-
* User's driving licence
|
223 |
-
*
|
224 |
-
*
|
225 |
-
* @var string
|
226 |
-
*/
|
227 |
-
const DRIVING_LICENCE = 'DRIVING_LICENCE';
|
228 |
-
|
229 |
-
/**
|
230 |
-
* Военный билет
|
231 |
-
* Military ID
|
232 |
-
*
|
233 |
-
*
|
234 |
-
* @var string
|
235 |
-
*/
|
236 |
-
const MILITARY_ID = 'MILITARY_ID';
|
237 |
-
|
238 |
-
/**
|
239 |
-
* Другой документ
|
240 |
-
* Other document
|
241 |
-
*
|
242 |
-
*
|
243 |
-
* @var string
|
244 |
-
*/
|
245 |
-
const OTHER = 'OTHER';
|
246 |
-
|
247 |
-
}
|
248 |
-
|
249 |
-
/**
|
250 |
-
* Тип, описывающий параметры операции в запросах.
|
251 |
-
* Transaction parameters type for requests.
|
252 |
-
*
|
253 |
-
*/
|
254 |
-
class MonetaTransactionRequestType
|
255 |
-
{
|
256 |
-
|
257 |
-
/**
|
258 |
-
* Номер счета плательщика
|
259 |
-
* Payer account number
|
260 |
-
*
|
261 |
-
*
|
262 |
-
* @var long
|
263 |
-
*/
|
264 |
-
public $payer = null;
|
265 |
-
|
266 |
-
/**
|
267 |
-
* Номер счета получателя
|
268 |
-
* Payee account number
|
269 |
-
*
|
270 |
-
*
|
271 |
-
* @var long
|
272 |
-
*/
|
273 |
-
public $payee = null;
|
274 |
-
|
275 |
-
/**
|
276 |
-
* Сумма операции.
|
277 |
-
* Если флаг isPayerAmount отсутствует
|
278 |
-
* и пользователь имеет доступ только к счету плательщика,
|
279 |
-
* то интерпретируется как сумма к списанию (в валюте плательщика).
|
280 |
-
* Если флаг isPayerAmount отсутствует
|
281 |
-
* и пользователь имеет доступ только к счету получателя,
|
282 |
-
* то интерпретируется как сумма к зачислению (в валюте получателя).
|
283 |
-
* Transaction amount.
|
284 |
-
* If isPayerAmount is omitted
|
285 |
-
* and user has access only to payer account,
|
286 |
-
* then is interpreted as debit amount (in payer's currency).
|
287 |
-
* If isPayerAmount is omitted
|
288 |
-
* and user has access only to payee account,
|
289 |
-
* then is interpreted as credit amount (in payee's currency).
|
290 |
-
*
|
291 |
-
*
|
292 |
-
* @var decimal
|
293 |
-
*/
|
294 |
-
public $amount = null;
|
295 |
-
|
296 |
-
/**
|
297 |
-
* Если пользователь имеет доступ как к счету плательщика, так и счету получателя,
|
298 |
-
* то флаг isPayerAmount обязателен.
|
299 |
-
* Если флаг isPayerAmount установлен (true), то amount используется как сумма к списанию (в валюте плательщика).
|
300 |
-
* Если флаг isPayerAmount сброшен (false), то amount используется как сумма к зачислению (в валюте получателя).
|
301 |
-
* If user has access to both accounts, then isPayerAmount flag is obligatory.
|
302 |
-
* If isPayerAmount flag is "true", then amount is used as debit amount (in payer's currency).
|
303 |
-
* If isPayerAmount flag is "false", then amount is used as credit amount (in payee's currency).
|
304 |
-
*
|
305 |
-
*
|
306 |
-
* @var boolean
|
307 |
-
*/
|
308 |
-
public $isPayerAmount = null;
|
309 |
-
|
310 |
-
/**
|
311 |
-
* Платежный пароль счета плательщика
|
312 |
-
* Payment password for payer account
|
313 |
-
*
|
314 |
-
*
|
315 |
-
* @var normalizedString
|
316 |
-
*/
|
317 |
-
public $paymentPassword = null;
|
318 |
-
|
319 |
-
/**
|
320 |
-
* Внешний номер операции
|
321 |
-
* External transaction ID
|
322 |
-
*
|
323 |
-
*
|
324 |
-
* @var string
|
325 |
-
*/
|
326 |
-
public $clientTransaction = null;
|
327 |
-
|
328 |
-
/**
|
329 |
-
* Описание операции
|
330 |
-
* Transaction description or comments
|
331 |
-
*
|
332 |
-
*
|
333 |
-
* @var normalizedString
|
334 |
-
*/
|
335 |
-
public $description = null;
|
336 |
-
|
337 |
-
/**
|
338 |
-
* Набор полей, которые необходимо сохранить в качестве атрибутов операции. Значения дат в формате dd.MM.yyyy HH:mm:ss
|
339 |
-
* Key-value pairs that will be saved as a transaction attributes. Use format dd.MM.yyyy HH:mm:ss for date values
|
340 |
-
*
|
341 |
-
*
|
342 |
-
* @var MonetaOperationInfo
|
343 |
-
*/
|
344 |
-
public $operationInfo = null;
|
345 |
-
|
346 |
-
/**
|
347 |
-
* Запрос для платежного пароля
|
348 |
-
* Payment password challenge
|
349 |
-
*
|
350 |
-
*
|
351 |
-
* @var string
|
352 |
-
*/
|
353 |
-
public $paymentPasswordChallenge = null;
|
354 |
-
|
355 |
-
}
|
356 |
-
|
357 |
-
/**
|
358 |
-
* Тип, описывающий параметры операции в запросах в пакетном режиме.
|
359 |
-
* Transaction parameters type for requests in batch processing mode.
|
360 |
-
*
|
361 |
-
*/
|
362 |
-
class MonetaTransactionBatchRequestType
|
363 |
-
{
|
364 |
-
|
365 |
-
/**
|
366 |
-
* Флаг, указывающий выполнять ли все денежные переводы в одной транзакции.
|
367 |
-
* Если transactional = true, то:
|
368 |
-
* при возникновении ошибки все проведенные операции будут отменены
|
369 |
-
* можно проводить только операции со счетами монеты. Нельзя выводить деньги на внешние платежные системы.
|
370 |
-
* Если transactional = false, то:
|
371 |
-
* при возникновении ошибки все проведенные операции будут сохранены
|
372 |
-
* можно проводить любые операции, которые доступны в TransferRequest
|
373 |
-
* если выставить флаг exitOnFailure = false, то при возникновении ошибки можно пропустить операцию
|
374 |
-
* и продолжить выполнение операций дальше
|
375 |
-
* Joining all transfers in batch processing into one transaction.
|
376 |
-
* True -- all processed transfers will be rolled back on exceptions, no external transfers are allowed.
|
377 |
-
* False -- only current transfer rolled back on exceptions, external transfers are allowed.
|
378 |
-
*
|
379 |
-
*
|
380 |
-
* @var boolean
|
381 |
-
*/
|
382 |
-
public $transactional = null;
|
383 |
-
|
384 |
-
/**
|
385 |
-
* Флаг, указывающий прерывать ли выполнение пакета операций, если произошла ошибка.
|
386 |
-
* Используется только при transactional = false
|
387 |
-
* Stops batch processing on exceptions. Used only in conjunction with transactional=false.
|
388 |
-
*
|
389 |
-
*
|
390 |
-
* @var boolean
|
391 |
-
*/
|
392 |
-
public $exitOnFailure = null;
|
393 |
-
|
394 |
-
/**
|
395 |
-
* Набор операций, которые необходимо выполнить в одном пакете.
|
396 |
-
* Операции выполняются в том порядке, в котором они переданы в запросе.
|
397 |
-
* Set of transfers to be processed in one batch.
|
398 |
-
* Processed in order of appearance.
|
399 |
-
*
|
400 |
-
*
|
401 |
-
* @var MonetaTransactionRequestType
|
402 |
-
*/
|
403 |
-
public $transaction = null;
|
404 |
-
|
405 |
-
/**
|
406 |
-
* Набор операций, которые необходимо выполнить в одном пакете.
|
407 |
-
* Операции выполняются в том порядке, в котором они переданы в запросе.
|
408 |
-
* Set of transfers to be processed in one batch.
|
409 |
-
* Processed in order of appearance.
|
410 |
-
*
|
411 |
-
*
|
412 |
-
* @param MonetaTransactionRequestType
|
413 |
-
*
|
414 |
-
* @return void
|
415 |
-
*/
|
416 |
-
public function addTransaction(MonetaTransactionRequestType $item)
|
417 |
-
{
|
418 |
-
$this->transaction[] = $item;
|
419 |
-
}
|
420 |
-
|
421 |
-
}
|
422 |
-
|
423 |
-
/**
|
424 |
-
* Тип, описывающий атрибуты операции в ответах.
|
425 |
-
* Transaction attributes type for responses.
|
426 |
-
*
|
427 |
-
*/
|
428 |
-
class MonetaTransactionResponseType
|
429 |
-
{
|
430 |
-
|
431 |
-
/**
|
432 |
-
* Текущий статус операции
|
433 |
-
* Current transaction status
|
434 |
-
*
|
435 |
-
*
|
436 |
-
* @var string
|
437 |
-
*/
|
438 |
-
public $status = null;
|
439 |
-
|
440 |
-
/**
|
441 |
-
* Время последней модификации операции
|
442 |
-
* Transaction modification timestamp
|
443 |
-
*
|
444 |
-
*
|
445 |
-
* @var dateTime
|
446 |
-
*/
|
447 |
-
public $dateTime = null;
|
448 |
-
|
449 |
-
/**
|
450 |
-
* Номер операции
|
451 |
-
* Transaction ID in MONETA.RU
|
452 |
-
*
|
453 |
-
*
|
454 |
-
* @var long
|
455 |
-
*/
|
456 |
-
public $transaction = null;
|
457 |
-
|
458 |
-
/**
|
459 |
-
* Внешний номер операции
|
460 |
-
* External transaction ID
|
461 |
-
*
|
462 |
-
*
|
463 |
-
* @var string
|
464 |
-
*/
|
465 |
-
public $clientTransaction = null;
|
466 |
-
|
467 |
-
}
|
468 |
-
|
469 |
-
/**
|
470 |
-
* Тип, описывающий атрибуты операции в ответах в пакетном запросе.
|
471 |
-
* Transaction attributes type for responses in batch processing mode.
|
472 |
-
*
|
473 |
-
*/
|
474 |
-
class MonetaTransactionBatchResponseType
|
475 |
-
{
|
476 |
-
|
477 |
-
/**
|
478 |
-
* Поле содержит описание ошибки, если операция не была проведена.
|
479 |
-
* В этом случае поле transaction - пустое. Если операция проведена,
|
480 |
-
* то поле error пустое, а поле transaction содержит детали операции.
|
481 |
-
* Error description in case of tranfer processing failure.
|
482 |
-
* If transfer processed successfully "error" is empty
|
483 |
-
* and "transaction" element contains transaction details.
|
484 |
-
*
|
485 |
-
*
|
486 |
-
* @var string
|
487 |
-
*/
|
488 |
-
public $error = null;
|
489 |
-
|
490 |
-
/**
|
491 |
-
*
|
492 |
-
*
|
493 |
-
* @var MonetaTransactionResponseType
|
494 |
-
*/
|
495 |
-
public $transaction = null;
|
496 |
-
|
497 |
-
}
|
498 |
-
|
499 |
-
/**
|
500 |
-
* Тип, описывающий атрибуты операции в ответах в пакетном запросе.
|
501 |
-
* Transaction attributes type for responses in batch processing mode.
|
502 |
-
*
|
503 |
-
*/
|
504 |
-
class MonetaOperationInfoBatchResponseType
|
505 |
-
{
|
506 |
-
|
507 |
-
/**
|
508 |
-
* Поле содержит описание ошибки, если операция не была проведена.
|
509 |
-
* В этом случае поле transaction - пустое. Если операция проведена,
|
510 |
-
* то поле error пустое, а поле transaction содержит детали операции.
|
511 |
-
* Error description in case of tranfer processing failure.
|
512 |
-
* If transfer processed successfully "error" is empty
|
513 |
-
* and "transaction" element contains transaction details.
|
514 |
-
*
|
515 |
-
*
|
516 |
-
* @var string
|
517 |
-
*/
|
518 |
-
public $error = null;
|
519 |
-
|
520 |
-
/**
|
521 |
-
*
|
522 |
-
*
|
523 |
-
* @var MonetaOperationInfo
|
524 |
-
*/
|
525 |
-
public $transaction = null;
|
526 |
-
|
527 |
-
}
|
528 |
-
|
529 |
-
/**
|
530 |
-
* Тип для запроса на регистрацию операции с блокировкой средств на счете плательщика.
|
531 |
-
* Transaction registration and debiting funds from payer's account request type.
|
532 |
-
*
|
533 |
-
*/
|
534 |
-
class MonetaAuthoriseTransactionRequestType extends MonetaTransactionRequestType
|
535 |
-
{
|
536 |
-
|
537 |
-
/**
|
538 |
-
* Номер операции. Необязательное поле.
|
539 |
-
* Transaction ID. Optional.
|
540 |
-
*
|
541 |
-
*
|
542 |
-
* @var long
|
543 |
-
*/
|
544 |
-
public $transactionId = null;
|
545 |
-
|
546 |
-
}
|
547 |
-
|
548 |
-
/**
|
549 |
-
* Тип, описывающий параметры операции в запросах в пакетном режиме.
|
550 |
-
* Transaction parameters type for requests in batch processing mode.
|
551 |
-
*
|
552 |
-
*/
|
553 |
-
class MonetaAuthoriseTransactionBatchRequestType
|
554 |
-
{
|
555 |
-
|
556 |
-
/**
|
557 |
-
* Флаг, указывающий выполнять ли все денежные переводы в одной транзакции.
|
558 |
-
* Если transactional = true, то:
|
559 |
-
* при возникновении ошибки все проведенные операции будут отменены
|
560 |
-
* можно проводить только операции со счетами монеты. Нельзя выводить деньги на внешние платежные системы.
|
561 |
-
* Если transactional = false, то:
|
562 |
-
* при возникновении ошибки все проведенные операции будут сохранены
|
563 |
-
* можно проводить любые операции, которые доступны в TransferRequest
|
564 |
-
* если выставить флаг exitOnFailure = false, то при возникновении ошибки можно пропустить операцию
|
565 |
-
* и продолжить выполнение операций дальше
|
566 |
-
* Joining all transfers in batch processing into one transaction.
|
567 |
-
* True -- all processed transfers will be rolled back on exceptions, no external transfers are allowed.
|
568 |
-
* False -- only current transfer rolled back on exceptions, external transfers are allowed.
|
569 |
-
*
|
570 |
-
*
|
571 |
-
* @var boolean
|
572 |
-
*/
|
573 |
-
public $transactional = null;
|
574 |
-
|
575 |
-
/**
|
576 |
-
* Флаг, указывающий прерывать ли выполнение пакета операций, если произошла ошибка.
|
577 |
-
* Используется только при transactional = false
|
578 |
-
* Stops batch processing on exceptions. Used only in conjunction with transactional=false.
|
579 |
-
*
|
580 |
-
*
|
581 |
-
* @var boolean
|
582 |
-
*/
|
583 |
-
public $exitOnFailure = null;
|
584 |
-
|
585 |
-
/**
|
586 |
-
* Набор операций, которые необходимо выполнить в одном пакете.
|
587 |
-
* Операции выполняются в том порядке, в котором они переданы в запросе.
|
588 |
-
* Set of transfers to be processed in one batch.
|
589 |
-
* Processed in order of appearance.
|
590 |
-
*
|
591 |
-
*
|
592 |
-
* @var MonetaTransactionRequestType
|
593 |
-
*/
|
594 |
-
public $transaction = null;
|
595 |
-
|
596 |
-
/**
|
597 |
-
* Набор операций, которые необходимо выполнить в одном пакете.
|
598 |
-
* Операции выполняются в том порядке, в котором они переданы в запросе.
|
599 |
-
* Set of transfers to be processed in one batch.
|
600 |
-
* Processed in order of appearance.
|
601 |
-
*
|
602 |
-
*
|
603 |
-
* @param MonetaTransactionRequestType
|
604 |
-
*
|
605 |
-
* @return void
|
606 |
-
*/
|
607 |
-
public function addTransaction(MonetaTransactionRequestType $item)
|
608 |
-
{
|
609 |
-
$this->transaction[] = $item;
|
610 |
-
}
|
611 |
-
|
612 |
-
}
|
613 |
-
|
614 |
-
/**
|
615 |
-
* Тип для запроса подтверждения операции.
|
616 |
-
* Transaction confirmation request type.
|
617 |
-
*
|
618 |
-
*/
|
619 |
-
class MonetaConfirmTransactionRequestType
|
620 |
-
{
|
621 |
-
|
622 |
-
/**
|
623 |
-
* Номер операции
|
624 |
-
* Transaction ID
|
625 |
-
*
|
626 |
-
*
|
627 |
-
* @var long
|
628 |
-
*/
|
629 |
-
public $transactionId = null;
|
630 |
-
|
631 |
-
/**
|
632 |
-
* Платежный пароль счета плательщика
|
633 |
-
* Payment password for payer account
|
634 |
-
*
|
635 |
-
*
|
636 |
-
* @var normalizedString
|
637 |
-
*/
|
638 |
-
public $paymentPassword = null;
|
639 |
-
|
640 |
-
/**
|
641 |
-
* Код протекции
|
642 |
-
* Protection code
|
643 |
-
*
|
644 |
-
*
|
645 |
-
* @var string
|
646 |
-
*/
|
647 |
-
public $protectionCode = null;
|
648 |
-
|
649 |
-
/**
|
650 |
-
* Набор полей, которые необходимо сохранить в качестве атрибутов операции. Значения дат в формате dd.MM.yyyy HH:mm:ss
|
651 |
-
* Key-value pairs that will be saved as a transaction attributes. Use format dd.MM.yyyy HH:mm:ss for date values
|
652 |
-
*
|
653 |
-
*
|
654 |
-
* @var MonetaOperationInfo
|
655 |
-
*/
|
656 |
-
public $operationInfo = null;
|
657 |
-
|
658 |
-
/**
|
659 |
-
* Сумма операции.
|
660 |
-
* Если флаг isPayerAmount отсутствует
|
661 |
-
* и пользователь имеет доступ только к счету плательщика,
|
662 |
-
* то интерпретируется как сумма к списанию (в валюте плательщика).
|
663 |
-
* Если флаг isPayerAmount отсутствует
|
664 |
-
* и пользователь имеет доступ только к счету получателя,
|
665 |
-
* то интерпретируется как сумма к зачислению (в валюте получателя).
|
666 |
-
* Transaction amount.
|
667 |
-
* If isPayerAmount is omitted
|
668 |
-
* and user has access only to payer account,
|
669 |
-
* then is interpreted as debit amount (in payer's currency).
|
670 |
-
* If isPayerAmount is omitted
|
671 |
-
* and user has access only to payee account,
|
672 |
-
* then is interpreted as credit amount (in payee's currency).
|
673 |
-
*
|
674 |
-
*
|
675 |
-
* @var decimal
|
676 |
-
*/
|
677 |
-
public $amount = null;
|
678 |
-
|
679 |
-
/**
|
680 |
-
* Если пользователь имеет доступ как к счету плательщика, так и счету получателя,
|
681 |
-
* то флаг isPayerAmount обязателен.
|
682 |
-
* Если флаг isPayerAmount установлен (true), то amount используется как сумма к списанию (в валюте плательщика).
|
683 |
-
* Если флаг isPayerAmount сброшен (false), то amount используется как сумма к зачислению (в валюте получателя).
|
684 |
-
* If user has access to both accounts, then isPayerAmount flag is obligatory.
|
685 |
-
* If isPayerAmount flag is "true", then amount is used as debit amount (in payer's currency).
|
686 |
-
* If isPayerAmount flag is "false", then amount is used as credit amount (in payee's currency).
|
687 |
-
*
|
688 |
-
*
|
689 |
-
* @var boolean
|
690 |
-
*/
|
691 |
-
public $isPayerAmount = null;
|
692 |
-
|
693 |
-
/**
|
694 |
-
* Запрос для платежного пароля
|
695 |
-
* Payment password challenge
|
696 |
-
*
|
697 |
-
*
|
698 |
-
* @var string
|
699 |
-
*/
|
700 |
-
public $paymentPasswordChallenge = null;
|
701 |
-
|
702 |
-
}
|
703 |
-
|
704 |
-
/**
|
705 |
-
* Тип для запроса подтверждения операции в пакетном режиме.
|
706 |
-
* Batch mode transaction confirmation request type.
|
707 |
-
*
|
708 |
-
*/
|
709 |
-
class MonetaConfirmTransactionBatchRequestType
|
710 |
-
{
|
711 |
-
|
712 |
-
/**
|
713 |
-
* Флаг, указывающий выполнять ли все денежные переводы в одной транзакции.
|
714 |
-
* Если transactional = true, то:
|
715 |
-
* при возникновении ошибки все проведенные операции будут отменены
|
716 |
-
* можно проводить только операции со счетами монеты. Нельзя выводить деньги на внешние платежные системы.
|
717 |
-
* Если transactional = false, то:
|
718 |
-
* при возникновении ошибки все проведенные операции будут сохранены
|
719 |
-
* можно проводить любые операции, которые доступны в TransferRequest
|
720 |
-
* если выставить флаг exitOnFailure = false, то при возникновении ошибки можно пропустить операцию
|
721 |
-
* и продолжить выполнение операций дальше
|
722 |
-
* Joining all transfers in batch processing into one transaction.
|
723 |
-
* True -- all processed transfers will be rolled back on exceptions, no external transfers are allowed.
|
724 |
-
* False -- only current transfer rolled back on exceptions, external transfers are allowed.
|
725 |
-
*
|
726 |
-
*
|
727 |
-
* @var boolean
|
728 |
-
*/
|
729 |
-
public $transactional = null;
|
730 |
-
|
731 |
-
/**
|
732 |
-
* Флаг, указывающий прерывать ли выполнение пакета операций, если произошла ошибка.
|
733 |
-
* Используется только при transactional = false
|
734 |
-
* Stops batch processing on exceptions. Used only in conjunction with transactional=false.
|
735 |
-
*
|
736 |
-
*
|
737 |
-
* @var boolean
|
738 |
-
*/
|
739 |
-
public $exitOnFailure = null;
|
740 |
-
|
741 |
-
/**
|
742 |
-
* Набор операций, которые необходимо выполнить в одном пакете.
|
743 |
-
* Операции выполняются в том порядке, в котором они переданы в запросе.
|
744 |
-
* Set of transfers to be processed in one batch.
|
745 |
-
* Processed in order of appearance.
|
746 |
-
*
|
747 |
-
*
|
748 |
-
* @var MonetaConfirmTransactionRequestType
|
749 |
-
*/
|
750 |
-
public $transaction = null;
|
751 |
-
|
752 |
-
/**
|
753 |
-
* Набор операций, которые необходимо выполнить в одном пакете.
|
754 |
-
* Операции выполняются в том порядке, в котором они переданы в запросе.
|
755 |
-
* Set of transfers to be processed in one batch.
|
756 |
-
* Processed in order of appearance.
|
757 |
-
*
|
758 |
-
*
|
759 |
-
* @param MonetaConfirmTransactionRequestType
|
760 |
-
*
|
761 |
-
* @return void
|
762 |
-
*/
|
763 |
-
public function addTransaction(MonetaConfirmTransactionRequestType $item)
|
764 |
-
{
|
765 |
-
$this->transaction[] = $item;
|
766 |
-
}
|
767 |
-
|
768 |
-
}
|
769 |
-
|
770 |
-
/**
|
771 |
-
* Тип для запроса на отмену операции.
|
772 |
-
* Transaction cancelation request type.
|
773 |
-
*
|
774 |
-
*/
|
775 |
-
class MonetaCancelTransactionRequestType
|
776 |
-
{
|
777 |
-
|
778 |
-
/**
|
779 |
-
* Номер операции
|
780 |
-
* Transaction ID
|
781 |
-
*
|
782 |
-
*
|
783 |
-
* @var long
|
784 |
-
*/
|
785 |
-
public $transactionId = null;
|
786 |
-
|
787 |
-
/**
|
788 |
-
* Код протекции
|
789 |
-
* Protection code
|
790 |
-
*
|
791 |
-
*
|
792 |
-
* @var string
|
793 |
-
*/
|
794 |
-
public $protectionCode = null;
|
795 |
-
|
796 |
-
/**
|
797 |
-
* Описание операции
|
798 |
-
* Transaction description or comments
|
799 |
-
*
|
800 |
-
*
|
801 |
-
* @var normalizedString
|
802 |
-
*/
|
803 |
-
public $description = null;
|
804 |
-
|
805 |
-
}
|
806 |
-
|
807 |
-
/**
|
808 |
-
* Тип, описывающий атрибуты при ответе на запрос отмены операции.
|
809 |
-
* Transaction cancelation response type.
|
810 |
-
*
|
811 |
-
*/
|
812 |
-
class MonetaCancelTransactionResponseType
|
813 |
-
{
|
814 |
-
|
815 |
-
/**
|
816 |
-
* Номер операции
|
817 |
-
* Transaction ID
|
818 |
-
*
|
819 |
-
*
|
820 |
-
* @var long
|
821 |
-
*/
|
822 |
-
public $transactionId = null;
|
823 |
-
|
824 |
-
/**
|
825 |
-
* Статус операции
|
826 |
-
* Transaction status
|
827 |
-
*
|
828 |
-
*
|
829 |
-
* @var string
|
830 |
-
*/
|
831 |
-
public $operationStatus = null;
|
832 |
-
|
833 |
-
}
|
834 |
-
|
835 |
-
/**
|
836 |
-
* Тип для запроса на отмену операций в пакетном режиме.
|
837 |
-
* Batch mode transaction cancelation request type.
|
838 |
-
*
|
839 |
-
*/
|
840 |
-
class MonetaCancelTransactionBatchRequestType
|
841 |
-
{
|
842 |
-
|
843 |
-
/**
|
844 |
-
* Флаг, указывающий выполнять ли все денежные переводы в одной транзакции.
|
845 |
-
* Если transactional = true, то:
|
846 |
-
* при возникновении ошибки все проведенные операции будут отменены
|
847 |
-
* можно проводить только операции со счетами монеты. Нельзя выводить деньги на внешние платежные системы.
|
848 |
-
* Если transactional = false, то:
|
849 |
-
* при возникновении ошибки все проведенные операции будут сохранены
|
850 |
-
* можно проводить любые операции, которые доступны в TransferRequest
|
851 |
-
* если выставить флаг exitOnFailure = false, то при возникновении ошибки можно пропустить операцию
|
852 |
-
* и продолжить выполнение операций дальше
|
853 |
-
* Joining all transfers in batch processing into one transaction.
|
854 |
-
* True -- all processed transfers will be rolled back on exceptions, no external transfers are allowed.
|
855 |
-
* False -- only current transfer rolled back on exceptions, external transfers are allowed.
|
856 |
-
*
|
857 |
-
*
|
858 |
-
* @var boolean
|
859 |
-
*/
|
860 |
-
public $transactional = null;
|
861 |
-
|
862 |
-
/**
|
863 |
-
* Флаг, указывающий прерывать ли выполнение пакета операций, если произошла ошибка.
|
864 |
-
* Используется только при transactional = false
|
865 |
-
* Stops batch processing on exceptions. Used only in conjunction with transactional=false.
|
866 |
-
*
|
867 |
-
*
|
868 |
-
* @var boolean
|
869 |
-
*/
|
870 |
-
public $exitOnFailure = null;
|
871 |
-
|
872 |
-
/**
|
873 |
-
* Набор операций, которые необходимо выполнить в одном пакете.
|
874 |
-
* Операции выполняются в том порядке, в котором они переданы в запросе.
|
875 |
-
* Set of transfers to be processed in one batch.
|
876 |
-
* Processed in order of appearance.
|
877 |
-
*
|
878 |
-
*
|
879 |
-
* @var MonetaCancelTransactionRequestType
|
880 |
-
*/
|
881 |
-
public $transaction = null;
|
882 |
-
|
883 |
-
/**
|
884 |
-
* Набор операций, которые необходимо выполнить в одном пакете.
|
885 |
-
* Операции выполняются в том порядке, в котором они переданы в запросе.
|
886 |
-
* Set of transfers to be processed in one batch.
|
887 |
-
* Processed in order of appearance.
|
888 |
-
*
|
889 |
-
*
|
890 |
-
* @param MonetaCancelTransactionRequestType
|
891 |
-
*
|
892 |
-
* @return void
|
893 |
-
*/
|
894 |
-
public function addTransaction(MonetaCancelTransactionRequestType $item)
|
895 |
-
{
|
896 |
-
$this->transaction[] = $item;
|
897 |
-
}
|
898 |
-
|
899 |
-
}
|
900 |
-
|
901 |
-
/**
|
902 |
-
* Тип, описывающий атрибуты при ответе на запрос отмены операций в пакетной режиме.
|
903 |
-
* Transaction cancelation response in batch mode.
|
904 |
-
*
|
905 |
-
*/
|
906 |
-
class MonetaCancelTransactionBatchResponseType
|
907 |
-
{
|
908 |
-
|
909 |
-
/**
|
910 |
-
* Поле содержит описание ошибки, если операция не была проведена.
|
911 |
-
* В этом случае поле transaction - пустое. Если операция проведена,
|
912 |
-
* то поле error пустое, а поле transaction содержит детали операции.
|
913 |
-
* Error description in case of tranfer processing failure.
|
914 |
-
* If transfer processed successfully "error" is empty
|
915 |
-
* and "transaction" element contains transaction details.
|
916 |
-
*
|
917 |
-
*
|
918 |
-
* @var string
|
919 |
-
*/
|
920 |
-
public $error = null;
|
921 |
-
|
922 |
-
/**
|
923 |
-
*
|
924 |
-
*
|
925 |
-
* @var MonetaCancelTransactionResponseType
|
926 |
-
*/
|
927 |
-
public $transaction = null;
|
928 |
-
|
929 |
-
}
|
930 |
-
|
931 |
-
/**
|
932 |
-
* Тип, описывающий суммы и комиссии в предварительном расчете операции.
|
933 |
-
* Type describes amount and fees for preliminary calculation of transaction.
|
934 |
-
*
|
935 |
-
*/
|
936 |
-
class MonetaForecastTransactionResponseType
|
937 |
-
{
|
938 |
-
|
939 |
-
/**
|
940 |
-
* Номер счета плательщика
|
941 |
-
* Payer account number
|
942 |
-
*
|
943 |
-
*
|
944 |
-
* @var long
|
945 |
-
*/
|
946 |
-
public $payer = null;
|
947 |
-
|
948 |
-
/**
|
949 |
-
* Валюта счета плательщика
|
950 |
-
* Currency of payer account
|
951 |
-
*
|
952 |
-
*
|
953 |
-
* @var string
|
954 |
-
*/
|
955 |
-
public $payerCurrency = null;
|
956 |
-
|
957 |
-
/**
|
958 |
-
* Сумма к списанию
|
959 |
-
* Debit amount
|
960 |
-
*
|
961 |
-
*
|
962 |
-
* @var decimal
|
963 |
-
*/
|
964 |
-
public $payerAmount = null;
|
965 |
-
|
966 |
-
/**
|
967 |
-
* Комиссия списания средств
|
968 |
-
* Debit fee
|
969 |
-
*
|
970 |
-
*
|
971 |
-
* @var decimal
|
972 |
-
*/
|
973 |
-
public $payerFee = null;
|
974 |
-
|
975 |
-
/**
|
976 |
-
* Номер счета получателя
|
977 |
-
* Payee account number
|
978 |
-
*
|
979 |
-
*
|
980 |
-
* @var long
|
981 |
-
*/
|
982 |
-
public $payee = null;
|
983 |
-
|
984 |
-
/**
|
985 |
-
* Валюта счета получателя
|
986 |
-
* Currency of payee account
|
987 |
-
*
|
988 |
-
*
|
989 |
-
* @var string
|
990 |
-
*/
|
991 |
-
public $payeeCurrency = null;
|
992 |
-
|
993 |
-
/**
|
994 |
-
* Сумма к зачислению
|
995 |
-
* Credit amount
|
996 |
-
*
|
997 |
-
*
|
998 |
-
* @var decimal
|
999 |
-
*/
|
1000 |
-
public $payeeAmount = null;
|
1001 |
-
|
1002 |
-
/**
|
1003 |
-
* Комиссия зачисления средств
|
1004 |
-
* Credit fee
|
1005 |
-
*
|
1006 |
-
*
|
1007 |
-
* @var decimal
|
1008 |
-
*/
|
1009 |
-
public $payeeFee = null;
|
1010 |
-
|
1011 |
-
/**
|
1012 |
-
* Название счета плательщика
|
1013 |
-
* Payer account alias
|
1014 |
-
*
|
1015 |
-
*
|
1016 |
-
* @var string
|
1017 |
-
*/
|
1018 |
-
public $payerAlias = null;
|
1019 |
-
|
1020 |
-
/**
|
1021 |
-
* Название счета получателя
|
1022 |
-
* Payee account alias
|
1023 |
-
*
|
1024 |
-
*
|
1025 |
-
* @var string
|
1026 |
-
*/
|
1027 |
-
public $payeeAlias = null;
|
1028 |
-
|
1029 |
-
}
|
1030 |
-
|
1031 |
-
/**
|
1032 |
-
* Тип, описывающий состояние операции в системе МОНЕТА.РУ
|
1033 |
-
* Type describes verification status of transaction.
|
1034 |
-
*
|
1035 |
-
*/
|
1036 |
-
class MonetaVerifyTransferResponseType
|
1037 |
-
{
|
1038 |
-
|
1039 |
-
/**
|
1040 |
-
* Если поле равно true, то данная операция может
|
1041 |
-
* быть проведена в системе МОНЕТА.РУ
|
1042 |
-
* If true the transaction may be processed in MONETA.RU
|
1043 |
-
*
|
1044 |
-
*
|
1045 |
-
* @var boolean
|
1046 |
-
*/
|
1047 |
-
public $isTransactionValid = null;
|
1048 |
-
|
1049 |
-
/**
|
1050 |
-
* Описание текущего статуса операции.
|
1051 |
-
* Description of current transaction status.
|
1052 |
-
*
|
1053 |
-
*
|
1054 |
-
* @var string
|
1055 |
-
*/
|
1056 |
-
public $description = null;
|
1057 |
-
|
1058 |
-
/**
|
1059 |
-
* Если операция может быть проведена, то в данном поле содержатся детали операции.
|
1060 |
-
* Иначе - это поле пустое.
|
1061 |
-
* Additional information if transaction may be processed. Otherwise empty.
|
1062 |
-
*
|
1063 |
-
*
|
1064 |
-
* @var MonetaForecastTransactionResponseType
|
1065 |
-
*/
|
1066 |
-
public $forecast = null;
|
1067 |
-
|
1068 |
-
}
|
1069 |
-
|
1070 |
-
/**
|
1071 |
-
* Тип, описывающий атрибуты счета в системе МОНЕТА.РУ.
|
1072 |
-
* Account information container type.
|
1073 |
-
*
|
1074 |
-
*/
|
1075 |
-
class MonetaAccountInfo
|
1076 |
-
{
|
1077 |
-
|
1078 |
-
/**
|
1079 |
-
* Номер счета в системе МОНЕТА.РУ
|
1080 |
-
* Account number
|
1081 |
-
*
|
1082 |
-
*
|
1083 |
-
* @var long
|
1084 |
-
*/
|
1085 |
-
public $id = null;
|
1086 |
-
|
1087 |
-
/**
|
1088 |
-
* Валюта данного счета
|
1089 |
-
* Currency of account
|
1090 |
-
*
|
1091 |
-
*
|
1092 |
-
* @var string
|
1093 |
-
*/
|
1094 |
-
public $currency = null;
|
1095 |
-
|
1096 |
-
/**
|
1097 |
-
* Баланс на данном счете
|
1098 |
-
* Current balance of account
|
1099 |
-
*
|
1100 |
-
*
|
1101 |
-
* @var decimal
|
1102 |
-
*/
|
1103 |
-
public $balance = null;
|
1104 |
-
|
1105 |
-
/**
|
1106 |
-
* Доступный баланс на данном счете
|
1107 |
-
* Available balance of account
|
1108 |
-
*
|
1109 |
-
*
|
1110 |
-
* @var decimal
|
1111 |
-
*/
|
1112 |
-
public $availableBalance = null;
|
1113 |
-
|
1114 |
-
/**
|
1115 |
-
* Тип счета в системе МОНЕТА.РУ
|
1116 |
-
* Type of account
|
1117 |
-
*
|
1118 |
-
*
|
1119 |
-
* @var int
|
1120 |
-
*/
|
1121 |
-
public $type = null;
|
1122 |
-
|
1123 |
-
/**
|
1124 |
-
* Статус счета в системе МОНЕТА.РУ
|
1125 |
-
* Status of account
|
1126 |
-
*
|
1127 |
-
*
|
1128 |
-
* @var int
|
1129 |
-
*/
|
1130 |
-
public $status = null;
|
1131 |
-
|
1132 |
-
/**
|
1133 |
-
* Название счета в системе МОНЕТА.РУ. Необязательное поле
|
1134 |
-
* Alias of account. Optional.
|
1135 |
-
*
|
1136 |
-
*
|
1137 |
-
* @var string
|
1138 |
-
*/
|
1139 |
-
public $alias = null;
|
1140 |
-
|
1141 |
-
/**
|
1142 |
-
* URL после списания средств. Необязательное поле.
|
1143 |
-
* URL on debiting. Optional.
|
1144 |
-
*
|
1145 |
-
*
|
1146 |
-
* @var string
|
1147 |
-
*/
|
1148 |
-
public $onSuccessfulDebitUrl = null;
|
1149 |
-
|
1150 |
-
/**
|
1151 |
-
* URL после зачисления средств. Необязательное поле.
|
1152 |
-
* URL on crediting. Optional.
|
1153 |
-
*
|
1154 |
-
*
|
1155 |
-
* @var string
|
1156 |
-
*/
|
1157 |
-
public $onSuccessfulCreditUrl = null;
|
1158 |
-
|
1159 |
-
/**
|
1160 |
-
* Код проверки целостности данных. Необязательное поле.
|
1161 |
-
* Payment form data integrity signature. Optional.
|
1162 |
-
*
|
1163 |
-
*
|
1164 |
-
* @var string
|
1165 |
-
*/
|
1166 |
-
public $signature = null;
|
1167 |
-
|
1168 |
-
/**
|
1169 |
-
* Если баланс счета меньше данного значения, то раз в сутки уходит уведомление об этом событии. Необязательное поле.
|
1170 |
-
* Daily notifications if balance is less than threshold. Optional.
|
1171 |
-
*
|
1172 |
-
*
|
1173 |
-
* @var decimal
|
1174 |
-
*/
|
1175 |
-
public $lowBalanceThreshold = null;
|
1176 |
-
|
1177 |
-
/**
|
1178 |
-
* Если баланс счета больше данного значения, то раз в сутки уходит уведомление об этом событии. Необязательное поле.
|
1179 |
-
* Daily notifications if balance is greater than threshold. Optional.
|
1180 |
-
*
|
1181 |
-
*
|
1182 |
-
* @var decimal
|
1183 |
-
*/
|
1184 |
-
public $highBalanceThreshold = null;
|
1185 |
-
|
1186 |
-
/**
|
1187 |
-
* Информация о доступе к счету. Информация отдается, если счет является делегированным. Необязательное поле.
|
1188 |
-
* Account access information. Available if the account is delegated, otherwise omitted. Optional.
|
1189 |
-
*
|
1190 |
-
*
|
1191 |
-
* @var MonetaAccountAccessInfo
|
1192 |
-
*/
|
1193 |
-
public $accountAccess = null;
|
1194 |
-
|
1195 |
-
/**
|
1196 |
-
* Счет-прототип с которого берутся свойства "по умолчанию". Необязательное поле.
|
1197 |
-
* Prototype account for default properties values. Optional.
|
1198 |
-
*
|
1199 |
-
*
|
1200 |
-
* @var long
|
1201 |
-
*/
|
1202 |
-
public $prototypeAccountId = null;
|
1203 |
-
|
1204 |
-
/**
|
1205 |
-
* URL после отмены списания средств. Необязательное поле.
|
1206 |
-
* URL on cancelled debit. Optional.
|
1207 |
-
*
|
1208 |
-
*
|
1209 |
-
* @var string
|
1210 |
-
*/
|
1211 |
-
public $onCancelledDebitUrl = null;
|
1212 |
-
|
1213 |
-
/**
|
1214 |
-
* URL после отмены зачисления средств. Необязательное поле.
|
1215 |
-
* URL on cancelled credit. Optional.
|
1216 |
-
*
|
1217 |
-
*
|
1218 |
-
* @var string
|
1219 |
-
*/
|
1220 |
-
public $onCancelledCreditUrl = null;
|
1221 |
-
|
1222 |
-
}
|
1223 |
-
|
1224 |
-
/**
|
1225 |
-
* Тип, описывающий доступ к счету.
|
1226 |
-
* Account access description type.
|
1227 |
-
*
|
1228 |
-
*/
|
1229 |
-
class MonetaAccountAccessInfo
|
1230 |
-
{
|
1231 |
-
|
1232 |
-
/**
|
1233 |
-
* Доступ на изменение свойств счета
|
1234 |
-
* Account attributes modification access
|
1235 |
-
*
|
1236 |
-
*
|
1237 |
-
* @var boolean
|
1238 |
-
*/
|
1239 |
-
public $accessToWrite = null;
|
1240 |
-
|
1241 |
-
/**
|
1242 |
-
* Доступ на снятие средств со счета
|
1243 |
-
* Account debiting access
|
1244 |
-
*
|
1245 |
-
*
|
1246 |
-
* @var boolean
|
1247 |
-
*/
|
1248 |
-
public $accessToTakenOut = null;
|
1249 |
-
|
1250 |
-
/**
|
1251 |
-
* Доступ на зачисление средств на счет
|
1252 |
-
* Account crediting access
|
1253 |
-
*
|
1254 |
-
*
|
1255 |
-
* @var boolean
|
1256 |
-
*/
|
1257 |
-
public $accessToTakenIn = null;
|
1258 |
-
|
1259 |
-
}
|
1260 |
-
|
1261 |
-
/**
|
1262 |
-
* Тип, который позволяет работать с сущностями типа "ключ-значение".
|
1263 |
-
* Key-value pairs type.
|
1264 |
-
*
|
1265 |
-
*/
|
1266 |
-
class MonetaKeyValueAttribute
|
1267 |
-
{
|
1268 |
-
|
1269 |
-
/**
|
1270 |
-
*
|
1271 |
-
*
|
1272 |
-
* @var string
|
1273 |
-
*/
|
1274 |
-
public $key = null;
|
1275 |
-
|
1276 |
-
/**
|
1277 |
-
*
|
1278 |
-
*
|
1279 |
-
* @var string
|
1280 |
-
*/
|
1281 |
-
public $value = null;
|
1282 |
-
|
1283 |
-
}
|
1284 |
-
|
1285 |
-
/**
|
1286 |
-
* Тип, расширяющий KeyValueAttribute.
|
1287 |
-
* В данном типе добавлено поле approved, которое показывает,
|
1288 |
-
* проверено или нет данное свойство. Поле approved - не обязательное.
|
1289 |
-
* Extended KeyValueAttribute Type.
|
1290 |
-
* Approved element shows if attribute value is approved or not.
|
1291 |
-
* Approved element is optional.
|
1292 |
-
*
|
1293 |
-
*/
|
1294 |
-
class MonetaKeyValueApprovedAttribute extends MonetaKeyValueAttribute
|
1295 |
-
{
|
1296 |
-
|
1297 |
-
/**
|
1298 |
-
*
|
1299 |
-
*
|
1300 |
-
* @var boolean
|
1301 |
-
*/
|
1302 |
-
public $approved = null;
|
1303 |
-
|
1304 |
-
}
|
1305 |
-
|
1306 |
-
/**
|
1307 |
-
* Тип, описывающий операцию в системе МОНЕТА.РУ.
|
1308 |
-
* Он представляет собой номер (id) операции и набор полей,
|
1309 |
-
* которые присутствуют у данной операции. Поля представлены в виде "ключ-значение".
|
1310 |
-
* Transaction type contains transaction id and key-value pairs representing transaction attributes.
|
1311 |
-
*
|
1312 |
-
*/
|
1313 |
-
class MonetaOperationInfo
|
1314 |
-
{
|
1315 |
-
|
1316 |
-
/**
|
1317 |
-
* Номер операции
|
1318 |
-
* Transaction ID
|
1319 |
-
*
|
1320 |
-
*
|
1321 |
-
* @var long
|
1322 |
-
*/
|
1323 |
-
public $id = null;
|
1324 |
-
|
1325 |
-
/**
|
1326 |
-
* Поля операции. Полей в операции может быть 0 и более.
|
1327 |
-
* Список полей:
|
1328 |
-
* clienttransaction - внешний (не в системе МОНЕТА.РУ) номер операции;
|
1329 |
-
* statusid - статус операции;
|
1330 |
-
* typeid - тип операции:
|
1331 |
-
* 2,10 - оплата с пользовательского счета,
|
1332 |
-
* 3 - оплата с внешней платежной системы,
|
1333 |
-
* 7,14 - пополнение счета,
|
1334 |
-
* 4,13 - вывод на внешнюю платежную систему,
|
1335 |
-
* 11 - вывод на пользовательский счет,
|
1336 |
-
* 12 - внутренний перевод;
|
1337 |
-
* category - категория операции:
|
1338 |
-
* DEPOSIT - ввод средств,
|
1339 |
-
* WITHDRAWAL - вывод средств,
|
1340 |
-
* TRANSFER - внутренний перевод,
|
1341 |
-
* BUSINESS - товары и услуги;
|
1342 |
-
* modified - время последнего изменения операции;
|
1343 |
-
* sourceaccountid - номер счета, с которого произведена операция;
|
1344 |
-
* sourcecurrencycode - валюта счета;
|
1345 |
-
* sourceamount - сумма по операции;
|
1346 |
-
* sourceamountfee - сумма комиссии;
|
1347 |
-
* sourceamounttotal - общая сумма с учетом комиссии;
|
1348 |
-
* targetaccountid - корреспондентский счет;
|
1349 |
-
* targetalias - название корреспондентского счета;
|
1350 |
-
* customfield:* - произвольный набор значений.
|
1351 |
-
* В операции их может быть несколько.
|
1352 |
-
* Полный ключ атрибута состоит из префикса ("customfield:") и тэга (32 символа).
|
1353 |
-
* Например, "customfield:name".
|
1354 |
-
* Transaction attributes. Attributes set may be empty.
|
1355 |
-
* Attributes list:
|
1356 |
-
* clienttransaction - external transaction ID;
|
1357 |
-
* statusid - transaction status;
|
1358 |
-
* typeid - transaction type:
|
1359 |
-
* 2,10 - payment from user account,
|
1360 |
-
* 3 - payment from external system,
|
1361 |
-
* 7,14 - deposit,
|
1362 |
-
* 4,13 - withdrawal to external system,
|
1363 |
-
* 11 - withdrawal to user account,
|
1364 |
-
* 12 - inner transfer;
|
1365 |
-
* category - transaction category:
|
1366 |
-
* DEPOSIT,
|
1367 |
-
* WITHDRAWAL,
|
1368 |
-
* TRANSFER,
|
1369 |
-
* BUSINESS;
|
1370 |
-
* modified - transaction modification timestamp;
|
1371 |
-
* sourceaccountid - account number;
|
1372 |
-
* sourcecurrencycode - account currency;
|
1373 |
-
* sourceamount - transaction amount;
|
1374 |
-
* sourceamountfee - transaction commission;
|
1375 |
-
* sourceamounttotal - total transaction amount incl. commission;
|
1376 |
-
* targetaccountid - correspondent account number;
|
1377 |
-
* targetalias - alias of correspondent account;
|
1378 |
-
* customfield:* - custom list of values.
|
1379 |
-
* The transaction may contain several attributes with different keys.
|
1380 |
-
* The full attribute's key consists of prefix ("customfield:") and tag (32 characters).
|
1381 |
-
* For example, "customfield:name".
|
1382 |
-
*
|
1383 |
-
*
|
1384 |
-
* @var MonetaKeyValueAttribute
|
1385 |
-
*/
|
1386 |
-
public $attribute = null;
|
1387 |
-
|
1388 |
-
/**
|
1389 |
-
* Поля операции. Полей в операции может быть 0 и более.
|
1390 |
-
* Список полей:
|
1391 |
-
* clienttransaction - внешний (не в системе МОНЕТА.РУ) номер операции;
|
1392 |
-
* statusid - статус операции;
|
1393 |
-
* typeid - тип операции:
|
1394 |
-
* 2,10 - оплата с пользовательского счета,
|
1395 |
-
* 3 - оплата с внешней платежной системы,
|
1396 |
-
* 7,14 - пополнение счета,
|
1397 |
-
* 4,13 - вывод на внешнюю платежную систему,
|
1398 |
-
* 11 - вывод на пользовательский счет,
|
1399 |
-
* 12 - внутренний перевод;
|
1400 |
-
* category - категория операции:
|
1401 |
-
* DEPOSIT - ввод средств,
|
1402 |
-
* WITHDRAWAL - вывод средств,
|
1403 |
-
* TRANSFER - внутренний перевод,
|
1404 |
-
* BUSINESS - товары и услуги;
|
1405 |
-
* modified - время последнего изменения операции;
|
1406 |
-
* sourceaccountid - номер счета, с которого произведена операция;
|
1407 |
-
* sourcecurrencycode - валюта счета;
|
1408 |
-
* sourceamount - сумма по операции;
|
1409 |
-
* sourceamountfee - сумма комиссии;
|
1410 |
-
* sourceamounttotal - общая сумма с учетом комиссии;
|
1411 |
-
* targetaccountid - корреспондентский счет;
|
1412 |
-
* targetalias - название корреспондентского счета;
|
1413 |
-
* customfield:* - произвольный набор значений.
|
1414 |
-
* В операции их может быть несколько.
|
1415 |
-
* Полный ключ атрибута состоит из префикса ("customfield:") и тэга (32 символа).
|
1416 |
-
* Например, "customfield:name".
|
1417 |
-
* Transaction attributes. Attributes set may be empty.
|
1418 |
-
* Attributes list:
|
1419 |
-
* clienttransaction - external transaction ID;
|
1420 |
-
* statusid - transaction status;
|
1421 |
-
* typeid - transaction type:
|
1422 |
-
* 2,10 - payment from user account,
|
1423 |
-
* 3 - payment from external system,
|
1424 |
-
* 7,14 - deposit,
|
1425 |
-
* 4,13 - withdrawal to external system,
|
1426 |
-
* 11 - withdrawal to user account,
|
1427 |
-
* 12 - inner transfer;
|
1428 |
-
* category - transaction category:
|
1429 |
-
* DEPOSIT,
|
1430 |
-
* WITHDRAWAL,
|
1431 |
-
* TRANSFER,
|
1432 |
-
* BUSINESS;
|
1433 |
-
* modified - transaction modification timestamp;
|
1434 |
-
* sourceaccountid - account number;
|
1435 |
-
* sourcecurrencycode - account currency;
|
1436 |
-
* sourceamount - transaction amount;
|
1437 |
-
* sourceamountfee - transaction commission;
|
1438 |
-
* sourceamounttotal - total transaction amount incl. commission;
|
1439 |
-
* targetaccountid - correspondent account number;
|
1440 |
-
* targetalias - alias of correspondent account;
|
1441 |
-
* customfield:* - custom list of values.
|
1442 |
-
* The transaction may contain several attributes with different keys.
|
1443 |
-
* The full attribute's key consists of prefix ("customfield:") and tag (32 characters).
|
1444 |
-
* For example, "customfield:name".
|
1445 |
-
*
|
1446 |
-
*
|
1447 |
-
* @param MonetaKeyValueAttribute
|
1448 |
-
*
|
1449 |
-
* @return void
|
1450 |
-
*/
|
1451 |
-
public function addAttribute(MonetaKeyValueAttribute $item)
|
1452 |
-
{
|
1453 |
-
$this->attribute[] = $item;
|
1454 |
-
}
|
1455 |
-
|
1456 |
-
}
|
1457 |
-
|
1458 |
-
/**
|
1459 |
-
* Тип, представляющий список операций.
|
1460 |
-
* Содержит разбиение по страницам для отображения длинных списков.
|
1461 |
-
* Transaction list type.
|
1462 |
-
* Contains paged structure for long list presentation.
|
1463 |
-
*
|
1464 |
-
*/
|
1465 |
-
class MonetaOperationInfoList
|
1466 |
-
{
|
1467 |
-
|
1468 |
-
/**
|
1469 |
-
* Количество операций, возвращаемых в результате запроса.
|
1470 |
-
* Transaction per page within one request.
|
1471 |
-
*
|
1472 |
-
*
|
1473 |
-
* @var long
|
1474 |
-
*/
|
1475 |
-
public $pageSize = null;
|
1476 |
-
|
1477 |
-
/**
|
1478 |
-
* Номер текущей страницы. Нумерация начинается с 1
|
1479 |
-
* Current page number starting with 1.
|
1480 |
-
*
|
1481 |
-
*
|
1482 |
-
* @var long
|
1483 |
-
*/
|
1484 |
-
public $pageNumber = null;
|
1485 |
-
|
1486 |
-
/**
|
1487 |
-
* Максимальное количество страниц с операциями по данному запросу
|
1488 |
-
* Total page count for given request.
|
1489 |
-
*
|
1490 |
-
*
|
1491 |
-
* @var long
|
1492 |
-
*/
|
1493 |
-
public $pagesCount = null;
|
1494 |
-
|
1495 |
-
/**
|
1496 |
-
* Количество операций на текущей странице.
|
1497 |
-
* Меньше или равно pageSize.
|
1498 |
-
* Последняя страница может содержать операций меньше, чем pageSize.
|
1499 |
-
* Transactions count in current page.
|
1500 |
-
* Less or equal to pageSize.
|
1501 |
-
* Last page may contain less than pageSize transactions.
|
1502 |
-
*
|
1503 |
-
*
|
1504 |
-
* @var long
|
1505 |
-
*/
|
1506 |
-
public $size = null;
|
1507 |
-
|
1508 |
-
/**
|
1509 |
-
* Общее количество операций, которое можно получить в данной
|
1510 |
-
* выборке
|
1511 |
-
* Total transactions count for given request.
|
1512 |
-
*
|
1513 |
-
*
|
1514 |
-
* @var long
|
1515 |
-
*/
|
1516 |
-
public $totalSize = null;
|
1517 |
-
|
1518 |
-
/**
|
1519 |
-
* Список операций
|
1520 |
-
* Transaction list
|
1521 |
-
*
|
1522 |
-
*
|
1523 |
-
* @var MonetaOperationInfo
|
1524 |
-
*/
|
1525 |
-
public $operation = null;
|
1526 |
-
|
1527 |
-
/**
|
1528 |
-
* Список операций
|
1529 |
-
* Transaction list
|
1530 |
-
*
|
1531 |
-
*
|
1532 |
-
* @param MonetaOperationInfo
|
1533 |
-
*
|
1534 |
-
* @return void
|
1535 |
-
*/
|
1536 |
-
public function addOperation(MonetaOperationInfo $item)
|
1537 |
-
{
|
1538 |
-
$this->operation[] = $item;
|
1539 |
-
}
|
1540 |
-
|
1541 |
-
}
|
1542 |
-
|
1543 |
-
/**
|
1544 |
-
* Тип, позволяющий задать необходимую страницу при отображении длинных списков.
|
1545 |
-
* Long list retrieval type.
|
1546 |
-
*
|
1547 |
-
*/
|
1548 |
-
class MonetaPager
|
1549 |
-
{
|
1550 |
-
|
1551 |
-
/**
|
1552 |
-
* Номер страницы, которую нужно получить. Минимальное значение равно 1.
|
1553 |
-
* Значение по умолчанию равно 1.
|
1554 |
-
* Page number to retrieve. Minimal value is 1.
|
1555 |
-
* By default is 1.
|
1556 |
-
*
|
1557 |
-
*
|
1558 |
-
* @var int
|
1559 |
-
*/
|
1560 |
-
public $pageNumber = null;
|
1561 |
-
|
1562 |
-
/**
|
1563 |
-
* Сколько записей необходимо получить на одной странице. Минимальное
|
1564 |
-
* значение равно 1. Максимальное значение равно 100. Значение по умолчанию равно 10.
|
1565 |
-
* Transactions per page. Minimal value is 1.
|
1566 |
-
* Maximal value is 100.
|
1567 |
-
* By default is 10.
|
1568 |
-
*
|
1569 |
-
*
|
1570 |
-
* @var int
|
1571 |
-
*/
|
1572 |
-
public $pageSize = null;
|
1573 |
-
|
1574 |
-
}
|
1575 |
-
|
1576 |
-
/**
|
1577 |
-
* Данные пользователя в системе МОНЕТА.РУ.
|
1578 |
-
* Данные представляются в виде "ключ-значение" и признака подтвержденности.
|
1579 |
-
* Можно получить доступ либо к собственным, либо к публично доступным данным
|
1580 |
-
* (то есть к тем данным, которые пользователь сам разрешил для просмотра).
|
1581 |
-
* Возможные ключи для пользователей с типом "client":
|
1582 |
-
* unitid - ID пользователя в системе МОНЕТА.РУ;
|
1583 |
-
* last_name - фамилия;
|
1584 |
-
* first_name - имя;
|
1585 |
-
* middle_initial_name - отчество;
|
1586 |
-
* alias - псевдоним;
|
1587 |
-
* country - страна;
|
1588 |
-
* state - область, республика, штат;
|
1589 |
-
* city - город;
|
1590 |
-
* zip - индекс;
|
1591 |
-
* address - адрес;
|
1592 |
-
* email_for_notifications - адрес электронной почты для уведомлений;
|
1593 |
-
* im_for_notifications - jabber account для уведомлений;
|
1594 |
-
* phone - номер телефона;
|
1595 |
-
* cell_phone - номер сотового телефона;
|
1596 |
-
* url - url сайта;
|
1597 |
-
* sex - пол. MALE - мужской, FEMALE - женский;
|
1598 |
-
* date_of_birth - дата рождения (формат - yyyy-mm-dd);
|
1599 |
-
* inn - номер ИНН;
|
1600 |
-
* timezone - часовой пояс пользователя;
|
1601 |
-
* ui_language - язык интерфейса пользователя. RU - руский, EN - английский;
|
1602 |
-
* notification_flags:operation - рассылка уведомлений о проведении операций (0-нет, 1-да);
|
1603 |
-
* notification_flags:login - рассылка уведомлений о входе в систему
|
1604 |
-
* (0-нет, 1-да);
|
1605 |
-
* notification_flags:news - подписка на рассылку уведомлений (0-нет, 1-да);
|
1606 |
-
* notification_flags:regular_payments - подписка на рассылку уведомлений по регулярным платежам (0-нет, 1-да);
|
1607 |
-
* notification_flags:balance_threshold - рассылка уведомлений о пороговых значениях баланса (0-нет, 1-да);
|
1608 |
-
* notification_flags_im:operation - рассылка уведомлений о проведении операций (0-нет, 1-да);
|
1609 |
-
* notification_flags_im:login - рассылка уведомлений о входе в систему
|
1610 |
-
* (0-нет, 1-да);
|
1611 |
-
* notification_flags_im:news - подписка на рассылку уведомлений (0-нет, 1-да);
|
1612 |
-
* notification_flags_im:regular_payments - подписка на рассылку уведомлений по регулярным платежам (0-нет, 1-да);
|
1613 |
-
* notification_flags_im:balance_threshold - рассылка уведомлений о пороговых значениях баланса (0-нет, 1-да);
|
1614 |
-
* customfield:* - произвольный набор значений.
|
1615 |
-
* В данных пользователя их может быть несколько.
|
1616 |
-
* Полный ключ атрибута состоит из префикса ("customfield:") и тэга (32 символа).
|
1617 |
-
* Например, "customfield:name".
|
1618 |
-
* Возможные ключи для пользователей с типом "organization":
|
1619 |
-
* unitid - ID пользователя в системе МОНЕТА.РУ;
|
1620 |
-
* organization_name - название организации;
|
1621 |
-
* alias - псевдоним;
|
1622 |
-
* fio_director - ФИО директора;
|
1623 |
-
* phone_director - телефон директора;
|
1624 |
-
* fio_accountant - ФИО бухгалтера;
|
1625 |
-
* phone_accountant - телефон бухгалтера;
|
1626 |
-
* legal_address - юридический адрес;
|
1627 |
-
* post_address - почтовый адрес;
|
1628 |
-
* actual_address - фактический адрес;
|
1629 |
-
* url - url сайта;
|
1630 |
-
* contact_info - контактная информация;
|
1631 |
-
* contact_email - контактный e-mail;
|
1632 |
-
* business_activity - вид деятельности;
|
1633 |
-
* inn - номер ИНН;
|
1634 |
-
* contract_number - номер договора (только для чтения);
|
1635 |
-
* contract_date - дата договора (только для чтения);
|
1636 |
-
* timezone - часовой пояс пользователя;
|
1637 |
-
* ui_language - язык интерфейса пользователя. RU - руский, EN - английский;
|
1638 |
-
* notification_flags:operation - рассылка уведомлений о проведении операций (0-нет, 1-да);
|
1639 |
-
* notification_flags:login - рассылка уведомлений о входе в систему
|
1640 |
-
* (0-нет, 1-да);
|
1641 |
-
* notification_flags:news - подписка на рассылку уведомлений (0-нет, 1-да);
|
1642 |
-
* notification_flags:regular_payments - подписка на рассылку уведомлений по регулярным платежам (0-нет, 1-да);
|
1643 |
-
* notification_flags:balance_threshold - рассылка уведомлений о пороговых значениях баланса (0-нет, 1-да);
|
1644 |
-
* notification_flags_im:operation - рассылка уведомлений о проведении операций (0-нет, 1-да);
|
1645 |
-
* notification_flags_im:login - рассылка уведомлений о входе в систему
|
1646 |
-
* (0-нет, 1-да);
|
1647 |
-
* notification_flags_im:news - подписка на рассылку уведомлений (0-нет, 1-да);
|
1648 |
-
* notification_flags_im:regular_payments - подписка на рассылку уведомлений по регулярным платежам (0-нет, 1-да);
|
1649 |
-
* notification_flags_im:balance_threshold - рассылка уведомлений о пороговых значениях баланса (0-нет, 1-да);
|
1650 |
-
* customfield:* - произвольный набор значений.
|
1651 |
-
* В данных пользователя их может быть несколько.
|
1652 |
-
* Полный ключ атрибута состоит из префикса ("customfield:") и тэга (32 символа).
|
1653 |
-
* Например, "customfield:name".
|
1654 |
-
* User profile information.
|
1655 |
-
* Data is presented as key-value pairs list.
|
1656 |
-
* Returned attributes are either owned by authenticated user
|
1657 |
-
* or marked as publicly available by profile owner.
|
1658 |
-
* Possilble keys for "client" profiles:
|
1659 |
-
* unitid - structure identificator in MONETA.RU;
|
1660 |
-
* last_name;
|
1661 |
-
* first_name;
|
1662 |
-
* middle_initial_name;
|
1663 |
-
* alias;
|
1664 |
-
* country;
|
1665 |
-
* state;
|
1666 |
-
* city;
|
1667 |
-
* zip;
|
1668 |
-
* address;
|
1669 |
-
* email_for_notifications;
|
1670 |
-
* im_for_notifications;
|
1671 |
-
* phone;
|
1672 |
-
* cell_phone;
|
1673 |
-
* url;
|
1674 |
-
* sex (MALE|FEMALE);
|
1675 |
-
* date_of_birth (yyyy-mm-dd format);
|
1676 |
-
* inn - Tax ID;
|
1677 |
-
* timezone;
|
1678 |
-
* ui_language (RU|EN);
|
1679 |
-
* notification_flags:operation - transaction notifications (0-don't send, 1-send);
|
1680 |
-
* notification_flags:login - loging in notifications (0-don't send, 1-send);
|
1681 |
-
* notification_flags:news - news and information notifications (0-don't send, 1-send);
|
1682 |
-
* notification_flags:regular_payments - regular payments notifications (0-don't send, 1-send);
|
1683 |
-
* notification_flags:balance_threshold - account balance threshold notifications (0-don't send, 1-send);
|
1684 |
-
* notification_flags_im:operation - transaction notifications (0-don't send, 1-send);
|
1685 |
-
* notification_flags_im:login - loging in notifications (0-don't send, 1-send);
|
1686 |
-
* notification_flags_im:news - news and information notifications (0-don't send, 1-send);
|
1687 |
-
* notification_flags_im:regular_payments - regular payments notifications (0-don't send, 1-send);
|
1688 |
-
* notification_flags_im:balance_threshold - account balance threshold notifications (0-don't send, 1-send);
|
1689 |
-
* customfield:* - custom list of values.
|
1690 |
-
* User profile may contain several attributes with different keys.
|
1691 |
-
* The full attribute's key consists of prefix ("customfield:") and tag (32 characters).
|
1692 |
-
* For example, "customfield:name".
|
1693 |
-
* Possible keys for "organization" profile:
|
1694 |
-
* unitid - structure identificator in MONETA.RU;
|
1695 |
-
* organization_name;
|
1696 |
-
* alias;
|
1697 |
-
* fio_director - Director's Fullname ;
|
1698 |
-
* phone_director - Director's phone;
|
1699 |
-
* fio_accountant - Accountant's fullname;
|
1700 |
-
* phone_accountant - Accountant's phone;
|
1701 |
-
* legal_address - official organization address;
|
1702 |
-
* post_address - post address;
|
1703 |
-
* actual_address - actual address;
|
1704 |
-
* url - site url;
|
1705 |
-
* contact_info - contact info;
|
1706 |
-
* contact_email - contact e-mail;
|
1707 |
-
* business_activity - business activity;
|
1708 |
-
* inn - Tax ID;
|
1709 |
-
* contract_number - contract number;
|
1710 |
-
* contract_date - contract date;
|
1711 |
-
* timezone - user's time zone;
|
1712 |
-
* ui_language (RU|EN);
|
1713 |
-
* notification_flags:operation - transaction notifications (0-don't send, 1-send);
|
1714 |
-
* notification_flags:login - loging in notifications (0-don't send, 1-send);
|
1715 |
-
* notification_flags:news - news and information notifications (0-don't send, 1-send);
|
1716 |
-
* notification_flags:regular_payments - regular payments notifications (0-don't send, 1-send);
|
1717 |
-
* notification_flags:balance_threshold - account balance threshold notifications (0-don't send, 1-send);
|
1718 |
-
* notification_flags_im:operation - transaction notifications (0-don't send, 1-send);
|
1719 |
-
* notification_flags_im:login - loging in notifications (0-don't send, 1-send);
|
1720 |
-
* notification_flags_im:news - news and information notifications (0-don't send, 1-send);
|
1721 |
-
* notification_flags_im:regular_payments - regular payments notifications (0-don't send, 1-send);
|
1722 |
-
* notification_flags_im:balance_threshold - account balance threshold notifications (0-don't send, 1-send);
|
1723 |
-
* customfield:* - custom list of values.
|
1724 |
-
* Organization profile may contain several attributes with different keys.
|
1725 |
-
* The full attribute's key consists of prefix ("customfield:") and tag (32 characters).
|
1726 |
-
* For example, "customfield:name".
|
1727 |
-
* Список идентификаторов временных зон, которые используются в системе, доступен на странице wikipedia.org
|
1728 |
-
* Timezone identificators supported in MONETA.RU available as TZ name on wikipedia.org
|
1729 |
-
*
|
1730 |
-
*/
|
1731 |
-
class MonetaProfile
|
1732 |
-
{
|
1733 |
-
|
1734 |
-
/**
|
1735 |
-
*
|
1736 |
-
*
|
1737 |
-
* @var MonetaKeyValueAttribute
|
1738 |
-
*/
|
1739 |
-
public $attribute = null;
|
1740 |
-
|
1741 |
-
/**
|
1742 |
-
*
|
1743 |
-
*
|
1744 |
-
* @param MonetaKeyValueAttribute
|
1745 |
-
*
|
1746 |
-
* @return void
|
1747 |
-
*/
|
1748 |
-
public function addAttribute(MonetaKeyValueAttribute $item)
|
1749 |
-
{
|
1750 |
-
$this->attribute[] = $item;
|
1751 |
-
}
|
1752 |
-
|
1753 |
-
}
|
1754 |
-
|
1755 |
-
/**
|
1756 |
-
* Тип, описывающий документ в системе МОНЕТА.РУ
|
1757 |
-
* Document information type
|
1758 |
-
*
|
1759 |
-
*/
|
1760 |
-
class MonetaDocument
|
1761 |
-
{
|
1762 |
-
|
1763 |
-
/**
|
1764 |
-
* Идентификатор документа в системе МОНЕТА.РУ
|
1765 |
-
* Document identificator in MONETA.RU
|
1766 |
-
*
|
1767 |
-
*
|
1768 |
-
* @var long
|
1769 |
-
*/
|
1770 |
-
public $id = null;
|
1771 |
-
|
1772 |
-
/**
|
1773 |
-
* Тип документа
|
1774 |
-
* Document type
|
1775 |
-
*
|
1776 |
-
*
|
1777 |
-
* @var string
|
1778 |
-
*/
|
1779 |
-
public $type = null;
|
1780 |
-
|
1781 |
-
/**
|
1782 |
-
* Поля документа в системе МОНЕТА.РУ.
|
1783 |
-
* Данные представляются в виде "ключ-значение" и признака подтвержденности.
|
1784 |
-
* В зависимости от типа документа возвращаются следующие поля:
|
1785 |
-
* Для документов типа PASSPORT, MILITARY_ID:
|
1786 |
-
* SERIES - серия документа
|
1787 |
-
* NUMBER - номер документа
|
1788 |
-
* ISSUER - кем выдан документ
|
1789 |
-
* ISSUED - когда выдан документ
|
1790 |
-
* COMMENTS - комментарии (необязательное поле)
|
1791 |
-
* Для документов типа DRIVING_LICENCE:
|
1792 |
-
* SERIES - серия документа
|
1793 |
-
* NUMBER - номер документа
|
1794 |
-
* ISSUER - кем выдан документ
|
1795 |
-
* ISSUED - когда выдан документ
|
1796 |
-
* EXPIRATIONDATE - срок действия
|
1797 |
-
* COMMENTS - комментарии (необязательное поле)
|
1798 |
-
* Для OTHER:
|
1799 |
-
* COMMENTS - комментарии, пояснения, описание
|
1800 |
-
* Для всех типов документов:
|
1801 |
-
* customfield:* - произвольный набор значений.
|
1802 |
-
* В документе их может быть несколько.
|
1803 |
-
* Полный ключ атрибута состоит из префикса ("customfield:") и тэга (32 символа).
|
1804 |
-
* Например, "customfield:name".
|
1805 |
-
* MODIFICATIONDATE - последняя дата редактирования документа
|
1806 |
-
* Document attributes in MONETA.RU.
|
1807 |
-
* Information is represented by key-value pairs list.
|
1808 |
-
* Supported keys depending on document type as follows.
|
1809 |
-
* PASSPORT, MILITARY_ID document type:
|
1810 |
-
* SERIES - document series
|
1811 |
-
* NUMBER - document number
|
1812 |
-
* ISSUER - document issuer
|
1813 |
-
* ISSUED - document issuance date
|
1814 |
-
* COMMENTS - optional description
|
1815 |
-
* DRIVING_LICENCE document type:
|
1816 |
-
* SERIES - document series
|
1817 |
-
* NUMBER - document number
|
1818 |
-
* ISSUER - document issuer
|
1819 |
-
* ISSUED - document issuance date
|
1820 |
-
* EXPIRATIONDATE - expiration date
|
1821 |
-
* COMMENTS - optional description
|
1822 |
-
* OTHER document type:
|
1823 |
-
* COMMENTS - name, description, comments or explanation
|
1824 |
-
* all document types:
|
1825 |
-
* customfield:* - custom list of values.
|
1826 |
-
* The document may contain several attributes with different keys.
|
1827 |
-
* The full attribute's key consists of prefix ("customfield:") and tag (32 characters).
|
1828 |
-
* For example, "customfield:name".
|
1829 |
-
* MODIFICATIONDATE - document last modification date
|
1830 |
-
*
|
1831 |
-
*
|
1832 |
-
* @var MonetaKeyValueAttribute
|
1833 |
-
*/
|
1834 |
-
public $attribute = null;
|
1835 |
-
|
1836 |
-
/**
|
1837 |
-
* Поля документа в системе МОНЕТА.РУ.
|
1838 |
-
* Данные представляются в виде "ключ-значение" и признака подтвержденности.
|
1839 |
-
* В зависимости от типа документа возвращаются следующие поля:
|
1840 |
-
* Для документов типа PASSPORT, MILITARY_ID:
|
1841 |
-
* SERIES - серия документа
|
1842 |
-
* NUMBER - номер документа
|
1843 |
-
* ISSUER - кем выдан документ
|
1844 |
-
* ISSUED - когда выдан документ
|
1845 |
-
* COMMENTS - комментарии (необязательное поле)
|
1846 |
-
* Для документов типа DRIVING_LICENCE:
|
1847 |
-
* SERIES - серия документа
|
1848 |
-
* NUMBER - номер документа
|
1849 |
-
* ISSUER - кем выдан документ
|
1850 |
-
* ISSUED - когда выдан документ
|
1851 |
-
* EXPIRATIONDATE - срок действия
|
1852 |
-
* COMMENTS - комментарии (необязательное поле)
|
1853 |
-
* Для OTHER:
|
1854 |
-
* COMMENTS - комментарии, пояснения, описание
|
1855 |
-
* Для всех типов документов:
|
1856 |
-
* customfield:* - произвольный набор значений.
|
1857 |
-
* В документе их может быть несколько.
|
1858 |
-
* Полный ключ атрибута состоит из префикса ("customfield:") и тэга (32 символа).
|
1859 |
-
* Например, "customfield:name".
|
1860 |
-
* MODIFICATIONDATE - последняя дата редактирования документа
|
1861 |
-
* Document attributes in MONETA.RU.
|
1862 |
-
* Information is represented by key-value pairs list.
|
1863 |
-
* Supported keys depending on document type as follows.
|
1864 |
-
* PASSPORT, MILITARY_ID document type:
|
1865 |
-
* SERIES - document series
|
1866 |
-
* NUMBER - document number
|
1867 |
-
* ISSUER - document issuer
|
1868 |
-
* ISSUED - document issuance date
|
1869 |
-
* COMMENTS - optional description
|
1870 |
-
* DRIVING_LICENCE document type:
|
1871 |
-
* SERIES - document series
|
1872 |
-
* NUMBER - document number
|
1873 |
-
* ISSUER - document issuer
|
1874 |
-
* ISSUED - document issuance date
|
1875 |
-
* EXPIRATIONDATE - expiration date
|
1876 |
-
* COMMENTS - optional description
|
1877 |
-
* OTHER document type:
|
1878 |
-
* COMMENTS - name, description, comments or explanation
|
1879 |
-
* all document types:
|
1880 |
-
* customfield:* - custom list of values.
|
1881 |
-
* The document may contain several attributes with different keys.
|
1882 |
-
* The full attribute's key consists of prefix ("customfield:") and tag (32 characters).
|
1883 |
-
* For example, "customfield:name".
|
1884 |
-
* MODIFICATIONDATE - document last modification date
|
1885 |
-
*
|
1886 |
-
*
|
1887 |
-
* @param MonetaKeyValueAttribute
|
1888 |
-
*
|
1889 |
-
* @return void
|
1890 |
-
*/
|
1891 |
-
public function addAttribute(MonetaKeyValueAttribute $item)
|
1892 |
-
{
|
1893 |
-
$this->attribute[] = $item;
|
1894 |
-
}
|
1895 |
-
|
1896 |
-
/**
|
1897 |
-
* Имеет ли документ прикрепленные файлы.
|
1898 |
-
* Для получения прикрепленных файлов используйте вызов FindProfileDocumentFilesRequest
|
1899 |
-
* If the document has attachments or not.
|
1900 |
-
* For attachment fetching see FindProfileDocumentFilesRequest
|
1901 |
-
*
|
1902 |
-
*
|
1903 |
-
* @var boolean
|
1904 |
-
*/
|
1905 |
-
public $hasAttachedFiles = null;
|
1906 |
-
|
1907 |
-
}
|
1908 |
-
|
1909 |
-
/**
|
1910 |
-
* Тип, описывающий данные в виде бинарного файла.
|
1911 |
-
* Binary data type.
|
1912 |
-
*
|
1913 |
-
*/
|
1914 |
-
class MonetaFile
|
1915 |
-
{
|
1916 |
-
|
1917 |
-
/**
|
1918 |
-
* ID документа, которому принадлежит данный файл
|
1919 |
-
* Document ID, which file belongs to
|
1920 |
-
*
|
1921 |
-
*
|
1922 |
-
* @var long
|
1923 |
-
*/
|
1924 |
-
public $documentId = null;
|
1925 |
-
|
1926 |
-
/**
|
1927 |
-
* Данные файла. При передаче/получении данных используйте MTOM (Message Transmission Optimization Mechanism).
|
1928 |
-
* File contents. Use MTOM (Message Transmission Optimization Mechanism).
|
1929 |
-
*
|
1930 |
-
*
|
1931 |
-
* @var base64Binary
|
1932 |
-
*/
|
1933 |
-
public $blob = null;
|
1934 |
-
|
1935 |
-
/**
|
1936 |
-
* Проверен или нет данный файл
|
1937 |
-
* Is file approved or not
|
1938 |
-
*
|
1939 |
-
*
|
1940 |
-
* @var boolean
|
1941 |
-
*/
|
1942 |
-
public $approved = null;
|
1943 |
-
|
1944 |
-
/**
|
1945 |
-
* ID файла
|
1946 |
-
* File Id
|
1947 |
-
*
|
1948 |
-
*
|
1949 |
-
* @var long
|
1950 |
-
*/
|
1951 |
-
public $fileId = null;
|
1952 |
-
|
1953 |
-
/**
|
1954 |
-
* Mime type файла (например: image/jpeg)
|
1955 |
-
* File mime type (example: image/jpeg)
|
1956 |
-
*
|
1957 |
-
*
|
1958 |
-
* @var string
|
1959 |
-
*/
|
1960 |
-
public $mimeType = null;
|
1961 |
-
|
1962 |
-
/**
|
1963 |
-
* Имя файла или описание
|
1964 |
-
* File name or description
|
1965 |
-
*
|
1966 |
-
*
|
1967 |
-
* @var string
|
1968 |
-
*/
|
1969 |
-
public $title = null;
|
1970 |
-
|
1971 |
-
}
|
1972 |
-
|
1973 |
-
/**
|
1974 |
-
* Тип, описывающий делегированный доступ к счету.
|
1975 |
-
* Type describing access to delegated account.
|
1976 |
-
*
|
1977 |
-
*/
|
1978 |
-
class MonetaAccountRelation
|
1979 |
-
{
|
1980 |
-
|
1981 |
-
/**
|
1982 |
-
* Номер счета в системе МОНЕТА.РУ.
|
1983 |
-
* Account number.
|
1984 |
-
*
|
1985 |
-
*
|
1986 |
-
* @var long
|
1987 |
-
*/
|
1988 |
-
public $accountId = null;
|
1989 |
-
|
1990 |
-
/**
|
1991 |
-
* Email пользователя, которому предоставляется делегированный доступ к счету.
|
1992 |
-
* Email of user which has to be provided with delegated account access.
|
1993 |
-
*
|
1994 |
-
*
|
1995 |
-
* @var string
|
1996 |
-
*/
|
1997 |
-
public $principalEmail = null;
|
1998 |
-
|
1999 |
-
/**
|
2000 |
-
* Просмотр счета.
|
2001 |
-
* View account.
|
2002 |
-
*
|
2003 |
-
*
|
2004 |
-
* @var boolean
|
2005 |
-
*/
|
2006 |
-
public $canViewAccount = null;
|
2007 |
-
|
2008 |
-
/**
|
2009 |
-
* Редактирование счета.
|
2010 |
-
* Edit account.
|
2011 |
-
*
|
2012 |
-
*
|
2013 |
-
* @var boolean
|
2014 |
-
*/
|
2015 |
-
public $canEditAccount = null;
|
2016 |
-
|
2017 |
-
/**
|
2018 |
-
* Проведение операций.
|
2019 |
-
* Process operations.
|
2020 |
-
*
|
2021 |
-
*
|
2022 |
-
* @var boolean
|
2023 |
-
*/
|
2024 |
-
public $canProcessOperation = null;
|
2025 |
-
|
2026 |
-
}
|
2027 |
-
|
2028 |
-
/**
|
2029 |
-
* Выставление счета к оплате.
|
2030 |
-
* Making new invoice (request for payment).
|
2031 |
-
*
|
2032 |
-
*/
|
2033 |
-
class MonetaInvoiceRequest
|
2034 |
-
{
|
2035 |
-
|
2036 |
-
/**
|
2037 |
-
* Номер счета плательщика
|
2038 |
-
* Payer account number
|
2039 |
-
*
|
2040 |
-
*
|
2041 |
-
* @var long
|
2042 |
-
*/
|
2043 |
-
public $payer = null;
|
2044 |
-
|
2045 |
-
/**
|
2046 |
-
* Номер счета получателя
|
2047 |
-
* Payee account number
|
2048 |
-
*
|
2049 |
-
*
|
2050 |
-
* @var long
|
2051 |
-
*/
|
2052 |
-
public $payee = null;
|
2053 |
-
|
2054 |
-
/**
|
2055 |
-
* Сумма
|
2056 |
-
* Amount
|
2057 |
-
*
|
2058 |
-
*
|
2059 |
-
* @var decimal
|
2060 |
-
*/
|
2061 |
-
public $amount = null;
|
2062 |
-
|
2063 |
-
/**
|
2064 |
-
* Внешний номер операции
|
2065 |
-
* external transaction identificator
|
2066 |
-
*
|
2067 |
-
*
|
2068 |
-
* @var string
|
2069 |
-
*/
|
2070 |
-
public $clientTransaction = null;
|
2071 |
-
|
2072 |
-
/**
|
2073 |
-
* Описание операции
|
2074 |
-
* Transaction description or comments
|
2075 |
-
*
|
2076 |
-
*
|
2077 |
-
* @var normalizedString
|
2078 |
-
*/
|
2079 |
-
public $description = null;
|
2080 |
-
|
2081 |
-
/**
|
2082 |
-
* Произвольный параметр
|
2083 |
-
* Custom parameter
|
2084 |
-
*
|
2085 |
-
*
|
2086 |
-
* @var string
|
2087 |
-
*/
|
2088 |
-
public $mnt_custom1 = null;
|
2089 |
-
|
2090 |
-
/**
|
2091 |
-
* Произвольный параметр
|
2092 |
-
* Custom parameter
|
2093 |
-
*
|
2094 |
-
*
|
2095 |
-
* @var string
|
2096 |
-
*/
|
2097 |
-
public $mnt_custom2 = null;
|
2098 |
-
|
2099 |
-
/**
|
2100 |
-
* Произвольный параметр
|
2101 |
-
* Custom parameter
|
2102 |
-
*
|
2103 |
-
*
|
2104 |
-
* @var string
|
2105 |
-
*/
|
2106 |
-
public $mnt_custom3 = null;
|
2107 |
-
|
2108 |
-
/**
|
2109 |
-
* Набор полей, которые необходимо сохранить в качестве атрибутов операции. Значения дат в формате dd.MM.yyyy HH:mm:ss
|
2110 |
-
* Key-value pairs that will be saved as a transaction attributes. Use format dd.MM.yyyy HH:mm:ss for date values
|
2111 |
-
*
|
2112 |
-
*
|
2113 |
-
* @var MonetaOperationInfo
|
2114 |
-
*/
|
2115 |
-
public $operationInfo = null;
|
2116 |
-
|
2117 |
-
}
|
2118 |
-
|
2119 |
-
/**
|
2120 |
-
* Ответ на выставление счета к оплате.
|
2121 |
-
* Invoice registration response.
|
2122 |
-
*
|
2123 |
-
*/
|
2124 |
-
class MonetaInvoiceResponse extends MonetaTransactionResponseType
|
2125 |
-
{
|
2126 |
-
|
2127 |
-
}
|
2128 |
-
|
2129 |
-
/**
|
2130 |
-
* Запрос на перевод денежных средств.
|
2131 |
-
* Money Transfer Request.
|
2132 |
-
*
|
2133 |
-
*/
|
2134 |
-
class MonetaTransferRequest extends MonetaTransactionRequestType
|
2135 |
-
{
|
2136 |
-
|
2137 |
-
}
|
2138 |
-
|
2139 |
-
/**
|
2140 |
-
* Ответ на запрос перевода денежных средств.
|
2141 |
-
* Money transfer registration response.
|
2142 |
-
*
|
2143 |
-
*/
|
2144 |
-
class MonetaTransferResponse extends MonetaTransactionResponseType
|
2145 |
-
{
|
2146 |
-
|
2147 |
-
}
|
2148 |
-
|
2149 |
-
/**
|
2150 |
-
* Запрос на перевод денежных средств в пакетном режиме.
|
2151 |
-
* Money Transfer Request in batch processing mode.
|
2152 |
-
*
|
2153 |
-
*/
|
2154 |
-
class MonetaTransferBatchRequest extends MonetaTransactionBatchRequestType
|
2155 |
-
{
|
2156 |
-
|
2157 |
-
}
|
2158 |
-
|
2159 |
-
/**
|
2160 |
-
* Ответ на запрос перевода денежных средств в пакетном режиме.
|
2161 |
-
* Money transfer registration response in batch processing mode.
|
2162 |
-
*
|
2163 |
-
*/
|
2164 |
-
class MonetaTransferBatchResponse
|
2165 |
-
{
|
2166 |
-
|
2167 |
-
/**
|
2168 |
-
* Детали проведенных операций, либо описание ошибок, если операция не проведена.
|
2169 |
-
* Порядок соответствует набору операций, переданных в TransferBatchRequest.
|
2170 |
-
* Either transaction details or error description in order of appearance in corresponding request.
|
2171 |
-
*
|
2172 |
-
*
|
2173 |
-
* @var MonetaTransactionBatchResponseType
|
2174 |
-
*/
|
2175 |
-
public $transaction = null;
|
2176 |
-
|
2177 |
-
/**
|
2178 |
-
* Детали проведенных операций, либо описание ошибок, если операция не проведена.
|
2179 |
-
* Порядок соответствует набору операций, переданных в TransferBatchRequest.
|
2180 |
-
* Either transaction details or error description in order of appearance in corresponding request.
|
2181 |
-
*
|
2182 |
-
*
|
2183 |
-
* @param MonetaTransactionBatchResponseType
|
2184 |
-
*
|
2185 |
-
* @return void
|
2186 |
-
*/
|
2187 |
-
public function addTransaction(MonetaTransactionBatchResponseType $item)
|
2188 |
-
{
|
2189 |
-
$this->transaction[] = $item;
|
2190 |
-
}
|
2191 |
-
|
2192 |
-
}
|
2193 |
-
|
2194 |
-
/**
|
2195 |
-
* Запрос на регистрацию операции с блокировкой средств на счете плательщика.
|
2196 |
-
* Завершить (подтвердить) операцию можно с помощью ConfirmTransactionRequest.
|
2197 |
-
* Если операция не будет закончена с помощью ConfirmTransactionRequest, то
|
2198 |
-
* операция будет отменена автоматически по истечению срока блокировки.
|
2199 |
-
* Request for transaction registration and debiting funds from payer's account.
|
2200 |
-
* To finish (confirm) this transaction use ConfirmTransactionRequest.
|
2201 |
-
* Authorised but not cofirmed transactions are cancelled automaticaly after authorisation expiry.
|
2202 |
-
*
|
2203 |
-
*/
|
2204 |
-
class MonetaAuthoriseTransactionRequest extends MonetaAuthoriseTransactionRequestType
|
2205 |
-
{
|
2206 |
-
|
2207 |
-
}
|
2208 |
-
|
2209 |
-
/**
|
2210 |
-
* Ответ на запрос регистрации операции.
|
2211 |
-
* Transaction authorisation response.
|
2212 |
-
*
|
2213 |
-
*/
|
2214 |
-
class MonetaAuthoriseTransactionResponse extends MonetaOperationInfo
|
2215 |
-
{
|
2216 |
-
|
2217 |
-
}
|
2218 |
-
|
2219 |
-
/**
|
2220 |
-
* Запрос на регистрацию операции с блокировкой средств на счете плательщика в пакетном режиме.
|
2221 |
-
* Request for transactions registration and debiting funds from payer's account in batch processing mode.
|
2222 |
-
*
|
2223 |
-
*/
|
2224 |
-
class MonetaAuthoriseTransactionBatchRequest extends MonetaAuthoriseTransactionBatchRequestType
|
2225 |
-
{
|
2226 |
-
|
2227 |
-
}
|
2228 |
-
|
2229 |
-
/**
|
2230 |
-
* Ответ на запрос регистрации операций в пакетном режиме.
|
2231 |
-
* Transactions authorisation response in batch processing mode.
|
2232 |
-
*
|
2233 |
-
*/
|
2234 |
-
class MonetaAuthoriseTransactionBatchResponse
|
2235 |
-
{
|
2236 |
-
|
2237 |
-
/**
|
2238 |
-
* Детали проведенных операций, либо описание ошибок, если операция не проведена.
|
2239 |
-
* Порядок соответствует набору операций, переданных в AuthoriseTransactionBatchRequest.
|
2240 |
-
* Either transaction details or error description in order of appearance in corresponding request.
|
2241 |
-
*
|
2242 |
-
*
|
2243 |
-
* @var MonetaOperationInfoBatchResponseType
|
2244 |
-
*/
|
2245 |
-
public $transaction = null;
|
2246 |
-
|
2247 |
-
/**
|
2248 |
-
* Детали проведенных операций, либо описание ошибок, если операция не проведена.
|
2249 |
-
* Порядок соответствует набору операций, переданных в AuthoriseTransactionBatchRequest.
|
2250 |
-
* Either transaction details or error description in order of appearance in corresponding request.
|
2251 |
-
*
|
2252 |
-
*
|
2253 |
-
* @param MonetaOperationInfoBatchResponseType
|
2254 |
-
*
|
2255 |
-
* @return void
|
2256 |
-
*/
|
2257 |
-
public function addTransaction(MonetaOperationInfoBatchResponseType $item)
|
2258 |
-
{
|
2259 |
-
$this->transaction[] = $item;
|
2260 |
-
}
|
2261 |
-
|
2262 |
-
}
|
2263 |
-
|
2264 |
-
/**
|
2265 |
-
* Запрос на завершение (подтверждение) операции.
|
2266 |
-
* Transaction confirmation request.
|
2267 |
-
*
|
2268 |
-
*/
|
2269 |
-
class MonetaConfirmTransactionRequest extends MonetaConfirmTransactionRequestType
|
2270 |
-
{
|
2271 |
-
|
2272 |
-
}
|
2273 |
-
|
2274 |
-
/**
|
2275 |
-
* Ответ на запрос завершения операции.
|
2276 |
-
* Transaction confirmation response.
|
2277 |
-
*
|
2278 |
-
*/
|
2279 |
-
class MonetaConfirmTransactionResponse extends MonetaOperationInfo
|
2280 |
-
{
|
2281 |
-
|
2282 |
-
}
|
2283 |
-
|
2284 |
-
/**
|
2285 |
-
* Запрос на завершение (подтверждение) операций в пакетном режиме.
|
2286 |
-
* Transactions confirmation request in batch processing mode.
|
2287 |
-
*
|
2288 |
-
*/
|
2289 |
-
class MonetaConfirmTransactionBatchRequest extends MonetaConfirmTransactionBatchRequestType
|
2290 |
-
{
|
2291 |
-
|
2292 |
-
}
|
2293 |
-
|
2294 |
-
/**
|
2295 |
-
* Ответ на запрос завершения операций в пакетном режиме.
|
2296 |
-
* Transactions confirmation response in batch processing mode.
|
2297 |
-
*
|
2298 |
-
*/
|
2299 |
-
class MonetaConfirmTransactionBatchResponse
|
2300 |
-
{
|
2301 |
-
|
2302 |
-
/**
|
2303 |
-
* Детали проведенных операций, либо описание ошибок, если операция не проведена.
|
2304 |
-
* Порядок соответствует набору операций, переданных в ConfirmTransactionBatchRequest.
|
2305 |
-
* Either transaction details or error description in order of appearance in corresponding request.
|
2306 |
-
*
|
2307 |
-
*
|
2308 |
-
* @var MonetaOperationInfoBatchResponseType
|
2309 |
-
*/
|
2310 |
-
public $transaction = null;
|
2311 |
-
|
2312 |
-
/**
|
2313 |
-
* Детали проведенных операций, либо описание ошибок, если операция не проведена.
|
2314 |
-
* Порядок соответствует набору операций, переданных в ConfirmTransactionBatchRequest.
|
2315 |
-
* Either transaction details or error description in order of appearance in corresponding request.
|
2316 |
-
*
|
2317 |
-
*
|
2318 |
-
* @param MonetaOperationInfoBatchResponseType
|
2319 |
-
*
|
2320 |
-
* @return void
|
2321 |
-
*/
|
2322 |
-
public function addTransaction(MonetaOperationInfoBatchResponseType $item)
|
2323 |
-
{
|
2324 |
-
$this->transaction[] = $item;
|
2325 |
-
}
|
2326 |
-
|
2327 |
-
}
|
2328 |
-
|
2329 |
-
/**
|
2330 |
-
* Запрос на отмену операции. Отменять операцию можно при выполнении всех условий:
|
2331 |
-
* незавершенные операции;
|
2332 |
-
* если есть доступ к счету плательщика и счету получателя (то есть свои внутренние операции).
|
2333 |
-
* Transaction cancelation request if transasction fulfils following conditions:
|
2334 |
-
* transaction is in processing (incompleted);
|
2335 |
-
* principal has an access to both (payer and payee) accounts.
|
2336 |
-
*
|
2337 |
-
*/
|
2338 |
-
class MonetaCancelTransactionRequest extends MonetaCancelTransactionRequestType
|
2339 |
-
{
|
2340 |
-
|
2341 |
-
}
|
2342 |
-
|
2343 |
-
/**
|
2344 |
-
* Ответ на запрос CancelTransactionRequest.
|
2345 |
-
* Transaction cancelation response.
|
2346 |
-
*
|
2347 |
-
*/
|
2348 |
-
class MonetaCancelTransactionResponse extends MonetaCancelTransactionResponseType
|
2349 |
-
{
|
2350 |
-
|
2351 |
-
}
|
2352 |
-
|
2353 |
-
/**
|
2354 |
-
* Запрос на отмену операций в пакетном режиме.
|
2355 |
-
* Transactions cancelation request in batch processing mode.
|
2356 |
-
*
|
2357 |
-
*/
|
2358 |
-
class MonetaCancelTransactionBatchRequest extends MonetaCancelTransactionBatchRequestType
|
2359 |
-
{
|
2360 |
-
|
2361 |
-
}
|
2362 |
-
|
2363 |
-
/**
|
2364 |
-
* Ответ на запрос CancelTransactionBatchRequest.
|
2365 |
-
* Transactions cancelation response in batch processing mode.
|
2366 |
-
*
|
2367 |
-
*/
|
2368 |
-
class MonetaCancelTransactionBatchResponse
|
2369 |
-
{
|
2370 |
-
|
2371 |
-
/**
|
2372 |
-
* Детали проведенных операций, либо описание ошибок, если операция не проведена.
|
2373 |
-
* Порядок соответствует набору операций, переданных в CancelTransactionBatchRequest.
|
2374 |
-
* Either transaction details or error description in order of appearance in corresponding request.
|
2375 |
-
*
|
2376 |
-
*
|
2377 |
-
* @var MonetaCancelTransactionBatchResponseType
|
2378 |
-
*/
|
2379 |
-
public $transaction = null;
|
2380 |
-
|
2381 |
-
/**
|
2382 |
-
* Детали проведенных операций, либо описание ошибок, если операция не проведена.
|
2383 |
-
* Порядок соответствует набору операций, переданных в CancelTransactionBatchRequest.
|
2384 |
-
* Either transaction details or error description in order of appearance in corresponding request.
|
2385 |
-
*
|
2386 |
-
*
|
2387 |
-
* @param MonetaCancelTransactionBatchResponseType
|
2388 |
-
*
|
2389 |
-
* @return void
|
2390 |
-
*/
|
2391 |
-
public function addTransaction(MonetaCancelTransactionBatchResponseType $item)
|
2392 |
-
{
|
2393 |
-
$this->transaction[] = $item;
|
2394 |
-
}
|
2395 |
-
|
2396 |
-
}
|
2397 |
-
|
2398 |
-
/**
|
2399 |
-
* Возврат средств по указанной операции.
|
2400 |
-
* Refund given transaction.
|
2401 |
-
*
|
2402 |
-
*/
|
2403 |
-
class MonetaRefundRequest
|
2404 |
-
{
|
2405 |
-
|
2406 |
-
/**
|
2407 |
-
* Номер операции в системе МОНЕТА.РУ, по которой необходимо вернуть деньги
|
2408 |
-
* Transaction ID in Moneta.ru
|
2409 |
-
*
|
2410 |
-
*
|
2411 |
-
* @var long
|
2412 |
-
*/
|
2413 |
-
public $transactionId = null;
|
2414 |
-
|
2415 |
-
/**
|
2416 |
-
* Сумма, которую необходимо возвратить.
|
2417 |
-
* Если сумма не указана, то сумма для возврата берется из указанной операции.
|
2418 |
-
* Необязательное поле.
|
2419 |
-
* Amount to refund in source transaction payee's currency.
|
2420 |
-
* If omitted the source transaction payees' amount is used.
|
2421 |
-
* Optional.
|
2422 |
-
*
|
2423 |
-
*
|
2424 |
-
* @var decimal
|
2425 |
-
*/
|
2426 |
-
public $amount = null;
|
2427 |
-
|
2428 |
-
/**
|
2429 |
-
* Платежный пароль
|
2430 |
-
* Payment password for payer account
|
2431 |
-
*
|
2432 |
-
*
|
2433 |
-
* @var normalizedString
|
2434 |
-
*/
|
2435 |
-
public $paymentPassword = null;
|
2436 |
-
|
2437 |
-
/**
|
2438 |
-
* Внешний номер операции
|
2439 |
-
* External transaction ID
|
2440 |
-
*
|
2441 |
-
*
|
2442 |
-
* @var string
|
2443 |
-
*/
|
2444 |
-
public $clientTransaction = null;
|
2445 |
-
|
2446 |
-
/**
|
2447 |
-
* Описание операции
|
2448 |
-
* Transaction description or comments
|
2449 |
-
*
|
2450 |
-
*
|
2451 |
-
* @var normalizedString
|
2452 |
-
*/
|
2453 |
-
public $description = null;
|
2454 |
-
|
2455 |
-
/**
|
2456 |
-
* Набор полей, которые необходимо сохранить в качестве атрибутов операции. Значения дат в формате dd.MM.yyyy HH:mm:ss
|
2457 |
-
* Key-value pairs that will be saved as a transaction attributes. Use format dd.MM.yyyy HH:mm:ss for date values
|
2458 |
-
*
|
2459 |
-
*
|
2460 |
-
* @var MonetaOperationInfo
|
2461 |
-
*/
|
2462 |
-
public $operationInfo = null;
|
2463 |
-
|
2464 |
-
/**
|
2465 |
-
* Запрос для платежного пароля
|
2466 |
-
* Payment password challenge
|
2467 |
-
*
|
2468 |
-
*
|
2469 |
-
* @var string
|
2470 |
-
*/
|
2471 |
-
public $paymentPasswordChallenge = null;
|
2472 |
-
|
2473 |
-
}
|
2474 |
-
|
2475 |
-
/**
|
2476 |
-
* Ответ по запросу возврата средств, содержащий информацию по возвратной операции.
|
2477 |
-
* Response containing refund transaction information.
|
2478 |
-
*
|
2479 |
-
*/
|
2480 |
-
class MonetaRefundResponse extends MonetaOperationInfo
|
2481 |
-
{
|
2482 |
-
|
2483 |
-
}
|
2484 |
-
|
2485 |
-
/**
|
2486 |
-
* Запрос предварительного расчета сумм и комиссий по параметрам операции.
|
2487 |
-
* Request for amount and fee preliminary calculation by transaction parameters.
|
2488 |
-
*
|
2489 |
-
*/
|
2490 |
-
class MonetaForecastTransactionRequest extends MonetaTransactionRequestType
|
2491 |
-
{
|
2492 |
-
|
2493 |
-
}
|
2494 |
-
|
2495 |
-
/**
|
2496 |
-
* Ответ на запрос предварительного расчета сумм и комиссий.
|
2497 |
-
* Может использоваться для информирования пользователя о приблизительной сумме и комиссии
|
2498 |
-
* операции.
|
2499 |
-
* Фактические значения могут отличаться, если к моменту проведения операции
|
2500 |
-
* доступны новые правила тарификации или новые курсы обмена валют.
|
2501 |
-
* Response for preliminary calculation request.
|
2502 |
-
* May be used for informing users with approximate amount and fee of transaction.
|
2503 |
-
* Actual values may differ if newer financial rules and currency exchange rates
|
2504 |
-
* are available at the moment of transaction processing.
|
2505 |
-
*
|
2506 |
-
*/
|
2507 |
-
class MonetaForecastTransactionResponse extends MonetaForecastTransactionResponseType
|
2508 |
-
{
|
2509 |
-
|
2510 |
-
}
|
2511 |
-
|
2512 |
-
/**
|
2513 |
-
* Запрос возможности провести операцию в системе МОНЕТА.РУ.
|
2514 |
-
* Transaction verification request.
|
2515 |
-
*
|
2516 |
-
*/
|
2517 |
-
class MonetaVerifyTransactionRequest
|
2518 |
-
{
|
2519 |
-
|
2520 |
-
/**
|
2521 |
-
* Идентификатор операции в системе МОНЕТА.РУ, которую надо проверить.
|
2522 |
-
* The identifier of transaction which has to be verified.
|
2523 |
-
*
|
2524 |
-
*
|
2525 |
-
* @var long
|
2526 |
-
*/
|
2527 |
-
public $transactionId = null;
|
2528 |
-
|
2529 |
-
/**
|
2530 |
-
* Номер счета плательщика
|
2531 |
-
* Payer account number
|
2532 |
-
*
|
2533 |
-
*
|
2534 |
-
* @var long
|
2535 |
-
*/
|
2536 |
-
public $payer = null;
|
2537 |
-
|
2538 |
-
/**
|
2539 |
-
* Сумма операции.
|
2540 |
-
* Если флаг isPayerAmount отсутствует
|
2541 |
-
* и пользователь имеет доступ только к счету плательщика,
|
2542 |
-
* то интерпретируется как сумма к списанию (в валюте плательщика).
|
2543 |
-
* Если флаг isPayerAmount отсутствует
|
2544 |
-
* и пользователь имеет доступ только к счету получателя,
|
2545 |
-
* то интерпретируется как сумма к зачислению (в валюте получателя).
|
2546 |
-
* Transaction amount.
|
2547 |
-
* If isPayerAmount is omitted
|
2548 |
-
* and user has access only to payer account,
|
2549 |
-
* then is interpreted as debit amount (in payer's currency).
|
2550 |
-
* If isPayerAmount is omitted
|
2551 |
-
* and user has access only to payee account,
|
2552 |
-
* then is interpreted as credit amount (in payee's currency).
|
2553 |
-
*
|
2554 |
-
*
|
2555 |
-
* @var decimal
|
2556 |
-
*/
|
2557 |
-
public $amount = null;
|
2558 |
-
|
2559 |
-
/**
|
2560 |
-
* Если пользователь имеет доступ как к счету плательщика, так и счету получателя,
|
2561 |
-
* то флаг isPayerAmount обязателен.
|
2562 |
-
* Если флаг isPayerAmount установлен (true), то amount используется как сумма к списанию (в валюте плательщика).
|
2563 |
-
* Если флаг isPayerAmount сброшен (false), то amount используется как сумма к зачислению (в валюте получателя).
|
2564 |
-
* If user has access to both accounts, then isPayerAmount flag is obligatory.
|
2565 |
-
* If isPayerAmount flag is "true", then amount is used as debit amount (in payer's currency).
|
2566 |
-
* If isPayerAmount flag is "false", then amount is used as credit amount (in payee's currency).
|
2567 |
-
*
|
2568 |
-
*
|
2569 |
-
* @var boolean
|
2570 |
-
*/
|
2571 |
-
public $isPayerAmount = null;
|
2572 |
-
|
2573 |
-
/**
|
2574 |
-
* Набор полей, которые необходимо использовать в качестве атрибутов операции. Значения дат в формате dd.MM.yyyy HH:mm:ss
|
2575 |
-
* Key-value pairs that will be used as a transaction attributes. Use format dd.MM.yyyy HH:mm:ss for date values
|
2576 |
-
*
|
2577 |
-
*
|
2578 |
-
* @var MonetaOperationInfo
|
2579 |
-
*/
|
2580 |
-
public $operationInfo = null;
|
2581 |
-
|
2582 |
-
}
|
2583 |
-
|
2584 |
-
/**
|
2585 |
-
* Ответ на запрос проверки проведения операции в системе МОНЕТА.РУ
|
2586 |
-
* Transaction verification response.
|
2587 |
-
*
|
2588 |
-
*/
|
2589 |
-
class MonetaVerifyTransactionResponse extends MonetaVerifyTransferResponseType
|
2590 |
-
{
|
2591 |
-
|
2592 |
-
/**
|
2593 |
-
* Идентификатор операции в системе МОНЕТА.РУ.
|
2594 |
-
* The identifier of transaction.
|
2595 |
-
*
|
2596 |
-
*
|
2597 |
-
* @var long
|
2598 |
-
*/
|
2599 |
-
public $transactionId = null;
|
2600 |
-
|
2601 |
-
/**
|
2602 |
-
* Статус операции в системе МОНЕТА.РУ.
|
2603 |
-
* Transaction status type in MONETA.RU
|
2604 |
-
*
|
2605 |
-
*
|
2606 |
-
* @var string
|
2607 |
-
*/
|
2608 |
-
public $operationStatus = null;
|
2609 |
-
|
2610 |
-
}
|
2611 |
-
|
2612 |
-
/**
|
2613 |
-
* Запрос возможности провести операцию в системе МОНЕТА.РУ.
|
2614 |
-
* Transaction verification request.
|
2615 |
-
*
|
2616 |
-
*/
|
2617 |
-
class MonetaVerifyTransferRequest extends MonetaTransactionRequestType
|
2618 |
-
{
|
2619 |
-
|
2620 |
-
}
|
2621 |
-
|
2622 |
-
/**
|
2623 |
-
* Ответ на запрос проверки проведения операции в системе МОНЕТА.РУ
|
2624 |
-
* Transaction verification response.
|
2625 |
-
*
|
2626 |
-
*/
|
2627 |
-
class MonetaVerifyTransferResponse extends MonetaVerifyTransferResponseType
|
2628 |
-
{
|
2629 |
-
|
2630 |
-
}
|
2631 |
-
|
2632 |
-
/**
|
2633 |
-
* Ответ, который приходит на запрос FindAccountByIdRequest.
|
2634 |
-
* В ответе содержится информация по счету.
|
2635 |
-
* Account searching by account number response.
|
2636 |
-
* Response contains Account information.
|
2637 |
-
*
|
2638 |
-
*/
|
2639 |
-
class MonetaFindAccountByIdResponse
|
2640 |
-
{
|
2641 |
-
|
2642 |
-
/**
|
2643 |
-
*
|
2644 |
-
*
|
2645 |
-
* @var MonetaAccountInfo
|
2646 |
-
*/
|
2647 |
-
public $account = null;
|
2648 |
-
|
2649 |
-
}
|
2650 |
-
|
2651 |
-
/**
|
2652 |
-
* Ответ, который приходит на запрос FindAccountByAliasRequest.
|
2653 |
-
* В ответе содержится информация по счету.
|
2654 |
-
* Account searching by account alias response.
|
2655 |
-
* Response contains Account information.
|
2656 |
-
*
|
2657 |
-
*/
|
2658 |
-
class MonetaFindAccountByAliasResponse
|
2659 |
-
{
|
2660 |
-
|
2661 |
-
/**
|
2662 |
-
*
|
2663 |
-
*
|
2664 |
-
* @var MonetaAccountInfo
|
2665 |
-
*/
|
2666 |
-
public $account = null;
|
2667 |
-
|
2668 |
-
}
|
2669 |
-
|
2670 |
-
/**
|
2671 |
-
* Запрос на получение списка счетов по заданным условиям поиска.
|
2672 |
-
* Accounts searching by given filter.
|
2673 |
-
*
|
2674 |
-
*/
|
2675 |
-
class MonetaFindAccountsListRequest
|
2676 |
-
{
|
2677 |
-
|
2678 |
-
/**
|
2679 |
-
* Пользователь, которому принадлежат счета.
|
2680 |
-
* Если это поле не задано, то используется текущий пользователь.
|
2681 |
-
* Необязательное поле.
|
2682 |
-
* Structure element, where accounts belong to.
|
2683 |
-
* If omitted authenticated user's structure is used.
|
2684 |
-
* Optional.
|
2685 |
-
*
|
2686 |
-
*
|
2687 |
-
* @var long
|
2688 |
-
*/
|
2689 |
-
public $unitId = null;
|
2690 |
-
|
2691 |
-
/**
|
2692 |
-
* Название счета. Поиск происходит по прямому совпадению.
|
2693 |
-
* Для задания маски можно указать спец-символы "*" или "?".
|
2694 |
-
* Необязательное поле.
|
2695 |
-
* Alias of account. Wildcards "*" and "?" may be used.
|
2696 |
-
* Optional.
|
2697 |
-
*
|
2698 |
-
*
|
2699 |
-
* @var string
|
2700 |
-
*/
|
2701 |
-
public $alias = null;
|
2702 |
-
|
2703 |
-
/**
|
2704 |
-
* Валюта счета. Необязательное поле.
|
2705 |
-
* Currency of account. Optional.
|
2706 |
-
*
|
2707 |
-
*
|
2708 |
-
* @var string
|
2709 |
-
*/
|
2710 |
-
public $currency = null;
|
2711 |
-
|
2712 |
-
/**
|
2713 |
-
* Является ли счет делегированным. Необязательное поле.
|
2714 |
-
* - поле не указано - выбрать все счета
|
2715 |
-
* - false - выбрать только неделегированные счета
|
2716 |
-
* - true - выбрать только делегированные счета
|
2717 |
-
* The boolean flag indicating if account is deligated. Optional.
|
2718 |
-
* - select all accounts if omitted
|
2719 |
-
* - false - select only non-delegated (owned) accounts
|
2720 |
-
* - true - select only delegated accounts
|
2721 |
-
*
|
2722 |
-
*
|
2723 |
-
* @var boolean
|
2724 |
-
*/
|
2725 |
-
public $isDelegatedAccount = null;
|
2726 |
-
|
2727 |
-
}
|
2728 |
-
|
2729 |
-
/**
|
2730 |
-
* Ответ, который содержит список счетов.
|
2731 |
-
* Accounts searching response containing the list of accounts.
|
2732 |
-
*
|
2733 |
-
*/
|
2734 |
-
class MonetaFindAccountsListResponse
|
2735 |
-
{
|
2736 |
-
|
2737 |
-
/**
|
2738 |
-
*
|
2739 |
-
*
|
2740 |
-
* @var MonetaAccountInfo
|
2741 |
-
*/
|
2742 |
-
public $account = null;
|
2743 |
-
|
2744 |
-
/**
|
2745 |
-
*
|
2746 |
-
*
|
2747 |
-
* @param MonetaAccountInfo
|
2748 |
-
*
|
2749 |
-
* @return void
|
2750 |
-
*/
|
2751 |
-
public function addAccount(MonetaAccountInfo $item)
|
2752 |
-
{
|
2753 |
-
$this->account[] = $item;
|
2754 |
-
}
|
2755 |
-
|
2756 |
-
}
|
2757 |
-
|
2758 |
-
/**
|
2759 |
-
* Получить запрос для платежного пароля
|
2760 |
-
* Receive challenge for payment password
|
2761 |
-
*
|
2762 |
-
*/
|
2763 |
-
class MonetaGetAccountPaymentPasswordChallengeRequest
|
2764 |
-
{
|
2765 |
-
|
2766 |
-
/**
|
2767 |
-
* Номер счета
|
2768 |
-
* Account number
|
2769 |
-
*
|
2770 |
-
*
|
2771 |
-
* @var long
|
2772 |
-
*/
|
2773 |
-
public $accountId = null;
|
2774 |
-
|
2775 |
-
}
|
2776 |
-
|
2777 |
-
/**
|
2778 |
-
* Ответ содержит строку запроса для платежного пароля
|
2779 |
-
* Response contains of challenge string for payment password
|
2780 |
-
*
|
2781 |
-
*/
|
2782 |
-
class MonetaGetAccountPaymentPasswordChallengeResponse
|
2783 |
-
{
|
2784 |
-
|
2785 |
-
/**
|
2786 |
-
* Запрос для платежного пароля
|
2787 |
-
* Challenge of payment password
|
2788 |
-
*
|
2789 |
-
*
|
2790 |
-
* @var string
|
2791 |
-
*/
|
2792 |
-
public $paymentPasswordChallenge = null;
|
2793 |
-
|
2794 |
-
}
|
2795 |
-
|
2796 |
-
/**
|
2797 |
-
* Запрос на создание счета.
|
2798 |
-
* Счет создается для указанного пользователя или,
|
2799 |
-
* если это поле не указано, - для текущего пользователя.
|
2800 |
-
* Account creation request.
|
2801 |
-
* Account is created for given structure element (unitId)
|
2802 |
-
* or for authenticated user's structure if unitId is omitted.
|
2803 |
-
*
|
2804 |
-
*/
|
2805 |
-
class MonetaCreateAccountRequest
|
2806 |
-
{
|
2807 |
-
|
2808 |
-
/**
|
2809 |
-
* Валюта счета
|
2810 |
-
* Currency of account
|
2811 |
-
*
|
2812 |
-
*
|
2813 |
-
* @var string
|
2814 |
-
*/
|
2815 |
-
public $currency = null;
|
2816 |
-
|
2817 |
-
/**
|
2818 |
-
* Название счета.
|
2819 |
-
* Название счета должно быть уникальным среди счетов одного пользователя.
|
2820 |
-
* Необязательное поле.
|
2821 |
-
* Alias of account.
|
2822 |
-
* Must be unique among accounts of given user.
|
2823 |
-
* Optional.
|
2824 |
-
*
|
2825 |
-
*
|
2826 |
-
* @var string
|
2827 |
-
*/
|
2828 |
-
public $alias = null;
|
2829 |
-
|
2830 |
-
/**
|
2831 |
-
* Платежный пароль. Минимальная длина - 5 символов
|
2832 |
-
* Payment password. Minimum length is 5 symbols.
|
2833 |
-
*
|
2834 |
-
*
|
2835 |
-
* @var string
|
2836 |
-
*/
|
2837 |
-
public $paymentPassword = null;
|
2838 |
-
|
2839 |
-
/**
|
2840 |
-
* Пользователь, которому будет принадлежать данный счет.
|
2841 |
-
* Если это поле не задано, то счет создается для текущего пользователя.
|
2842 |
-
* Необязательное поле.
|
2843 |
-
* Structure element, where the account belongs to.
|
2844 |
-
* If omitted authenticated user's structure is used.
|
2845 |
-
* Optional.
|
2846 |
-
*
|
2847 |
-
*
|
2848 |
-
* @var long
|
2849 |
-
*/
|
2850 |
-
public $unitId = null;
|
2851 |
-
|
2852 |
-
/**
|
2853 |
-
* URL после списания средств. Необязательное поле.
|
2854 |
-
* URL on debiting. Optional.
|
2855 |
-
*
|
2856 |
-
*
|
2857 |
-
* @var string
|
2858 |
-
*/
|
2859 |
-
public $onSuccessfulDebitUrl = null;
|
2860 |
-
|
2861 |
-
/**
|
2862 |
-
* URL после зачисления средств. Необязательное поле.
|
2863 |
-
* URL on crediting. Optional.
|
2864 |
-
*
|
2865 |
-
*
|
2866 |
-
* @var string
|
2867 |
-
*/
|
2868 |
-
public $onSuccessfulCreditUrl = null;
|
2869 |
-
|
2870 |
-
/**
|
2871 |
-
* Код проверки целостности данных. Необязательное поле.
|
2872 |
-
* Mandatory payment form signature. Optional.
|
2873 |
-
*
|
2874 |
-
*
|
2875 |
-
* @var string
|
2876 |
-
*/
|
2877 |
-
public $signature = null;
|
2878 |
-
|
2879 |
-
/**
|
2880 |
-
* Если баланс счета меньше данного значения, то раз в сутки уходит уведомление об этом событии. Необязательное поле.
|
2881 |
-
* Daily notifications if balance is less than threshold. Optional.
|
2882 |
-
*
|
2883 |
-
*
|
2884 |
-
* @var decimal
|
2885 |
-
*/
|
2886 |
-
public $lowBalanceThreshold = null;
|
2887 |
-
|
2888 |
-
/**
|
2889 |
-
* Если баланс счета больше данного значения, то раз в сутки уходит уведомление об этом событии. Необязательное поле.
|
2890 |
-
* Daily notifications if balance is greater than threshold. Optional.
|
2891 |
-
*
|
2892 |
-
*
|
2893 |
-
* @var decimal
|
2894 |
-
*/
|
2895 |
-
public $highBalanceThreshold = null;
|
2896 |
-
|
2897 |
-
/**
|
2898 |
-
* Счет-прототип с которого берутся свойства "по умолчанию". Необязательное поле.
|
2899 |
-
* Prototype account for default properties values. Optional.
|
2900 |
-
*
|
2901 |
-
*
|
2902 |
-
* @var long
|
2903 |
-
*/
|
2904 |
-
public $prototypeAccountId = null;
|
2905 |
-
|
2906 |
-
/**
|
2907 |
-
* URL после отмены списания средств. Необязательное поле.
|
2908 |
-
* URL on cancelled debit. Optional.
|
2909 |
-
*
|
2910 |
-
*
|
2911 |
-
* @var string
|
2912 |
-
*/
|
2913 |
-
public $onCancelledDebitUrl = null;
|
2914 |
-
|
2915 |
-
/**
|
2916 |
-
* URL после отмены зачисления средств. Необязательное поле.
|
2917 |
-
* URL on cancelled credit. Optional.
|
2918 |
-
*
|
2919 |
-
*
|
2920 |
-
* @var string
|
2921 |
-
*/
|
2922 |
-
public $onCancelledCreditUrl = null;
|
2923 |
-
|
2924 |
-
}
|
2925 |
-
|
2926 |
-
/**
|
2927 |
-
* Запрос на редактирование счета.
|
2928 |
-
* У счета можно изменить свойства "псевдоним" и "платежный пароль".
|
2929 |
-
* Account modification request.
|
2930 |
-
* It's allowed to change alias and payment password for account.
|
2931 |
-
*
|
2932 |
-
*/
|
2933 |
-
class MonetaEditAccountRequest
|
2934 |
-
{
|
2935 |
-
|
2936 |
-
/**
|
2937 |
-
* Идентификатор редактируемого счета.
|
2938 |
-
* Modifying account's number.
|
2939 |
-
*
|
2940 |
-
*
|
2941 |
-
* @var long
|
2942 |
-
*/
|
2943 |
-
public $id = null;
|
2944 |
-
|
2945 |
-
/**
|
2946 |
-
* Новый псевдоним счета.
|
2947 |
-
* Псевдоним счета должен быть уникальным среди счетов пользователя.
|
2948 |
-
* Необязательное поле.
|
2949 |
-
* New alias of account.
|
2950 |
-
* Must be unique among accounts of given user.
|
2951 |
-
* Optional.
|
2952 |
-
*
|
2953 |
-
*
|
2954 |
-
* @var string
|
2955 |
-
*/
|
2956 |
-
public $alias = null;
|
2957 |
-
|
2958 |
-
/**
|
2959 |
-
* Новый платежный пароль. Для того чтобы изменить платежный
|
2960 |
-
* пароль, необходимо указать предыдущий платежный пароль. Необязательное поле.
|
2961 |
-
* New payment password for account.
|
2962 |
-
* oldPaymentPassword is required to set new payment password.
|
2963 |
-
* Optional.
|
2964 |
-
*
|
2965 |
-
*
|
2966 |
-
* @var string
|
2967 |
-
*/
|
2968 |
-
public $paymentPassword = null;
|
2969 |
-
|
2970 |
-
/**
|
2971 |
-
* Текущий платежный пароль. Для того чтобы изменить платежный
|
2972 |
-
* пароль на новый, необходимо указать текущий платежный пароль. Необязательное поле.
|
2973 |
-
* Current payment password.
|
2974 |
-
* Used for authorization of changing payment password to new value.
|
2975 |
-
* Required only if newPaymentPassword is specified.
|
2976 |
-
* Optional.
|
2977 |
-
*
|
2978 |
-
*
|
2979 |
-
* @var string
|
2980 |
-
*/
|
2981 |
-
public $oldPaymentPassword = null;
|
2982 |
-
|
2983 |
-
/**
|
2984 |
-
* URL после списания средств. Необязательное поле.
|
2985 |
-
* URL on debiting. Optional.
|
2986 |
-
*
|
2987 |
-
*
|
2988 |
-
* @var string
|
2989 |
-
*/
|
2990 |
-
public $onSuccessfulDebitUrl = null;
|
2991 |
-
|
2992 |
-
/**
|
2993 |
-
* URL после зачисления средств. Необязательное поле.
|
2994 |
-
* URL on crediting. Optional.
|
2995 |
-
*
|
2996 |
-
*
|
2997 |
-
* @var string
|
2998 |
-
*/
|
2999 |
-
public $onSuccessfulCreditUrl = null;
|
3000 |
-
|
3001 |
-
/**
|
3002 |
-
* Код проверки целостности данных. Необязательное поле.
|
3003 |
-
* Mandatory payment form signature. Optional.
|
3004 |
-
*
|
3005 |
-
*
|
3006 |
-
* @var string
|
3007 |
-
*/
|
3008 |
-
public $signature = null;
|
3009 |
-
|
3010 |
-
/**
|
3011 |
-
* Если баланс счета меньше данного значения, то раз в сутки уходит уведомление об этом событии. Необязательное поле.
|
3012 |
-
* Daily notifications if balance is less than threshold. Optional.
|
3013 |
-
*
|
3014 |
-
*
|
3015 |
-
* @var decimal
|
3016 |
-
*/
|
3017 |
-
public $lowBalanceThreshold = null;
|
3018 |
-
|
3019 |
-
/**
|
3020 |
-
* Если баланс счета больше данного значения, то раз в сутки уходит уведомление об этом событии. Необязательное поле.
|
3021 |
-
* Daily notifications if balance is greater than threshold. Optional.
|
3022 |
-
*
|
3023 |
-
*
|
3024 |
-
* @var decimal
|
3025 |
-
*/
|
3026 |
-
public $highBalanceThreshold = null;
|
3027 |
-
|
3028 |
-
/**
|
3029 |
-
* Счет-прототип с которого берутся свойства "по умолчанию". Необязательное поле.
|
3030 |
-
* Prototype account for default properties values. Optional.
|
3031 |
-
*
|
3032 |
-
*
|
3033 |
-
* @var long
|
3034 |
-
*/
|
3035 |
-
public $prototypeAccountId = null;
|
3036 |
-
|
3037 |
-
/**
|
3038 |
-
* Запрос для платежного пароля
|
3039 |
-
* Payment password challenge
|
3040 |
-
*
|
3041 |
-
*
|
3042 |
-
* @var string
|
3043 |
-
*/
|
3044 |
-
public $oldPaymentPasswordChallenge = null;
|
3045 |
-
|
3046 |
-
/**
|
3047 |
-
* URL после отмены списания средств. Необязательное поле.
|
3048 |
-
* URL on cancelled debit. Optional.
|
3049 |
-
*
|
3050 |
-
*
|
3051 |
-
* @var string
|
3052 |
-
*/
|
3053 |
-
public $onCancelledDebitUrl = null;
|
3054 |
-
|
3055 |
-
/**
|
3056 |
-
* URL после отмены зачисления средств. Необязательное поле.
|
3057 |
-
* URL on cancelled credit. Optional.
|
3058 |
-
*
|
3059 |
-
*
|
3060 |
-
* @var string
|
3061 |
-
*/
|
3062 |
-
public $onCancelledCreditUrl = null;
|
3063 |
-
|
3064 |
-
}
|
3065 |
-
|
3066 |
-
/**
|
3067 |
-
* Ответ, который приходит на запрос EditAccountRequest.
|
3068 |
-
* В ответе нет никаких данных.
|
3069 |
-
* Если в процессе сохранения счета произошла ошибка, то возникнет Exception.
|
3070 |
-
* Если Exception не возник - значит счет гарантированно сохранен.
|
3071 |
-
* Account modification response.
|
3072 |
-
* Response contains no data unless some error has occured while modification.
|
3073 |
-
* If reponse has no Exception then account is modified successfully.
|
3074 |
-
*
|
3075 |
-
*/
|
3076 |
-
class MonetaEditAccountResponse
|
3077 |
-
{
|
3078 |
-
|
3079 |
-
}
|
3080 |
-
|
3081 |
-
/**
|
3082 |
-
* Ответ на запрос получения информации по операции.
|
3083 |
-
* Transaction information response.
|
3084 |
-
*
|
3085 |
-
*/
|
3086 |
-
class MonetaGetOperationDetailsByIdResponse
|
3087 |
-
{
|
3088 |
-
|
3089 |
-
/**
|
3090 |
-
*
|
3091 |
-
*
|
3092 |
-
* @var MonetaOperationInfo
|
3093 |
-
*/
|
3094 |
-
public $operation = null;
|
3095 |
-
|
3096 |
-
}
|
3097 |
-
|
3098 |
-
/**
|
3099 |
-
* Запрос на получение данных по внешнему номеру операции
|
3100 |
-
* (номеру не в системе МОНЕТА.РУ).
|
3101 |
-
* По внешнему номеру операции может быть найдено несколько операций
|
3102 |
-
* в системе МОНЕТА.РУ. Поэтому операции возвращаются списком,
|
3103 |
-
* разбитым на страницы. Размером страницы можно управлять через
|
3104 |
-
* поле pager.
|
3105 |
-
* Если данные не найдены, то size в ответе равен 0.
|
3106 |
-
* Transaction searching by external transaction ID.
|
3107 |
-
* As a result more than one transaction may be found.
|
3108 |
-
* Transaction list is paged.
|
3109 |
-
* Response element "size" is 0 if no data found.
|
3110 |
-
*
|
3111 |
-
*/
|
3112 |
-
class MonetaFindOperationsListByCTIDRequest
|
3113 |
-
{
|
3114 |
-
|
3115 |
-
/**
|
3116 |
-
* Настройки страницы данных.
|
3117 |
-
* Необязательное поле.
|
3118 |
-
* Long list retrieval settings.
|
3119 |
-
* Optional.
|
3120 |
-
*
|
3121 |
-
*
|
3122 |
-
* @var MonetaPager
|
3123 |
-
*/
|
3124 |
-
public $pager = null;
|
3125 |
-
|
3126 |
-
/**
|
3127 |
-
* Номер счета в системе МОНЕТА.РУ
|
3128 |
-
* Account number in MONETA.RU
|
3129 |
-
*
|
3130 |
-
*
|
3131 |
-
* @var long
|
3132 |
-
*/
|
3133 |
-
public $accountId = null;
|
3134 |
-
|
3135 |
-
/**
|
3136 |
-
* Внешний номер операции
|
3137 |
-
* External transaction ID
|
3138 |
-
*
|
3139 |
-
*
|
3140 |
-
* @var string
|
3141 |
-
*/
|
3142 |
-
public $clientTransaction = null;
|
3143 |
-
|
3144 |
-
}
|
3145 |
-
|
3146 |
-
/**
|
3147 |
-
* Ответ на запрос FindOperationsListByCTIDRequest.
|
3148 |
-
* В результате возвращается список операций, разбитый по страницам.
|
3149 |
-
* Transaction searching by external transaction ID response.
|
3150 |
-
* Result contains paged transaction list.
|
3151 |
-
*
|
3152 |
-
*/
|
3153 |
-
class MonetaFindOperationsListByCTIDResponse extends MonetaOperationInfoList
|
3154 |
-
{
|
3155 |
-
|
3156 |
-
}
|
3157 |
-
|
3158 |
-
/**
|
3159 |
-
* Фильтр, по которому ищем операции.
|
3160 |
-
* Transactions filter.
|
3161 |
-
*
|
3162 |
-
*/
|
3163 |
-
class MonetaFindOperationsListRequestFilter
|
3164 |
-
{
|
3165 |
-
|
3166 |
-
/**
|
3167 |
-
* ID пользователя в системе МОНЕТА.РУ
|
3168 |
-
* Structure identificator in MONETA.RU
|
3169 |
-
*
|
3170 |
-
*
|
3171 |
-
* @var long
|
3172 |
-
*/
|
3173 |
-
public $unitId = null;
|
3174 |
-
|
3175 |
-
/**
|
3176 |
-
* Номер счета
|
3177 |
-
* Account number
|
3178 |
-
*
|
3179 |
-
*
|
3180 |
-
* @var long
|
3181 |
-
*/
|
3182 |
-
public $accountId = null;
|
3183 |
-
|
3184 |
-
/**
|
3185 |
-
* Дата начала периода
|
3186 |
-
* Period's start
|
3187 |
-
*
|
3188 |
-
*
|
3189 |
-
* @var dateTime
|
3190 |
-
*/
|
3191 |
-
public $dateFrom = null;
|
3192 |
-
|
3193 |
-
/**
|
3194 |
-
* Дата конца периода
|
3195 |
-
* Period's end
|
3196 |
-
*
|
3197 |
-
*
|
3198 |
-
* @var dateTime
|
3199 |
-
*/
|
3200 |
-
public $dateTo = null;
|
3201 |
-
|
3202 |
-
/**
|
3203 |
-
* Номер операции в системе МОНЕТА.РУ
|
3204 |
-
* Transaction ID in MONETA.RU
|
3205 |
-
*
|
3206 |
-
*
|
3207 |
-
* @var long
|
3208 |
-
*/
|
3209 |
-
public $operationId = null;
|
3210 |
-
|
3211 |
-
/**
|
3212 |
-
* Сумма от... Ищутся все операции, которые проходили
|
3213 |
-
* на большую или равную сумму. Если указано это поле, то обязательно надо
|
3214 |
-
* заполнить Currency
|
3215 |
-
* Minimal transaction amount.
|
3216 |
-
* If specified currencyCode filter parameter is required.
|
3217 |
-
*
|
3218 |
-
*
|
3219 |
-
* @var decimal
|
3220 |
-
*/
|
3221 |
-
public $amountFrom = null;
|
3222 |
-
|
3223 |
-
/**
|
3224 |
-
* Сумма до... Ищутся все операции, которые проходили
|
3225 |
-
* на меньшую или равную сумму. Если указано это поле, то обязательно надо
|
3226 |
-
* заполнить Currency
|
3227 |
-
* Maximal transaction amount.
|
3228 |
-
* If specified currencyCode filter parameter is required.
|
3229 |
-
*
|
3230 |
-
*
|
3231 |
-
* @var decimal
|
3232 |
-
*/
|
3233 |
-
public $amountTo = null;
|
3234 |
-
|
3235 |
-
/**
|
3236 |
-
* Валюта, по которой проходили операции
|
3237 |
-
* Currency of transaction account.
|
3238 |
-
*
|
3239 |
-
*
|
3240 |
-
* @var string
|
3241 |
-
*/
|
3242 |
-
public $currencyCode = null;
|
3243 |
-
|
3244 |
-
/**
|
3245 |
-
* Корреспонденский номер счета в системе МОНЕТА.РУ
|
3246 |
-
* Correspondent account number in MONETA.RU
|
3247 |
-
*
|
3248 |
-
*
|
3249 |
-
* @var long
|
3250 |
-
*/
|
3251 |
-
public $targetAccountId = null;
|
3252 |
-
|
3253 |
-
/**
|
3254 |
-
* Статус операции
|
3255 |
-
* Transaction status
|
3256 |
-
*
|
3257 |
-
*
|
3258 |
-
* @var string
|
3259 |
-
*/
|
3260 |
-
public $operationStatus = null;
|
3261 |
-
|
3262 |
-
/**
|
3263 |
-
* Внешний номер операции
|
3264 |
-
* External transaction ID
|
3265 |
-
*
|
3266 |
-
*
|
3267 |
-
* @var string
|
3268 |
-
*/
|
3269 |
-
public $clientTransaction = null;
|
3270 |
-
|
3271 |
-
/**
|
3272 |
-
* 1 - все операции;
|
3273 |
-
* 2 - операции, где деньги были получены (сумма > 0);
|
3274 |
-
* 3 - операции, где деньги были потрачены (сумма < 0).
|
3275 |
-
* 1 - all transactions;
|
3276 |
-
* 2 - credit transactions;
|
3277 |
-
* 3 - debit transactions.
|
3278 |
-
*
|
3279 |
-
*
|
3280 |
-
* @var int
|
3281 |
-
*/
|
3282 |
-
public $operationAmountTypeId = null;
|
3283 |
-
|
3284 |
-
/**
|
3285 |
-
* Название свойства операции. Может принимать следующие значения:
|
3286 |
-
* YANDEXACCOUNT - счет в системе Яндекс.Деньги;
|
3287 |
-
* WEBMONEYWMID - WebMoney WMID;
|
3288 |
-
* WEBMONEYPURSE - WebMoney кошелек;
|
3289 |
-
* CONTACTTRANSFERORDERNUMBER - Номер перевода в системе Contact;
|
3290 |
-
* WIRETRANSFERORDERNUMBER - Номер платежного поручения в банковском переводе;
|
3291 |
-
* Значение свойства указывается в поле propertyValue.
|
3292 |
-
* The transaction property name may take following values:
|
3293 |
-
* YANDEXACCOUNT - user's account number in Yandex.Money;
|
3294 |
-
* WEBMONEYWMID - user's WMID in WebMoney;
|
3295 |
-
* WEBMONEYPURSE - user's purse number in WebMoney;
|
3296 |
-
* CONTACTTRANSFERORDERNUMBER - transfer idenitification number in Contact;
|
3297 |
-
* WIRETRANSFERORDERNUMBER - bank transfer identification number.
|
3298 |
-
* The value of property has to be specified in "propertyValue" element.
|
3299 |
-
*
|
3300 |
-
*
|
3301 |
-
* @var string
|
3302 |
-
*/
|
3303 |
-
public $propertyName = null;
|
3304 |
-
|
3305 |
-
/**
|
3306 |
-
* Значение свойства операции.
|
3307 |
-
* Поиск происходит по прямому совпадению. Для задания маски
|
3308 |
-
* можно указать спец-символы - "*" или "?".
|
3309 |
-
* Transaction property value.
|
3310 |
-
* Wildcards "*" and "?" may be used.
|
3311 |
-
*
|
3312 |
-
*
|
3313 |
-
* @var string
|
3314 |
-
*/
|
3315 |
-
public $propertyValue = null;
|
3316 |
-
|
3317 |
-
/**
|
3318 |
-
* 1 - Ввод средств;
|
3319 |
-
* 2 - Вывод средств;
|
3320 |
-
* 3 - Внутренний перевод;
|
3321 |
-
* 4 - Товары и услуги.
|
3322 |
-
* 1 - Deposit;
|
3323 |
-
* 2 - Withdrawal;
|
3324 |
-
* 3 - Transfer;
|
3325 |
-
* 4 - Goods and services.
|
3326 |
-
*
|
3327 |
-
*
|
3328 |
-
* @var long
|
3329 |
-
*/
|
3330 |
-
public $operationCategoryId = null;
|
3331 |
-
|
3332 |
-
}
|
3333 |
-
|
3334 |
-
/**
|
3335 |
-
* Запрос на получение списка операций по заданному фильтру.
|
3336 |
-
* Обязательными в фильтре являются только поля с датами периода.
|
3337 |
-
* Все остальные поля в фильтре необязательные.
|
3338 |
-
* Если данные не найдены, то size в ответе равен 0.
|
3339 |
-
* Transaction searching by given filter.
|
3340 |
-
* Filter requires date period values to be set.
|
3341 |
-
* Other parameters are optional.
|
3342 |
-
* Response element "size" is 0 if no data found.
|
3343 |
-
*
|
3344 |
-
*/
|
3345 |
-
class MonetaFindOperationsListRequest
|
3346 |
-
{
|
3347 |
-
|
3348 |
-
/**
|
3349 |
-
* Настройки страницы данных. Необязательное поле.
|
3350 |
-
* Paging settings. Optional.
|
3351 |
-
*
|
3352 |
-
*
|
3353 |
-
* @var MonetaPager
|
3354 |
-
*/
|
3355 |
-
public $pager = null;
|
3356 |
-
|
3357 |
-
/**
|
3358 |
-
* Фильтр, по которому ищем операции.
|
3359 |
-
* Transactions filter.
|
3360 |
-
*
|
3361 |
-
*
|
3362 |
-
* @var MonetaFindOperationsListRequestFilter
|
3363 |
-
*/
|
3364 |
-
public $filter = null;
|
3365 |
-
|
3366 |
-
}
|
3367 |
-
|
3368 |
-
/**
|
3369 |
-
* Ответ на запрос FindOperationsListRequest.
|
3370 |
-
* В результате возвращается список операций, разбитый по страницам.
|
3371 |
-
* Transaction searching response.
|
3372 |
-
* Result contains paged transactions list.
|
3373 |
-
*
|
3374 |
-
*/
|
3375 |
-
class MonetaFindOperationsListResponse extends MonetaOperationInfoList
|
3376 |
-
{
|
3377 |
-
|
3378 |
-
}
|
3379 |
-
|
3380 |
-
/**
|
3381 |
-
* Запрос на получение списка последних операций.
|
3382 |
-
* Если данные не найдены, то size в ответе равен 0.
|
3383 |
-
* Last transactions searching.
|
3384 |
-
* Response element "size" is 0 if no data found.
|
3385 |
-
*
|
3386 |
-
*/
|
3387 |
-
class MonetaFindLastOperationsListRequest
|
3388 |
-
{
|
3389 |
-
|
3390 |
-
/**
|
3391 |
-
* ID пользователя в системе МОНЕТА.РУ.
|
3392 |
-
* Если это поле не задано, то используется текущий пользователь.
|
3393 |
-
* Необязательное поле.
|
3394 |
-
* Structure identificator in MONETA.RU.
|
3395 |
-
* If omitted authenticated user's structure is used.
|
3396 |
-
* Optional.
|
3397 |
-
*
|
3398 |
-
*
|
3399 |
-
* @var long
|
3400 |
-
*/
|
3401 |
-
public $unitId = null;
|
3402 |
-
|
3403 |
-
/**
|
3404 |
-
* Количество операций. Необязательное поле.
|
3405 |
-
* Transactions quantity. Optional.
|
3406 |
-
*
|
3407 |
-
*
|
3408 |
-
* @var int
|
3409 |
-
*/
|
3410 |
-
public $transactionsQuantity = null;
|
3411 |
-
|
3412 |
-
}
|
3413 |
-
|
3414 |
-
/**
|
3415 |
-
* Ответ на запрос FindLastOperationsListRequest.
|
3416 |
-
* В результате возвращается список последних операций.
|
3417 |
-
* Transaction searching response.
|
3418 |
-
* Result contains last transactions list.
|
3419 |
-
*
|
3420 |
-
*/
|
3421 |
-
class MonetaFindLastOperationsListResponse extends MonetaOperationInfoList
|
3422 |
-
{
|
3423 |
-
|
3424 |
-
}
|
3425 |
-
|
3426 |
-
/**
|
3427 |
-
* Ответ на запрос FindProfileInfoByAccountIdRequest.
|
3428 |
-
* Profile information by account number searching response.
|
3429 |
-
*
|
3430 |
-
*/
|
3431 |
-
class MonetaFindProfileInfoByAccountIdResponse
|
3432 |
-
{
|
3433 |
-
|
3434 |
-
/**
|
3435 |
-
* Номер счета пользователя в системе МОНЕТА.РУ
|
3436 |
-
* Account number in MONETA.RU
|
3437 |
-
*
|
3438 |
-
*
|
3439 |
-
* @var long
|
3440 |
-
*/
|
3441 |
-
public $accountId = null;
|
3442 |
-
|
3443 |
-
/**
|
3444 |
-
* Валюта счета
|
3445 |
-
* Currency of account
|
3446 |
-
*
|
3447 |
-
*
|
3448 |
-
* @var string
|
3449 |
-
*/
|
3450 |
-
public $currency = null;
|
3451 |
-
|
3452 |
-
/**
|
3453 |
-
* Данные пользователя в системе МОНЕТА.РУ
|
3454 |
-
* User profile information in MONETA.RU
|
3455 |
-
*
|
3456 |
-
*
|
3457 |
-
* @var MonetaProfile
|
3458 |
-
*/
|
3459 |
-
public $profile = null;
|
3460 |
-
|
3461 |
-
}
|
3462 |
-
|
3463 |
-
/**
|
3464 |
-
* Запрос на создание пользователя в системе МОНЕТА.РУ.
|
3465 |
-
* New user registration request.
|
3466 |
-
*
|
3467 |
-
*/
|
3468 |
-
class MonetaCreateProfileRequest
|
3469 |
-
{
|
3470 |
-
|
3471 |
-
/**
|
3472 |
-
* ID родительского пользователя в системе МОНЕТА.РУ, к которому будет принадлежать
|
3473 |
-
* создаваемый пользователь. Необязательное поле. Если поле не задано,
|
3474 |
-
* то пользователь будет принадлежать тому пользователю, от имени
|
3475 |
-
* которого работает web service.
|
3476 |
-
* Structure ID in MONETA.RU.
|
3477 |
-
* If ommited then authenticated user's structure ID is used.
|
3478 |
-
* Optional.
|
3479 |
-
*
|
3480 |
-
*
|
3481 |
-
* @var long
|
3482 |
-
*/
|
3483 |
-
public $unitId = null;
|
3484 |
-
|
3485 |
-
/**
|
3486 |
-
* Тип пользователя - "client" или "organization"
|
3487 |
-
* Profile type. See also ProfileType description.
|
3488 |
-
*
|
3489 |
-
*
|
3490 |
-
* @var string
|
3491 |
-
*/
|
3492 |
-
public $profileType = null;
|
3493 |
-
|
3494 |
-
/**
|
3495 |
-
* Данные создаваемого пользователя. Данные представлены в виде "ключ-значение".
|
3496 |
-
* Ключи данных зависят от типа пользователя (ProfileType)
|
3497 |
-
* User profile information in key-value pairs list.
|
3498 |
-
* Supported keys depend on ProfileType.
|
3499 |
-
*
|
3500 |
-
*
|
3501 |
-
* @var MonetaProfile
|
3502 |
-
*/
|
3503 |
-
public $profile = null;
|
3504 |
-
|
3505 |
-
}
|
3506 |
-
|
3507 |
-
/**
|
3508 |
-
* Запрос на редактирование данных пользователя в системе МОНЕТА.РУ.
|
3509 |
-
* Profile information modification request.
|
3510 |
-
*
|
3511 |
-
*/
|
3512 |
-
class MonetaEditProfileRequest
|
3513 |
-
{
|
3514 |
-
|
3515 |
-
/**
|
3516 |
-
* ID пользователя в системе МОНЕТА.РУ, данные которого надо отредактировать.
|
3517 |
-
* Structure ID of profile for modification.
|
3518 |
-
*
|
3519 |
-
*
|
3520 |
-
* @var long
|
3521 |
-
*/
|
3522 |
-
public $unitId = null;
|
3523 |
-
|
3524 |
-
/**
|
3525 |
-
* Данные редактируемого пользователя. Данные представлены в виде "ключ-значение".
|
3526 |
-
* Ключи данных зависят от типа редактируемого пользователя (client или organization)
|
3527 |
-
* User profile information in key-value pairs list.
|
3528 |
-
* Supported keys depend on ProfileType.
|
3529 |
-
*
|
3530 |
-
*
|
3531 |
-
* @var MonetaProfile
|
3532 |
-
*/
|
3533 |
-
public $profile = null;
|
3534 |
-
|
3535 |
-
}
|
3536 |
-
|
3537 |
-
/**
|
3538 |
-
* Ответ, который приходит на запрос EditProfileRequest.
|
3539 |
-
* В ответе нет никаких данных.
|
3540 |
-
* Если в процессе сохранения пользователя произошла ошибка, то возникнет Exception.
|
3541 |
-
* Если Exception не возник - значит пользователь гарантированно сохранен.
|
3542 |
-
* Profile modification response.
|
3543 |
-
* Response contains no data unless error has occured while saving information
|
3544 |
-
* and Exception returned as a result.
|
3545 |
-
*
|
3546 |
-
*/
|
3547 |
-
class MonetaEditProfileResponse
|
3548 |
-
{
|
3549 |
-
|
3550 |
-
}
|
3551 |
-
|
3552 |
-
/**
|
3553 |
-
* Запрос на получение данных пользователя по ID пользователя.
|
3554 |
-
* Если данные не найдены, возникает Exception.
|
3555 |
-
* Request for profile information by structure ID.
|
3556 |
-
* Exception is thrown if no data found.
|
3557 |
-
*
|
3558 |
-
*/
|
3559 |
-
class MonetaGetProfileInfoRequest
|
3560 |
-
{
|
3561 |
-
|
3562 |
-
/**
|
3563 |
-
* ID пользователя в системе МОНЕТА.РУ.
|
3564 |
-
* Если это поле не задано, то используется текущий пользователь.
|
3565 |
-
* Необязательное поле.
|
3566 |
-
* Structure ID.
|
3567 |
-
* If omitted authenticated user's structure is used.
|
3568 |
-
* Optional.
|
3569 |
-
*
|
3570 |
-
*
|
3571 |
-
* @var long
|
3572 |
-
*/
|
3573 |
-
public $unitId = null;
|
3574 |
-
|
3575 |
-
}
|
3576 |
-
|
3577 |
-
/**
|
3578 |
-
* Ответ на запрос GetProfileInfoRequest.
|
3579 |
-
* Profile information by structure ID searching response.
|
3580 |
-
*
|
3581 |
-
*/
|
3582 |
-
class MonetaGetProfileInfoResponse extends MonetaProfile
|
3583 |
-
{
|
3584 |
-
|
3585 |
-
}
|
3586 |
-
|
3587 |
-
/**
|
3588 |
-
* Фильтр, по которому ищем данные
|
3589 |
-
* Searching filter
|
3590 |
-
*
|
3591 |
-
*/
|
3592 |
-
class MonetaFindProfileInfoRequestFilter
|
3593 |
-
{
|
3594 |
-
|
3595 |
-
/**
|
3596 |
-
* ID пользователя в системе МОНЕТА.РУ. Необязательное поле. ID пользователя "от которого"
|
3597 |
-
* начинается поиск. Если это поле не задано, то ищем пользователей, начиная
|
3598 |
-
* от идентифицированного пользователя.
|
3599 |
-
* Structure ID of root where searching starts from.
|
3600 |
-
* If ommited then authenticated user's structure ID is used.
|
3601 |
-
* Optional.
|
3602 |
-
*
|
3603 |
-
*
|
3604 |
-
* @var long
|
3605 |
-
*/
|
3606 |
-
public $unitId = null;
|
3607 |
-
|
3608 |
-
/**
|
3609 |
-
* Имя, по которому происходит поиск. Необязательное поле. Если поле задано,
|
3610 |
-
* то оно должно быть не меньше 2-х символов.
|
3611 |
-
* Поиск происходит по прямому совпадению. Для задания маски
|
3612 |
-
* можно указать спец-символы - "*" или "?".
|
3613 |
-
* Для пользователей с типом "organization" поиск происходит по
|
3614 |
-
* полю "organization_name". Для пользователей с типом "client" -
|
3615 |
-
* по общему полю "last_name first_name middle_initial_name".
|
3616 |
-
* То есть, если нужно найти пользователя "Иванов Андрей Сергеевич",
|
3617 |
-
* то следует ввести имя для поиска именно так. Если нужно найти всех
|
3618 |
-
* пользователей с фамилией "Иванов", то запрос должен быть "Иванов*".
|
3619 |
-
* Если нужно найти всех пользователей с именем "Андрей", то запрос
|
3620 |
-
* должен быть "*Андрей*".
|
3621 |
-
* Name to search for. Optional.
|
3622 |
-
* If specified must be not shorter than 2 symbols.
|
3623 |
-
* Wildcards "*" and "?" may be used.
|
3624 |
-
* For "organization" profiles "organization_name" is matched.
|
3625 |
-
* For "client" profiles "last_name first_name middle_initial_name" is matched.
|
3626 |
-
*
|
3627 |
-
*
|
3628 |
-
* @var string
|
3629 |
-
*/
|
3630 |
-
public $name = null;
|
3631 |
-
|
3632 |
-
/**
|
3633 |
-
* Email, по которому происходит поиск. Необязательное поле. Если поле задано,
|
3634 |
-
* то оно должно быть не меньше 2-х символов.
|
3635 |
-
* Поиск происходит по прямому совпадению. Для задания маски
|
3636 |
-
* можно указать спец-символы - "*" или "?".
|
3637 |
-
* Email to search for. Optional.
|
3638 |
-
* If specified must be not shorted than 2 symbols.
|
3639 |
-
* Wildcards "*" and "?" may be used.
|
3640 |
-
*
|
3641 |
-
*
|
3642 |
-
* @var string
|
3643 |
-
*/
|
3644 |
-
public $email = null;
|
3645 |
-
|
3646 |
-
/**
|
3647 |
-
* Возвращаются пользователи у которых есть счета с балансом
|
3648 |
-
* большим или равным указанному значению.
|
3649 |
-
* Необязательное поле.
|
3650 |
-
* Only profiles with greater or equal account's balance are returned.
|
3651 |
-
* Optional.
|
3652 |
-
*
|
3653 |
-
*
|
3654 |
-
* @var decimal
|
3655 |
-
*/
|
3656 |
-
public $accountBalanceFrom = null;
|
3657 |
-
|
3658 |
-
/**
|
3659 |
-
* Возвращаются пользователи у которых есть счета с балансом
|
3660 |
-
* меньшим или равным указанному значению.
|
3661 |
-
* Необязательное поле.
|
3662 |
-
* Only profiles with less or equal account's balance are returned.
|
3663 |
-
* Optional.
|
3664 |
-
*
|
3665 |
-
*
|
3666 |
-
* @var decimal
|
3667 |
-
*/
|
3668 |
-
public $accountBalanceTo = null;
|
3669 |
-
|
3670 |
-
/**
|
3671 |
-
* При указании границ баланса в поиске можно уточнить валюту счета.
|
3672 |
-
* Необязательное поле.
|
3673 |
-
* If balance limits are specified only accounts with given currency will be analysed.
|
3674 |
-
* Optional.
|
3675 |
-
*
|
3676 |
-
*
|
3677 |
-
* @var string
|
3678 |
-
*/
|
3679 |
-
public $accountCurrencyCode = null;
|
3680 |
-
|
3681 |
-
}
|
3682 |
-
|
3683 |
-
/**
|
3684 |
-
* Поиск пользователя в системе МОНЕТА.РУ по заданному фильтру.
|
3685 |
-
* В результате возвратится список пользователей, разбитый на страницы
|
3686 |
-
* Profile searching by filter parameters.
|
3687 |
-
* Result contains paged profile list.
|
3688 |
-
*
|
3689 |
-
*/
|
3690 |
-
class MonetaFindProfileInfoRequest
|
3691 |
-
{
|
3692 |
-
|
3693 |
-
/**
|
3694 |
-
* Настройки страницы данных. Необязательное поле.
|
3695 |
-
* Paging settings. Optional.
|
3696 |
-
*
|
3697 |
-
*
|
3698 |
-
* @var MonetaPager
|
3699 |
-
*/
|
3700 |
-
public $pager = null;
|
3701 |
-
|
3702 |
-
/**
|
3703 |
-
* Фильтр, по которому ищем данные
|
3704 |
-
* Searching filter
|
3705 |
-
*
|
3706 |
-
*
|
3707 |
-
* @var MonetaFindProfileInfoRequestFilter
|
3708 |
-
*/
|
3709 |
-
public $filter = null;
|
3710 |
-
|
3711 |
-
}
|
3712 |
-
|
3713 |
-
/**
|
3714 |
-
* Ответ, который приходит на запрос FindProfileInfoRequest.
|
3715 |
-
* Данные в ответе разбиты по страницам.
|
3716 |
-
* Если данные не найдены, то size в ответе равен 0.
|
3717 |
-
* Profile searching response.
|
3718 |
-
* Result is paged.
|
3719 |
-
* Response element "size" is 0 if no data found.
|
3720 |
-
*
|
3721 |
-
*/
|
3722 |
-
class MonetaFindProfileInfoResponse
|
3723 |
-
{
|
3724 |
-
|
3725 |
-
/**
|
3726 |
-
* Количество пользователей, возвращаемых в результате запроса.
|
3727 |
-
* Profiles per page.
|
3728 |
-
*
|
3729 |
-
*
|
3730 |
-
* @var long
|
3731 |
-
*/
|
3732 |
-
public $pageSize = null;
|
3733 |
-
|
3734 |
-
/**
|
3735 |
-
* Номер текущей страницы. Нумерация начинается с 1
|
3736 |
-
* Current page number starting from 1.
|
3737 |
-
*
|
3738 |
-
*
|
3739 |
-
* @var long
|
3740 |
-
*/
|
3741 |
-
public $pageNumber = null;
|
3742 |
-
|
3743 |
-
/**
|
3744 |
-
* Сколько всего страниц с пользователями возможно по данному
|
3745 |
-
* запросу
|
3746 |
-
* Total count of pages.
|
3747 |
-
*
|
3748 |
-
*
|
3749 |
-
* @var long
|
3750 |
-
*/
|
3751 |
-
public $pagesCount = null;
|
3752 |
-
|
3753 |
-
/**
|
3754 |
-
* Размер текущей страницы. Он всегда <= pageSize. На последней
|
3755 |
-
* странице может быть < pageSize
|
3756 |
-
* Profiles count in current page.
|
3757 |
-
*
|
3758 |
-
*
|
3759 |
-
* @var long
|
3760 |
-
*/
|
3761 |
-
public $size = null;
|
3762 |
-
|
3763 |
-
/**
|
3764 |
-
* Общее количество пользователей, которое можно получить в данной
|
3765 |
-
* выборке
|
3766 |
-
* Total profiles count matched by searching filter.
|
3767 |
-
*
|
3768 |
-
*
|
3769 |
-
* @var long
|
3770 |
-
*/
|
3771 |
-
public $totalSize = null;
|
3772 |
-
|
3773 |
-
/**
|
3774 |
-
* Список пользователей
|
3775 |
-
* Profile list
|
3776 |
-
*
|
3777 |
-
*
|
3778 |
-
* @var MonetaProfile
|
3779 |
-
*/
|
3780 |
-
public $profile = null;
|
3781 |
-
|
3782 |
-
/**
|
3783 |
-
* Список пользователей
|
3784 |
-
* Profile list
|
3785 |
-
*
|
3786 |
-
*
|
3787 |
-
* @param MonetaProfile
|
3788 |
-
*
|
3789 |
-
* @return void
|
3790 |
-
*/
|
3791 |
-
public function addProfile(MonetaProfile $item)
|
3792 |
-
{
|
3793 |
-
$this->profile[] = $item;
|
3794 |
-
}
|
3795 |
-
|
3796 |
-
}
|
3797 |
-
|
3798 |
-
/**
|
3799 |
-
* Запрос на получение бинарных данных, ассоциированных с указанным документом.
|
3800 |
-
* Request for binary data associated with given document.
|
3801 |
-
*
|
3802 |
-
*/
|
3803 |
-
class MonetaFindProfileDocumentFilesRequest
|
3804 |
-
{
|
3805 |
-
|
3806 |
-
/**
|
3807 |
-
*
|
3808 |
-
*
|
3809 |
-
* @var long
|
3810 |
-
*/
|
3811 |
-
public $documentId = null;
|
3812 |
-
|
3813 |
-
}
|
3814 |
-
|
3815 |
-
/**
|
3816 |
-
* Ответ, содержащий бинарные данные, ассоциированные с указанным в запросе документом.
|
3817 |
-
* Response containing binary data associated with document given in request.
|
3818 |
-
*
|
3819 |
-
*/
|
3820 |
-
class MonetaFindProfileDocumentFilesResponse
|
3821 |
-
{
|
3822 |
-
|
3823 |
-
/**
|
3824 |
-
*
|
3825 |
-
*
|
3826 |
-
* @var MonetaFile
|
3827 |
-
*/
|
3828 |
-
public $file = null;
|
3829 |
-
|
3830 |
-
/**
|
3831 |
-
*
|
3832 |
-
*
|
3833 |
-
* @param MonetaFile
|
3834 |
-
*
|
3835 |
-
* @return void
|
3836 |
-
*/
|
3837 |
-
public function addFile(MonetaFile $item)
|
3838 |
-
{
|
3839 |
-
$this->file[] = $item;
|
3840 |
-
}
|
3841 |
-
|
3842 |
-
}
|
3843 |
-
|
3844 |
-
/**
|
3845 |
-
* Запрос на создание/редактирование файла документа
|
3846 |
-
* Request for file adding/modification.
|
3847 |
-
*
|
3848 |
-
*/
|
3849 |
-
class MonetaUploadProfileDocumentFileRequest
|
3850 |
-
{
|
3851 |
-
|
3852 |
-
/**
|
3853 |
-
* Если указано поле fileId - файл редактируется, иначе создается новый файл.
|
3854 |
-
* Поле approved в данном запросе не используется.
|
3855 |
-
* Если не указан mimeType, но в запросе есть имя файла (поле title), то mimeType будет вычисляться по расширению файла
|
3856 |
-
* Specify "fileId" to modify file, omit "fileId" to add new file.
|
3857 |
-
* Approved is not used.
|
3858 |
-
* If "mimeType" omitted and "title" is specified, "mimeType" will be resolved by filename extension.
|
3859 |
-
*
|
3860 |
-
*
|
3861 |
-
* @var MonetaFile
|
3862 |
-
*/
|
3863 |
-
public $file = null;
|
3864 |
-
|
3865 |
-
}
|
3866 |
-
|
3867 |
-
/**
|
3868 |
-
* Ответ на запрос создания/редактирования файла документа
|
3869 |
-
* Если в процессе сохранения файла произошла ошибка, то возникнет Exception.
|
3870 |
-
* Если Exception не возник - значит файл гарантированно сохранен.
|
3871 |
-
* Response for file adding/modification.
|
3872 |
-
* Response contains no data unless some error has occured while modification.
|
3873 |
-
* If reponse has no Exception then file is uploaded successfully.
|
3874 |
-
*
|
3875 |
-
*/
|
3876 |
-
class MonetaUploadProfileDocumentFileResponse
|
3877 |
-
{
|
3878 |
-
|
3879 |
-
}
|
3880 |
-
|
3881 |
-
/**
|
3882 |
-
* Запрос на получение документов пользователя.
|
3883 |
-
* Profile's documents retrieval request.
|
3884 |
-
*
|
3885 |
-
*/
|
3886 |
-
class MonetaFindProfileDocumentsRequest
|
3887 |
-
{
|
3888 |
-
|
3889 |
-
/**
|
3890 |
-
* ID пользователя, документы которого запрашиваются.
|
3891 |
-
* Structure ID containing documents.
|
3892 |
-
*
|
3893 |
-
*
|
3894 |
-
* @var long
|
3895 |
-
*/
|
3896 |
-
public $unitId = null;
|
3897 |
-
|
3898 |
-
}
|
3899 |
-
|
3900 |
-
/**
|
3901 |
-
* Ответ на запрос FindProfileDocumentsRequest.
|
3902 |
-
* Profile's documents retrieval response.
|
3903 |
-
*
|
3904 |
-
*/
|
3905 |
-
class MonetaFindProfileDocumentsResponse
|
3906 |
-
{
|
3907 |
-
|
3908 |
-
/**
|
3909 |
-
* Список найденных документов. Если документов нет - список пустой.
|
3910 |
-
* Found documents list. Empty if no documents are found.
|
3911 |
-
*
|
3912 |
-
*
|
3913 |
-
* @var MonetaDocument
|
3914 |
-
*/
|
3915 |
-
public $document = null;
|
3916 |
-
|
3917 |
-
/**
|
3918 |
-
* Список найденных документов. Если документов нет - список пустой.
|
3919 |
-
* Found documents list. Empty if no documents are found.
|
3920 |
-
*
|
3921 |
-
*
|
3922 |
-
* @param MonetaDocument
|
3923 |
-
*
|
3924 |
-
* @return void
|
3925 |
-
*/
|
3926 |
-
public function addDocument(MonetaDocument $item)
|
3927 |
-
{
|
3928 |
-
$this->document[] = $item;
|
3929 |
-
}
|
3930 |
-
|
3931 |
-
}
|
3932 |
-
|
3933 |
-
/**
|
3934 |
-
* Запрос на создание документа пользователя.
|
3935 |
-
* Profile's document registration request.
|
3936 |
-
*
|
3937 |
-
*/
|
3938 |
-
class MonetaCreateProfileDocumentRequest extends MonetaDocument
|
3939 |
-
{
|
3940 |
-
|
3941 |
-
/**
|
3942 |
-
* Пользователь, которому будет принадлежать данный документ.
|
3943 |
-
* Если это поле не задано, то документ создается для текущего пользователя.
|
3944 |
-
* Необязательное поле.
|
3945 |
-
* Structure element, where the document belongs to.
|
3946 |
-
* If omitted authenticated user's structure is used.
|
3947 |
-
* Optional.
|
3948 |
-
*
|
3949 |
-
*
|
3950 |
-
* @var long
|
3951 |
-
*/
|
3952 |
-
public $unitId = null;
|
3953 |
-
|
3954 |
-
}
|
3955 |
-
|
3956 |
-
/**
|
3957 |
-
* Ответ на запрос создания документа в профайле.
|
3958 |
-
* Profile's document registration response.
|
3959 |
-
* $
|
3960 |
-
*
|
3961 |
-
*/
|
3962 |
-
class MonetaCreateProfileDocumentResponse
|
3963 |
-
{
|
3964 |
-
|
3965 |
-
/**
|
3966 |
-
* Идентификатор документа в системе МОНЕТА.РУ
|
3967 |
-
* Document identificator in MONETA.RU
|
3968 |
-
*
|
3969 |
-
*
|
3970 |
-
* @var long
|
3971 |
-
*/
|
3972 |
-
public $id = null;
|
3973 |
-
|
3974 |
-
}
|
3975 |
-
|
3976 |
-
/**
|
3977 |
-
* Запрос на редактирование документа пользователя.
|
3978 |
-
* Profile's document modification request.
|
3979 |
-
*
|
3980 |
-
*/
|
3981 |
-
class MonetaEditProfileDocumentRequest extends MonetaDocument
|
3982 |
-
{
|
3983 |
-
|
3984 |
-
/**
|
3985 |
-
* Пользователь, которому принадлежит данный документ.
|
3986 |
-
* Если это поле не задано, то документ ищется для текущего пользователя.
|
3987 |
-
* Необязательное поле.
|
3988 |
-
* Structure element, where the document belongs to.
|
3989 |
-
* If omitted authenticated user's structure is used.
|
3990 |
-
* Optional.
|
3991 |
-
*
|
3992 |
-
*
|
3993 |
-
* @var long
|
3994 |
-
*/
|
3995 |
-
public $unitId = null;
|
3996 |
-
|
3997 |
-
}
|
3998 |
-
|
3999 |
-
/**
|
4000 |
-
* Ответ, который приходит на запрос EditProfileDocumentRequest.
|
4001 |
-
* В ответе нет никаких данных.
|
4002 |
-
* Если в процессе сохранения документа произошла ошибка, то возникнет Exception.
|
4003 |
-
* Если Exception не возник - значит документ гарантированно сохранен.
|
4004 |
-
* Document modification response.
|
4005 |
-
* Response contains no data unless some error has occured while modification.
|
4006 |
-
* If reponse has no Exception then document is modified successfully.
|
4007 |
-
*
|
4008 |
-
*/
|
4009 |
-
class MonetaEditProfileDocumentResponse
|
4010 |
-
{
|
4011 |
-
|
4012 |
-
}
|
4013 |
-
|
4014 |
-
/**
|
4015 |
-
* Запрос на получение списка пользователей, которые имеют делегированный доступ к указанному счету.
|
4016 |
-
* Request to find delegated users for specified account ID.
|
4017 |
-
*
|
4018 |
-
*/
|
4019 |
-
class MonetaFindAccountRelationsRequest
|
4020 |
-
{
|
4021 |
-
|
4022 |
-
/**
|
4023 |
-
* Номер счета в системе МОНЕТА.РУ.
|
4024 |
-
* Account number.
|
4025 |
-
*
|
4026 |
-
*
|
4027 |
-
* @var long
|
4028 |
-
*/
|
4029 |
-
public $accountId = null;
|
4030 |
-
|
4031 |
-
}
|
4032 |
-
|
4033 |
-
/**
|
4034 |
-
* Ответ на запрос FindAccountRelationsRequest.
|
4035 |
-
* Response containing the list of delegated users.
|
4036 |
-
*
|
4037 |
-
*/
|
4038 |
-
class MonetaFindAccountRelationsResponse
|
4039 |
-
{
|
4040 |
-
|
4041 |
-
/**
|
4042 |
-
* Список найденных пользователей, которые имеют делегированный доступ к указанному счету. Если пользователей нет - список пустой.
|
4043 |
-
* List of found users having delegated account access. The list is empty if no users are found.
|
4044 |
-
*
|
4045 |
-
*
|
4046 |
-
* @var MonetaAccountRelation
|
4047 |
-
*/
|
4048 |
-
public $accountRelation = null;
|
4049 |
-
|
4050 |
-
/**
|
4051 |
-
* Список найденных пользователей, которые имеют делегированный доступ к указанному счету. Если пользователей нет - список пустой.
|
4052 |
-
* List of found users having delegated account access. The list is empty if no users are found.
|
4053 |
-
*
|
4054 |
-
*
|
4055 |
-
* @param MonetaAccountRelation
|
4056 |
-
*
|
4057 |
-
* @return void
|
4058 |
-
*/
|
4059 |
-
public function addAccountRelation(MonetaAccountRelation $item)
|
4060 |
-
{
|
4061 |
-
$this->accountRelation[] = $item;
|
4062 |
-
}
|
4063 |
-
|
4064 |
-
}
|
4065 |
-
|
4066 |
-
/**
|
4067 |
-
* Запрос на получение данных по делегированному доступу.
|
4068 |
-
* Request for delegated access details.
|
4069 |
-
*
|
4070 |
-
*/
|
4071 |
-
class MonetaGetAccountRelationRequest
|
4072 |
-
{
|
4073 |
-
|
4074 |
-
/**
|
4075 |
-
* Номер счета в системе МОНЕТА.РУ.
|
4076 |
-
* Account number.
|
4077 |
-
*
|
4078 |
-
*
|
4079 |
-
* @var long
|
4080 |
-
*/
|
4081 |
-
public $accountId = null;
|
4082 |
-
|
4083 |
-
/**
|
4084 |
-
* Email пользователя.
|
4085 |
-
* User's Email.
|
4086 |
-
*
|
4087 |
-
*
|
4088 |
-
* @var string
|
4089 |
-
*/
|
4090 |
-
public $principalEmail = null;
|
4091 |
-
|
4092 |
-
}
|
4093 |
-
|
4094 |
-
/**
|
4095 |
-
* Ответ на запрос GetAccountRelationRequest.
|
4096 |
-
* Response containing detailed information for delegated access.
|
4097 |
-
*
|
4098 |
-
*/
|
4099 |
-
class MonetaGetAccountRelationResponse
|
4100 |
-
{
|
4101 |
-
|
4102 |
-
/**
|
4103 |
-
*
|
4104 |
-
*
|
4105 |
-
* @var MonetaAccountRelation
|
4106 |
-
*/
|
4107 |
-
public $accountRelation = null;
|
4108 |
-
|
4109 |
-
}
|
4110 |
-
|
4111 |
-
/**
|
4112 |
-
* Запрос на сохранение делегированного доступа к счету.
|
4113 |
-
* Request for saving detailed information of delegated access.
|
4114 |
-
*
|
4115 |
-
*/
|
4116 |
-
class MonetaSaveAccountRelationRequest extends MonetaAccountRelation
|
4117 |
-
{
|
4118 |
-
|
4119 |
-
/**
|
4120 |
-
* Платежный пароль.
|
4121 |
-
* Payment password for account.
|
4122 |
-
*
|
4123 |
-
*
|
4124 |
-
* @var normalizedString
|
4125 |
-
*/
|
4126 |
-
public $paymentPassword = null;
|
4127 |
-
|
4128 |
-
/**
|
4129 |
-
* Запрос для платежного пароля
|
4130 |
-
* Payment password challenge
|
4131 |
-
*
|
4132 |
-
*
|
4133 |
-
* @var string
|
4134 |
-
*/
|
4135 |
-
public $paymentPasswordChallenge = null;
|
4136 |
-
|
4137 |
-
}
|
4138 |
-
|
4139 |
-
/**
|
4140 |
-
* Ответ, который приходит на запрос SaveAccountRelationRequest.
|
4141 |
-
* В ответе нет никаких данных.
|
4142 |
-
* Если в процессе сохранения счета произошла ошибка, то возникнет Exception.
|
4143 |
-
* Если Exception не возник - значит делегированный доступ гарантированно сохранен.
|
4144 |
-
* Save account relation response.
|
4145 |
-
* Response contains no data unless some error has occured while modification.
|
4146 |
-
* If reponse has no Exception then delegated access is modified successfully.
|
4147 |
-
*
|
4148 |
-
*/
|
4149 |
-
class MonetaSaveAccountRelationResponse
|
4150 |
-
{
|
4151 |
-
|
4152 |
-
}
|
4153 |
-
|
4154 |
-
/**
|
4155 |
-
* Запрос на удаление делегированного доступа к счету.
|
4156 |
-
* Request for deletion of access delegation.
|
4157 |
-
*
|
4158 |
-
*/
|
4159 |
-
class MonetaDeleteAccountRelationRequest
|
4160 |
-
{
|
4161 |
-
|
4162 |
-
/**
|
4163 |
-
* Номер счета в системе МОНЕТА.РУ.
|
4164 |
-
* Account number.
|
4165 |
-
*
|
4166 |
-
*
|
4167 |
-
* @var long
|
4168 |
-
*/
|
4169 |
-
public $accountId = null;
|
4170 |
-
|
4171 |
-
/**
|
4172 |
-
* Email пользователя.
|
4173 |
-
* User's Email.
|
4174 |
-
*
|
4175 |
-
*
|
4176 |
-
* @var string
|
4177 |
-
*/
|
4178 |
-
public $principalEmail = null;
|
4179 |
-
|
4180 |
-
}
|
4181 |
-
|
4182 |
-
/**
|
4183 |
-
* Ответ, который приходит на запрос DeleteAccountRelationRequest.
|
4184 |
-
* В ответе нет никаких данных.
|
4185 |
-
* Если в процессе сохранения счета произошла ошибка, то возникнет Exception.
|
4186 |
-
* Если Exception не возник - значит делегированный доступ гарантированно удален.
|
4187 |
-
* Delete account relation response.
|
4188 |
-
* Response contains no data unless some error has occured while modification.
|
4189 |
-
* If reponse has no Exception then delegated access is deleted successfully.
|
4190 |
-
*
|
4191 |
-
*/
|
4192 |
-
class MonetaDeleteAccountRelationResponse
|
4193 |
-
{
|
4194 |
-
|
4195 |
-
}
|
4196 |
?>
|
1 |
+
<?php
|
2 |
+
|
3 |
+
// Warning! This code was generated by WSDL2PHP tool.
|
4 |
+
// author: Filippov Andrey <afi.work@gmail.com>
|
5 |
+
// see https://solo-framework-lib.googlecode.com
|
6 |
+
// Timestamp: 1301913375
|
7 |
+
|
8 |
+
|
9 |
+
/**
|
10 |
+
* Тип, описывающий статусы операций в системе МОНЕТА.РУ.
|
11 |
+
* Данный тип может иметь только определенные значения, описанные ниже.
|
12 |
+
* Transaction status type in MONETA.RU.
|
13 |
+
* This type may have enumerated values.
|
14 |
+
*
|
15 |
+
*/
|
16 |
+
class MonetaOperationStatus
|
17 |
+
{
|
18 |
+
|
19 |
+
/**
|
20 |
+
* В обработке
|
21 |
+
* Transaction processing is in progress
|
22 |
+
*
|
23 |
+
*
|
24 |
+
* @var string
|
25 |
+
*/
|
26 |
+
const INPROGRESS = 'INPROGRESS';
|
27 |
+
|
28 |
+
/**
|
29 |
+
* Операция обработана
|
30 |
+
* Transaction processing completed successfully
|
31 |
+
*
|
32 |
+
*
|
33 |
+
* @var string
|
34 |
+
*/
|
35 |
+
const SUCCEED = 'SUCCEED';
|
36 |
+
|
37 |
+
/**
|
38 |
+
* Операция отменена
|
39 |
+
* Transaction processing is canceled
|
40 |
+
*
|
41 |
+
*
|
42 |
+
* @var string
|
43 |
+
*/
|
44 |
+
const CANCELED = 'CANCELED';
|
45 |
+
|
46 |
+
/**
|
47 |
+
* Уведомление по операции не отправлено (или не принято)
|
48 |
+
* External notification is not sent (or not accepted)
|
49 |
+
*
|
50 |
+
*
|
51 |
+
* @var string
|
52 |
+
*/
|
53 |
+
const TAKENIN_NOTSENT = 'TAKENIN_NOTSENT';
|
54 |
+
|
55 |
+
/**
|
56 |
+
* Операция создана
|
57 |
+
* Transaction is registered
|
58 |
+
*
|
59 |
+
*
|
60 |
+
* @var string
|
61 |
+
*/
|
62 |
+
const CREATED = 'CREATED';
|
63 |
+
|
64 |
+
}
|
65 |
+
|
66 |
+
/**
|
67 |
+
* Тип, описывающий валюты, используемые в системе МОНЕТА.РУ.
|
68 |
+
* Данный тип может иметь только строго определенные значения, описанные ниже.
|
69 |
+
* Currency type in MONETA.RU.
|
70 |
+
* Must be one of values listed below.
|
71 |
+
*
|
72 |
+
*/
|
73 |
+
class MonetaCurrency
|
74 |
+
{
|
75 |
+
|
76 |
+
/**
|
77 |
+
*
|
78 |
+
*
|
79 |
+
* @var string
|
80 |
+
*/
|
81 |
+
const RUB = 'RUB';
|
82 |
+
|
83 |
+
/**
|
84 |
+
*
|
85 |
+
*
|
86 |
+
* @var string
|
87 |
+
*/
|
88 |
+
const USD = 'USD';
|
89 |
+
|
90 |
+
/**
|
91 |
+
*
|
92 |
+
*
|
93 |
+
* @var string
|
94 |
+
*/
|
95 |
+
const EUR = 'EUR';
|
96 |
+
|
97 |
+
/**
|
98 |
+
*
|
99 |
+
*
|
100 |
+
* @var string
|
101 |
+
*/
|
102 |
+
const GBP = 'GBP';
|
103 |
+
|
104 |
+
}
|
105 |
+
|
106 |
+
/**
|
107 |
+
* Тип, описывающий статусы счетов в системе МОНЕТА.РУ.
|
108 |
+
* Счет может быть либо активным, либо заблокированным.
|
109 |
+
* Account status in MONETA.RU.
|
110 |
+
* May be either active or inactive.
|
111 |
+
*
|
112 |
+
*/
|
113 |
+
class MonetaAccountStatus
|
114 |
+
{
|
115 |
+
|
116 |
+
/**
|
117 |
+
* Активный счет
|
118 |
+
* Active account
|
119 |
+
*
|
120 |
+
*
|
121 |
+
* @var int
|
122 |
+
*/
|
123 |
+
const AccountStatus1 = '1';
|
124 |
+
|
125 |
+
/**
|
126 |
+
* Заблокированный счет
|
127 |
+
* Inactive (blocked) account
|
128 |
+
*
|
129 |
+
*
|
130 |
+
* @var int
|
131 |
+
*/
|
132 |
+
const AccountStatus2 = '2';
|
133 |
+
|
134 |
+
}
|
135 |
+
|
136 |
+
/**
|
137 |
+
* Типы счетов в системе МОНЕТА.РУ.
|
138 |
+
* Account types in MONETA.RU.
|
139 |
+
*
|
140 |
+
*/
|
141 |
+
class MonetaAccountType
|
142 |
+
{
|
143 |
+
|
144 |
+
/**
|
145 |
+
* Обычный счет
|
146 |
+
* Standard account
|
147 |
+
*
|
148 |
+
*
|
149 |
+
* @var int
|
150 |
+
*/
|
151 |
+
const AccountType1 = '1';
|
152 |
+
|
153 |
+
/**
|
154 |
+
* Расширенный счет
|
155 |
+
* Advanced account
|
156 |
+
*
|
157 |
+
*
|
158 |
+
* @var int
|
159 |
+
*/
|
160 |
+
const AccountType2 = '2';
|
161 |
+
|
162 |
+
/**
|
163 |
+
* Бонус-счет
|
164 |
+
* Bonus account
|
165 |
+
*
|
166 |
+
*
|
167 |
+
* @var int
|
168 |
+
*/
|
169 |
+
const AccountType3 = '3';
|
170 |
+
|
171 |
+
}
|
172 |
+
|
173 |
+
/**
|
174 |
+
* Тип данных пользователя.
|
175 |
+
* User profile information type.
|
176 |
+
*
|
177 |
+
*/
|
178 |
+
class MonetaProfileType
|
179 |
+
{
|
180 |
+
|
181 |
+
/**
|
182 |
+
* Тип данных "Организация". В данных такого типа присутствуют поля,
|
183 |
+
* характерные для организаций, например: "Название организации", "ФИО директора" и т.п.
|
184 |
+
* "Organization" profile type containing organization related information.
|
185 |
+
*
|
186 |
+
*
|
187 |
+
* @var string
|
188 |
+
*/
|
189 |
+
const organization = 'organization';
|
190 |
+
|
191 |
+
/**
|
192 |
+
* Тип данных "Клиент". В данных такого типа присутствуют поля,
|
193 |
+
* характерные для обычных пользователей, например: "фамилия", "имя", "отчество" и т.д.
|
194 |
+
* "Client" profile type containing person related information.
|
195 |
+
*
|
196 |
+
*
|
197 |
+
* @var string
|
198 |
+
*/
|
199 |
+
const client = 'client';
|
200 |
+
|
201 |
+
}
|
202 |
+
|
203 |
+
/**
|
204 |
+
* Типы документов, поддерживаемые в системе МОНЕТА.РУ.
|
205 |
+
* Document type supported in MONETA.RU.
|
206 |
+
*
|
207 |
+
*/
|
208 |
+
class MonetaDocumentType
|
209 |
+
{
|
210 |
+
|
211 |
+
/**
|
212 |
+
* Паспорт
|
213 |
+
* Civil passport
|
214 |
+
*
|
215 |
+
*
|
216 |
+
* @var string
|
217 |
+
*/
|
218 |
+
const PASSPORT = 'PASSPORT';
|
219 |
+
|
220 |
+
/**
|
221 |
+
* Водительское удостоверение
|
222 |
+
* User's driving licence
|
223 |
+
*
|
224 |
+
*
|
225 |
+
* @var string
|
226 |
+
*/
|
227 |
+
const DRIVING_LICENCE = 'DRIVING_LICENCE';
|
228 |
+
|
229 |
+
/**
|
230 |
+
* Военный билет
|
231 |
+
* Military ID
|
232 |
+
*
|
233 |
+
*
|
234 |
+
* @var string
|
235 |
+
*/
|
236 |
+
const MILITARY_ID = 'MILITARY_ID';
|
237 |
+
|
238 |
+
/**
|
239 |
+
* Другой документ
|
240 |
+
* Other document
|
241 |
+
*
|
242 |
+
*
|
243 |
+
* @var string
|
244 |
+
*/
|
245 |
+
const OTHER = 'OTHER';
|
246 |
+
|
247 |
+
}
|
248 |
+
|
249 |
+
/**
|
250 |
+
* Тип, описывающий параметры операции в запросах.
|
251 |
+
* Transaction parameters type for requests.
|
252 |
+
*
|
253 |
+
*/
|
254 |
+
class MonetaTransactionRequestType
|
255 |
+
{
|
256 |
+
|
257 |
+
/**
|
258 |
+
* Номер счета плательщика
|
259 |
+
* Payer account number
|
260 |
+
*
|
261 |
+
*
|
262 |
+
* @var long
|
263 |
+
*/
|
264 |
+
public $payer = null;
|
265 |
+
|
266 |
+
/**
|
267 |
+
* Номер счета получателя
|
268 |
+
* Payee account number
|
269 |
+
*
|
270 |
+
*
|
271 |
+
* @var long
|
272 |
+
*/
|
273 |
+
public $payee = null;
|
274 |
+
|
275 |
+
/**
|
276 |
+
* Сумма операции.
|
277 |
+
* Если флаг isPayerAmount отсутствует
|
278 |
+
* и пользователь имеет доступ только к счету плательщика,
|
279 |
+
* то интерпретируется как сумма к списанию (в валюте плательщика).
|
280 |
+
* Если флаг isPayerAmount отсутствует
|
281 |
+
* и пользователь имеет доступ только к счету получателя,
|
282 |
+
* то интерпретируется как сумма к зачислению (в валюте получателя).
|
283 |
+
* Transaction amount.
|
284 |
+
* If isPayerAmount is omitted
|
285 |
+
* and user has access only to payer account,
|
286 |
+
* then is interpreted as debit amount (in payer's currency).
|
287 |
+
* If isPayerAmount is omitted
|
288 |
+
* and user has access only to payee account,
|
289 |
+
* then is interpreted as credit amount (in payee's currency).
|
290 |
+
*
|
291 |
+
*
|
292 |
+
* @var decimal
|
293 |
+
*/
|
294 |
+
public $amount = null;
|
295 |
+
|
296 |
+
/**
|
297 |
+
* Если пользователь имеет доступ как к счету плательщика, так и счету получателя,
|
298 |
+
* то флаг isPayerAmount обязателен.
|
299 |
+
* Если флаг isPayerAmount установлен (true), то amount используется как сумма к списанию (в валюте плательщика).
|
300 |
+
* Если флаг isPayerAmount сброшен (false), то amount используется как сумма к зачислению (в валюте получателя).
|
301 |
+
* If user has access to both accounts, then isPayerAmount flag is obligatory.
|
302 |
+
* If isPayerAmount flag is "true", then amount is used as debit amount (in payer's currency).
|
303 |
+
* If isPayerAmount flag is "false", then amount is used as credit amount (in payee's currency).
|
304 |
+
*
|
305 |
+
*
|
306 |
+
* @var boolean
|
307 |
+
*/
|
308 |
+
public $isPayerAmount = null;
|
309 |
+
|
310 |
+
/**
|
311 |
+
* Платежный пароль счета плательщика
|
312 |
+
* Payment password for payer account
|
313 |
+
*
|
314 |
+
*
|
315 |
+
* @var normalizedString
|
316 |
+
*/
|
317 |
+
public $paymentPassword = null;
|
318 |
+
|
319 |
+
/**
|
320 |
+
* Внешний номер операции
|
321 |
+
* External transaction ID
|
322 |
+
*
|
323 |
+
*
|
324 |
+
* @var string
|
325 |
+
*/
|
326 |
+
public $clientTransaction = null;
|
327 |
+
|
328 |
+
/**
|
329 |
+
* Описание операции
|
330 |
+
* Transaction description or comments
|
331 |
+
*
|
332 |
+
*
|
333 |
+
* @var normalizedString
|
334 |
+
*/
|
335 |
+
public $description = null;
|
336 |
+
|
337 |
+
/**
|
338 |
+
* Набор полей, которые необходимо сохранить в качестве атрибутов операции. Значения дат в формате dd.MM.yyyy HH:mm:ss
|
339 |
+
* Key-value pairs that will be saved as a transaction attributes. Use format dd.MM.yyyy HH:mm:ss for date values
|
340 |
+
*
|
341 |
+
*
|
342 |
+
* @var MonetaOperationInfo
|
343 |
+
*/
|
344 |
+
public $operationInfo = null;
|
345 |
+
|
346 |
+
/**
|
347 |
+
* Запрос для платежного пароля
|
348 |
+
* Payment password challenge
|
349 |
+
*
|
350 |
+
*
|
351 |
+
* @var string
|
352 |
+
*/
|
353 |
+
public $paymentPasswordChallenge = null;
|
354 |
+
|
355 |
+
}
|
356 |
+
|
357 |
+
/**
|
358 |
+
* Тип, описывающий параметры операции в запросах в пакетном режиме.
|
359 |
+
* Transaction parameters type for requests in batch processing mode.
|
360 |
+
*
|
361 |
+
*/
|
362 |
+
class MonetaTransactionBatchRequestType
|
363 |
+
{
|
364 |
+
|
365 |
+
/**
|
366 |
+
* Флаг, указывающий выполнять ли все денежные переводы в одной транзакции.
|
367 |
+
* Если transactional = true, то:
|
368 |
+
* при возникновении ошибки все проведенные операции будут отменены
|
369 |
+
* можно проводить только операции со счетами монеты. Нельзя выводить деньги на внешние платежные системы.
|
370 |
+
* Если transactional = false, то:
|
371 |
+
* при возникновении ошибки все проведенные операции будут сохранены
|
372 |
+
* можно проводить любые операции, которые доступны в TransferRequest
|
373 |
+
* если выставить флаг exitOnFailure = false, то при возникновении ошибки можно пропустить операцию
|
374 |
+
* и продолжить выполнение операций дальше
|
375 |
+
* Joining all transfers in batch processing into one transaction.
|
376 |
+
* True -- all processed transfers will be rolled back on exceptions, no external transfers are allowed.
|
377 |
+
* False -- only current transfer rolled back on exceptions, external transfers are allowed.
|
378 |
+
*
|
379 |
+
*
|
380 |
+
* @var boolean
|
381 |
+
*/
|
382 |
+
public $transactional = null;
|
383 |
+
|
384 |
+
/**
|
385 |
+
* Флаг, указывающий прерывать ли выполнение пакета операций, если произошла ошибка.
|
386 |
+
* Используется только при transactional = false
|
387 |
+
* Stops batch processing on exceptions. Used only in conjunction with transactional=false.
|
388 |
+
*
|
389 |
+
*
|
390 |
+
* @var boolean
|
391 |
+
*/
|
392 |
+
public $exitOnFailure = null;
|
393 |
+
|
394 |
+
/**
|
395 |
+
* Набор операций, которые необходимо выполнить в одном пакете.
|
396 |
+
* Операции выполняются в том порядке, в котором они переданы в запросе.
|
397 |
+
* Set of transfers to be processed in one batch.
|
398 |
+
* Processed in order of appearance.
|
399 |
+
*
|
400 |
+
*
|
401 |
+
* @var MonetaTransactionRequestType
|
402 |
+
*/
|
403 |
+
public $transaction = null;
|
404 |
+
|
405 |
+
/**
|
406 |
+
* Набор операций, которые необходимо выполнить в одном пакете.
|
407 |
+
* Операции выполняются в том порядке, в котором они переданы в запросе.
|
408 |
+
* Set of transfers to be processed in one batch.
|
409 |
+
* Processed in order of appearance.
|
410 |
+
*
|
411 |
+
*
|
412 |
+
* @param MonetaTransactionRequestType
|
413 |
+
*
|
414 |
+
* @return void
|
415 |
+
*/
|
416 |
+
public function addTransaction(MonetaTransactionRequestType $item)
|
417 |
+
{
|
418 |
+
$this->transaction[] = $item;
|
419 |
+
}
|
420 |
+
|
421 |
+
}
|
422 |
+
|
423 |
+
/**
|
424 |
+
* Тип, описывающий атрибуты операции в ответах.
|
425 |
+
* Transaction attributes type for responses.
|
426 |
+
*
|
427 |
+
*/
|
428 |
+
class MonetaTransactionResponseType
|
429 |
+
{
|
430 |
+
|
431 |
+
/**
|
432 |
+
* Текущий статус операции
|
433 |
+
* Current transaction status
|
434 |
+
*
|
435 |
+
*
|
436 |
+
* @var string
|
437 |
+
*/
|
438 |
+
public $status = null;
|
439 |
+
|
440 |
+
/**
|
441 |
+
* Время последней модификации операции
|
442 |
+
* Transaction modification timestamp
|
443 |
+
*
|
444 |
+
*
|
445 |
+
* @var dateTime
|
446 |
+
*/
|
447 |
+
public $dateTime = null;
|
448 |
+
|
449 |
+
/**
|
450 |
+
* Номер операции
|
451 |
+
* Transaction ID in MONETA.RU
|
452 |
+
*
|
453 |
+
*
|
454 |
+
* @var long
|
455 |
+
*/
|
456 |
+
public $transaction = null;
|
457 |
+
|
458 |
+
/**
|
459 |
+
* Внешний номер операции
|
460 |
+
* External transaction ID
|
461 |
+
*
|
462 |
+
*
|
463 |
+
* @var string
|
464 |
+
*/
|
465 |
+
public $clientTransaction = null;
|
466 |
+
|
467 |
+
}
|
468 |
+
|
469 |
+
/**
|
470 |
+
* Тип, описывающий атрибуты операции в ответах в пакетном запросе.
|
471 |
+
* Transaction attributes type for responses in batch processing mode.
|
472 |
+
*
|
473 |
+
*/
|
474 |
+
class MonetaTransactionBatchResponseType
|
475 |
+
{
|
476 |
+
|
477 |
+
/**
|
478 |
+
* Поле содержит описание ошибки, если операция не была проведена.
|
479 |
+
* В этом случае поле transaction - пустое. Если операция проведена,
|
480 |
+
* то поле error пустое, а поле transaction содержит детали операции.
|
481 |
+
* Error description in case of tranfer processing failure.
|
482 |
+
* If transfer processed successfully "error" is empty
|
483 |
+
* and "transaction" element contains transaction details.
|
484 |
+
*
|
485 |
+
*
|
486 |
+
* @var string
|
487 |
+
*/
|
488 |
+
public $error = null;
|
489 |
+
|
490 |
+
/**
|
491 |
+
*
|
492 |
+
*
|
493 |
+
* @var MonetaTransactionResponseType
|
494 |
+
*/
|
495 |
+
public $transaction = null;
|
496 |
+
|
497 |
+
}
|
498 |
+
|
499 |
+
/**
|
500 |
+
* Тип, описывающий атрибуты операции в ответах в пакетном запросе.
|
501 |
+
* Transaction attributes type for responses in batch processing mode.
|
502 |
+
*
|
503 |
+
*/
|
504 |
+
class MonetaOperationInfoBatchResponseType
|
505 |
+
{
|
506 |
+
|
507 |
+
/**
|
508 |
+
* Поле содержит описание ошибки, если операция не была проведена.
|
509 |
+
* В этом случае поле transaction - пустое. Если операция проведена,
|
510 |
+
* то поле error пустое, а поле transaction содержит детали операции.
|
511 |
+
* Error description in case of tranfer processing failure.
|
512 |
+
* If transfer processed successfully "error" is empty
|
513 |
+
* and "transaction" element contains transaction details.
|
514 |
+
*
|
515 |
+
*
|
516 |
+
* @var string
|
517 |
+
*/
|
518 |
+
public $error = null;
|
519 |
+
|
520 |
+
/**
|
521 |
+
*
|
522 |
+
*
|
523 |
+
* @var MonetaOperationInfo
|
524 |
+
*/
|
525 |
+
public $transaction = null;
|
526 |
+
|
527 |
+
}
|
528 |
+
|
529 |
+
/**
|
530 |
+
* Тип для запроса на регистрацию операции с блокировкой средств на счете плательщика.
|
531 |
+
* Transaction registration and debiting funds from payer's account request type.
|
532 |
+
*
|
533 |
+
*/
|
534 |
+
class MonetaAuthoriseTransactionRequestType extends MonetaTransactionRequestType
|
535 |
+
{
|
536 |
+
|
537 |
+
/**
|
538 |
+
* Номер операции. Необязательное поле.
|
539 |
+
* Transaction ID. Optional.
|
540 |
+
*
|
541 |
+
*
|
542 |
+
* @var long
|
543 |
+
*/
|
544 |
+
public $transactionId = null;
|
545 |
+
|
546 |
+
}
|
547 |
+
|
548 |
+
/**
|
549 |
+
* Тип, описывающий параметры операции в запросах в пакетном режиме.
|
550 |
+
* Transaction parameters type for requests in batch processing mode.
|
551 |
+
*
|
552 |
+
*/
|
553 |
+
class MonetaAuthoriseTransactionBatchRequestType
|
554 |
+
{
|
555 |
+
|
556 |
+
/**
|
557 |
+
* Флаг, указывающий выполнять ли все денежные переводы в одной транзакции.
|
558 |
+
* Если transactional = true, то:
|
559 |
+
* при возникновении ошибки все проведенные операции будут отменены
|
560 |
+
* можно проводить только операции со счетами монеты. Нельзя выводить деньги на внешние платежные системы.
|
561 |
+
* Если transactional = false, то:
|
562 |
+
* при возникновении ошибки все проведенные операции будут сохранены
|
563 |
+
* можно проводить любые операции, которые доступны в TransferRequest
|
564 |
+
* если выставить флаг exitOnFailure = false, то при возникновении ошибки можно пропустить операцию
|
565 |
+
* и продолжить выполнение операций дальше
|
566 |
+
* Joining all transfers in batch processing into one transaction.
|
567 |
+
* True -- all processed transfers will be rolled back on exceptions, no external transfers are allowed.
|
568 |
+
* False -- only current transfer rolled back on exceptions, external transfers are allowed.
|
569 |
+
*
|
570 |
+
*
|
571 |
+
* @var boolean
|
572 |
+
*/
|
573 |
+
public $transactional = null;
|
574 |
+
|
575 |
+
/**
|
576 |
+
* Флаг, указывающий прерывать ли выполнение пакета операций, если произошла ошибка.
|
577 |
+
* Используется только при transactional = false
|
578 |
+
* Stops batch processing on exceptions. Used only in conjunction with transactional=false.
|
579 |
+
*
|
580 |
+
*
|
581 |
+
* @var boolean
|
582 |
+
*/
|
583 |
+
public $exitOnFailure = null;
|
584 |
+
|
585 |
+
/**
|
586 |
+
* Набор операций, которые необходимо выполнить в одном пакете.
|
587 |
+
* Операции выполняются в том порядке, в котором они переданы в запросе.
|
588 |
+
* Set of transfers to be processed in one batch.
|
589 |
+
* Processed in order of appearance.
|
590 |
+
*
|
591 |
+
*
|
592 |
+
* @var MonetaTransactionRequestType
|
593 |
+
*/
|
594 |
+
public $transaction = null;
|
595 |
+
|
596 |
+
/**
|
597 |
+
* Набор операций, которые необходимо выполнить в одном пакете.
|
598 |
+
* Операции выполняются в том порядке, в котором они переданы в запросе.
|
599 |
+
* Set of transfers to be processed in one batch.
|
600 |
+
* Processed in order of appearance.
|
601 |
+
*
|
602 |
+
*
|
603 |
+
* @param MonetaTransactionRequestType
|
604 |
+
*
|
605 |
+
* @return void
|
606 |
+
*/
|
607 |
+
public function addTransaction(MonetaTransactionRequestType $item)
|
608 |
+
{
|
609 |
+
$this->transaction[] = $item;
|
610 |
+
}
|
611 |
+
|
612 |
+
}
|
613 |
+
|
614 |
+
/**
|
615 |
+
* Тип для запроса подтверждения операции.
|
616 |
+
* Transaction confirmation request type.
|
617 |
+
*
|
618 |
+
*/
|
619 |
+
class MonetaConfirmTransactionRequestType
|
620 |
+
{
|
621 |
+
|
622 |
+
/**
|
623 |
+
* Номер операции
|
624 |
+
* Transaction ID
|
625 |
+
*
|
626 |
+
*
|
627 |
+
* @var long
|
628 |
+
*/
|
629 |
+
public $transactionId = null;
|
630 |
+
|
631 |
+
/**
|
632 |
+
* Платежный пароль счета плательщика
|
633 |
+
* Payment password for payer account
|
634 |
+
*
|
635 |
+
*
|
636 |
+
* @var normalizedString
|
637 |
+
*/
|
638 |
+
public $paymentPassword = null;
|
639 |
+
|
640 |
+
/**
|
641 |
+
* Код протекции
|
642 |
+
* Protection code
|
643 |
+
*
|
644 |
+
*
|
645 |
+
* @var string
|
646 |
+
*/
|
647 |
+
public $protectionCode = null;
|
648 |
+
|
649 |
+
/**
|
650 |
+
* Набор полей, которые необходимо сохранить в качестве атрибутов операции. Значения дат в формате dd.MM.yyyy HH:mm:ss
|
651 |
+
* Key-value pairs that will be saved as a transaction attributes. Use format dd.MM.yyyy HH:mm:ss for date values
|
652 |
+
*
|
653 |
+
*
|
654 |
+
* @var MonetaOperationInfo
|
655 |
+
*/
|
656 |
+
public $operationInfo = null;
|
657 |
+
|
658 |
+
/**
|
659 |
+
* Сумма операции.
|
660 |
+
* Если флаг isPayerAmount отсутствует
|
661 |
+
* и пользователь имеет доступ только к счету плательщика,
|
662 |
+
* то интерпретируется как сумма к списанию (в валюте плательщика).
|
663 |
+
* Если флаг isPayerAmount отсутствует
|
664 |
+
* и пользователь имеет доступ только к счету получателя,
|
665 |
+
* то интерпретируется как сумма к зачислению (в валюте получателя).
|
666 |
+
* Transaction amount.
|
667 |
+
* If isPayerAmount is omitted
|
668 |
+
* and user has access only to payer account,
|
669 |
+
* then is interpreted as debit amount (in payer's currency).
|
670 |
+
* If isPayerAmount is omitted
|
671 |
+
* and user has access only to payee account,
|
672 |
+
* then is interpreted as credit amount (in payee's currency).
|
673 |
+
*
|
674 |
+
*
|
675 |
+
* @var decimal
|
676 |
+
*/
|
677 |
+
public $amount = null;
|
678 |
+
|
679 |
+
/**
|
680 |
+
* Если пользователь имеет доступ как к счету плательщика, так и счету получателя,
|
681 |
+
* то флаг isPayerAmount обязателен.
|
682 |
+
* Если флаг isPayerAmount установлен (true), то amount используется как сумма к списанию (в валюте плательщика).
|
683 |
+
* Если флаг isPayerAmount сброшен (false), то amount используется как сумма к зачислению (в валюте получателя).
|
684 |
+
* If user has access to both accounts, then isPayerAmount flag is obligatory.
|
685 |
+
* If isPayerAmount flag is "true", then amount is used as debit amount (in payer's currency).
|
686 |
+
* If isPayerAmount flag is "false", then amount is used as credit amount (in payee's currency).
|
687 |
+
*
|
688 |
+
*
|
689 |
+
* @var boolean
|
690 |
+
*/
|
691 |
+
public $isPayerAmount = null;
|
692 |
+
|
693 |
+
/**
|
694 |
+
* Запрос для платежного пароля
|
695 |
+
* Payment password challenge
|
696 |
+
*
|
697 |
+
*
|
698 |
+
* @var string
|
699 |
+
*/
|
700 |
+
public $paymentPasswordChallenge = null;
|
701 |
+
|
702 |
+
}
|
703 |
+
|
704 |
+
/**
|
705 |
+
* Тип для запроса подтверждения операции в пакетном режиме.
|
706 |
+
* Batch mode transaction confirmation request type.
|
707 |
+
*
|
708 |
+
*/
|
709 |
+
class MonetaConfirmTransactionBatchRequestType
|
710 |
+
{
|
711 |
+
|
712 |
+
/**
|
713 |
+
* Флаг, указывающий выполнять ли все денежные переводы в одной транзакции.
|
714 |
+
* Если transactional = true, то:
|
715 |
+
* при возникновении ошибки все проведенные операции будут отменены
|
716 |
+
* можно проводить только операции со счетами монеты. Нельзя выводить деньги на внешние платежные системы.
|
717 |
+
* Если transactional = false, то:
|
718 |
+
* при возникновении ошибки все проведенные операции будут сохранены
|
719 |
+
* можно проводить любые операции, которые доступны в TransferRequest
|
720 |
+
* если выставить флаг exitOnFailure = false, то при возникновении ошибки можно пропустить операцию
|
721 |
+
* и продолжить выполнение операций дальше
|
722 |
+
* Joining all transfers in batch processing into one transaction.
|
723 |
+
* True -- all processed transfers will be rolled back on exceptions, no external transfers are allowed.
|
724 |
+
* False -- only current transfer rolled back on exceptions, external transfers are allowed.
|
725 |
+
*
|
726 |
+
*
|
727 |
+
* @var boolean
|
728 |
+
*/
|
729 |
+
public $transactional = null;
|
730 |
+
|
731 |
+
/**
|
732 |
+
* Флаг, указывающий прерывать ли выполнение пакета операций, если произошла ошибка.
|
733 |
+
* Используется только при transactional = false
|
734 |
+
* Stops batch processing on exceptions. Used only in conjunction with transactional=false.
|
735 |
+
*
|
736 |
+
*
|
737 |
+
* @var boolean
|
738 |
+
*/
|
739 |
+
public $exitOnFailure = null;
|
740 |
+
|
741 |
+
/**
|
742 |
+
* Набор операций, которые необходимо выполнить в одном пакете.
|
743 |
+
* Операции выполняются в том порядке, в котором они переданы в запросе.
|
744 |
+
* Set of transfers to be processed in one batch.
|
745 |
+
* Processed in order of appearance.
|
746 |
+
*
|
747 |
+
*
|
748 |
+
* @var MonetaConfirmTransactionRequestType
|
749 |
+
*/
|
750 |
+
public $transaction = null;
|
751 |
+
|
752 |
+
/**
|
753 |
+
* Набор операций, которые необходимо выполнить в одном пакете.
|
754 |
+
* Операции выполняются в том порядке, в котором они переданы в запросе.
|
755 |
+
* Set of transfers to be processed in one batch.
|
756 |
+
* Processed in order of appearance.
|
757 |
+
*
|
758 |
+
*
|
759 |
+
* @param MonetaConfirmTransactionRequestType
|
760 |
+
*
|
761 |
+
* @return void
|
762 |
+
*/
|
763 |
+
public function addTransaction(MonetaConfirmTransactionRequestType $item)
|
764 |
+
{
|
765 |
+
$this->transaction[] = $item;
|
766 |
+
}
|
767 |
+
|
768 |
+
}
|
769 |
+
|
770 |
+
/**
|
771 |
+
* Тип для запроса на отмену операции.
|
772 |
+
* Transaction cancelation request type.
|
773 |
+
*
|
774 |
+
*/
|
775 |
+
class MonetaCancelTransactionRequestType
|
776 |
+
{
|
777 |
+
|
778 |
+
/**
|
779 |
+
* Номер операции
|
780 |
+
* Transaction ID
|
781 |
+
*
|
782 |
+
*
|
783 |
+
* @var long
|
784 |
+
*/
|
785 |
+
public $transactionId = null;
|
786 |
+
|
787 |
+
/**
|
788 |
+
* Код протекции
|
789 |
+
* Protection code
|
790 |
+
*
|
791 |
+
*
|
792 |
+
* @var string
|
793 |
+
*/
|
794 |
+
public $protectionCode = null;
|
795 |
+
|
796 |
+
/**
|
797 |
+
* Описание операции
|
798 |
+
* Transaction description or comments
|
799 |
+
*
|
800 |
+
*
|
801 |
+
* @var normalizedString
|
802 |
+
*/
|
803 |
+
public $description = null;
|
804 |
+
|
805 |
+
}
|
806 |
+
|
807 |
+
/**
|
808 |
+
* Тип, описывающий атрибуты при ответе на запрос отмены операции.
|
809 |
+
* Transaction cancelation response type.
|
810 |
+
*
|
811 |
+
*/
|
812 |
+
class MonetaCancelTransactionResponseType
|
813 |
+
{
|
814 |
+
|
815 |
+
/**
|
816 |
+
* Номер операции
|
817 |
+
* Transaction ID
|
818 |
+
*
|
819 |
+
*
|
820 |
+
* @var long
|
821 |
+
*/
|
822 |
+
public $transactionId = null;
|
823 |
+
|
824 |
+
/**
|
825 |
+
* Статус операции
|
826 |
+
* Transaction status
|
827 |
+
*
|
828 |
+
*
|
829 |
+
* @var string
|
830 |
+
*/
|
831 |
+
public $operationStatus = null;
|
832 |
+
|
833 |
+
}
|
834 |
+
|
835 |
+
/**
|
836 |
+
* Тип для запроса на отмену операций в пакетном режиме.
|
837 |
+
* Batch mode transaction cancelation request type.
|
838 |
+
*
|
839 |
+
*/
|
840 |
+
class MonetaCancelTransactionBatchRequestType
|
841 |
+
{
|
842 |
+
|
843 |
+
/**
|
844 |
+
* Флаг, указывающий выполнять ли все денежные переводы в одной транзакции.
|
845 |
+
* Если transactional = true, то:
|
846 |
+
* при возникновении ошибки все проведенные операции будут отменены
|
847 |
+
* можно проводить только операции со счетами монеты. Нельзя выводить деньги на внешние платежные системы.
|
848 |
+
* Если transactional = false, то:
|
849 |
+
* при возникновении ошибки все проведенные операции будут сохранены
|
850 |
+
* можно проводить любые операции, которые доступны в TransferRequest
|
851 |
+
* если выставить флаг exitOnFailure = false, то при возникновении ошибки можно пропустить операцию
|
852 |
+
* и продолжить выполнение операций дальше
|
853 |
+
* Joining all transfers in batch processing into one transaction.
|
854 |
+
* True -- all processed transfers will be rolled back on exceptions, no external transfers are allowed.
|
855 |
+
* False -- only current transfer rolled back on exceptions, external transfers are allowed.
|
856 |
+
*
|
857 |
+
*
|
858 |
+
* @var boolean
|
859 |
+
*/
|
860 |
+
public $transactional = null;
|
861 |
+
|
862 |
+
/**
|
863 |
+
* Флаг, указывающий прерывать ли выполнение пакета операций, если произошла ошибка.
|
864 |
+
* Используется только при transactional = false
|
865 |
+
* Stops batch processing on exceptions. Used only in conjunction with transactional=false.
|
866 |
+
*
|
867 |
+
*
|
868 |
+
* @var boolean
|
869 |
+
*/
|
870 |
+
public $exitOnFailure = null;
|
871 |
+
|
872 |
+
/**
|
873 |
+
* Набор операций, которые необходимо выполнить в одном пакете.
|
874 |
+
* Операции выполняются в том порядке, в котором они переданы в запросе.
|
875 |
+
* Set of transfers to be processed in one batch.
|
876 |
+
* Processed in order of appearance.
|
877 |
+
*
|
878 |
+
*
|
879 |
+
* @var MonetaCancelTransactionRequestType
|
880 |
+
*/
|
881 |
+
public $transaction = null;
|
882 |
+
|
883 |
+
/**
|
884 |
+
* Набор операций, которые необходимо выполнить в одном пакете.
|
885 |
+
* Операции выполняются в том порядке, в котором они переданы в запросе.
|
886 |
+
* Set of transfers to be processed in one batch.
|
887 |
+
* Processed in order of appearance.
|
888 |
+
*
|
889 |
+
*
|
890 |
+
* @param MonetaCancelTransactionRequestType
|
891 |
+
*
|
892 |
+
* @return void
|
893 |
+
*/
|
894 |
+
public function addTransaction(MonetaCancelTransactionRequestType $item)
|
895 |
+
{
|
896 |
+
$this->transaction[] = $item;
|
897 |
+
}
|
898 |
+
|
899 |
+
}
|
900 |
+
|
901 |
+
/**
|
902 |
+
* Тип, описывающий атрибуты при ответе на запрос отмены операций в пакетной режиме.
|
903 |
+
* Transaction cancelation response in batch mode.
|
904 |
+
*
|
905 |
+
*/
|
906 |
+
class MonetaCancelTransactionBatchResponseType
|
907 |
+
{
|
908 |
+
|
909 |
+
/**
|
910 |
+
* Поле содержит описание ошибки, если операция не была проведена.
|
911 |
+
* В этом случае поле transaction - пустое. Если операция проведена,
|
912 |
+
* то поле error пустое, а поле transaction содержит детали операции.
|
913 |
+
* Error description in case of tranfer processing failure.
|
914 |
+
* If transfer processed successfully "error" is empty
|
915 |
+
* and "transaction" element contains transaction details.
|
916 |
+
*
|
917 |
+
*
|
918 |
+
* @var string
|
919 |
+
*/
|
920 |
+
public $error = null;
|
921 |
+
|
922 |
+
/**
|
923 |
+
*
|
924 |
+
*
|
925 |
+
* @var MonetaCancelTransactionResponseType
|
926 |
+
*/
|
927 |
+
public $transaction = null;
|
928 |
+
|
929 |
+
}
|
930 |
+
|
931 |
+
/**
|
932 |
+
* Тип, описывающий суммы и комиссии в предварительном расчете операции.
|
933 |
+
* Type describes amount and fees for preliminary calculation of transaction.
|
934 |
+
*
|
935 |
+
*/
|
936 |
+
class MonetaForecastTransactionResponseType
|
937 |
+
{
|
938 |
+
|
939 |
+
/**
|
940 |
+
* Номер счета плательщика
|
941 |
+
* Payer account number
|
942 |
+
*
|
943 |
+
*
|
944 |
+
* @var long
|
945 |
+
*/
|
946 |
+
public $payer = null;
|
947 |
+
|
948 |
+
/**
|
949 |
+
* Валюта счета плательщика
|
950 |
+
* Currency of payer account
|
951 |
+
*
|
952 |
+
*
|
953 |
+
* @var string
|
954 |
+
*/
|
955 |
+
public $payerCurrency = null;
|
956 |
+
|
957 |
+
/**
|
958 |
+
* Сумма к списанию
|
959 |
+
* Debit amount
|
960 |
+
*
|
961 |
+
*
|
962 |
+
* @var decimal
|
963 |
+
*/
|
964 |
+
public $payerAmount = null;
|
965 |
+
|
966 |
+
/**
|
967 |
+
* Комиссия списания средств
|
968 |
+
* Debit fee
|
969 |
+
*
|
970 |
+
*
|
971 |
+
* @var decimal
|
972 |
+
*/
|
973 |
+
public $payerFee = null;
|
974 |
+
|
975 |
+
/**
|
976 |
+
* Номер счета получателя
|
977 |
+
* Payee account number
|
978 |
+
*
|
979 |
+
*
|
980 |
+
* @var long
|
981 |
+
*/
|
982 |
+
public $payee = null;
|
983 |
+
|
984 |
+
/**
|
985 |
+
* Валюта счета получателя
|
986 |
+
* Currency of payee account
|
987 |
+
*
|
988 |
+
*
|
989 |
+
* @var string
|
990 |
+
*/
|
991 |
+
public $payeeCurrency = null;
|
992 |
+
|
993 |
+
/**
|
994 |
+
* Сумма к зачислению
|
995 |
+
* Credit amount
|
996 |
+
*
|
997 |
+
*
|
998 |
+
* @var decimal
|
999 |
+
*/
|
1000 |
+
public $payeeAmount = null;
|
1001 |
+
|
1002 |
+
/**
|
1003 |
+
* Комиссия зачисления средств
|
1004 |
+
* Credit fee
|
1005 |
+
*
|
1006 |
+
*
|
1007 |
+
* @var decimal
|
1008 |
+
*/
|
1009 |
+
public $payeeFee = null;
|
1010 |
+
|
1011 |
+
/**
|
1012 |
+
* Название счета плательщика
|
1013 |
+
* Payer account alias
|
1014 |
+
*
|
1015 |
+
*
|
1016 |
+
* @var string
|
1017 |
+
*/
|
1018 |
+
public $payerAlias = null;
|
1019 |
+
|
1020 |
+
/**
|
1021 |
+
* Название счета получателя
|
1022 |
+
* Payee account alias
|
1023 |
+
*
|
1024 |
+
*
|
1025 |
+
* @var string
|
1026 |
+
*/
|
1027 |
+
public $payeeAlias = null;
|
1028 |
+
|
1029 |
+
}
|
1030 |
+
|
1031 |
+
/**
|
1032 |
+
* Тип, описывающий состояние операции в системе МОНЕТА.РУ
|
1033 |
+
* Type describes verification status of transaction.
|
1034 |
+
*
|
1035 |
+
*/
|
1036 |
+
class MonetaVerifyTransferResponseType
|
1037 |
+
{
|
1038 |
+
|
1039 |
+
/**
|
1040 |
+
* Если поле равно true, то данная операция может
|
1041 |
+
* быть проведена в системе МОНЕТА.РУ
|
1042 |
+
* If true the transaction may be processed in MONETA.RU
|
1043 |
+
*
|
1044 |
+
*
|
1045 |
+
* @var boolean
|
1046 |
+
*/
|
1047 |
+
public $isTransactionValid = null;
|
1048 |
+
|
1049 |
+
/**
|
1050 |
+
* Описание текущего статуса операции.
|
1051 |
+
* Description of current transaction status.
|
1052 |
+
*
|
1053 |
+
*
|
1054 |
+
* @var string
|
1055 |
+
*/
|
1056 |
+
public $description = null;
|
1057 |
+
|
1058 |
+
/**
|
1059 |
+
* Если операция может быть проведена, то в данном поле содержатся детали операции.
|
1060 |
+
* Иначе - это поле пустое.
|
1061 |
+
* Additional information if transaction may be processed. Otherwise empty.
|
1062 |
+
*
|
1063 |
+
*
|
1064 |
+
* @var MonetaForecastTransactionResponseType
|
1065 |
+
*/
|
1066 |
+
public $forecast = null;
|
1067 |
+
|
1068 |
+
}
|
1069 |
+
|
1070 |
+
/**
|
1071 |
+
* Тип, описывающий атрибуты счета в системе МОНЕТА.РУ.
|
1072 |
+
* Account information container type.
|
1073 |
+
*
|
1074 |
+
*/
|
1075 |
+
class MonetaAccountInfo
|
1076 |
+
{
|
1077 |
+
|
1078 |
+
/**
|
1079 |
+
* Номер счета в системе МОНЕТА.РУ
|
1080 |
+
* Account number
|
1081 |
+
*
|
1082 |
+
*
|
1083 |
+
* @var long
|
1084 |
+
*/
|
1085 |
+
public $id = null;
|
1086 |
+
|
1087 |
+
/**
|
1088 |
+
* Валюта данного счета
|
1089 |
+
* Currency of account
|
1090 |
+
*
|
1091 |
+
*
|
1092 |
+
* @var string
|
1093 |
+
*/
|
1094 |
+
public $currency = null;
|
1095 |
+
|
1096 |
+
/**
|
1097 |
+
* Баланс на данном счете
|
1098 |
+
* Current balance of account
|
1099 |
+
*
|
1100 |
+
*
|
1101 |
+
* @var decimal
|
1102 |
+
*/
|
1103 |
+
public $balance = null;
|
1104 |
+
|
1105 |
+
/**
|
1106 |
+
* Доступный баланс на данном счете
|
1107 |
+
* Available balance of account
|
1108 |
+
*
|
1109 |
+
*
|
1110 |
+
* @var decimal
|
1111 |
+
*/
|
1112 |
+
public $availableBalance = null;
|
1113 |
+
|
1114 |
+
/**
|
1115 |
+
* Тип счета в системе МОНЕТА.РУ
|
1116 |
+
* Type of account
|
1117 |
+
*
|
1118 |
+
*
|
1119 |
+
* @var int
|
1120 |
+
*/
|
1121 |
+
public $type = null;
|
1122 |
+
|
1123 |
+
/**
|
1124 |
+
* Статус счета в системе МОНЕТА.РУ
|
1125 |
+
* Status of account
|
1126 |
+
*
|
1127 |
+
*
|
1128 |
+
* @var int
|
1129 |
+
*/
|
1130 |
+
public $status = null;
|
1131 |
+
|
1132 |
+
/**
|
1133 |
+
* Название счета в системе МОНЕТА.РУ. Необязательное поле
|
1134 |
+
* Alias of account. Optional.
|
1135 |
+
*
|
1136 |
+
*
|
1137 |
+
* @var string
|
1138 |
+
*/
|
1139 |
+
public $alias = null;
|
1140 |
+
|
1141 |
+
/**
|
1142 |
+
* URL после списания средств. Необязательное поле.
|
1143 |
+
* URL on debiting. Optional.
|
1144 |
+
*
|
1145 |
+
*
|
1146 |
+
* @var string
|
1147 |
+
*/
|
1148 |
+
public $onSuccessfulDebitUrl = null;
|
1149 |
+
|
1150 |
+
/**
|
1151 |
+
* URL после зачисления средств. Необязательное поле.
|
1152 |
+
* URL on crediting. Optional.
|
1153 |
+
*
|
1154 |
+
*
|
1155 |
+
* @var string
|
1156 |
+
*/
|
1157 |
+
public $onSuccessfulCreditUrl = null;
|
1158 |
+
|
1159 |
+
/**
|
1160 |
+
* Код проверки целостности данных. Необязательное поле.
|
1161 |
+
* Payment form data integrity signature. Optional.
|
1162 |
+
*
|
1163 |
+
*
|
1164 |
+
* @var string
|
1165 |
+
*/
|
1166 |
+
public $signature = null;
|
1167 |
+
|
1168 |
+
/**
|
1169 |
+
* Если баланс счета меньше данного значения, то раз в сутки уходит уведомление об этом событии. Необязательное поле.
|
1170 |
+
* Daily notifications if balance is less than threshold. Optional.
|
1171 |
+
*
|
1172 |
+
*
|
1173 |
+
* @var decimal
|
1174 |
+
*/
|
1175 |
+
public $lowBalanceThreshold = null;
|
1176 |
+
|
1177 |
+
/**
|
1178 |
+
* Если баланс счета больше данного значения, то раз в сутки уходит уведомление об этом событии. Необязательное поле.
|
1179 |
+
* Daily notifications if balance is greater than threshold. Optional.
|
1180 |
+
*
|
1181 |
+
*
|
1182 |
+
* @var decimal
|
1183 |
+
*/
|
1184 |
+
public $highBalanceThreshold = null;
|
1185 |
+
|
1186 |
+
/**
|
1187 |
+
* Информация о доступе к счету. Информация отдается, если счет является делегированным. Необязательное поле.
|
1188 |
+
* Account access information. Available if the account is delegated, otherwise omitted. Optional.
|
1189 |
+
*
|
1190 |
+
*
|
1191 |
+
* @var MonetaAccountAccessInfo
|
1192 |
+
*/
|
1193 |
+
public $accountAccess = null;
|
1194 |
+
|
1195 |
+
/**
|
1196 |
+
* Счет-прототип с которого берутся свойства "по умолчанию". Необязательное поле.
|
1197 |
+
* Prototype account for default properties values. Optional.
|
1198 |
+
*
|
1199 |
+
*
|
1200 |
+
* @var long
|
1201 |
+
*/
|
1202 |
+
public $prototypeAccountId = null;
|
1203 |
+
|
1204 |
+
/**
|
1205 |
+
* URL после отмены списания средств. Необязательное поле.
|
1206 |
+
* URL on cancelled debit. Optional.
|
1207 |
+
*
|
1208 |
+
*
|
1209 |
+
* @var string
|
1210 |
+
*/
|
1211 |
+
public $onCancelledDebitUrl = null;
|
1212 |
+
|
1213 |
+
/**
|
1214 |
+
* URL после отмены зачисления средств. Необязательное поле.
|
1215 |
+
* URL on cancelled credit. Optional.
|
1216 |
+
*
|
1217 |
+
*
|
1218 |
+
* @var string
|
1219 |
+
*/
|
1220 |
+
public $onCancelledCreditUrl = null;
|
1221 |
+
|
1222 |
+
}
|
1223 |
+
|
1224 |
+
/**
|
1225 |
+
* Тип, описывающий доступ к счету.
|
1226 |
+
* Account access description type.
|
1227 |
+
*
|
1228 |
+
*/
|
1229 |
+
class MonetaAccountAccessInfo
|
1230 |
+
{
|
1231 |
+
|
1232 |
+
/**
|
1233 |
+
* Доступ на изменение свойств счета
|
1234 |
+
* Account attributes modification access
|
1235 |
+
*
|
1236 |
+
*
|
1237 |
+
* @var boolean
|
1238 |
+
*/
|
1239 |
+
public $accessToWrite = null;
|
1240 |
+
|
1241 |
+
/**
|
1242 |
+
* Доступ на снятие средств со счета
|
1243 |
+
* Account debiting access
|
1244 |
+
*
|
1245 |
+
*
|
1246 |
+
* @var boolean
|
1247 |
+
*/
|
1248 |
+
public $accessToTakenOut = null;
|
1249 |
+
|
1250 |
+
/**
|
1251 |
+
* Доступ на зачисление средств на счет
|
1252 |
+
* Account crediting access
|
1253 |
+
*
|
1254 |
+
*
|
1255 |
+
* @var boolean
|
1256 |
+
*/
|
1257 |
+
public $accessToTakenIn = null;
|
1258 |
+
|
1259 |
+
}
|
1260 |
+
|
1261 |
+
/**
|
1262 |
+
* Тип, который позволяет работать с сущностями типа "ключ-значение".
|
1263 |
+
* Key-value pairs type.
|
1264 |
+
*
|
1265 |
+
*/
|
1266 |
+
class MonetaKeyValueAttribute
|
1267 |
+
{
|
1268 |
+
|
1269 |
+
/**
|
1270 |
+
*
|
1271 |
+
*
|
1272 |
+
* @var string
|
1273 |
+
*/
|
1274 |
+
public $key = null;
|
1275 |
+
|
1276 |
+
/**
|
1277 |
+
*
|
1278 |
+
*
|
1279 |
+
* @var string
|
1280 |
+
*/
|
1281 |
+
public $value = null;
|
1282 |
+
|
1283 |
+
}
|
1284 |
+
|
1285 |
+
/**
|
1286 |
+
* Тип, расширяющий KeyValueAttribute.
|
1287 |
+
* В данном типе добавлено поле approved, которое показывает,
|
1288 |
+
* проверено или нет данное свойство. Поле approved - не обязательное.
|
1289 |
+
* Extended KeyValueAttribute Type.
|
1290 |
+
* Approved element shows if attribute value is approved or not.
|
1291 |
+
* Approved element is optional.
|
1292 |
+
*
|
1293 |
+
*/
|
1294 |
+
class MonetaKeyValueApprovedAttribute extends MonetaKeyValueAttribute
|
1295 |
+
{
|
1296 |
+
|
1297 |
+
/**
|
1298 |
+
*
|
1299 |
+
*
|
1300 |
+
* @var boolean
|
1301 |
+
*/
|
1302 |
+
public $approved = null;
|
1303 |
+
|
1304 |
+
}
|
1305 |
+
|
1306 |
+
/**
|
1307 |
+
* Тип, описывающий операцию в системе МОНЕТА.РУ.
|
1308 |
+
* Он представляет собой номер (id) операции и набор полей,
|
1309 |
+
* которые присутствуют у данной операции. Поля представлены в виде "ключ-значение".
|
1310 |
+
* Transaction type contains transaction id and key-value pairs representing transaction attributes.
|
1311 |
+
*
|
1312 |
+
*/
|
1313 |
+
class MonetaOperationInfo
|
1314 |
+
{
|
1315 |
+
|
1316 |
+
/**
|
1317 |
+
* Номер операции
|
1318 |
+
* Transaction ID
|
1319 |
+
*
|
1320 |
+
*
|
1321 |
+
* @var long
|
1322 |
+
*/
|
1323 |
+
public $id = null;
|
1324 |
+
|
1325 |
+
/**
|
1326 |
+
* Поля операции. Полей в операции может быть 0 и более.
|
1327 |
+
* Список полей:
|
1328 |
+
* clienttransaction - внешний (не в системе МОНЕТА.РУ) номер операции;
|
1329 |
+
* statusid - статус операции;
|
1330 |
+
* typeid - тип операции:
|
1331 |
+
* 2,10 - оплата с пользовательского счета,
|
1332 |
+
* 3 - оплата с внешней платежной системы,
|
1333 |
+
* 7,14 - пополнение счета,
|
1334 |
+
* 4,13 - вывод на внешнюю платежную систему,
|
1335 |
+
* 11 - вывод на пользовательский счет,
|
1336 |
+
* 12 - внутренний перевод;
|
1337 |
+
* category - категория операции:
|
1338 |
+
* DEPOSIT - ввод средств,
|
1339 |
+
* WITHDRAWAL - вывод средств,
|
1340 |
+
* TRANSFER - внутренний перевод,
|
1341 |
+
* BUSINESS - товары и услуги;
|
1342 |
+
* modified - время последнего изменения операции;
|
1343 |
+
* sourceaccountid - номер счета, с которого произведена операция;
|
1344 |
+
* sourcecurrencycode - валюта счета;
|
1345 |
+
* sourceamount - сумма по операции;
|
1346 |
+
* sourceamountfee - сумма комиссии;
|
1347 |
+
* sourceamounttotal - общая сумма с учетом комиссии;
|
1348 |
+
* targetaccountid - корреспондентский счет;
|
1349 |
+
* targetalias - название корреспондентского счета;
|
1350 |
+
* customfield:* - произвольный набор значений.
|
1351 |
+
* В операции их может быть несколько.
|
1352 |
+
* Полный ключ атрибута состоит из префикса ("customfield:") и тэга (32 символа).
|
1353 |
+
* Например, "customfield:name".
|
1354 |
+
* Transaction attributes. Attributes set may be empty.
|
1355 |
+
* Attributes list:
|
1356 |
+
* clienttransaction - external transaction ID;
|
1357 |
+
* statusid - transaction status;
|
1358 |
+
* typeid - transaction type:
|
1359 |
+
* 2,10 - payment from user account,
|
1360 |
+
* 3 - payment from external system,
|
1361 |
+
* 7,14 - deposit,
|
1362 |
+
* 4,13 - withdrawal to external system,
|
1363 |
+
* 11 - withdrawal to user account,
|
1364 |
+
* 12 - inner transfer;
|
1365 |
+
* category - transaction category:
|
1366 |
+
* DEPOSIT,
|
1367 |
+
* WITHDRAWAL,
|
1368 |
+
* TRANSFER,
|
1369 |
+
* BUSINESS;
|
1370 |
+
* modified - transaction modification timestamp;
|
1371 |
+
* sourceaccountid - account number;
|
1372 |
+
* sourcecurrencycode - account currency;
|
1373 |
+
* sourceamount - transaction amount;
|
1374 |
+
* sourceamountfee - transaction commission;
|
1375 |
+
* sourceamounttotal - total transaction amount incl. commission;
|
1376 |
+
* targetaccountid - correspondent account number;
|
1377 |
+
* targetalias - alias of correspondent account;
|
1378 |
+
* customfield:* - custom list of values.
|
1379 |
+
* The transaction may contain several attributes with different keys.
|
1380 |
+
* The full attribute's key consists of prefix ("customfield:") and tag (32 characters).
|
1381 |
+
* For example, "customfield:name".
|
1382 |
+
*
|
1383 |
+
*
|
1384 |
+
* @var MonetaKeyValueAttribute
|
1385 |
+
*/
|
1386 |
+
public $attribute = null;
|
1387 |
+
|
1388 |
+
/**
|
1389 |
+
* Поля операции. Полей в операции может быть 0 и более.
|
1390 |
+
* Список полей:
|
1391 |
+
* clienttransaction - внешний (не в системе МОНЕТА.РУ) номер операции;
|
1392 |
+
* statusid - статус операции;
|
1393 |
+
* typeid - тип операции:
|
1394 |
+
* 2,10 - оплата с пользовательского счета,
|
1395 |
+
* 3 - оплата с внешней платежной системы,
|
1396 |
+
* 7,14 - пополнение счета,
|
1397 |
+
* 4,13 - вывод на внешнюю платежную систему,
|
1398 |
+
* 11 - вывод на пользовательский счет,
|
1399 |
+
* 12 - внутренний перевод;
|
1400 |
+
* category - категория операции:
|
1401 |
+
* DEPOSIT - ввод средств,
|
1402 |
+
* WITHDRAWAL - вывод средств,
|
1403 |
+
* TRANSFER - внутренний перевод,
|
1404 |
+
* BUSINESS - товары и услуги;
|
1405 |
+
* modified - время последнего изменения операции;
|
1406 |
+
* sourceaccountid - номер счета, с которого произведена операция;
|
1407 |
+
* sourcecurrencycode - валюта счета;
|
1408 |
+
* sourceamount - сумма по операции;
|
1409 |
+
* sourceamountfee - сумма комиссии;
|
1410 |
+
* sourceamounttotal - общая сумма с учетом комиссии;
|
1411 |
+
* targetaccountid - корреспондентский счет;
|
1412 |
+
* targetalias - название корреспондентского счета;
|
1413 |
+
* customfield:* - произвольный набор значений.
|
1414 |
+
* В операции их может быть несколько.
|
1415 |
+
* Полный ключ атрибута состоит из префикса ("customfield:") и тэга (32 символа).
|
1416 |
+
* Например, "customfield:name".
|
1417 |
+
* Transaction attributes. Attributes set may be empty.
|
1418 |
+
* Attributes list:
|
1419 |
+
* clienttransaction - external transaction ID;
|
1420 |
+
* statusid - transaction status;
|
1421 |
+
* typeid - transaction type:
|
1422 |
+
* 2,10 - payment from user account,
|
1423 |
+
* 3 - payment from external system,
|
1424 |
+
* 7,14 - deposit,
|
1425 |
+
* 4,13 - withdrawal to external system,
|
1426 |
+
* 11 - withdrawal to user account,
|
1427 |
+
* 12 - inner transfer;
|
1428 |
+
* category - transaction category:
|
1429 |
+
* DEPOSIT,
|
1430 |
+
* WITHDRAWAL,
|
1431 |
+
* TRANSFER,
|
1432 |
+
* BUSINESS;
|
1433 |
+
* modified - transaction modification timestamp;
|
1434 |
+
* sourceaccountid - account number;
|
1435 |
+
* sourcecurrencycode - account currency;
|
1436 |
+
* sourceamount - transaction amount;
|
1437 |
+
* sourceamountfee - transaction commission;
|
1438 |
+
* sourceamounttotal - total transaction amount incl. commission;
|
1439 |
+
* targetaccountid - correspondent account number;
|
1440 |
+
* targetalias - alias of correspondent account;
|
1441 |
+
* customfield:* - custom list of values.
|
1442 |
+
* The transaction may contain several attributes with different keys.
|
1443 |
+
* The full attribute's key consists of prefix ("customfield:") and tag (32 characters).
|
1444 |
+
* For example, "customfield:name".
|
1445 |
+
*
|
1446 |
+
*
|
1447 |
+
* @param MonetaKeyValueAttribute
|
1448 |
+
*
|
1449 |
+
* @return void
|
1450 |
+
*/
|
1451 |
+
public function addAttribute(MonetaKeyValueAttribute $item)
|
1452 |
+
{
|
1453 |
+
$this->attribute[] = $item;
|
1454 |
+
}
|
1455 |
+
|
1456 |
+
}
|
1457 |
+
|
1458 |
+
/**
|
1459 |
+
* Тип, представляющий список операций.
|
1460 |
+
* Содержит разбиение по страницам для отображения длинных списков.
|
1461 |
+
* Transaction list type.
|
1462 |
+
* Contains paged structure for long list presentation.
|
1463 |
+
*
|
1464 |
+
*/
|
1465 |
+
class MonetaOperationInfoList
|
1466 |
+
{
|
1467 |
+
|
1468 |
+
/**
|
1469 |
+
* Количество операций, возвращаемых в результате запроса.
|
1470 |
+
* Transaction per page within one request.
|
1471 |
+
*
|
1472 |
+
*
|
1473 |
+
* @var long
|
1474 |
+
*/
|
1475 |
+
public $pageSize = null;
|
1476 |
+
|
1477 |
+
/**
|
1478 |
+
* Номер текущей страницы. Нумерация начинается с 1
|
1479 |
+
* Current page number starting with 1.
|
1480 |
+
*
|
1481 |
+
*
|
1482 |
+
* @var long
|
1483 |
+
*/
|
1484 |
+
public $pageNumber = null;
|
1485 |
+
|
1486 |
+
/**
|
1487 |
+
* Максимальное количество страниц с операциями по данному запросу
|
1488 |
+
* Total page count for given request.
|
1489 |
+
*
|
1490 |
+
*
|
1491 |
+
* @var long
|
1492 |
+
*/
|
1493 |
+
public $pagesCount = null;
|
1494 |
+
|
1495 |
+
/**
|
1496 |
+
* Количество операций на текущей странице.
|
1497 |
+
* Меньше или равно pageSize.
|
1498 |
+
* Последняя страница может содержать операций меньше, чем pageSize.
|
1499 |
+
* Transactions count in current page.
|
1500 |
+
* Less or equal to pageSize.
|
1501 |
+
* Last page may contain less than pageSize transactions.
|
1502 |
+
*
|
1503 |
+
*
|
1504 |
+
* @var long
|
1505 |
+
*/
|
1506 |
+
public $size = null;
|
1507 |
+
|
1508 |
+
/**
|
1509 |
+
* Общее количество операций, которое можно получить в данной
|
1510 |
+
* выборке
|
1511 |
+
* Total transactions count for given request.
|
1512 |
+
*
|
1513 |
+
*
|
1514 |
+
* @var long
|
1515 |
+
*/
|
1516 |
+
public $totalSize = null;
|
1517 |
+
|
1518 |
+
/**
|
1519 |
+
* Список операций
|
1520 |
+
* Transaction list
|
1521 |
+
*
|
1522 |
+
*
|
1523 |
+
* @var MonetaOperationInfo
|
1524 |
+
*/
|
1525 |
+
public $operation = null;
|
1526 |
+
|
1527 |
+
/**
|
1528 |
+
* Список операций
|
1529 |
+
* Transaction list
|
1530 |
+
*
|
1531 |
+
*
|
1532 |
+
* @param MonetaOperationInfo
|
1533 |
+
*
|
1534 |
+
* @return void
|
1535 |
+
*/
|
1536 |
+
public function addOperation(MonetaOperationInfo $item)
|
1537 |
+
{
|
1538 |
+
$this->operation[] = $item;
|
1539 |
+
}
|
1540 |
+
|
1541 |
+
}
|
1542 |
+
|
1543 |
+
/**
|
1544 |
+
* Тип, позволяющий задать необходимую страницу при отображении длинных списков.
|
1545 |
+
* Long list retrieval type.
|
1546 |
+
*
|
1547 |
+
*/
|
1548 |
+
class MonetaPager
|
1549 |
+
{
|
1550 |
+
|
1551 |
+
/**
|
1552 |
+
* Номер страницы, которую нужно получить. Минимальное значение равно 1.
|
1553 |
+
* Значение по умолчанию равно 1.
|
1554 |
+
* Page number to retrieve. Minimal value is 1.
|
1555 |
+
* By default is 1.
|
1556 |
+
*
|
1557 |
+
*
|
1558 |
+
* @var int
|
1559 |
+
*/
|
1560 |
+
public $pageNumber = null;
|
1561 |
+
|
1562 |
+
/**
|
1563 |
+
* Сколько записей необходимо получить на одной странице. Минимальное
|
1564 |
+
* значение равно 1. Максимальное значение равно 100. Значение по умолчанию равно 10.
|
1565 |
+
* Transactions per page. Minimal value is 1.
|
1566 |
+
* Maximal value is 100.
|
1567 |
+
* By default is 10.
|
1568 |
+
*
|
1569 |
+
*
|
1570 |
+
* @var int
|
1571 |
+
*/
|
1572 |
+
public $pageSize = null;
|
1573 |
+
|
1574 |
+
}
|
1575 |
+
|
1576 |
+
/**
|
1577 |
+
* Данные пользователя в системе МОНЕТА.РУ.
|
1578 |
+
* Данные представляются в виде "ключ-значение" и признака подтвержденности.
|
1579 |
+
* Можно получить доступ либо к собственным, либо к публично доступным данным
|
1580 |
+
* (то есть к тем данным, которые пользователь сам разрешил для просмотра).
|
1581 |
+
* Возможные ключи для пользователей с типом "client":
|
1582 |
+
* unitid - ID пользователя в системе МОНЕТА.РУ;
|
1583 |
+
* last_name - фамилия;
|
1584 |
+
* first_name - имя;
|
1585 |
+
* middle_initial_name - отчество;
|
1586 |
+
* alias - псевдоним;
|
1587 |
+
* country - страна;
|
1588 |
+
* state - область, республика, штат;
|
1589 |
+
* city - город;
|
1590 |
+
* zip - индекс;
|
1591 |
+
* address - адрес;
|
1592 |
+
* email_for_notifications - адрес электронной почты для уведомлений;
|
1593 |
+
* im_for_notifications - jabber account для уведомлений;
|
1594 |
+
* phone - номер телефона;
|
1595 |
+
* cell_phone - номер сотового телефона;
|
1596 |
+
* url - url сайта;
|
1597 |
+
* sex - пол. MALE - мужской, FEMALE - женский;
|
1598 |
+
* date_of_birth - дата рождения (формат - yyyy-mm-dd);
|
1599 |
+
* inn - номер ИНН;
|
1600 |
+
* timezone - часовой пояс пользователя;
|
1601 |
+
* ui_language - язык интерфейса пользователя. RU - руский, EN - английский;
|
1602 |
+
* notification_flags:operation - рассылка уведомлений о проведении операций (0-нет, 1-да);
|
1603 |
+
* notification_flags:login - рассылка уведомлений о входе в систему
|
1604 |
+
* (0-нет, 1-да);
|
1605 |
+
* notification_flags:news - подписка на рассылку уведомлений (0-нет, 1-да);
|
1606 |
+
* notification_flags:regular_payments - подписка на рассылку уведомлений по регулярным платежам (0-нет, 1-да);
|
1607 |
+
* notification_flags:balance_threshold - рассылка уведомлений о пороговых значениях баланса (0-нет, 1-да);
|
1608 |
+
* notification_flags_im:operation - рассылка уведомлений о проведении операций (0-нет, 1-да);
|
1609 |
+
* notification_flags_im:login - рассылка уведомлений о входе в систему
|
1610 |
+
* (0-нет, 1-да);
|
1611 |
+
* notification_flags_im:news - подписка на рассылку уведомлений (0-нет, 1-да);
|
1612 |
+
* notification_flags_im:regular_payments - подписка на рассылку уведомлений по регулярным платежам (0-нет, 1-да);
|
1613 |
+
* notification_flags_im:balance_threshold - рассылка уведомлений о пороговых значениях баланса (0-нет, 1-да);
|
1614 |
+
* customfield:* - произвольный набор значений.
|
1615 |
+
* В данных пользователя их может быть несколько.
|
1616 |
+
* Полный ключ атрибута состоит из префикса ("customfield:") и тэга (32 символа).
|
1617 |
+
* Например, "customfield:name".
|
1618 |
+
* Возможные ключи для пользователей с типом "organization":
|
1619 |
+
* unitid - ID пользователя в системе МОНЕТА.РУ;
|
1620 |
+
* organization_name - название организации;
|
1621 |
+
* alias - псевдоним;
|
1622 |
+
* fio_director - ФИО директора;
|
1623 |
+
* phone_director - телефон директора;
|
1624 |
+
* fio_accountant - ФИО бухгалтера;
|
1625 |
+
* phone_accountant - телефон бухгалтера;
|
1626 |
+
* legal_address - юридический адрес;
|
1627 |
+
* post_address - почтовый адрес;
|
1628 |
+
* actual_address - фактический адрес;
|
1629 |
+
* url - url сайта;
|
1630 |
+
* contact_info - контактная информация;
|
1631 |
+
* contact_email - контактный e-mail;
|
1632 |
+
* business_activity - вид деятельности;
|
1633 |
+
* inn - номер ИНН;
|
1634 |
+
* contract_number - номер договора (только для чтения);
|
1635 |
+
* contract_date - дата договора (только для чтения);
|
1636 |
+
* timezone - часовой пояс пользователя;
|
1637 |
+
* ui_language - язык интерфейса пользователя. RU - руский, EN - английский;
|
1638 |
+
* notification_flags:operation - рассылка уведомлений о проведении операций (0-нет, 1-да);
|
1639 |
+
* notification_flags:login - рассылка уведомлений о входе в систему
|
1640 |
+
* (0-нет, 1-да);
|
1641 |
+
* notification_flags:news - подписка на рассылку уведомлений (0-нет, 1-да);
|
1642 |
+
* notification_flags:regular_payments - подписка на рассылку уведомлений по регулярным платежам (0-нет, 1-да);
|
1643 |
+
* notification_flags:balance_threshold - рассылка уведомлений о пороговых значениях баланса (0-нет, 1-да);
|
1644 |
+
* notification_flags_im:operation - рассылка уведомлений о проведении операций (0-нет, 1-да);
|
1645 |
+
* notification_flags_im:login - рассылка уведомлений о входе в систему
|
1646 |
+
* (0-нет, 1-да);
|
1647 |
+
* notification_flags_im:news - подписка на рассылку уведомлений (0-нет, 1-да);
|
1648 |
+
* notification_flags_im:regular_payments - подписка на рассылку уведомлений по регулярным платежам (0-нет, 1-да);
|
1649 |
+
* notification_flags_im:balance_threshold - рассылка уведомлений о пороговых значениях баланса (0-нет, 1-да);
|
1650 |
+
* customfield:* - произвольный набор значений.
|
1651 |
+
* В данных пользователя их может быть несколько.
|
1652 |
+
* Полный ключ атрибута состоит из префикса ("customfield:") и тэга (32 символа).
|
1653 |
+
* Например, "customfield:name".
|
1654 |
+
* User profile information.
|
1655 |
+
* Data is presented as key-value pairs list.
|
1656 |
+
* Returned attributes are either owned by authenticated user
|
1657 |
+
* or marked as publicly available by profile owner.
|
1658 |
+
* Possilble keys for "client" profiles:
|
1659 |
+
* unitid - structure identificator in MONETA.RU;
|
1660 |
+
* last_name;
|
1661 |
+
* first_name;
|
1662 |
+
* middle_initial_name;
|
1663 |
+
* alias;
|
1664 |
+
* country;
|
1665 |
+
* state;
|
1666 |
+
* city;
|
1667 |
+
* zip;
|
1668 |
+
* address;
|
1669 |
+
* email_for_notifications;
|
1670 |
+
* im_for_notifications;
|
1671 |
+
* phone;
|
1672 |
+
* cell_phone;
|
1673 |
+
* url;
|
1674 |
+
* sex (MALE|FEMALE);
|
1675 |
+
* date_of_birth (yyyy-mm-dd format);
|
1676 |
+
* inn - Tax ID;
|
1677 |
+
* timezone;
|
1678 |
+
* ui_language (RU|EN);
|
1679 |
+
* notification_flags:operation - transaction notifications (0-don't send, 1-send);
|
1680 |
+
* notification_flags:login - loging in notifications (0-don't send, 1-send);
|
1681 |
+
* notification_flags:news - news and information notifications (0-don't send, 1-send);
|
1682 |
+
* notification_flags:regular_payments - regular payments notifications (0-don't send, 1-send);
|
1683 |
+
* notification_flags:balance_threshold - account balance threshold notifications (0-don't send, 1-send);
|
1684 |
+
* notification_flags_im:operation - transaction notifications (0-don't send, 1-send);
|
1685 |
+
* notification_flags_im:login - loging in notifications (0-don't send, 1-send);
|
1686 |
+
* notification_flags_im:news - news and information notifications (0-don't send, 1-send);
|
1687 |
+
* notification_flags_im:regular_payments - regular payments notifications (0-don't send, 1-send);
|
1688 |
+
* notification_flags_im:balance_threshold - account balance threshold notifications (0-don't send, 1-send);
|
1689 |
+
* customfield:* - custom list of values.
|
1690 |
+
* User profile may contain several attributes with different keys.
|
1691 |
+
* The full attribute's key consists of prefix ("customfield:") and tag (32 characters).
|
1692 |
+
* For example, "customfield:name".
|
1693 |
+
* Possible keys for "organization" profile:
|
1694 |
+
* unitid - structure identificator in MONETA.RU;
|
1695 |
+
* organization_name;
|
1696 |
+
* alias;
|
1697 |
+
* fio_director - Director's Fullname ;
|
1698 |
+
* phone_director - Director's phone;
|
1699 |
+
* fio_accountant - Accountant's fullname;
|
1700 |
+
* phone_accountant - Accountant's phone;
|
1701 |
+
* legal_address - official organization address;
|
1702 |
+
* post_address - post address;
|
1703 |
+
* actual_address - actual address;
|
1704 |
+
* url - site url;
|
1705 |
+
* contact_info - contact info;
|
1706 |
+
* contact_email - contact e-mail;
|
1707 |
+
* business_activity - business activity;
|
1708 |
+
* inn - Tax ID;
|
1709 |
+
* contract_number - contract number;
|
1710 |
+
* contract_date - contract date;
|
1711 |
+
* timezone - user's time zone;
|
1712 |
+
* ui_language (RU|EN);
|
1713 |
+
* notification_flags:operation - transaction notifications (0-don't send, 1-send);
|
1714 |
+
* notification_flags:login - loging in notifications (0-don't send, 1-send);
|
1715 |
+
* notification_flags:news - news and information notifications (0-don't send, 1-send);
|
1716 |
+
* notification_flags:regular_payments - regular payments notifications (0-don't send, 1-send);
|
1717 |
+
* notification_flags:balance_threshold - account balance threshold notifications (0-don't send, 1-send);
|
1718 |
+
* notification_flags_im:operation - transaction notifications (0-don't send, 1-send);
|
1719 |
+
* notification_flags_im:login - loging in notifications (0-don't send, 1-send);
|
1720 |
+
* notification_flags_im:news - news and information notifications (0-don't send, 1-send);
|
1721 |
+
* notification_flags_im:regular_payments - regular payments notifications (0-don't send, 1-send);
|
1722 |
+
* notification_flags_im:balance_threshold - account balance threshold notifications (0-don't send, 1-send);
|
1723 |
+
* customfield:* - custom list of values.
|
1724 |
+
* Organization profile may contain several attributes with different keys.
|
1725 |
+
* The full attribute's key consists of prefix ("customfield:") and tag (32 characters).
|
1726 |
+
* For example, "customfield:name".
|
1727 |
+
* Список идентификаторов временных зон, которые используются в системе, доступен на странице wikipedia.org
|
1728 |
+
* Timezone identificators supported in MONETA.RU available as TZ name on wikipedia.org
|
1729 |
+
*
|
1730 |
+
*/
|
1731 |
+
class MonetaProfile
|
1732 |
+
{
|
1733 |
+
|
1734 |
+
/**
|
1735 |
+
*
|
1736 |
+
*
|
1737 |
+
* @var MonetaKeyValueAttribute
|
1738 |
+
*/
|
1739 |
+
public $attribute = null;
|
1740 |
+
|
1741 |
+
/**
|
1742 |
+
*
|
1743 |
+
*
|
1744 |
+
* @param MonetaKeyValueAttribute
|
1745 |
+
*
|
1746 |
+
* @return void
|
1747 |
+
*/
|
1748 |
+
public function addAttribute(MonetaKeyValueAttribute $item)
|
1749 |
+
{
|
1750 |
+
$this->attribute[] = $item;
|
1751 |
+
}
|
1752 |
+
|
1753 |
+
}
|
1754 |
+
|
1755 |
+
/**
|
1756 |
+
* Тип, описывающий документ в системе МОНЕТА.РУ
|
1757 |
+
* Document information type
|
1758 |
+
*
|
1759 |
+
*/
|
1760 |
+
class MonetaDocument
|
1761 |
+
{
|
1762 |
+
|
1763 |
+
/**
|
1764 |
+
* Идентификатор документа в системе МОНЕТА.РУ
|
1765 |
+
* Document identificator in MONETA.RU
|
1766 |
+
*
|
1767 |
+
*
|
1768 |
+
* @var long
|
1769 |
+
*/
|
1770 |
+
public $id = null;
|
1771 |
+
|
1772 |
+
/**
|
1773 |
+
* Тип документа
|
1774 |
+
* Document type
|
1775 |
+
*
|
1776 |
+
*
|
1777 |
+
* @var string
|
1778 |
+
*/
|
1779 |
+
public $type = null;
|
1780 |
+
|
1781 |
+
/**
|
1782 |
+
* Поля документа в системе МОНЕТА.РУ.
|
1783 |
+
* Данные представляются в виде "ключ-значение" и признака подтвержденности.
|
1784 |
+
* В зависимости от типа документа возвращаются следующие поля:
|
1785 |
+
* Для документов типа PASSPORT, MILITARY_ID:
|
1786 |
+
* SERIES - серия документа
|
1787 |
+
* NUMBER - номер документа
|
1788 |
+
* ISSUER - кем выдан документ
|
1789 |
+
* ISSUED - когда выдан документ
|
1790 |
+
* COMMENTS - комментарии (необязательное поле)
|
1791 |
+
* Для документов типа DRIVING_LICENCE:
|
1792 |
+
* SERIES - серия документа
|
1793 |
+
* NUMBER - номер документа
|
1794 |
+
* ISSUER - кем выдан документ
|
1795 |
+
* ISSUED - когда выдан документ
|
1796 |
+
* EXPIRATIONDATE - срок действия
|
1797 |
+
* COMMENTS - комментарии (необязательное поле)
|
1798 |
+
* Для OTHER:
|
1799 |
+
* COMMENTS - комментарии, пояснения, описание
|
1800 |
+
* Для всех типов документов:
|
1801 |
+
* customfield:* - произвольный набор значений.
|
1802 |
+
* В документе их может быть несколько.
|
1803 |
+
* Полный ключ атрибута состоит из префикса ("customfield:") и тэга (32 символа).
|
1804 |
+
* Например, "customfield:name".
|
1805 |
+
* MODIFICATIONDATE - последняя дата редактирования документа
|
1806 |
+
* Document attributes in MONETA.RU.
|
1807 |
+
* Information is represented by key-value pairs list.
|
1808 |
+
* Supported keys depending on document type as follows.
|
1809 |
+
* PASSPORT, MILITARY_ID document type:
|
1810 |
+
* SERIES - document series
|
1811 |
+
* NUMBER - document number
|
1812 |
+
* ISSUER - document issuer
|
1813 |
+
* ISSUED - document issuance date
|
1814 |
+
* COMMENTS - optional description
|
1815 |
+
* DRIVING_LICENCE document type:
|
1816 |
+
* SERIES - document series
|
1817 |
+
* NUMBER - document number
|
1818 |
+
* ISSUER - document issuer
|
1819 |
+
* ISSUED - document issuance date
|
1820 |
+
* EXPIRATIONDATE - expiration date
|
1821 |
+
* COMMENTS - optional description
|
1822 |
+
* OTHER document type:
|
1823 |
+
* COMMENTS - name, description, comments or explanation
|
1824 |
+
* all document types:
|
1825 |
+
* customfield:* - custom list of values.
|
1826 |
+
* The document may contain several attributes with different keys.
|
1827 |
+
* The full attribute's key consists of prefix ("customfield:") and tag (32 characters).
|
1828 |
+
* For example, "customfield:name".
|
1829 |
+
* MODIFICATIONDATE - document last modification date
|
1830 |
+
*
|
1831 |
+
*
|
1832 |
+
* @var MonetaKeyValueAttribute
|
1833 |
+
*/
|
1834 |
+
public $attribute = null;
|
1835 |
+
|
1836 |
+
/**
|
1837 |
+
* Поля документа в системе МОНЕТА.РУ.
|
1838 |
+
* Данные представляются в виде "ключ-значение" и признака подтвержденности.
|
1839 |
+
* В зависимости от типа документа возвращаются следующие поля:
|
1840 |
+
* Для документов типа PASSPORT, MILITARY_ID:
|
1841 |
+
* SERIES - серия документа
|
1842 |
+
* NUMBER - номер документа
|
1843 |
+
* ISSUER - кем выдан документ
|
1844 |
+
* ISSUED - когда выдан документ
|
1845 |
+
* COMMENTS - комментарии (необязательное поле)
|
1846 |
+
* Для документов типа DRIVING_LICENCE:
|
1847 |
+
* SERIES - серия документа
|
1848 |
+
* NUMBER - номер документа
|
1849 |
+
* ISSUER - кем выдан документ
|
1850 |
+
* ISSUED - когда выдан документ
|
1851 |
+
* EXPIRATIONDATE - срок действия
|
1852 |
+
* COMMENTS - комментарии (необязательное поле)
|
1853 |
+
* Для OTHER:
|
1854 |
+
* COMMENTS - комментарии, пояснения, описание
|
1855 |
+
* Для всех типов документов:
|
1856 |
+
* customfield:* - произвольный набор значений.
|
1857 |
+
* В документе их может быть несколько.
|
1858 |
+
* Полный ключ атрибута состоит из префикса ("customfield:") и тэга (32 символа).
|
1859 |
+
* Например, "customfield:name".
|
1860 |
+
* MODIFICATIONDATE - последняя дата редактирования документа
|
1861 |
+
* Document attributes in MONETA.RU.
|
1862 |
+
* Information is represented by key-value pairs list.
|
1863 |
+
* Supported keys depending on document type as follows.
|
1864 |
+
* PASSPORT, MILITARY_ID document type:
|
1865 |
+
* SERIES - document series
|
1866 |
+
* NUMBER - document number
|
1867 |
+
* ISSUER - document issuer
|
1868 |
+
* ISSUED - document issuance date
|
1869 |
+
* COMMENTS - optional description
|
1870 |
+
* DRIVING_LICENCE document type:
|
1871 |
+
* SERIES - document series
|
1872 |
+
* NUMBER - document number
|
1873 |
+
* ISSUER - document issuer
|
1874 |
+
* ISSUED - document issuance date
|
1875 |
+
* EXPIRATIONDATE - expiration date
|
1876 |
+
* COMMENTS - optional description
|
1877 |
+
* OTHER document type:
|
1878 |
+
* COMMENTS - name, description, comments or explanation
|
1879 |
+
* all document types:
|
1880 |
+
* customfield:* - custom list of values.
|
1881 |
+
* The document may contain several attributes with different keys.
|
1882 |
+
* The full attribute's key consists of prefix ("customfield:") and tag (32 characters).
|
1883 |
+
* For example, "customfield:name".
|
1884 |
+
* MODIFICATIONDATE - document last modification date
|
1885 |
+
*
|
1886 |
+
*
|
1887 |
+
* @param MonetaKeyValueAttribute
|
1888 |
+
*
|
1889 |
+
* @return void
|
1890 |
+
*/
|
1891 |
+
public function addAttribute(MonetaKeyValueAttribute $item)
|
1892 |
+
{
|
1893 |
+
$this->attribute[] = $item;
|
1894 |
+
}
|
1895 |
+
|
1896 |
+
/**
|
1897 |
+
* Имеет ли документ прикрепленные файлы.
|
1898 |
+
* Для получения прикрепленных файлов используйте вызов FindProfileDocumentFilesRequest
|
1899 |
+
* If the document has attachments or not.
|
1900 |
+
* For attachment fetching see FindProfileDocumentFilesRequest
|
1901 |
+
*
|
1902 |
+
*
|
1903 |
+
* @var boolean
|
1904 |
+
*/
|
1905 |
+
public $hasAttachedFiles = null;
|
1906 |
+
|
1907 |
+
}
|
1908 |
+
|
1909 |
+
/**
|
1910 |
+
* Тип, описывающий данные в виде бинарного файла.
|
1911 |
+
* Binary data type.
|
1912 |
+
*
|
1913 |
+
*/
|
1914 |
+
class MonetaFile
|
1915 |
+
{
|
1916 |
+
|
1917 |
+
/**
|
1918 |
+
* ID документа, которому принадлежит данный файл
|
1919 |
+
* Document ID, which file belongs to
|
1920 |
+
*
|
1921 |
+
*
|
1922 |
+
* @var long
|
1923 |
+
*/
|
1924 |
+
public $documentId = null;
|
1925 |
+
|
1926 |
+
/**
|
1927 |
+
* Данные файла. При передаче/получении данных используйте MTOM (Message Transmission Optimization Mechanism).
|
1928 |
+
* File contents. Use MTOM (Message Transmission Optimization Mechanism).
|
1929 |
+
*
|
1930 |
+
*
|
1931 |
+
* @var base64Binary
|
1932 |
+
*/
|
1933 |
+
public $blob = null;
|
1934 |
+
|
1935 |
+
/**
|
1936 |
+
* Проверен или нет данный файл
|
1937 |
+
* Is file approved or not
|
1938 |
+
*
|
1939 |
+
*
|
1940 |
+
* @var boolean
|
1941 |
+
*/
|
1942 |
+
public $approved = null;
|
1943 |
+
|
1944 |
+
/**
|
1945 |
+
* ID файла
|
1946 |
+
* File Id
|
1947 |
+
*
|
1948 |
+
*
|
1949 |
+
* @var long
|
1950 |
+
*/
|
1951 |
+
public $fileId = null;
|
1952 |
+
|
1953 |
+
/**
|
1954 |
+
* Mime type файла (например: image/jpeg)
|
1955 |
+
* File mime type (example: image/jpeg)
|
1956 |
+
*
|
1957 |
+
*
|
1958 |
+
* @var string
|
1959 |
+
*/
|
1960 |
+
public $mimeType = null;
|
1961 |
+
|
1962 |
+
/**
|
1963 |
+
* Имя файла или описание
|
1964 |
+
* File name or description
|
1965 |
+
*
|
1966 |
+
*
|
1967 |
+
* @var string
|
1968 |
+
*/
|
1969 |
+
public $title = null;
|
1970 |
+
|
1971 |
+
}
|
1972 |
+
|
1973 |
+
/**
|
1974 |
+
* Тип, описывающий делегированный доступ к счету.
|
1975 |
+
* Type describing access to delegated account.
|
1976 |
+
*
|
1977 |
+
*/
|
1978 |
+
class MonetaAccountRelation
|
1979 |
+
{
|
1980 |
+
|
1981 |
+
/**
|
1982 |
+
* Номер счета в системе МОНЕТА.РУ.
|
1983 |
+
* Account number.
|
1984 |
+
*
|
1985 |
+
*
|
1986 |
+
* @var long
|
1987 |
+
*/
|
1988 |
+
public $accountId = null;
|
1989 |
+
|
1990 |
+
/**
|
1991 |
+
* Email пользователя, которому предоставляется делегированный доступ к счету.
|
1992 |
+
* Email of user which has to be provided with delegated account access.
|
1993 |
+
*
|
1994 |
+
*
|
1995 |
+
* @var string
|
1996 |
+
*/
|
1997 |
+
public $principalEmail = null;
|
1998 |
+
|
1999 |
+
/**
|
2000 |
+
* Просмотр счета.
|
2001 |
+
* View account.
|
2002 |
+
*
|
2003 |
+
*
|
2004 |
+
* @var boolean
|
2005 |
+
*/
|
2006 |
+
public $canViewAccount = null;
|
2007 |
+
|
2008 |
+
/**
|
2009 |
+
* Редактирование счета.
|
2010 |
+
* Edit account.
|
2011 |
+
*
|
2012 |
+
*
|
2013 |
+
* @var boolean
|
2014 |
+
*/
|
2015 |
+
public $canEditAccount = null;
|
2016 |
+
|
2017 |
+
/**
|
2018 |
+
* Проведение операций.
|
2019 |
+
* Process operations.
|
2020 |
+
*
|
2021 |
+
*
|
2022 |
+
* @var boolean
|
2023 |
+
*/
|
2024 |
+
public $canProcessOperation = null;
|
2025 |
+
|
2026 |
+
}
|
2027 |
+
|
2028 |
+
/**
|
2029 |
+
* Выставление счета к оплате.
|
2030 |
+
* Making new invoice (request for payment).
|
2031 |
+
*
|
2032 |
+
*/
|
2033 |
+
class MonetaInvoiceRequest
|
2034 |
+
{
|
2035 |
+
|
2036 |
+
/**
|
2037 |
+
* Номер счета плательщика
|
2038 |
+
* Payer account number
|
2039 |
+
*
|
2040 |
+
*
|
2041 |
+
* @var long
|
2042 |
+
*/
|
2043 |
+
public $payer = null;
|
2044 |
+
|
2045 |
+
/**
|
2046 |
+
* Номер счета получателя
|
2047 |
+
* Payee account number
|
2048 |
+
*
|
2049 |
+
*
|
2050 |
+
* @var long
|
2051 |
+
*/
|
2052 |
+
public $payee = null;
|
2053 |
+
|
2054 |
+
/**
|
2055 |
+
* Сумма
|
2056 |
+
* Amount
|
2057 |
+
*
|
2058 |
+
*
|
2059 |
+
* @var decimal
|
2060 |
+
*/
|
2061 |
+
public $amount = null;
|
2062 |
+
|
2063 |
+
/**
|
2064 |
+
* Внешний номер операции
|
2065 |
+
* external transaction identificator
|
2066 |
+
*
|
2067 |
+
*
|
2068 |
+
* @var string
|
2069 |
+
*/
|
2070 |
+
public $clientTransaction = null;
|
2071 |
+
|
2072 |
+
/**
|
2073 |
+
* Описание операции
|
2074 |
+
* Transaction description or comments
|
2075 |
+
*
|
2076 |
+
*
|
2077 |
+
* @var normalizedString
|
2078 |
+
*/
|
2079 |
+
public $description = null;
|
2080 |
+
|
2081 |
+
/**
|
2082 |
+
* Произвольный параметр
|
2083 |
+
* Custom parameter
|
2084 |
+
*
|
2085 |
+
*
|
2086 |
+
* @var string
|
2087 |
+
*/
|
2088 |
+
public $mnt_custom1 = null;
|
2089 |
+
|
2090 |
+
/**
|
2091 |
+
* Произвольный параметр
|
2092 |
+
* Custom parameter
|
2093 |
+
*
|
2094 |
+
*
|
2095 |
+
* @var string
|
2096 |
+
*/
|
2097 |
+
public $mnt_custom2 = null;
|
2098 |
+
|
2099 |
+
/**
|
2100 |
+
* Произвольный параметр
|
2101 |
+
* Custom parameter
|
2102 |
+
*
|
2103 |
+
*
|
2104 |
+
* @var string
|
2105 |
+
*/
|
2106 |
+
public $mnt_custom3 = null;
|
2107 |
+
|
2108 |
+
/**
|
2109 |
+
* Набор полей, которые необходимо сохранить в качестве атрибутов операции. Значения дат в формате dd.MM.yyyy HH:mm:ss
|
2110 |
+
* Key-value pairs that will be saved as a transaction attributes. Use format dd.MM.yyyy HH:mm:ss for date values
|
2111 |
+
*
|
2112 |
+
*
|
2113 |
+
* @var MonetaOperationInfo
|
2114 |
+
*/
|
2115 |
+
public $operationInfo = null;
|
2116 |
+
|
2117 |
+
}
|
2118 |
+
|
2119 |
+
/**
|
2120 |
+
* Ответ на выставление счета к оплате.
|
2121 |
+
* Invoice registration response.
|
2122 |
+
*
|
2123 |
+
*/
|
2124 |
+
class MonetaInvoiceResponse extends MonetaTransactionResponseType
|
2125 |
+
{
|
2126 |
+
|
2127 |
+
}
|
2128 |
+
|
2129 |
+
/**
|
2130 |
+
* Запрос на перевод денежных средств.
|
2131 |
+
* Money Transfer Request.
|
2132 |
+
*
|
2133 |
+
*/
|
2134 |
+
class MonetaTransferRequest extends MonetaTransactionRequestType
|
2135 |
+
{
|
2136 |
+
|
2137 |
+
}
|
2138 |
+
|
2139 |
+
/**
|
2140 |
+
* Ответ на запрос перевода денежных средств.
|
2141 |
+
* Money transfer registration response.
|
2142 |
+
*
|
2143 |
+
*/
|
2144 |
+
class MonetaTransferResponse extends MonetaTransactionResponseType
|
2145 |
+
{
|
2146 |
+
|
2147 |
+
}
|
2148 |
+
|
2149 |
+
/**
|
2150 |
+
* Запрос на перевод денежных средств в пакетном режиме.
|
2151 |
+
* Money Transfer Request in batch processing mode.
|
2152 |
+
*
|
2153 |
+
*/
|
2154 |
+
class MonetaTransferBatchRequest extends MonetaTransactionBatchRequestType
|
2155 |
+
{
|
2156 |
+
|
2157 |
+
}
|
2158 |
+
|
2159 |
+
/**
|
2160 |
+
* Ответ на запрос перевода денежных средств в пакетном режиме.
|
2161 |
+
* Money transfer registration response in batch processing mode.
|
2162 |
+
*
|
2163 |
+
*/
|
2164 |
+
class MonetaTransferBatchResponse
|
2165 |
+
{
|
2166 |
+
|
2167 |
+
/**
|
2168 |
+
* Детали проведенных операций, либо описание ошибок, если операция не проведена.
|
2169 |
+
* Порядок соответствует набору операций, переданных в TransferBatchRequest.
|
2170 |
+
* Either transaction details or error description in order of appearance in corresponding request.
|
2171 |
+
*
|
2172 |
+
*
|
2173 |
+
* @var MonetaTransactionBatchResponseType
|
2174 |
+
*/
|
2175 |
+
public $transaction = null;
|
2176 |
+
|
2177 |
+
/**
|
2178 |
+
* Детали проведенных операций, либо описание ошибок, если операция не проведена.
|
2179 |
+
* Порядок соответствует набору операций, переданных в TransferBatchRequest.
|
2180 |
+
* Either transaction details or error description in order of appearance in corresponding request.
|
2181 |
+
*
|
2182 |
+
*
|
2183 |
+
* @param MonetaTransactionBatchResponseType
|
2184 |
+
*
|
2185 |
+
* @return void
|
2186 |
+
*/
|
2187 |
+
public function addTransaction(MonetaTransactionBatchResponseType $item)
|
2188 |
+
{
|
2189 |
+
$this->transaction[] = $item;
|
2190 |
+
}
|
2191 |
+
|
2192 |
+
}
|
2193 |
+
|
2194 |
+
/**
|
2195 |
+
* Запрос на регистрацию операции с блокировкой средств на счете плательщика.
|
2196 |
+
* Завершить (подтвердить) операцию можно с помощью ConfirmTransactionRequest.
|
2197 |
+
* Если операция не будет закончена с помощью ConfirmTransactionRequest, то
|
2198 |
+
* операция будет отменена автоматически по истечению срока блокировки.
|
2199 |
+
* Request for transaction registration and debiting funds from payer's account.
|
2200 |
+
* To finish (confirm) this transaction use ConfirmTransactionRequest.
|
2201 |
+
* Authorised but not cofirmed transactions are cancelled automaticaly after authorisation expiry.
|
2202 |
+
*
|
2203 |
+
*/
|
2204 |
+
class MonetaAuthoriseTransactionRequest extends MonetaAuthoriseTransactionRequestType
|
2205 |
+
{
|
2206 |
+
|
2207 |
+
}
|
2208 |
+
|
2209 |
+
/**
|
2210 |
+
* Ответ на запрос регистрации операции.
|
2211 |
+
* Transaction authorisation response.
|
2212 |
+
*
|
2213 |
+
*/
|
2214 |
+
class MonetaAuthoriseTransactionResponse extends MonetaOperationInfo
|
2215 |
+
{
|
2216 |
+
|
2217 |
+
}
|
2218 |
+
|
2219 |
+
/**
|
2220 |
+
* Запрос на регистрацию операции с блокировкой средств на счете плательщика в пакетном режиме.
|
2221 |
+
* Request for transactions registration and debiting funds from payer's account in batch processing mode.
|
2222 |
+
*
|
2223 |
+
*/
|
2224 |
+
class MonetaAuthoriseTransactionBatchRequest extends MonetaAuthoriseTransactionBatchRequestType
|
2225 |
+
{
|
2226 |
+
|
2227 |
+
}
|
2228 |
+
|
2229 |
+
/**
|
2230 |
+
* Ответ на запрос регистрации операций в пакетном режиме.
|
2231 |
+
* Transactions authorisation response in batch processing mode.
|
2232 |
+
*
|
2233 |
+
*/
|
2234 |
+
class MonetaAuthoriseTransactionBatchResponse
|
2235 |
+
{
|
2236 |
+
|
2237 |
+
/**
|
2238 |
+
* Детали проведенных операций, либо описание ошибок, если операция не проведена.
|
2239 |
+
* Порядок соответствует набору операций, переданных в AuthoriseTransactionBatchRequest.
|
2240 |
+
* Either transaction details or error description in order of appearance in corresponding request.
|
2241 |
+
*
|
2242 |
+
*
|
2243 |
+
* @var MonetaOperationInfoBatchResponseType
|
2244 |
+
*/
|
2245 |
+
public $transaction = null;
|
2246 |
+
|
2247 |
+
/**
|
2248 |
+
* Детали проведенных операций, либо описание ошибок, если операция не проведена.
|
2249 |
+
* Порядок соответствует набору операций, переданных в AuthoriseTransactionBatchRequest.
|
2250 |
+
* Either transaction details or error description in order of appearance in corresponding request.
|
2251 |
+
*
|
2252 |
+
*
|
2253 |
+
* @param MonetaOperationInfoBatchResponseType
|
2254 |
+
*
|
2255 |
+
* @return void
|
2256 |
+
*/
|
2257 |
+
public function addTransaction(MonetaOperationInfoBatchResponseType $item)
|
2258 |
+
{
|
2259 |
+
$this->transaction[] = $item;
|
2260 |
+
}
|
2261 |
+
|
2262 |
+
}
|
2263 |
+
|
2264 |
+
/**
|
2265 |
+
* Запрос на завершение (подтверждение) операции.
|
2266 |
+
* Transaction confirmation request.
|
2267 |
+
*
|
2268 |
+
*/
|
2269 |
+
class MonetaConfirmTransactionRequest extends MonetaConfirmTransactionRequestType
|
2270 |
+
{
|
2271 |
+
|
2272 |
+
}
|
2273 |
+
|
2274 |
+
/**
|
2275 |
+
* Ответ на запрос завершения операции.
|
2276 |
+
* Transaction confirmation response.
|
2277 |
+
*
|
2278 |
+
*/
|
2279 |
+
class MonetaConfirmTransactionResponse extends MonetaOperationInfo
|
2280 |
+
{
|
2281 |
+
|
2282 |
+
}
|
2283 |
+
|
2284 |
+
/**
|
2285 |
+
* Запрос на завершение (подтверждение) операций в пакетном режиме.
|
2286 |
+
* Transactions confirmation request in batch processing mode.
|
2287 |
+
*
|
2288 |
+
*/
|
2289 |
+
class MonetaConfirmTransactionBatchRequest extends MonetaConfirmTransactionBatchRequestType
|
2290 |
+
{
|
2291 |
+
|
2292 |
+
}
|
2293 |
+
|
2294 |
+
/**
|
2295 |
+
* Ответ на запрос завершения операций в пакетном режиме.
|
2296 |
+
* Transactions confirmation response in batch processing mode.
|
2297 |
+
*
|
2298 |
+
*/
|
2299 |
+
class MonetaConfirmTransactionBatchResponse
|
2300 |
+
{
|
2301 |
+
|
2302 |
+
/**
|
2303 |
+
* Детали проведенных операций, либо описание ошибок, если операция не проведена.
|
2304 |
+
* Порядок соответствует набору операций, переданных в ConfirmTransactionBatchRequest.
|
2305 |
+
* Either transaction details or error description in order of appearance in corresponding request.
|
2306 |
+
*
|
2307 |
+
*
|
2308 |
+
* @var MonetaOperationInfoBatchResponseType
|
2309 |
+
*/
|
2310 |
+
public $transaction = null;
|
2311 |
+
|
2312 |
+
/**
|
2313 |
+
* Детали проведенных операций, либо описание ошибок, если операция не проведена.
|
2314 |
+
* Порядок соответствует набору операций, переданных в ConfirmTransactionBatchRequest.
|
2315 |
+
* Either transaction details or error description in order of appearance in corresponding request.
|
2316 |
+
*
|
2317 |
+
*
|
2318 |
+
* @param MonetaOperationInfoBatchResponseType
|
2319 |
+
*
|
2320 |
+
* @return void
|
2321 |
+
*/
|
2322 |
+
public function addTransaction(MonetaOperationInfoBatchResponseType $item)
|
2323 |
+
{
|
2324 |
+
$this->transaction[] = $item;
|
2325 |
+
}
|
2326 |
+
|
2327 |
+
}
|
2328 |
+
|
2329 |
+
/**
|
2330 |
+
* Запрос на отмену операции. Отменять операцию можно при выполнении всех условий:
|
2331 |
+
* незавершенные операции;
|
2332 |
+
* если есть доступ к счету плательщика и счету получателя (то есть свои внутренние операции).
|
2333 |
+
* Transaction cancelation request if transasction fulfils following conditions:
|
2334 |
+
* transaction is in processing (incompleted);
|
2335 |
+
* principal has an access to both (payer and payee) accounts.
|
2336 |
+
*
|
2337 |
+
*/
|
2338 |
+
class MonetaCancelTransactionRequest extends MonetaCancelTransactionRequestType
|
2339 |
+
{
|
2340 |
+
|
2341 |
+
}
|
2342 |
+
|
2343 |
+
/**
|
2344 |
+
* Ответ на запрос CancelTransactionRequest.
|
2345 |
+
* Transaction cancelation response.
|
2346 |
+
*
|
2347 |
+
*/
|
2348 |
+
class MonetaCancelTransactionResponse extends MonetaCancelTransactionResponseType
|
2349 |
+
{
|
2350 |
+
|
2351 |
+
}
|
2352 |
+
|
2353 |
+
/**
|
2354 |
+
* Запрос на отмену операций в пакетном режиме.
|
2355 |
+
* Transactions cancelation request in batch processing mode.
|
2356 |
+
*
|
2357 |
+
*/
|
2358 |
+
class MonetaCancelTransactionBatchRequest extends MonetaCancelTransactionBatchRequestType
|
2359 |
+
{
|
2360 |
+
|
2361 |
+
}
|
2362 |
+
|
2363 |
+
/**
|
2364 |
+
* Ответ на запрос CancelTransactionBatchRequest.
|
2365 |
+
* Transactions cancelation response in batch processing mode.
|
2366 |
+
*
|
2367 |
+
*/
|
2368 |
+
class MonetaCancelTransactionBatchResponse
|
2369 |
+
{
|
2370 |
+
|
2371 |
+
/**
|
2372 |
+
* Детали проведенных операций, либо описание ошибок, если операция не проведена.
|
2373 |
+
* Порядок соответствует набору операций, переданных в CancelTransactionBatchRequest.
|
2374 |
+
* Either transaction details or error description in order of appearance in corresponding request.
|
2375 |
+
*
|
2376 |
+
*
|
2377 |
+
* @var MonetaCancelTransactionBatchResponseType
|
2378 |
+
*/
|
2379 |
+
public $transaction = null;
|
2380 |
+
|
2381 |
+
/**
|
2382 |
+
* Детали проведенных операций, либо описание ошибок, если операция не проведена.
|
2383 |
+
* Порядок соответствует набору операций, переданных в CancelTransactionBatchRequest.
|
2384 |
+
* Either transaction details or error description in order of appearance in corresponding request.
|
2385 |
+
*
|
2386 |
+
*
|
2387 |
+
* @param MonetaCancelTransactionBatchResponseType
|
2388 |
+
*
|
2389 |
+
* @return void
|
2390 |
+
*/
|
2391 |
+
public function addTransaction(MonetaCancelTransactionBatchResponseType $item)
|
2392 |
+
{
|
2393 |
+
$this->transaction[] = $item;
|
2394 |
+
}
|
2395 |
+
|
2396 |
+
}
|
2397 |
+
|
2398 |
+
/**
|
2399 |
+
* Возврат средств по указанной операции.
|
2400 |
+
* Refund given transaction.
|
2401 |
+
*
|
2402 |
+
*/
|
2403 |
+
class MonetaRefundRequest
|
2404 |
+
{
|
2405 |
+
|
2406 |
+
/**
|
2407 |
+
* Номер операции в системе МОНЕТА.РУ, по которой необходимо вернуть деньги
|
2408 |
+
* Transaction ID in Moneta.ru
|
2409 |
+
*
|
2410 |
+
*
|
2411 |
+
* @var long
|
2412 |
+
*/
|
2413 |
+
public $transactionId = null;
|
2414 |
+
|
2415 |
+
/**
|
2416 |
+
* Сумма, которую необходимо возвратить.
|
2417 |
+
* Если сумма не указана, то сумма для возврата берется из указанной операции.
|
2418 |
+
* Необязательное поле.
|
2419 |
+
* Amount to refund in source transaction payee's currency.
|
2420 |
+
* If omitted the source transaction payees' amount is used.
|
2421 |
+
* Optional.
|
2422 |
+
*
|
2423 |
+
*
|
2424 |
+
* @var decimal
|
2425 |
+
*/
|
2426 |
+
public $amount = null;
|
2427 |
+
|
2428 |
+
/**
|
2429 |
+
* Платежный пароль
|
2430 |
+
* Payment password for payer account
|
2431 |
+
*
|
2432 |
+
*
|
2433 |
+
* @var normalizedString
|
2434 |
+
*/
|
2435 |
+
public $paymentPassword = null;
|
2436 |
+
|
2437 |
+
/**
|
2438 |
+
* Внешний номер операции
|
2439 |
+
* External transaction ID
|
2440 |
+
*
|
2441 |
+
*
|
2442 |
+
* @var string
|
2443 |
+
*/
|
2444 |
+
public $clientTransaction = null;
|
2445 |
+
|
2446 |
+
/**
|
2447 |
+
* Описание операции
|
2448 |
+
* Transaction description or comments
|
2449 |
+
*
|
2450 |
+
*
|
2451 |
+
* @var normalizedString
|
2452 |
+
*/
|
2453 |
+
public $description = null;
|
2454 |
+
|
2455 |
+
/**
|
2456 |
+
* Набор полей, которые необходимо сохранить в качестве атрибутов операции. Значения дат в формате dd.MM.yyyy HH:mm:ss
|
2457 |
+
* Key-value pairs that will be saved as a transaction attributes. Use format dd.MM.yyyy HH:mm:ss for date values
|
2458 |
+
*
|
2459 |
+
*
|
2460 |
+
* @var MonetaOperationInfo
|
2461 |
+
*/
|
2462 |
+
public $operationInfo = null;
|
2463 |
+
|
2464 |
+
/**
|
2465 |
+
* Запрос для платежного пароля
|
2466 |
+
* Payment password challenge
|
2467 |
+
*
|
2468 |
+
*
|
2469 |
+
* @var string
|
2470 |
+
*/
|
2471 |
+
public $paymentPasswordChallenge = null;
|
2472 |
+
|
2473 |
+
}
|
2474 |
+
|
2475 |
+
/**
|
2476 |
+
* Ответ по запросу возврата средств, содержащий информацию по возвратной операции.
|
2477 |
+
* Response containing refund transaction information.
|
2478 |
+
*
|
2479 |
+
*/
|
2480 |
+
class MonetaRefundResponse extends MonetaOperationInfo
|
2481 |
+
{
|
2482 |
+
|
2483 |
+
}
|
2484 |
+
|
2485 |
+
/**
|
2486 |
+
* Запрос предварительного расчета сумм и комиссий по параметрам операции.
|
2487 |
+
* Request for amount and fee preliminary calculation by transaction parameters.
|
2488 |
+
*
|
2489 |
+
*/
|
2490 |
+
class MonetaForecastTransactionRequest extends MonetaTransactionRequestType
|
2491 |
+
{
|
2492 |
+
|
2493 |
+
}
|
2494 |
+
|
2495 |
+
/**
|
2496 |
+
* Ответ на запрос предварительного расчета сумм и комиссий.
|
2497 |
+
* Может использоваться для информирования пользователя о приблизительной сумме и комиссии
|
2498 |
+
* операции.
|
2499 |
+
* Фактические значения могут отличаться, если к моменту проведения операции
|
2500 |
+
* доступны новые правила тарификации или новые курсы обмена валют.
|
2501 |
+
* Response for preliminary calculation request.
|
2502 |
+
* May be used for informing users with approximate amount and fee of transaction.
|
2503 |
+
* Actual values may differ if newer financial rules and currency exchange rates
|
2504 |
+
* are available at the moment of transaction processing.
|
2505 |
+
*
|
2506 |
+
*/
|
2507 |
+
class MonetaForecastTransactionResponse extends MonetaForecastTransactionResponseType
|
2508 |
+
{
|
2509 |
+
|
2510 |
+
}
|
2511 |
+
|
2512 |
+
/**
|
2513 |
+
* Запрос возможности провести операцию в системе МОНЕТА.РУ.
|
2514 |
+
* Transaction verification request.
|
2515 |
+
*
|
2516 |
+
*/
|
2517 |
+
class MonetaVerifyTransactionRequest
|
2518 |
+
{
|
2519 |
+
|
2520 |
+
/**
|
2521 |
+
* Идентификатор операции в системе МОНЕТА.РУ, которую надо проверить.
|
2522 |
+
* The identifier of transaction which has to be verified.
|
2523 |
+
*
|
2524 |
+
*
|
2525 |
+
* @var long
|
2526 |
+
*/
|
2527 |
+
public $transactionId = null;
|
2528 |
+
|
2529 |
+
/**
|
2530 |
+
* Номер счета плательщика
|
2531 |
+
* Payer account number
|
2532 |
+
*
|
2533 |
+
*
|
2534 |
+
* @var long
|
2535 |
+
*/
|
2536 |
+
public $payer = null;
|
2537 |
+
|
2538 |
+
/**
|
2539 |
+
* Сумма операции.
|
2540 |
+
* Если флаг isPayerAmount отсутствует
|
2541 |
+
* и пользователь имеет доступ только к счету плательщика,
|
2542 |
+
* то интерпретируется как сумма к списанию (в валюте плательщика).
|
2543 |
+
* Если флаг isPayerAmount отсутствует
|
2544 |
+
* и пользователь имеет доступ только к счету получателя,
|
2545 |
+
* то интерпретируется как сумма к зачислению (в валюте получателя).
|
2546 |
+
* Transaction amount.
|
2547 |
+
* If isPayerAmount is omitted
|
2548 |
+
* and user has access only to payer account,
|
2549 |
+
* then is interpreted as debit amount (in payer's currency).
|
2550 |
+
* If isPayerAmount is omitted
|
2551 |
+
* and user has access only to payee account,
|
2552 |
+
* then is interpreted as credit amount (in payee's currency).
|
2553 |
+
*
|
2554 |
+
*
|
2555 |
+
* @var decimal
|
2556 |
+
*/
|
2557 |
+
public $amount = null;
|
2558 |
+
|
2559 |
+
/**
|
2560 |
+
* Если пользователь имеет доступ как к счету плательщика, так и счету получателя,
|
2561 |
+
* то флаг isPayerAmount обязателен.
|
2562 |
+
* Если флаг isPayerAmount установлен (true), то amount используется как сумма к списанию (в валюте плательщика).
|
2563 |
+
* Если флаг isPayerAmount сброшен (false), то amount используется как сумма к зачислению (в валюте получателя).
|
2564 |
+
* If user has access to both accounts, then isPayerAmount flag is obligatory.
|
2565 |
+
* If isPayerAmount flag is "true", then amount is used as debit amount (in payer's currency).
|
2566 |
+
* If isPayerAmount flag is "false", then amount is used as credit amount (in payee's currency).
|
2567 |
+
*
|
2568 |
+
*
|
2569 |
+
* @var boolean
|
2570 |
+
*/
|
2571 |
+
public $isPayerAmount = null;
|
2572 |
+
|
2573 |
+
/**
|
2574 |
+
* Набор полей, которые необходимо использовать в качестве атрибутов операции. Значения дат в формате dd.MM.yyyy HH:mm:ss
|
2575 |
+
* Key-value pairs that will be used as a transaction attributes. Use format dd.MM.yyyy HH:mm:ss for date values
|
2576 |
+
*
|
2577 |
+
*
|
2578 |
+
* @var MonetaOperationInfo
|
2579 |
+
*/
|
2580 |
+
public $operationInfo = null;
|
2581 |
+
|
2582 |
+
}
|
2583 |
+
|
2584 |
+
/**
|
2585 |
+
* Ответ на запрос проверки проведения операции в системе МОНЕТА.РУ
|
2586 |
+
* Transaction verification response.
|
2587 |
+
*
|
2588 |
+
*/
|
2589 |
+
class MonetaVerifyTransactionResponse extends MonetaVerifyTransferResponseType
|
2590 |
+
{
|
2591 |
+
|
2592 |
+
/**
|
2593 |
+
* Идентификатор операции в системе МОНЕТА.РУ.
|
2594 |
+
* The identifier of transaction.
|
2595 |
+
*
|
2596 |
+
*
|
2597 |
+
* @var long
|
2598 |
+
*/
|
2599 |
+
public $transactionId = null;
|
2600 |
+
|
2601 |
+
/**
|
2602 |
+
* Статус операции в системе МОНЕТА.РУ.
|
2603 |
+
* Transaction status type in MONETA.RU
|
2604 |
+
*
|
2605 |
+
*
|
2606 |
+
* @var string
|
2607 |
+
*/
|
2608 |
+
public $operationStatus = null;
|
2609 |
+
|
2610 |
+
}
|
2611 |
+
|
2612 |
+
/**
|
2613 |
+
* Запрос возможности провести операцию в системе МОНЕТА.РУ.
|
2614 |
+
* Transaction verification request.
|
2615 |
+
*
|
2616 |
+
*/
|
2617 |
+
class MonetaVerifyTransferRequest extends MonetaTransactionRequestType
|
2618 |
+
{
|
2619 |
+
|
2620 |
+
}
|
2621 |
+
|
2622 |
+
/**
|
2623 |
+
* Ответ на запрос проверки проведения операции в системе МОНЕТА.РУ
|
2624 |
+
* Transaction verification response.
|
2625 |
+
*
|
2626 |
+
*/
|
2627 |
+
class MonetaVerifyTransferResponse extends MonetaVerifyTransferResponseType
|
2628 |
+
{
|
2629 |
+
|
2630 |
+
}
|
2631 |
+
|
2632 |
+
/**
|
2633 |
+
* Ответ, который приходит на запрос FindAccountByIdRequest.
|
2634 |
+
* В ответе содержится информация по счету.
|
2635 |
+
* Account searching by account number response.
|
2636 |
+
* Response contains Account information.
|
2637 |
+
*
|
2638 |
+
*/
|
2639 |
+
class MonetaFindAccountByIdResponse
|
2640 |
+
{
|
2641 |
+
|
2642 |
+
/**
|
2643 |
+
*
|
2644 |
+
*
|
2645 |
+
* @var MonetaAccountInfo
|
2646 |
+
*/
|
2647 |
+
public $account = null;
|
2648 |
+
|
2649 |
+
}
|
2650 |
+
|
2651 |
+
/**
|
2652 |
+
* Ответ, который приходит на запрос FindAccountByAliasRequest.
|
2653 |
+
* В ответе содержится информация по счету.
|
2654 |
+
* Account searching by account alias response.
|
2655 |
+
* Response contains Account information.
|
2656 |
+
*
|
2657 |
+
*/
|
2658 |
+
class MonetaFindAccountByAliasResponse
|
2659 |
+
{
|
2660 |
+
|
2661 |
+
/**
|
2662 |
+
*
|
2663 |
+
*
|
2664 |
+
* @var MonetaAccountInfo
|
2665 |
+
*/
|
2666 |
+
public $account = null;
|
2667 |
+
|
2668 |
+
}
|
2669 |
+
|
2670 |
+
/**
|
2671 |
+
* Запрос на получение списка счетов по заданным условиям поиска.
|
2672 |
+
* Accounts searching by given filter.
|
2673 |
+
*
|
2674 |
+
*/
|
2675 |
+
class MonetaFindAccountsListRequest
|
2676 |
+
{
|
2677 |
+
|
2678 |
+
/**
|
2679 |
+
* Пользователь, которому принадлежат счета.
|
2680 |
+
* Если это поле не задано, то используется текущий пользователь.
|
2681 |
+
* Необязательное поле.
|
2682 |
+
* Structure element, where accounts belong to.
|
2683 |
+
* If omitted authenticated user's structure is used.
|
2684 |
+
* Optional.
|
2685 |
+
*
|
2686 |
+
*
|
2687 |
+
* @var long
|
2688 |
+
*/
|
2689 |
+
public $unitId = null;
|
2690 |
+
|
2691 |
+
/**
|
2692 |
+
* Название счета. Поиск происходит по прямому совпадению.
|
2693 |
+
* Для задания маски можно указать спец-символы "*" или "?".
|
2694 |
+
* Необязательное поле.
|
2695 |
+
* Alias of account. Wildcards "*" and "?" may be used.
|
2696 |
+
* Optional.
|
2697 |
+
*
|
2698 |
+
*
|
2699 |
+
* @var string
|
2700 |
+
*/
|
2701 |
+
public $alias = null;
|
2702 |
+
|
2703 |
+
/**
|
2704 |
+
* Валюта счета. Необязательное поле.
|
2705 |
+
* Currency of account. Optional.
|
2706 |
+
*
|
2707 |
+
*
|
2708 |
+
* @var string
|
2709 |
+
*/
|
2710 |
+
public $currency = null;
|
2711 |
+
|
2712 |
+
/**
|
2713 |
+
* Является ли счет делегированным. Необязательное поле.
|
2714 |
+
* - поле не указано - выбрать все счета
|
2715 |
+
* - false - выбрать только неделегированные счета
|
2716 |
+
* - true - выбрать только делегированные счета
|
2717 |
+
* The boolean flag indicating if account is deligated. Optional.
|
2718 |
+
* - select all accounts if omitted
|
2719 |
+
* - false - select only non-delegated (owned) accounts
|
2720 |
+
* - true - select only delegated accounts
|
2721 |
+
*
|
2722 |
+
*
|
2723 |
+
* @var boolean
|
2724 |
+
*/
|
2725 |
+
public $isDelegatedAccount = null;
|
2726 |
+
|
2727 |
+
}
|
2728 |
+
|
2729 |
+
/**
|
2730 |
+
* Ответ, который содержит список счетов.
|
2731 |
+
* Accounts searching response containing the list of accounts.
|
2732 |
+
*
|
2733 |
+
*/
|
2734 |
+
class MonetaFindAccountsListResponse
|
2735 |
+
{
|
2736 |
+
|
2737 |
+
/**
|
2738 |
+
*
|
2739 |
+
*
|
2740 |
+
* @var MonetaAccountInfo
|
2741 |
+
*/
|
2742 |
+
public $account = null;
|
2743 |
+
|
2744 |
+
/**
|
2745 |
+
*
|
2746 |
+
*
|
2747 |
+
* @param MonetaAccountInfo
|
2748 |
+
*
|
2749 |
+
* @return void
|
2750 |
+
*/
|
2751 |
+
public function addAccount(MonetaAccountInfo $item)
|
2752 |
+
{
|
2753 |
+
$this->account[] = $item;
|
2754 |
+
}
|
2755 |
+
|
2756 |
+
}
|
2757 |
+
|
2758 |
+
/**
|
2759 |
+
* Получить запрос для платежного пароля
|
2760 |
+
* Receive challenge for payment password
|
2761 |
+
*
|
2762 |
+
*/
|
2763 |
+
class MonetaGetAccountPaymentPasswordChallengeRequest
|
2764 |
+
{
|
2765 |
+
|
2766 |
+
/**
|
2767 |
+
* Номер счета
|
2768 |
+
* Account number
|
2769 |
+
*
|
2770 |
+
*
|
2771 |
+
* @var long
|
2772 |
+
*/
|
2773 |
+
public $accountId = null;
|
2774 |
+
|
2775 |
+
}
|
2776 |
+
|
2777 |
+
/**
|
2778 |
+
* Ответ содержит строку запроса для платежного пароля
|
2779 |
+
* Response contains of challenge string for payment password
|
2780 |
+
*
|
2781 |
+
*/
|
2782 |
+
class MonetaGetAccountPaymentPasswordChallengeResponse
|
2783 |
+
{
|
2784 |
+
|
2785 |
+
/**
|
2786 |
+
* Запрос для платежного пароля
|
2787 |
+
* Challenge of payment password
|
2788 |
+
*
|
2789 |
+
*
|
2790 |
+
* @var string
|
2791 |
+
*/
|
2792 |
+
public $paymentPasswordChallenge = null;
|
2793 |
+
|
2794 |
+
}
|
2795 |
+
|
2796 |
+
/**
|
2797 |
+
* Запрос на создание счета.
|
2798 |
+
* Счет создается для указанного пользователя или,
|
2799 |
+
* если это поле не указано, - для текущего пользователя.
|
2800 |
+
* Account creation request.
|
2801 |
+
* Account is created for given structure element (unitId)
|
2802 |
+
* or for authenticated user's structure if unitId is omitted.
|
2803 |
+
*
|
2804 |
+
*/
|
2805 |
+
class MonetaCreateAccountRequest
|
2806 |
+
{
|
2807 |
+
|
2808 |
+
/**
|
2809 |
+
* Валюта счета
|
2810 |
+
* Currency of account
|
2811 |
+
*
|
2812 |
+
*
|
2813 |
+
* @var string
|
2814 |
+
*/
|
2815 |
+
public $currency = null;
|
2816 |
+
|
2817 |
+
/**
|
2818 |
+
* Название счета.
|
2819 |
+
* Название счета должно быть уникальным среди счетов одного пользователя.
|
2820 |
+
* Необязательное поле.
|
2821 |
+
* Alias of account.
|
2822 |
+
* Must be unique among accounts of given user.
|
2823 |
+
* Optional.
|
2824 |
+
*
|
2825 |
+
*
|
2826 |
+
* @var string
|
2827 |
+
*/
|
2828 |
+
public $alias = null;
|
2829 |
+
|
2830 |
+
/**
|
2831 |
+
* Платежный пароль. Минимальная длина - 5 символов
|
2832 |
+
* Payment password. Minimum length is 5 symbols.
|
2833 |
+
*
|
2834 |
+
*
|
2835 |
+
* @var string
|
2836 |
+
*/
|
2837 |
+
public $paymentPassword = null;
|
2838 |
+
|
2839 |
+
/**
|
2840 |
+
* Пользователь, которому будет принадлежать данный счет.
|
2841 |
+
* Если это поле не задано, то счет создается для текущего пользователя.
|
2842 |
+
* Необязательное поле.
|
2843 |
+
* Structure element, where the account belongs to.
|
2844 |
+
* If omitted authenticated user's structure is used.
|
2845 |
+
* Optional.
|
2846 |
+
*
|
2847 |
+
*
|
2848 |
+
* @var long
|
2849 |
+
*/
|
2850 |
+
public $unitId = null;
|
2851 |
+
|
2852 |
+
/**
|
2853 |
+
* URL после списания средств. Необязательное поле.
|
2854 |
+
* URL on debiting. Optional.
|
2855 |
+
*
|
2856 |
+
*
|
2857 |
+
* @var string
|
2858 |
+
*/
|
2859 |
+
public $onSuccessfulDebitUrl = null;
|
2860 |
+
|
2861 |
+
/**
|
2862 |
+
* URL после зачисления средств. Необязательное поле.
|
2863 |
+
* URL on crediting. Optional.
|
2864 |
+
*
|
2865 |
+
*
|
2866 |
+
* @var string
|
2867 |
+
*/
|
2868 |
+
public $onSuccessfulCreditUrl = null;
|
2869 |
+
|
2870 |
+
/**
|
2871 |
+
* Код проверки целостности данных. Необязательное поле.
|
2872 |
+
* Mandatory payment form signature. Optional.
|
2873 |
+
*
|
2874 |
+
*
|
2875 |
+
* @var string
|
2876 |
+
*/
|
2877 |
+
public $signature = null;
|
2878 |
+
|
2879 |
+
/**
|
2880 |
+
* Если баланс счета меньше данного значения, то раз в сутки уходит уведомление об этом событии. Необязательное поле.
|
2881 |
+
* Daily notifications if balance is less than threshold. Optional.
|
2882 |
+
*
|
2883 |
+
*
|
2884 |
+
* @var decimal
|
2885 |
+
*/
|
2886 |
+
public $lowBalanceThreshold = null;
|
2887 |
+
|
2888 |
+
/**
|
2889 |
+
* Если баланс счета больше данного значения, то раз в сутки уходит уведомление об этом событии. Необязательное поле.
|
2890 |
+
* Daily notifications if balance is greater than threshold. Optional.
|
2891 |
+
*
|
2892 |
+
*
|
2893 |
+
* @var decimal
|
2894 |
+
*/
|
2895 |
+
public $highBalanceThreshold = null;
|
2896 |
+
|
2897 |
+
/**
|
2898 |
+
* Счет-прототип с которого берутся свойства "по умолчанию". Необязательное поле.
|
2899 |
+
* Prototype account for default properties values. Optional.
|
2900 |
+
*
|
2901 |
+
*
|
2902 |
+
* @var long
|
2903 |
+
*/
|
2904 |
+
public $prototypeAccountId = null;
|
2905 |
+
|
2906 |
+
/**
|
2907 |
+
* URL после отмены списания средств. Необязательное поле.
|
2908 |
+
* URL on cancelled debit. Optional.
|
2909 |
+
*
|
2910 |
+
*
|
2911 |
+
* @var string
|
2912 |
+
*/
|
2913 |
+
public $onCancelledDebitUrl = null;
|
2914 |
+
|
2915 |
+
/**
|
2916 |
+
* URL после отмены зачисления средств. Необязательное поле.
|
2917 |
+
* URL on cancelled credit. Optional.
|
2918 |
+
*
|
2919 |
+
*
|
2920 |
+
* @var string
|
2921 |
+
*/
|
2922 |
+
public $onCancelledCreditUrl = null;
|
2923 |
+
|
2924 |
+
}
|
2925 |
+
|
2926 |
+
/**
|
2927 |
+
* Запрос на редактирование счета.
|
2928 |
+
* У счета можно изменить свойства "псевдоним" и "платежный пароль".
|
2929 |
+
* Account modification request.
|
2930 |
+
* It's allowed to change alias and payment password for account.
|
2931 |
+
*
|
2932 |
+
*/
|
2933 |
+
class MonetaEditAccountRequest
|
2934 |
+
{
|
2935 |
+
|
2936 |
+
/**
|
2937 |
+
* Идентификатор редактируемого счета.
|
2938 |
+
* Modifying account's number.
|
2939 |
+
*
|
2940 |
+
*
|
2941 |
+
* @var long
|
2942 |
+
*/
|
2943 |
+
public $id = null;
|
2944 |
+
|
2945 |
+
/**
|
2946 |
+
* Новый псевдоним счета.
|
2947 |
+
* Псевдоним счета должен быть уникальным среди счетов пользователя.
|
2948 |
+
* Необязательное поле.
|
2949 |
+
* New alias of account.
|
2950 |
+
* Must be unique among accounts of given user.
|
2951 |
+
* Optional.
|
2952 |
+
*
|
2953 |
+
*
|
2954 |
+
* @var string
|
2955 |
+
*/
|
2956 |
+
public $alias = null;
|
2957 |
+
|
2958 |
+
/**
|
2959 |
+
* Новый платежный пароль. Для того чтобы изменить платежный
|
2960 |
+
* пароль, необходимо указать предыдущий платежный пароль. Необязательное поле.
|
2961 |
+
* New payment password for account.
|
2962 |
+
* oldPaymentPassword is required to set new payment password.
|
2963 |
+
* Optional.
|
2964 |
+
*
|
2965 |
+
*
|
2966 |
+
* @var string
|
2967 |
+
*/
|
2968 |
+
public $paymentPassword = null;
|
2969 |
+
|
2970 |
+
/**
|
2971 |
+
* Текущий платежный пароль. Для того чтобы изменить платежный
|
2972 |
+
* пароль на новый, необходимо указать текущий платежный пароль. Необязательное поле.
|
2973 |
+
* Current payment password.
|
2974 |
+
* Used for authorization of changing payment password to new value.
|
2975 |
+
* Required only if newPaymentPassword is specified.
|
2976 |
+
* Optional.
|
2977 |
+
*
|
2978 |
+
*
|
2979 |
+
* @var string
|
2980 |
+
*/
|
2981 |
+
public $oldPaymentPassword = null;
|
2982 |
+
|
2983 |
+
/**
|
2984 |
+
* URL после списания средств. Необязательное поле.
|
2985 |
+
* URL on debiting. Optional.
|
2986 |
+
*
|
2987 |
+
*
|
2988 |
+
* @var string
|
2989 |
+
*/
|
2990 |
+
public $onSuccessfulDebitUrl = null;
|
2991 |
+
|
2992 |
+
/**
|
2993 |
+
* URL после зачисления средств. Необязательное поле.
|
2994 |
+
* URL on crediting. Optional.
|
2995 |
+
*
|
2996 |
+
*
|
2997 |
+
* @var string
|
2998 |
+
*/
|
2999 |
+
public $onSuccessfulCreditUrl = null;
|
3000 |
+
|
3001 |
+
/**
|
3002 |
+
* Код проверки целостности данных. Необязательное поле.
|
3003 |
+
* Mandatory payment form signature. Optional.
|
3004 |
+
*
|
3005 |
+
*
|
3006 |
+
* @var string
|
3007 |
+
*/
|
3008 |
+
public $signature = null;
|
3009 |
+
|
3010 |
+
/**
|
3011 |
+
* Если баланс счета меньше данного значения, то раз в сутки уходит уведомление об этом событии. Необязательное поле.
|
3012 |
+
* Daily notifications if balance is less than threshold. Optional.
|
3013 |
+
*
|
3014 |
+
*
|
3015 |
+
* @var decimal
|
3016 |
+
*/
|
3017 |
+
public $lowBalanceThreshold = null;
|
3018 |
+
|
3019 |
+
/**
|
3020 |
+
* Если баланс счета больше данного значения, то раз в сутки уходит уведомление об этом событии. Необязательное поле.
|
3021 |
+
* Daily notifications if balance is greater than threshold. Optional.
|
3022 |
+
*
|
3023 |
+
*
|
3024 |
+
* @var decimal
|
3025 |
+
*/
|
3026 |
+
public $highBalanceThreshold = null;
|
3027 |
+
|
3028 |
+
/**
|
3029 |
+
* Счет-прототип с которого берутся свойства "по умолчанию". Необязательное поле.
|
3030 |
+
* Prototype account for default properties values. Optional.
|
3031 |
+
*
|
3032 |
+
*
|
3033 |
+
* @var long
|
3034 |
+
*/
|
3035 |
+
public $prototypeAccountId = null;
|
3036 |
+
|
3037 |
+
/**
|
3038 |
+
* Запрос для платежного пароля
|
3039 |
+
* Payment password challenge
|
3040 |
+
*
|
3041 |
+
*
|
3042 |
+
* @var string
|
3043 |
+
*/
|
3044 |
+
public $oldPaymentPasswordChallenge = null;
|
3045 |
+
|
3046 |
+
/**
|
3047 |
+
* URL после отмены списания средств. Необязательное поле.
|
3048 |
+
* URL on cancelled debit. Optional.
|
3049 |
+
*
|
3050 |
+
*
|
3051 |
+
* @var string
|
3052 |
+
*/
|
3053 |
+
public $onCancelledDebitUrl = null;
|
3054 |
+
|
3055 |
+
/**
|
3056 |
+
* URL после отмены зачисления средств. Необязательное поле.
|
3057 |
+
* URL on cancelled credit. Optional.
|
3058 |
+
*
|
3059 |
+
*
|
3060 |
+
* @var string
|
3061 |
+
*/
|
3062 |
+
public $onCancelledCreditUrl = null;
|
3063 |
+
|
3064 |
+
}
|
3065 |
+
|
3066 |
+
/**
|
3067 |
+
* Ответ, который приходит на запрос EditAccountRequest.
|
3068 |
+
* В ответе нет никаких данных.
|
3069 |
+
* Если в процессе сохранения счета произошла ошибка, то возникнет Exception.
|
3070 |
+
* Если Exception не возник - значит счет гарантированно сохранен.
|
3071 |
+
* Account modification response.
|
3072 |
+
* Response contains no data unless some error has occured while modification.
|
3073 |
+
* If reponse has no Exception then account is modified successfully.
|
3074 |
+
*
|
3075 |
+
*/
|
3076 |
+
class MonetaEditAccountResponse
|
3077 |
+
{
|
3078 |
+
|
3079 |
+
}
|
3080 |
+
|
3081 |
+
/**
|
3082 |
+
* Ответ на запрос получения информации по операции.
|
3083 |
+
* Transaction information response.
|
3084 |
+
*
|
3085 |
+
*/
|
3086 |
+
class MonetaGetOperationDetailsByIdResponse
|
3087 |
+
{
|
3088 |
+
|
3089 |
+
/**
|
3090 |
+
*
|
3091 |
+
*
|
3092 |
+
* @var MonetaOperationInfo
|
3093 |
+
*/
|
3094 |
+
public $operation = null;
|
3095 |
+
|
3096 |
+
}
|
3097 |
+
|
3098 |
+
/**
|
3099 |
+
* Запрос на получение данных по внешнему номеру операции
|
3100 |
+
* (номеру не в системе МОНЕТА.РУ).
|
3101 |
+
* По внешнему номеру операции может быть найдено несколько операций
|
3102 |
+
* в системе МОНЕТА.РУ. Поэтому операции возвращаются списком,
|
3103 |
+
* разбитым на страницы. Размером страницы можно управлять через
|
3104 |
+
* поле pager.
|
3105 |
+
* Если данные не найдены, то size в ответе равен 0.
|
3106 |
+
* Transaction searching by external transaction ID.
|
3107 |
+
* As a result more than one transaction may be found.
|
3108 |
+
* Transaction list is paged.
|
3109 |
+
* Response element "size" is 0 if no data found.
|
3110 |
+
*
|
3111 |
+
*/
|
3112 |
+
class MonetaFindOperationsListByCTIDRequest
|
3113 |
+
{
|
3114 |
+
|
3115 |
+
/**
|
3116 |
+
* Настройки страницы данных.
|
3117 |
+
* Необязательное поле.
|
3118 |
+
* Long list retrieval settings.
|
3119 |
+
* Optional.
|
3120 |
+
*
|
3121 |
+
*
|
3122 |
+
* @var MonetaPager
|
3123 |
+
*/
|
3124 |
+
public $pager = null;
|
3125 |
+
|
3126 |
+
/**
|
3127 |
+
* Номер счета в системе МОНЕТА.РУ
|
3128 |
+
* Account number in MONETA.RU
|
3129 |
+
*
|
3130 |
+
*
|
3131 |
+
* @var long
|
3132 |
+
*/
|
3133 |
+
public $accountId = null;
|
3134 |
+
|
3135 |
+
/**
|
3136 |
+
* Внешний номер операции
|
3137 |
+
* External transaction ID
|
3138 |
+
*
|
3139 |
+
*
|
3140 |
+
* @var string
|
3141 |
+
*/
|
3142 |
+
public $clientTransaction = null;
|
3143 |
+
|
3144 |
+
}
|
3145 |
+
|
3146 |
+
/**
|
3147 |
+
* Ответ на запрос FindOperationsListByCTIDRequest.
|
3148 |
+
* В результате возвращается список операций, разбитый по страницам.
|
3149 |
+
* Transaction searching by external transaction ID response.
|
3150 |
+
* Result contains paged transaction list.
|
3151 |
+
*
|
3152 |
+
*/
|
3153 |
+
class MonetaFindOperationsListByCTIDResponse extends MonetaOperationInfoList
|
3154 |
+
{
|
3155 |
+
|
3156 |
+
}
|
3157 |
+
|
3158 |
+
/**
|
3159 |
+
* Фильтр, по которому ищем операции.
|
3160 |
+
* Transactions filter.
|
3161 |
+
*
|
3162 |
+
*/
|
3163 |
+
class MonetaFindOperationsListRequestFilter
|
3164 |
+
{
|
3165 |
+
|
3166 |
+
/**
|
3167 |
+
* ID пользователя в системе МОНЕТА.РУ
|
3168 |
+
* Structure identificator in MONETA.RU
|
3169 |
+
*
|
3170 |
+
*
|
3171 |
+
* @var long
|
3172 |
+
*/
|
3173 |
+
public $unitId = null;
|
3174 |
+
|
3175 |
+
/**
|
3176 |
+
* Номер счета
|
3177 |
+
* Account number
|
3178 |
+
*
|
3179 |
+
*
|
3180 |
+
* @var long
|
3181 |
+
*/
|
3182 |
+
public $accountId = null;
|
3183 |
+
|
3184 |
+
/**
|
3185 |
+
* Дата начала периода
|
3186 |
+
* Period's start
|
3187 |
+
*
|
3188 |
+
*
|
3189 |
+
* @var dateTime
|
3190 |
+
*/
|
3191 |
+
public $dateFrom = null;
|
3192 |
+
|
3193 |
+
/**
|
3194 |
+
* Дата конца периода
|
3195 |
+
* Period's end
|
3196 |
+
*
|
3197 |
+
*
|
3198 |
+
* @var dateTime
|
3199 |
+
*/
|
3200 |
+
public $dateTo = null;
|
3201 |
+
|
3202 |
+
/**
|
3203 |
+
* Номер операции в системе МОНЕТА.РУ
|
3204 |
+
* Transaction ID in MONETA.RU
|
3205 |
+
*
|
3206 |
+
*
|
3207 |
+
* @var long
|
3208 |
+
*/
|
3209 |
+
public $operationId = null;
|
3210 |
+
|
3211 |
+
/**
|
3212 |
+
* Сумма от... Ищутся все операции, которые проходили
|
3213 |
+
* на большую или равную сумму. Если указано это поле, то обязательно надо
|
3214 |
+
* заполнить Currency
|
3215 |
+
* Minimal transaction amount.
|
3216 |
+
* If specified currencyCode filter parameter is required.
|
3217 |
+
*
|
3218 |
+
*
|
3219 |
+
* @var decimal
|
3220 |
+
*/
|
3221 |
+
public $amountFrom = null;
|
3222 |
+
|
3223 |
+
/**
|
3224 |
+
* Сумма до... Ищутся все операции, которые проходили
|
3225 |
+
* на меньшую или равную сумму. Если указано это поле, то обязательно надо
|
3226 |
+
* заполнить Currency
|
3227 |
+
* Maximal transaction amount.
|
3228 |
+
* If specified currencyCode filter parameter is required.
|
3229 |
+
*
|
3230 |
+
*
|
3231 |
+
* @var decimal
|
3232 |
+
*/
|
3233 |
+
public $amountTo = null;
|
3234 |
+
|
3235 |
+
/**
|
3236 |
+
* Валюта, по которой проходили операции
|
3237 |
+
* Currency of transaction account.
|
3238 |
+
*
|
3239 |
+
*
|
3240 |
+
* @var string
|
3241 |
+
*/
|
3242 |
+
public $currencyCode = null;
|
3243 |
+
|
3244 |
+
/**
|
3245 |
+
* Корреспонденский номер счета в системе МОНЕТА.РУ
|
3246 |
+
* Correspondent account number in MONETA.RU
|
3247 |
+
*
|
3248 |
+
*
|
3249 |
+
* @var long
|
3250 |
+
*/
|
3251 |
+
public $targetAccountId = null;
|
3252 |
+
|
3253 |
+
/**
|
3254 |
+
* Статус операции
|
3255 |
+
* Transaction status
|
3256 |
+
*
|
3257 |
+
*
|
3258 |
+
* @var string
|
3259 |
+
*/
|
3260 |
+
public $operationStatus = null;
|
3261 |
+
|
3262 |
+
/**
|
3263 |
+
* Внешний номер операции
|
3264 |
+
* External transaction ID
|
3265 |
+
*
|
3266 |
+
*
|
3267 |
+
* @var string
|
3268 |
+
*/
|
3269 |
+
public $clientTransaction = null;
|
3270 |
+
|
3271 |
+
/**
|
3272 |
+
* 1 - все операции;
|
3273 |
+
* 2 - операции, где деньги были получены (сумма > 0);
|
3274 |
+
* 3 - операции, где деньги были потрачены (сумма < 0).
|
3275 |
+
* 1 - all transactions;
|
3276 |
+
* 2 - credit transactions;
|
3277 |
+
* 3 - debit transactions.
|
3278 |
+
*
|
3279 |
+
*
|
3280 |
+
* @var int
|
3281 |
+
*/
|
3282 |
+
public $operationAmountTypeId = null;
|
3283 |
+
|
3284 |
+
/**
|
3285 |
+
* Название свойства операции. Может принимать следующие значения:
|
3286 |
+
* YANDEXACCOUNT - счет в системе Яндекс.Деньги;
|
3287 |
+
* WEBMONEYWMID - WebMoney WMID;
|
3288 |
+
* WEBMONEYPURSE - WebMoney кошелек;
|
3289 |
+
* CONTACTTRANSFERORDERNUMBER - Номер перевода в системе Contact;
|
3290 |
+
* WIRETRANSFERORDERNUMBER - Номер платежного поручения в банковском переводе;
|
3291 |
+
* Значение свойства указывается в поле propertyValue.
|
3292 |
+
* The transaction property name may take following values:
|
3293 |
+
* YANDEXACCOUNT - user's account number in Yandex.Money;
|
3294 |
+
* WEBMONEYWMID - user's WMID in WebMoney;
|
3295 |
+
* WEBMONEYPURSE - user's purse number in WebMoney;
|
3296 |
+
* CONTACTTRANSFERORDERNUMBER - transfer idenitification number in Contact;
|
3297 |
+
* WIRETRANSFERORDERNUMBER - bank transfer identification number.
|
3298 |
+
* The value of property has to be specified in "propertyValue" element.
|
3299 |
+
*
|
3300 |
+
*
|
3301 |
+
* @var string
|
3302 |
+
*/
|
3303 |
+
public $propertyName = null;
|
3304 |
+
|
3305 |
+
/**
|
3306 |
+
* Значение свойства операции.
|
3307 |
+
* Поиск происходит по прямому совпадению. Для задания маски
|
3308 |
+
* можно указать спец-символы - "*" или "?".
|
3309 |
+
* Transaction property value.
|
3310 |
+
* Wildcards "*" and "?" may be used.
|
3311 |
+
*
|
3312 |
+
*
|
3313 |
+
* @var string
|
3314 |
+
*/
|
3315 |
+
public $propertyValue = null;
|
3316 |
+
|
3317 |
+
/**
|
3318 |
+
* 1 - Ввод средств;
|
3319 |
+
* 2 - Вывод средств;
|
3320 |
+
* 3 - Внутренний перевод;
|
3321 |
+
* 4 - Товары и услуги.
|
3322 |
+
* 1 - Deposit;
|
3323 |
+
* 2 - Withdrawal;
|
3324 |
+
* 3 - Transfer;
|
3325 |
+
* 4 - Goods and services.
|
3326 |
+
*
|
3327 |
+
*
|
3328 |
+
* @var long
|
3329 |
+
*/
|
3330 |
+
public $operationCategoryId = null;
|
3331 |
+
|
3332 |
+
}
|
3333 |
+
|
3334 |
+
/**
|
3335 |
+
* Запрос на получение списка операций по заданному фильтру.
|
3336 |
+
* Обязательными в фильтре являются только поля с датами периода.
|
3337 |
+
* Все остальные поля в фильтре необязательные.
|
3338 |
+
* Если данные не найдены, то size в ответе равен 0.
|
3339 |
+
* Transaction searching by given filter.
|
3340 |
+
* Filter requires date period values to be set.
|
3341 |
+
* Other parameters are optional.
|
3342 |
+
* Response element "size" is 0 if no data found.
|
3343 |
+
*
|
3344 |
+
*/
|
3345 |
+
class MonetaFindOperationsListRequest
|
3346 |
+
{
|
3347 |
+
|
3348 |
+
/**
|
3349 |
+
* Настройки страницы данных. Необязательное поле.
|
3350 |
+
* Paging settings. Optional.
|
3351 |
+
*
|
3352 |
+
*
|
3353 |
+
* @var MonetaPager
|
3354 |
+
*/
|
3355 |
+
public $pager = null;
|
3356 |
+
|
3357 |
+
/**
|
3358 |
+
* Фильтр, по которому ищем операции.
|
3359 |
+
* Transactions filter.
|
3360 |
+
*
|
3361 |
+
*
|
3362 |
+
* @var MonetaFindOperationsListRequestFilter
|
3363 |
+
*/
|
3364 |
+
public $filter = null;
|
3365 |
+
|
3366 |
+
}
|
3367 |
+
|
3368 |
+
/**
|
3369 |
+
* Ответ на запрос FindOperationsListRequest.
|
3370 |
+
* В результате возвращается список операций, разбитый по страницам.
|
3371 |
+
* Transaction searching response.
|
3372 |
+
* Result contains paged transactions list.
|
3373 |
+
*
|
3374 |
+
*/
|
3375 |
+
class MonetaFindOperationsListResponse extends MonetaOperationInfoList
|
3376 |
+
{
|
3377 |
+
|
3378 |
+
}
|
3379 |
+
|
3380 |
+
/**
|
3381 |
+
* Запрос на получение списка последних операций.
|
3382 |
+
* Если данные не найдены, то size в ответе равен 0.
|
3383 |
+
* Last transactions searching.
|
3384 |
+
* Response element "size" is 0 if no data found.
|
3385 |
+
*
|
3386 |
+
*/
|
3387 |
+
class MonetaFindLastOperationsListRequest
|
3388 |
+
{
|
3389 |
+
|
3390 |
+
/**
|
3391 |
+
* ID пользователя в системе МОНЕТА.РУ.
|
3392 |
+
* Если это поле не задано, то используется текущий пользователь.
|
3393 |
+
* Необязательное поле.
|
3394 |
+
* Structure identificator in MONETA.RU.
|
3395 |
+
* If omitted authenticated user's structure is used.
|
3396 |
+
* Optional.
|
3397 |
+
*
|
3398 |
+
*
|
3399 |
+
* @var long
|
3400 |
+
*/
|
3401 |
+
public $unitId = null;
|
3402 |
+
|
3403 |
+
/**
|
3404 |
+
* Количество операций. Необязательное поле.
|
3405 |
+
* Transactions quantity. Optional.
|
3406 |
+
*
|
3407 |
+
*
|
3408 |
+
* @var int
|
3409 |
+
*/
|
3410 |
+
public $transactionsQuantity = null;
|
3411 |
+
|
3412 |
+
}
|
3413 |
+
|
3414 |
+
/**
|
3415 |
+
* Ответ на запрос FindLastOperationsListRequest.
|
3416 |
+
* В результате возвращается список последних операций.
|
3417 |
+
* Transaction searching response.
|
3418 |
+
* Result contains last transactions list.
|
3419 |
+
*
|
3420 |
+
*/
|
3421 |
+
class MonetaFindLastOperationsListResponse extends MonetaOperationInfoList
|
3422 |
+
{
|
3423 |
+
|
3424 |
+
}
|
3425 |
+
|
3426 |
+
/**
|
3427 |
+
* Ответ на запрос FindProfileInfoByAccountIdRequest.
|
3428 |
+
* Profile information by account number searching response.
|
3429 |
+
*
|
3430 |
+
*/
|
3431 |
+
class MonetaFindProfileInfoByAccountIdResponse
|
3432 |
+
{
|
3433 |
+
|
3434 |
+
/**
|
3435 |
+
* Номер счета пользователя в системе МОНЕТА.РУ
|
3436 |
+
* Account number in MONETA.RU
|
3437 |
+
*
|
3438 |
+
*
|
3439 |
+
* @var long
|
3440 |
+
*/
|
3441 |
+
public $accountId = null;
|
3442 |
+
|
3443 |
+
/**
|
3444 |
+
* Валюта счета
|
3445 |
+
* Currency of account
|
3446 |
+
*
|
3447 |
+
*
|
3448 |
+
* @var string
|
3449 |
+
*/
|
3450 |
+
public $currency = null;
|
3451 |
+
|
3452 |
+
/**
|
3453 |
+
* Данные пользователя в системе МОНЕТА.РУ
|
3454 |
+
* User profile information in MONETA.RU
|
3455 |
+
*
|
3456 |
+
*
|
3457 |
+
* @var MonetaProfile
|
3458 |
+
*/
|
3459 |
+
public $profile = null;
|
3460 |
+
|
3461 |
+
}
|
3462 |
+
|
3463 |
+
/**
|
3464 |
+
* Запрос на создание пользователя в системе МОНЕТА.РУ.
|
3465 |
+
* New user registration request.
|
3466 |
+
*
|
3467 |
+
*/
|
3468 |
+
class MonetaCreateProfileRequest
|
3469 |
+
{
|
3470 |
+
|
3471 |
+
/**
|
3472 |
+
* ID родительского пользователя в системе МОНЕТА.РУ, к которому будет принадлежать
|
3473 |
+
* создаваемый пользователь. Необязательное поле. Если поле не задано,
|
3474 |
+
* то пользователь будет принадлежать тому пользователю, от имени
|
3475 |
+
* которого работает web service.
|
3476 |
+
* Structure ID in MONETA.RU.
|
3477 |
+
* If ommited then authenticated user's structure ID is used.
|
3478 |
+
* Optional.
|
3479 |
+
*
|
3480 |
+
*
|
3481 |
+
* @var long
|
3482 |
+
*/
|
3483 |
+
public $unitId = null;
|
3484 |
+
|
3485 |
+
/**
|
3486 |
+
* Тип пользователя - "client" или "organization"
|
3487 |
+
* Profile type. See also ProfileType description.
|
3488 |
+
*
|
3489 |
+
*
|
3490 |
+
* @var string
|
3491 |
+
*/
|
3492 |
+
public $profileType = null;
|
3493 |
+
|
3494 |
+
/**
|
3495 |
+
* Данные создаваемого пользователя. Данные представлены в виде "ключ-значение".
|
3496 |
+
* Ключи данных зависят от типа пользователя (ProfileType)
|
3497 |
+
* User profile information in key-value pairs list.
|
3498 |
+
* Supported keys depend on ProfileType.
|
3499 |
+
*
|
3500 |
+
*
|
3501 |
+
* @var MonetaProfile
|
3502 |
+
*/
|
3503 |
+
public $profile = null;
|
3504 |
+
|
3505 |
+
}
|
3506 |
+
|
3507 |
+
/**
|
3508 |
+
* Запрос на редактирование данных пользователя в системе МОНЕТА.РУ.
|
3509 |
+
* Profile information modification request.
|
3510 |
+
*
|
3511 |
+
*/
|
3512 |
+
class MonetaEditProfileRequest
|
3513 |
+
{
|
3514 |
+
|
3515 |
+
/**
|
3516 |
+
* ID пользователя в системе МОНЕТА.РУ, данные которого надо отредактировать.
|
3517 |
+
* Structure ID of profile for modification.
|
3518 |
+
*
|
3519 |
+
*
|
3520 |
+
* @var long
|
3521 |
+
*/
|
3522 |
+
public $unitId = null;
|
3523 |
+
|
3524 |
+
/**
|
3525 |
+
* Данные редактируемого пользователя. Данные представлены в виде "ключ-значение".
|
3526 |
+
* Ключи данных зависят от типа редактируемого пользователя (client или organization)
|
3527 |
+
* User profile information in key-value pairs list.
|
3528 |
+
* Supported keys depend on ProfileType.
|
3529 |
+
*
|
3530 |
+
*
|
3531 |
+
* @var MonetaProfile
|
3532 |
+
*/
|
3533 |
+
public $profile = null;
|
3534 |
+
|
3535 |
+
}
|
3536 |
+
|
3537 |
+
/**
|
3538 |
+
* Ответ, который приходит на запрос EditProfileRequest.
|
3539 |
+
* В ответе нет никаких данных.
|
3540 |
+
* Если в процессе сохранения пользователя произошла ошибка, то возникнет Exception.
|
3541 |
+
* Если Exception не возник - значит пользователь гарантированно сохранен.
|
3542 |
+
* Profile modification response.
|
3543 |
+
* Response contains no data unless error has occured while saving information
|
3544 |
+
* and Exception returned as a result.
|
3545 |
+
*
|
3546 |
+
*/
|
3547 |
+
class MonetaEditProfileResponse
|
3548 |
+
{
|
3549 |
+
|
3550 |
+
}
|
3551 |
+
|
3552 |
+
/**
|
3553 |
+
* Запрос на получение данных пользователя по ID пользователя.
|
3554 |
+
* Если данные не найдены, возникает Exception.
|
3555 |
+
* Request for profile information by structure ID.
|
3556 |
+
* Exception is thrown if no data found.
|
3557 |
+
*
|
3558 |
+
*/
|
3559 |
+
class MonetaGetProfileInfoRequest
|
3560 |
+
{
|
3561 |
+
|
3562 |
+
/**
|
3563 |
+
* ID пользователя в системе МОНЕТА.РУ.
|
3564 |
+
* Если это поле не задано, то используется текущий пользователь.
|
3565 |
+
* Необязательное поле.
|
3566 |
+
* Structure ID.
|
3567 |
+
* If omitted authenticated user's structure is used.
|
3568 |
+
* Optional.
|
3569 |
+
*
|
3570 |
+
*
|
3571 |
+
* @var long
|
3572 |
+
*/
|
3573 |
+
public $unitId = null;
|
3574 |
+
|
3575 |
+
}
|
3576 |
+
|
3577 |
+
/**
|
3578 |
+
* Ответ на запрос GetProfileInfoRequest.
|
3579 |
+
* Profile information by structure ID searching response.
|
3580 |
+
*
|
3581 |
+
*/
|
3582 |
+
class MonetaGetProfileInfoResponse extends MonetaProfile
|
3583 |
+
{
|
3584 |
+
|
3585 |
+
}
|
3586 |
+
|
3587 |
+
/**
|
3588 |
+
* Фильтр, по которому ищем данные
|
3589 |
+
* Searching filter
|
3590 |
+
*
|
3591 |
+
*/
|
3592 |
+
class MonetaFindProfileInfoRequestFilter
|
3593 |
+
{
|
3594 |
+
|
3595 |
+
/**
|
3596 |
+
* ID пользователя в системе МОНЕТА.РУ. Необязательное поле. ID пользователя "от которого"
|
3597 |
+
* начинается поиск. Если это поле не задано, то ищем пользователей, начиная
|
3598 |
+
* от идентифицированного пользователя.
|
3599 |
+
* Structure ID of root where searching starts from.
|
3600 |
+
* If ommited then authenticated user's structure ID is used.
|
3601 |
+
* Optional.
|
3602 |
+
*
|
3603 |
+
*
|
3604 |
+
* @var long
|
3605 |
+
*/
|
3606 |
+
public $unitId = null;
|
3607 |
+
|
3608 |
+
/**
|
3609 |
+
* Имя, по которому происходит поиск. Необязательное поле. Если поле задано,
|
3610 |
+
* то оно должно быть не меньше 2-х символов.
|
3611 |
+
* Поиск происходит по прямому совпадению. Для задания маски
|
3612 |
+
* можно указать спец-символы - "*" или "?".
|
3613 |
+
* Для пользователей с типом "organization" поиск происходит по
|
3614 |
+
* полю "organization_name". Для пользователей с типом "client" -
|
3615 |
+
* по общему полю "last_name first_name middle_initial_name".
|
3616 |
+
* То есть, если нужно найти пользователя "Иванов Андрей Сергеевич",
|
3617 |
+
* то следует ввести имя для поиска именно так. Если нужно найти всех
|
3618 |
+
* пользователей с фамилией "Иванов", то запрос должен быть "Иванов*".
|
3619 |
+
* Если нужно найти всех пользователей с именем "Андрей", то запрос
|
3620 |
+
* должен быть "*Андрей*".
|
3621 |
+
* Name to search for. Optional.
|
3622 |
+
* If specified must be not shorter than 2 symbols.
|
3623 |
+
* Wildcards "*" and "?" may be used.
|
3624 |
+
* For "organization" profiles "organization_name" is matched.
|
3625 |
+
* For "client" profiles "last_name first_name middle_initial_name" is matched.
|
3626 |
+
*
|
3627 |
+
*
|
3628 |
+
* @var string
|
3629 |
+
*/
|
3630 |
+
public $name = null;
|
3631 |
+
|
3632 |
+
/**
|
3633 |
+
* Email, по которому происходит поиск. Необязательное поле. Если поле задано,
|
3634 |
+
* то оно должно быть не меньше 2-х символов.
|
3635 |
+
* Поиск происходит по прямому совпадению. Для задания маски
|
3636 |
+
* можно указать спец-символы - "*" или "?".
|
3637 |
+
* Email to search for. Optional.
|
3638 |
+
* If specified must be not shorted than 2 symbols.
|
3639 |
+
* Wildcards "*" and "?" may be used.
|
3640 |
+
*
|
3641 |
+
*
|
3642 |
+
* @var string
|
3643 |
+
*/
|
3644 |
+
public $email = null;
|
3645 |
+
|
3646 |
+
/**
|
3647 |
+
* Возвращаются пользователи у которых есть счета с балансом
|
3648 |
+
* большим или равным указанному значению.
|
3649 |
+
* Необязательное поле.
|
3650 |
+
* Only profiles with greater or equal account's balance are returned.
|
3651 |
+
* Optional.
|
3652 |
+
*
|
3653 |
+
*
|
3654 |
+
* @var decimal
|
3655 |
+
*/
|
3656 |
+
public $accountBalanceFrom = null;
|
3657 |
+
|
3658 |
+
/**
|
3659 |
+
* Возвращаются пользователи у которых есть счета с балансом
|
3660 |
+
* меньшим или равным указанному значению.
|
3661 |
+
* Необязательное поле.
|
3662 |
+
* Only profiles with less or equal account's balance are returned.
|
3663 |
+
* Optional.
|
3664 |
+
*
|
3665 |
+
*
|
3666 |
+
* @var decimal
|
3667 |
+
*/
|
3668 |
+
public $accountBalanceTo = null;
|
3669 |
+
|
3670 |
+
/**
|
3671 |
+
* При указании границ баланса в поиске можно уточнить валюту счета.
|
3672 |
+
* Необязательное поле.
|
3673 |
+
* If balance limits are specified only accounts with given currency will be analysed.
|
3674 |
+
* Optional.
|
3675 |
+
*
|
3676 |
+
*
|
3677 |
+
* @var string
|
3678 |
+
*/
|
3679 |
+
public $accountCurrencyCode = null;
|
3680 |
+
|
3681 |
+
}
|
3682 |
+
|
3683 |
+
/**
|
3684 |
+
* Поиск пользователя в системе МОНЕТА.РУ по заданному фильтру.
|
3685 |
+
* В результате возвратится список пользователей, разбитый на страницы
|
3686 |
+
* Profile searching by filter parameters.
|
3687 |
+
* Result contains paged profile list.
|
3688 |
+
*
|
3689 |
+
*/
|
3690 |
+
class MonetaFindProfileInfoRequest
|
3691 |
+
{
|
3692 |
+
|
3693 |
+
/**
|
3694 |
+
* Настройки страницы данных. Необязательное поле.
|
3695 |
+
* Paging settings. Optional.
|
3696 |
+
*
|
3697 |
+
*
|
3698 |
+
* @var MonetaPager
|
3699 |
+
*/
|
3700 |
+
public $pager = null;
|
3701 |
+
|
3702 |
+
/**
|
3703 |
+
* Фильтр, по которому ищем данные
|
3704 |
+
* Searching filter
|
3705 |
+
*
|
3706 |
+
*
|
3707 |
+
* @var MonetaFindProfileInfoRequestFilter
|
3708 |
+
*/
|
3709 |
+
public $filter = null;
|
3710 |
+
|
3711 |
+
}
|
3712 |
+
|
3713 |
+
/**
|
3714 |
+
* Ответ, который приходит на запрос FindProfileInfoRequest.
|
3715 |
+
* Данные в ответе разбиты по страницам.
|
3716 |
+
* Если данные не найдены, то size в ответе равен 0.
|
3717 |
+
* Profile searching response.
|
3718 |
+
* Result is paged.
|
3719 |
+
* Response element "size" is 0 if no data found.
|
3720 |
+
*
|
3721 |
+
*/
|
3722 |
+
class MonetaFindProfileInfoResponse
|
3723 |
+
{
|
3724 |
+
|
3725 |
+
/**
|
3726 |
+
* Количество пользователей, возвращаемых в результате запроса.
|
3727 |
+
* Profiles per page.
|
3728 |
+
*
|
3729 |
+
*
|
3730 |
+
* @var long
|
3731 |
+
*/
|
3732 |
+
public $pageSize = null;
|
3733 |
+
|
3734 |
+
/**
|
3735 |
+
* Номер текущей страницы. Нумерация начинается с 1
|
3736 |
+
* Current page number starting from 1.
|
3737 |
+
*
|
3738 |
+
*
|
3739 |
+
* @var long
|
3740 |
+
*/
|
3741 |
+
public $pageNumber = null;
|
3742 |
+
|
3743 |
+
/**
|
3744 |
+
* Сколько всего страниц с пользователями возможно по данному
|
3745 |
+
* запросу
|
3746 |
+
* Total count of pages.
|
3747 |
+
*
|
3748 |
+
*
|
3749 |
+
* @var long
|
3750 |
+
*/
|
3751 |
+
public $pagesCount = null;
|
3752 |
+
|
3753 |
+
/**
|
3754 |
+
* Размер текущей страницы. Он всегда <= pageSize. На последней
|
3755 |
+
* странице может быть < pageSize
|
3756 |
+
* Profiles count in current page.
|
3757 |
+
*
|
3758 |
+
*
|
3759 |
+
* @var long
|
3760 |
+
*/
|
3761 |
+
public $size = null;
|
3762 |
+
|
3763 |
+
/**
|
3764 |
+
* Общее количество пользователей, которое можно получить в данной
|
3765 |
+
* выборке
|
3766 |
+
* Total profiles count matched by searching filter.
|
3767 |
+
*
|
3768 |
+
*
|
3769 |
+
* @var long
|
3770 |
+
*/
|
3771 |
+
public $totalSize = null;
|
3772 |
+
|
3773 |
+
/**
|
3774 |
+
* Список пользователей
|
3775 |
+
* Profile list
|
3776 |
+
*
|
3777 |
+
*
|
3778 |
+
* @var MonetaProfile
|
3779 |
+
*/
|
3780 |
+
public $profile = null;
|
3781 |
+
|
3782 |
+
/**
|
3783 |
+
* Список пользователей
|
3784 |
+
* Profile list
|
3785 |
+
*
|
3786 |
+
*
|
3787 |
+
* @param MonetaProfile
|
3788 |
+
*
|
3789 |
+
* @return void
|
3790 |
+
*/
|
3791 |
+
public function addProfile(MonetaProfile $item)
|
3792 |
+
{
|
3793 |
+
$this->profile[] = $item;
|
3794 |
+
}
|
3795 |
+
|
3796 |
+
}
|
3797 |
+
|
3798 |
+
/**
|
3799 |
+
* Запрос на получение бинарных данных, ассоциированных с указанным документом.
|
3800 |
+
* Request for binary data associated with given document.
|
3801 |
+
*
|
3802 |
+
*/
|
3803 |
+
class MonetaFindProfileDocumentFilesRequest
|
3804 |
+
{
|
3805 |
+
|
3806 |
+
/**
|
3807 |
+
*
|
3808 |
+
*
|
3809 |
+
* @var long
|
3810 |
+
*/
|
3811 |
+
public $documentId = null;
|
3812 |
+
|
3813 |
+
}
|
3814 |
+
|
3815 |
+
/**
|
3816 |
+
* Ответ, содержащий бинарные данные, ассоциированные с указанным в запросе документом.
|
3817 |
+
* Response containing binary data associated with document given in request.
|
3818 |
+
*
|
3819 |
+
*/
|
3820 |
+
class MonetaFindProfileDocumentFilesResponse
|
3821 |
+
{
|
3822 |
+
|
3823 |
+
/**
|
3824 |
+
*
|
3825 |
+
*
|
3826 |
+
* @var MonetaFile
|
3827 |
+
*/
|
3828 |
+
public $file = null;
|
3829 |
+
|
3830 |
+
/**
|
3831 |
+
*
|
3832 |
+
*
|
3833 |
+
* @param MonetaFile
|
3834 |
+
*
|
3835 |
+
* @return void
|
3836 |
+
*/
|
3837 |
+
public function addFile(MonetaFile $item)
|
3838 |
+
{
|
3839 |
+
$this->file[] = $item;
|
3840 |
+
}
|
3841 |
+
|
3842 |
+
}
|
3843 |
+
|
3844 |
+
/**
|
3845 |
+
* Запрос на создание/редактирование файла документа
|
3846 |
+
* Request for file adding/modification.
|
3847 |
+
*
|
3848 |
+
*/
|
3849 |
+
class MonetaUploadProfileDocumentFileRequest
|
3850 |
+
{
|
3851 |
+
|
3852 |
+
/**
|
3853 |
+
* Если указано поле fileId - файл редактируется, иначе создается новый файл.
|
3854 |
+
* Поле approved в данном запросе не используется.
|
3855 |
+
* Если не указан mimeType, но в запросе есть имя файла (поле title), то mimeType будет вычисляться по расширению файла
|
3856 |
+
* Specify "fileId" to modify file, omit "fileId" to add new file.
|
3857 |
+
* Approved is not used.
|
3858 |
+
* If "mimeType" omitted and "title" is specified, "mimeType" will be resolved by filename extension.
|
3859 |
+
*
|
3860 |
+
*
|
3861 |
+
* @var MonetaFile
|
3862 |
+
*/
|
3863 |
+
public $file = null;
|
3864 |
+
|
3865 |
+
}
|
3866 |
+
|
3867 |
+
/**
|
3868 |
+
* Ответ на запрос создания/редактирования файла документа
|
3869 |
+
* Если в процессе сохранения файла произошла ошибка, то возникнет Exception.
|
3870 |
+
* Если Exception не возник - значит файл гарантированно сохранен.
|
3871 |
+
* Response for file adding/modification.
|
3872 |
+
* Response contains no data unless some error has occured while modification.
|
3873 |
+
* If reponse has no Exception then file is uploaded successfully.
|
3874 |
+
*
|
3875 |
+
*/
|
3876 |
+
class MonetaUploadProfileDocumentFileResponse
|
3877 |
+
{
|
3878 |
+
|
3879 |
+
}
|
3880 |
+
|
3881 |
+
/**
|
3882 |
+
* Запрос на получение документов пользователя.
|
3883 |
+
* Profile's documents retrieval request.
|
3884 |
+
*
|
3885 |
+
*/
|
3886 |
+
class MonetaFindProfileDocumentsRequest
|
3887 |
+
{
|
3888 |
+
|
3889 |
+
/**
|
3890 |
+
* ID пользователя, документы которого запрашиваются.
|
3891 |
+
* Structure ID containing documents.
|
3892 |
+
*
|
3893 |
+
*
|
3894 |
+
* @var long
|
3895 |
+
*/
|
3896 |
+
public $unitId = null;
|
3897 |
+
|
3898 |
+
}
|
3899 |
+
|
3900 |
+
/**
|
3901 |
+
* Ответ на запрос FindProfileDocumentsRequest.
|
3902 |
+
* Profile's documents retrieval response.
|
3903 |
+
*
|
3904 |
+
*/
|
3905 |
+
class MonetaFindProfileDocumentsResponse
|
3906 |
+
{
|
3907 |
+
|
3908 |
+
/**
|
3909 |
+
* Список найденных документов. Если документов нет - список пустой.
|
3910 |
+
* Found documents list. Empty if no documents are found.
|
3911 |
+
*
|
3912 |
+
*
|
3913 |
+
* @var MonetaDocument
|
3914 |
+
*/
|
3915 |
+
public $document = null;
|
3916 |
+
|
3917 |
+
/**
|
3918 |
+
* Список найденных документов. Если документов нет - список пустой.
|
3919 |
+
* Found documents list. Empty if no documents are found.
|
3920 |
+
*
|
3921 |
+
*
|
3922 |
+
* @param MonetaDocument
|
3923 |
+
*
|
3924 |
+
* @return void
|
3925 |
+
*/
|
3926 |
+
public function addDocument(MonetaDocument $item)
|
3927 |
+
{
|
3928 |
+
$this->document[] = $item;
|
3929 |
+
}
|
3930 |
+
|
3931 |
+
}
|
3932 |
+
|
3933 |
+
/**
|
3934 |
+
* Запрос на создание документа пользователя.
|
3935 |
+
* Profile's document registration request.
|
3936 |
+
*
|
3937 |
+
*/
|
3938 |
+
class MonetaCreateProfileDocumentRequest extends MonetaDocument
|
3939 |
+
{
|
3940 |
+
|
3941 |
+
/**
|
3942 |
+
* Пользователь, которому будет принадлежать данный документ.
|
3943 |
+
* Если это поле не задано, то документ создается для текущего пользователя.
|
3944 |
+
* Необязательное поле.
|
3945 |
+
* Structure element, where the document belongs to.
|
3946 |
+
* If omitted authenticated user's structure is used.
|
3947 |
+
* Optional.
|
3948 |
+
*
|
3949 |
+
*
|
3950 |
+
* @var long
|
3951 |
+
*/
|
3952 |
+
public $unitId = null;
|
3953 |
+
|
3954 |
+
}
|
3955 |
+
|
3956 |
+
/**
|
3957 |
+
* Ответ на запрос создания документа в профайле.
|
3958 |
+
* Profile's document registration response.
|
3959 |
+
* $
|
3960 |
+
*
|
3961 |
+
*/
|
3962 |
+
class MonetaCreateProfileDocumentResponse
|
3963 |
+
{
|
3964 |
+
|
3965 |
+
/**
|
3966 |
+
* Идентификатор документа в системе МОНЕТА.РУ
|
3967 |
+
* Document identificator in MONETA.RU
|
3968 |
+
*
|
3969 |
+
*
|
3970 |
+
* @var long
|
3971 |
+
*/
|
3972 |
+
public $id = null;
|
3973 |
+
|
3974 |
+
}
|
3975 |
+
|
3976 |
+
/**
|
3977 |
+
* Запрос на редактирование документа пользователя.
|
3978 |
+
* Profile's document modification request.
|
3979 |
+
*
|
3980 |
+
*/
|
3981 |
+
class MonetaEditProfileDocumentRequest extends MonetaDocument
|
3982 |
+
{
|
3983 |
+
|
3984 |
+
/**
|
3985 |
+
* Пользователь, которому принадлежит данный документ.
|
3986 |
+
* Если это поле не задано, то документ ищется для текущего пользователя.
|
3987 |
+
* Необязательное поле.
|
3988 |
+
* Structure element, where the document belongs to.
|
3989 |
+
* If omitted authenticated user's structure is used.
|
3990 |
+
* Optional.
|
3991 |
+
*
|
3992 |
+
*
|
3993 |
+
* @var long
|
3994 |
+
*/
|
3995 |
+
public $unitId = null;
|
3996 |
+
|
3997 |
+
}
|
3998 |
+
|
3999 |
+
/**
|
4000 |
+
* Ответ, который приходит на запрос EditProfileDocumentRequest.
|
4001 |
+
* В ответе нет никаких данных.
|
4002 |
+
* Если в процессе сохранения документа произошла ошибка, то возникнет Exception.
|
4003 |
+
* Если Exception не возник - значит документ гарантированно сохранен.
|
4004 |
+
* Document modification response.
|
4005 |
+
* Response contains no data unless some error has occured while modification.
|
4006 |
+
* If reponse has no Exception then document is modified successfully.
|
4007 |
+
*
|
4008 |
+
*/
|
4009 |
+
class MonetaEditProfileDocumentResponse
|
4010 |
+
{
|
4011 |
+
|
4012 |
+
}
|
4013 |
+
|
4014 |
+
/**
|
4015 |
+
* Запрос на получение списка пользователей, которые имеют делегированный доступ к указанному счету.
|
4016 |
+
* Request to find delegated users for specified account ID.
|
4017 |
+
*
|
4018 |
+
*/
|
4019 |
+
class MonetaFindAccountRelationsRequest
|
4020 |
+
{
|
4021 |
+
|
4022 |
+
/**
|
4023 |
+
* Номер счета в системе МОНЕТА.РУ.
|
4024 |
+
* Account number.
|
4025 |
+
*
|
4026 |
+
*
|
4027 |
+
* @var long
|
4028 |
+
*/
|
4029 |
+
public $accountId = null;
|
4030 |
+
|
4031 |
+
}
|
4032 |
+
|
4033 |
+
/**
|
4034 |
+
* Ответ на запрос FindAccountRelationsRequest.
|
4035 |
+
* Response containing the list of delegated users.
|
4036 |
+
*
|
4037 |
+
*/
|
4038 |
+
class MonetaFindAccountRelationsResponse
|
4039 |
+
{
|
4040 |
+
|
4041 |
+
/**
|
4042 |
+
* Список найденных пользователей, которые имеют делегированный доступ к указанному счету. Если пользователей нет - список пустой.
|
4043 |
+
* List of found users having delegated account access. The list is empty if no users are found.
|
4044 |
+
*
|
4045 |
+
*
|
4046 |
+
* @var MonetaAccountRelation
|
4047 |
+
*/
|
4048 |
+
public $accountRelation = null;
|
4049 |
+
|
4050 |
+
/**
|
4051 |
+
* Список найденных пользователей, которые имеют делегированный доступ к указанному счету. Если пользователей нет - список пустой.
|
4052 |
+
* List of found users having delegated account access. The list is empty if no users are found.
|
4053 |
+
*
|
4054 |
+
*
|
4055 |
+
* @param MonetaAccountRelation
|
4056 |
+
*
|
4057 |
+
* @return void
|
4058 |
+
*/
|
4059 |
+
public function addAccountRelation(MonetaAccountRelation $item)
|
4060 |
+
{
|
4061 |
+
$this->accountRelation[] = $item;
|
4062 |
+
}
|
4063 |
+
|
4064 |
+
}
|
4065 |
+
|
4066 |
+
/**
|
4067 |
+
* Запрос на получение данных по делегированному доступу.
|
4068 |
+
* Request for delegated access details.
|
4069 |
+
*
|
4070 |
+
*/
|
4071 |
+
class MonetaGetAccountRelationRequest
|
4072 |
+
{
|
4073 |
+
|
4074 |
+
/**
|
4075 |
+
* Номер счета в системе МОНЕТА.РУ.
|
4076 |
+
* Account number.
|
4077 |
+
*
|
4078 |
+
*
|
4079 |
+
* @var long
|
4080 |
+
*/
|
4081 |
+
public $accountId = null;
|
4082 |
+
|
4083 |
+
/**
|
4084 |
+
* Email пользователя.
|
4085 |
+
* User's Email.
|
4086 |
+
*
|
4087 |
+
*
|
4088 |
+
* @var string
|
4089 |
+
*/
|
4090 |
+
public $principalEmail = null;
|
4091 |
+
|
4092 |
+
}
|
4093 |
+
|
4094 |
+
/**
|
4095 |
+
* Ответ на запрос GetAccountRelationRequest.
|
4096 |
+
* Response containing detailed information for delegated access.
|
4097 |
+
*
|
4098 |
+
*/
|
4099 |
+
class MonetaGetAccountRelationResponse
|
4100 |
+
{
|
4101 |
+
|
4102 |
+
/**
|
4103 |
+
*
|
4104 |
+
*
|
4105 |
+
* @var MonetaAccountRelation
|
4106 |
+
*/
|
4107 |
+
public $accountRelation = null;
|
4108 |
+
|
4109 |
+
}
|
4110 |
+
|
4111 |
+
/**
|
4112 |
+
* Запрос на сохранение делегированного доступа к счету.
|
4113 |
+
* Request for saving detailed information of delegated access.
|
4114 |
+
*
|
4115 |
+
*/
|
4116 |
+
class MonetaSaveAccountRelationRequest extends MonetaAccountRelation
|
4117 |
+
{
|
4118 |
+
|
4119 |
+
/**
|
4120 |
+
* Платежный пароль.
|
4121 |
+
* Payment password for account.
|
4122 |
+
*
|
4123 |
+
*
|
4124 |
+
* @var normalizedString
|
4125 |
+
*/
|
4126 |
+
public $paymentPassword = null;
|
4127 |
+
|
4128 |
+
/**
|
4129 |
+
* Запрос для платежного пароля
|
4130 |
+
* Payment password challenge
|
4131 |
+
*
|
4132 |
+
*
|
4133 |
+
* @var string
|
4134 |
+
*/
|
4135 |
+
public $paymentPasswordChallenge = null;
|
4136 |
+
|
4137 |
+
}
|
4138 |
+
|
4139 |
+
/**
|
4140 |
+
* Ответ, который приходит на запрос SaveAccountRelationRequest.
|
4141 |
+
* В ответе нет никаких данных.
|
4142 |
+
* Если в процессе сохранения счета произошла ошибка, то возникнет Exception.
|
4143 |
+
* Если Exception не возник - значит делегированный доступ гарантированно сохранен.
|
4144 |
+
* Save account relation response.
|
4145 |
+
* Response contains no data unless some error has occured while modification.
|
4146 |
+
* If reponse has no Exception then delegated access is modified successfully.
|
4147 |
+
*
|
4148 |
+
*/
|
4149 |
+
class MonetaSaveAccountRelationResponse
|
4150 |
+
{
|
4151 |
+
|
4152 |
+
}
|
4153 |
+
|
4154 |
+
/**
|
4155 |
+
* Запрос на удаление делегированного доступа к счету.
|
4156 |
+
* Request for deletion of access delegation.
|
4157 |
+
*
|
4158 |
+
*/
|
4159 |
+
class MonetaDeleteAccountRelationRequest
|
4160 |
+
{
|
4161 |
+
|
4162 |
+
/**
|
4163 |
+
* Номер счета в системе МОНЕТА.РУ.
|
4164 |
+
* Account number.
|
4165 |
+
*
|
4166 |
+
*
|
4167 |
+
* @var long
|
4168 |
+
*/
|
4169 |
+
public $accountId = null;
|
4170 |
+
|
4171 |
+
/**
|
4172 |
+
* Email пользователя.
|
4173 |
+
* User's Email.
|
4174 |
+
*
|
4175 |
+
*
|
4176 |
+
* @var string
|
4177 |
+
*/
|
4178 |
+
public $principalEmail = null;
|
4179 |
+
|
4180 |
+
}
|
4181 |
+
|
4182 |
+
/**
|
4183 |
+
* Ответ, который приходит на запрос DeleteAccountRelationRequest.
|
4184 |
+
* В ответе нет никаких данных.
|
4185 |
+
* Если в процессе сохранения счета произошла ошибка, то возникнет Exception.
|
4186 |
+
* Если Exception не возник - значит делегированный доступ гарантированно удален.
|
4187 |
+
* Delete account relation response.
|
4188 |
+
* Response contains no data unless some error has occured while modification.
|
4189 |
+
* If reponse has no Exception then delegated access is deleted successfully.
|
4190 |
+
*
|
4191 |
+
*/
|
4192 |
+
class MonetaDeleteAccountRelationResponse
|
4193 |
+
{
|
4194 |
+
|
4195 |
+
}
|
4196 |
?>
|
app/code/community/Paw/Payanyway/controllers/Moneta/MonetaWebService.php
CHANGED
@@ -1,80 +1,80 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Класс для доступа к методам вебсервиса платежной системы www.moneta.ru
|
4 |
-
*
|
5 |
-
* @version $Id: MonetaWebService.php 9 2010-01-19 11:00:28Z afi $
|
6 |
-
* @author Andrey Filippov
|
7 |
-
*/
|
8 |
-
|
9 |
-
require_once "MonetaWebServiceConnector.php";
|
10 |
-
|
11 |
-
class MonetaWebService extends MonetaWebServiceConnector
|
12 |
-
{
|
13 |
-
|
14 |
-
/**
|
15 |
-
* Конструктор
|
16 |
-
*
|
17 |
-
* @param string $wsdl путь к файлу описания методов Moneta.MerchantAPI
|
18 |
-
* @param string $username Имя пользователя для доступа к методам
|
19 |
-
* @param string $password Пароль для доступа к методам
|
20 |
-
* @param array $options Опции, аналогичные SoapClient->__construct()
|
21 |
-
*
|
22 |
-
* @return void
|
23 |
-
*/
|
24 |
-
function __construct($wsdl, $username, $password, $options = null, $isDebug = false)
|
25 |
-
{
|
26 |
-
// Отключаем кэширование в режиме отладки
|
27 |
-
ini_set("soap.wsdl_cache_enabled", !$isDebug);
|
28 |
-
|
29 |
-
// время жизни кэша
|
30 |
-
if (!$isDebug)
|
31 |
-
ini_set("soap.wsdl_cache_ttl", "86400");
|
32 |
-
|
33 |
-
if ($options === null)
|
34 |
-
$options = array();
|
35 |
-
|
36 |
-
parent::__construct($wsdl, $options);
|
37 |
-
$this->inputHeaders[] = $this->createSecurityHeader($username, $password);
|
38 |
-
}
|
39 |
-
|
40 |
-
/**
|
41 |
-
* Создает заголовок для авторизации в веб-сервисе
|
42 |
-
* в соответствии со схемой
|
43 |
-
* http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd
|
44 |
-
*
|
45 |
-
* @return SoapHeader
|
46 |
-
*/
|
47 |
-
private function createSecurityHeader($userName, $password)
|
48 |
-
{
|
49 |
-
$sns = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd";
|
50 |
-
|
51 |
-
// формируем параметр username
|
52 |
-
$username = new SoapVar($userName, XSD_STRING, NULL, $sns, NULL, $sns);
|
53 |
-
|
54 |
-
// формируем параметр password
|
55 |
-
$password = new SoapVar($password, XSD_STRING, NULL, $sns, NULL, $sns);
|
56 |
-
|
57 |
-
// Для того чтобы выразить тег <UserNameToken> с вложенными внутри него тегами <Username> и <Password>,
|
58 |
-
// мы должны определить промежуточный класс
|
59 |
-
$tmp = new stdClass();
|
60 |
-
$tmp->Username = $username;
|
61 |
-
$tmp->Password = $password;
|
62 |
-
|
63 |
-
// содержимое сложного XML-тега <UsernameToken> в виде SoapVar,
|
64 |
-
// тип которого не XSD_STRING, а SOAP_ENC_OBJECT
|
65 |
-
$authData = new SoapVar($tmp, SOAP_ENC_OBJECT, null, $sns, 'wsse:UsernameToken', $sns);
|
66 |
-
|
67 |
-
// формируем содержимое тега Security , т.е. сам UsernameToken
|
68 |
-
$tmp = new stdClass();
|
69 |
-
$tmp->UsernameToken = $authData;
|
70 |
-
|
71 |
-
$usernameToken = new SoapVar($tmp, SOAP_ENC_OBJECT, null, $sns, 'wsse:UsernameToken', $sns);
|
72 |
-
|
73 |
-
//Объект UsernameToken присоединяется к своему родительскому XML-тегу <Security>
|
74 |
-
// и создается SoapHeader <Security>
|
75 |
-
$secHeaderValue = new SoapVar($usernameToken, SOAP_ENC_OBJECT, NULL, $sns, 'wsse:Security', $sns);
|
76 |
-
return new SoapHeader($sns, 'Security', $secHeaderValue, true);
|
77 |
-
}
|
78 |
-
|
79 |
-
}
|
80 |
?>
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Класс для доступа к методам вебсервиса платежной системы www.moneta.ru
|
4 |
+
*
|
5 |
+
* @version $Id: MonetaWebService.php 9 2010-01-19 11:00:28Z afi $
|
6 |
+
* @author Andrey Filippov
|
7 |
+
*/
|
8 |
+
|
9 |
+
require_once "MonetaWebServiceConnector.php";
|
10 |
+
|
11 |
+
class MonetaWebService extends MonetaWebServiceConnector
|
12 |
+
{
|
13 |
+
|
14 |
+
/**
|
15 |
+
* Конструктор
|
16 |
+
*
|
17 |
+
* @param string $wsdl путь к файлу описания методов Moneta.MerchantAPI
|
18 |
+
* @param string $username Имя пользователя для доступа к методам
|
19 |
+
* @param string $password Пароль для доступа к методам
|
20 |
+
* @param array $options Опции, аналогичные SoapClient->__construct()
|
21 |
+
*
|
22 |
+
* @return void
|
23 |
+
*/
|
24 |
+
function __construct($wsdl, $username, $password, $options = null, $isDebug = false)
|
25 |
+
{
|
26 |
+
// Отключаем кэширование в режиме отладки
|
27 |
+
ini_set("soap.wsdl_cache_enabled", !$isDebug);
|
28 |
+
|
29 |
+
// время жизни кэша
|
30 |
+
if (!$isDebug)
|
31 |
+
ini_set("soap.wsdl_cache_ttl", "86400");
|
32 |
+
|
33 |
+
if ($options === null)
|
34 |
+
$options = array();
|
35 |
+
|
36 |
+
parent::__construct($wsdl, $options);
|
37 |
+
$this->inputHeaders[] = $this->createSecurityHeader($username, $password);
|
38 |
+
}
|
39 |
+
|
40 |
+
/**
|
41 |
+
* Создает заголовок для авторизации в веб-сервисе
|
42 |
+
* в соответствии со схемой
|
43 |
+
* http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd
|
44 |
+
*
|
45 |
+
* @return SoapHeader
|
46 |
+
*/
|
47 |
+
private function createSecurityHeader($userName, $password)
|
48 |
+
{
|
49 |
+
$sns = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd";
|
50 |
+
|
51 |
+
// формируем параметр username
|
52 |
+
$username = new SoapVar($userName, XSD_STRING, NULL, $sns, NULL, $sns);
|
53 |
+
|
54 |
+
// формируем параметр password
|
55 |
+
$password = new SoapVar($password, XSD_STRING, NULL, $sns, NULL, $sns);
|
56 |
+
|
57 |
+
// Для того чтобы выразить тег <UserNameToken> с вложенными внутри него тегами <Username> и <Password>,
|
58 |
+
// мы должны определить промежуточный класс
|
59 |
+
$tmp = new stdClass();
|
60 |
+
$tmp->Username = $username;
|
61 |
+
$tmp->Password = $password;
|
62 |
+
|
63 |
+
// содержимое сложного XML-тега <UsernameToken> в виде SoapVar,
|
64 |
+
// тип которого не XSD_STRING, а SOAP_ENC_OBJECT
|
65 |
+
$authData = new SoapVar($tmp, SOAP_ENC_OBJECT, null, $sns, 'wsse:UsernameToken', $sns);
|
66 |
+
|
67 |
+
// формируем содержимое тега Security , т.е. сам UsernameToken
|
68 |
+
$tmp = new stdClass();
|
69 |
+
$tmp->UsernameToken = $authData;
|
70 |
+
|
71 |
+
$usernameToken = new SoapVar($tmp, SOAP_ENC_OBJECT, null, $sns, 'wsse:UsernameToken', $sns);
|
72 |
+
|
73 |
+
//Объект UsernameToken присоединяется к своему родительскому XML-тегу <Security>
|
74 |
+
// и создается SoapHeader <Security>
|
75 |
+
$secHeaderValue = new SoapVar($usernameToken, SOAP_ENC_OBJECT, NULL, $sns, 'wsse:Security', $sns);
|
76 |
+
return new SoapHeader($sns, 'Security', $secHeaderValue, true);
|
77 |
+
}
|
78 |
+
|
79 |
+
}
|
80 |
?>
|
app/code/community/Paw/Payanyway/controllers/Moneta/MonetaWebServiceConnector.php
CHANGED
@@ -1,713 +1,713 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Class was generated by WSDL2PHP tool
|
4 |
-
* Timestamp: 1301913375
|
5 |
-
*
|
6 |
-
* PHP version 5
|
7 |
-
*
|
8 |
-
* @category tools
|
9 |
-
* @package WSDL
|
10 |
-
* @author Andrey Filippov <afi.work@gmail.com>
|
11 |
-
* @license %license%
|
12 |
-
* @version SVN: $Id: TemplateWebService.php 9 2007-12-25 11:26:03Z afi $
|
13 |
-
* @link https://solo-framework-lib.googlecode.com
|
14 |
-
*/
|
15 |
-
|
16 |
-
require_once "MonetaDataTypes.php";
|
17 |
-
|
18 |
-
class MonetaWebServiceConnector
|
19 |
-
{
|
20 |
-
/**
|
21 |
-
* Mapping PHP classes and types from a WSDL
|
22 |
-
* Key - type defined in WSDL, value - PHP class name
|
23 |
-
* To avoid conflicts with another classes we have to add prefix for generated data types
|
24 |
-
*/
|
25 |
-
private static $classmap = array(
|
26 |
-
'Money' => 'MonetaMoney',
|
27 |
-
'Description' => 'MonetaDescription',
|
28 |
-
'Password' => 'MonetaPassword',
|
29 |
-
'OperationStatus' => 'MonetaOperationStatus',
|
30 |
-
'AccountId' => 'MonetaAccountId',
|
31 |
-
'Currency' => 'MonetaCurrency',
|
32 |
-
'AccountStatus' => 'MonetaAccountStatus',
|
33 |
-
'AccountType' => 'MonetaAccountType',
|
34 |
-
'CTID' => 'MonetaCTID',
|
35 |
-
'ProfileType' => 'MonetaProfileType',
|
36 |
-
'DocumentType' => 'MonetaDocumentType',
|
37 |
-
'Email' => 'MonetaEmail',
|
38 |
-
'TransactionRequestType' => 'MonetaTransactionRequestType',
|
39 |
-
'TransactionBatchRequestType' => 'MonetaTransactionBatchRequestType',
|
40 |
-
'TransactionResponseType' => 'MonetaTransactionResponseType',
|
41 |
-
'TransactionBatchResponseType' => 'MonetaTransactionBatchResponseType',
|
42 |
-
'OperationInfoBatchResponseType' => 'MonetaOperationInfoBatchResponseType',
|
43 |
-
'AuthoriseTransactionRequestType' => 'MonetaAuthoriseTransactionRequestType',
|
44 |
-
'AuthoriseTransactionBatchRequestType' => 'MonetaAuthoriseTransactionBatchRequestType',
|
45 |
-
'ConfirmTransactionRequestType' => 'MonetaConfirmTransactionRequestType',
|
46 |
-
'ConfirmTransactionBatchRequestType' => 'MonetaConfirmTransactionBatchRequestType',
|
47 |
-
'CancelTransactionRequestType' => 'MonetaCancelTransactionRequestType',
|
48 |
-
'CancelTransactionResponseType' => 'MonetaCancelTransactionResponseType',
|
49 |
-
'CancelTransactionBatchRequestType' => 'MonetaCancelTransactionBatchRequestType',
|
50 |
-
'CancelTransactionBatchResponseType' => 'MonetaCancelTransactionBatchResponseType',
|
51 |
-
'ForecastTransactionResponseType' => 'MonetaForecastTransactionResponseType',
|
52 |
-
'VerifyTransferResponseType' => 'MonetaVerifyTransferResponseType',
|
53 |
-
'AccountInfo' => 'MonetaAccountInfo',
|
54 |
-
'AccountAccessInfo' => 'MonetaAccountAccessInfo',
|
55 |
-
'KeyValueAttribute' => 'MonetaKeyValueAttribute',
|
56 |
-
'KeyValueApprovedAttribute' => 'MonetaKeyValueApprovedAttribute',
|
57 |
-
'OperationInfo' => 'MonetaOperationInfo',
|
58 |
-
'OperationInfoList' => 'MonetaOperationInfoList',
|
59 |
-
'PagerPageNumber' => 'MonetaPagerPageNumber',
|
60 |
-
'PagerPageSize' => 'MonetaPagerPageSize',
|
61 |
-
'Pager' => 'MonetaPager',
|
62 |
-
'Profile' => 'MonetaProfile',
|
63 |
-
'Document' => 'MonetaDocument',
|
64 |
-
'File' => 'MonetaFile',
|
65 |
-
'AccountRelation' => 'MonetaAccountRelation',
|
66 |
-
'InvoiceRequest' => 'MonetaInvoiceRequest',
|
67 |
-
'InvoiceResponse' => 'MonetaInvoiceResponse',
|
68 |
-
'TransferRequest' => 'MonetaTransferRequest',
|
69 |
-
'TransferResponse' => 'MonetaTransferResponse',
|
70 |
-
'TransferBatchRequest' => 'MonetaTransferBatchRequest',
|
71 |
-
'TransferBatchResponse' => 'MonetaTransferBatchResponse',
|
72 |
-
'AuthoriseTransactionRequest' => 'MonetaAuthoriseTransactionRequest',
|
73 |
-
'AuthoriseTransactionResponse' => 'MonetaAuthoriseTransactionResponse',
|
74 |
-
'AuthoriseTransactionBatchRequest' => 'MonetaAuthoriseTransactionBatchRequest',
|
75 |
-
'AuthoriseTransactionBatchResponse' => 'MonetaAuthoriseTransactionBatchResponse',
|
76 |
-
'ConfirmTransactionRequest' => 'MonetaConfirmTransactionRequest',
|
77 |
-
'ConfirmTransactionResponse' => 'MonetaConfirmTransactionResponse',
|
78 |
-
'ConfirmTransactionBatchRequest' => 'MonetaConfirmTransactionBatchRequest',
|
79 |
-
'ConfirmTransactionBatchResponse' => 'MonetaConfirmTransactionBatchResponse',
|
80 |
-
'CancelTransactionRequest' => 'MonetaCancelTransactionRequest',
|
81 |
-
'CancelTransactionResponse' => 'MonetaCancelTransactionResponse',
|
82 |
-
'CancelTransactionBatchRequest' => 'MonetaCancelTransactionBatchRequest',
|
83 |
-
'CancelTransactionBatchResponse' => 'MonetaCancelTransactionBatchResponse',
|
84 |
-
'RefundRequest' => 'MonetaRefundRequest',
|
85 |
-
'RefundResponse' => 'MonetaRefundResponse',
|
86 |
-
'ForecastTransactionRequest' => 'MonetaForecastTransactionRequest',
|
87 |
-
'ForecastTransactionResponse' => 'MonetaForecastTransactionResponse',
|
88 |
-
'VerifyTransactionRequest' => 'MonetaVerifyTransactionRequest',
|
89 |
-
'VerifyTransactionResponse' => 'MonetaVerifyTransactionResponse',
|
90 |
-
'VerifyTransferRequest' => 'MonetaVerifyTransferRequest',
|
91 |
-
'VerifyTransferResponse' => 'MonetaVerifyTransferResponse',
|
92 |
-
'FindAccountByIdRequest' => 'MonetaFindAccountByIdRequest',
|
93 |
-
'FindAccountByIdResponse' => 'MonetaFindAccountByIdResponse',
|
94 |
-
'FindAccountByAliasRequest' => 'MonetaFindAccountByAliasRequest',
|
95 |
-
'FindAccountByAliasResponse' => 'MonetaFindAccountByAliasResponse',
|
96 |
-
'FindAccountsListRequest' => 'MonetaFindAccountsListRequest',
|
97 |
-
'FindAccountsListResponse' => 'MonetaFindAccountsListResponse',
|
98 |
-
'GetAccountPaymentPasswordChallengeRequest' => 'MonetaGetAccountPaymentPasswordChallengeRequest',
|
99 |
-
'GetAccountPaymentPasswordChallengeResponse' => 'MonetaGetAccountPaymentPasswordChallengeResponse',
|
100 |
-
'CreateAccountRequestPaymentPassword' => 'MonetaCreateAccountRequestPaymentPassword',
|
101 |
-
'CreateAccountRequest' => 'MonetaCreateAccountRequest',
|
102 |
-
'CreateAccountResponse' => 'MonetaCreateAccountResponse',
|
103 |
-
'EditAccountRequestPaymentPassword' => 'MonetaEditAccountRequestPaymentPassword',
|
104 |
-
'EditAccountRequestOldPaymentPassword' => 'MonetaEditAccountRequestOldPaymentPassword',
|
105 |
-
'EditAccountRequest' => 'MonetaEditAccountRequest',
|
106 |
-
'EditAccountResponse' => 'MonetaEditAccountResponse',
|
107 |
-
'GetOperationDetailsByIdRequest' => 'MonetaGetOperationDetailsByIdRequest',
|
108 |
-
'GetOperationDetailsByIdResponse' => 'MonetaGetOperationDetailsByIdResponse',
|
109 |
-
'FindOperationsListByCTIDRequestClientTransaction' => 'MonetaFindOperationsListByCTIDRequestClientTransaction',
|
110 |
-
'FindOperationsListByCTIDRequest' => 'MonetaFindOperationsListByCTIDRequest',
|
111 |
-
'FindOperationsListByCTIDResponse' => 'MonetaFindOperationsListByCTIDResponse',
|
112 |
-
'FindOperationsListRequestFilter' => 'MonetaFindOperationsListRequestFilter',
|
113 |
-
'FindOperationsListRequest' => 'MonetaFindOperationsListRequest',
|
114 |
-
'FindOperationsListResponse' => 'MonetaFindOperationsListResponse',
|
115 |
-
'FindLastOperationsListRequestTransactionsQuantity' => 'MonetaFindLastOperationsListRequestTransactionsQuantity',
|
116 |
-
'FindLastOperationsListRequest' => 'MonetaFindLastOperationsListRequest',
|
117 |
-
'FindLastOperationsListResponse' => 'MonetaFindLastOperationsListResponse',
|
118 |
-
'FindProfileInfoByAccountIdRequest' => 'MonetaFindProfileInfoByAccountIdRequest',
|
119 |
-
'FindProfileInfoByAccountIdResponse' => 'MonetaFindProfileInfoByAccountIdResponse',
|
120 |
-
'CreateProfileRequest' => 'MonetaCreateProfileRequest',
|
121 |
-
'CreateProfileResponse' => 'MonetaCreateProfileResponse',
|
122 |
-
'EditProfileRequest' => 'MonetaEditProfileRequest',
|
123 |
-
'EditProfileResponse' => 'MonetaEditProfileResponse',
|
124 |
-
'GetProfileInfoRequest' => 'MonetaGetProfileInfoRequest',
|
125 |
-
'GetProfileInfoResponse' => 'MonetaGetProfileInfoResponse',
|
126 |
-
'FindProfileInfoRequestFilter' => 'MonetaFindProfileInfoRequestFilter',
|
127 |
-
'FindProfileInfoRequest' => 'MonetaFindProfileInfoRequest',
|
128 |
-
'FindProfileInfoResponse' => 'MonetaFindProfileInfoResponse',
|
129 |
-
'FindProfileDocumentFilesRequest' => 'MonetaFindProfileDocumentFilesRequest',
|
130 |
-
'FindProfileDocumentFilesResponse' => 'MonetaFindProfileDocumentFilesResponse',
|
131 |
-
'UploadProfileDocumentFileRequest' => 'MonetaUploadProfileDocumentFileRequest',
|
132 |
-
'UploadProfileDocumentFileResponse' => 'MonetaUploadProfileDocumentFileResponse',
|
133 |
-
'FindProfileDocumentsRequest' => 'MonetaFindProfileDocumentsRequest',
|
134 |
-
'FindProfileDocumentsResponse' => 'MonetaFindProfileDocumentsResponse',
|
135 |
-
'CreateProfileDocumentRequest' => 'MonetaCreateProfileDocumentRequest',
|
136 |
-
'CreateProfileDocumentResponse' => 'MonetaCreateProfileDocumentResponse',
|
137 |
-
'EditProfileDocumentRequest' => 'MonetaEditProfileDocumentRequest',
|
138 |
-
'EditProfileDocumentResponse' => 'MonetaEditProfileDocumentResponse',
|
139 |
-
'FindAccountRelationsRequest' => 'MonetaFindAccountRelationsRequest',
|
140 |
-
'FindAccountRelationsResponse' => 'MonetaFindAccountRelationsResponse',
|
141 |
-
'GetAccountRelationRequest' => 'MonetaGetAccountRelationRequest',
|
142 |
-
'GetAccountRelationResponse' => 'MonetaGetAccountRelationResponse',
|
143 |
-
'SaveAccountRelationRequest' => 'MonetaSaveAccountRelationRequest',
|
144 |
-
'SaveAccountRelationResponse' => 'MonetaSaveAccountRelationResponse',
|
145 |
-
'DeleteAccountRelationRequest' => 'MonetaDeleteAccountRelationRequest',
|
146 |
-
'DeleteAccountRelationResponse' => 'MonetaDeleteAccountRelationResponse',);
|
147 |
-
|
148 |
-
/**
|
149 |
-
* SoapClient instance
|
150 |
-
*
|
151 |
-
* @var SoapClient
|
152 |
-
*/
|
153 |
-
protected $client = null;
|
154 |
-
|
155 |
-
/**
|
156 |
-
* An array of headers to be sent along with the SOAP request
|
157 |
-
*
|
158 |
-
* @var array
|
159 |
-
*/
|
160 |
-
protected $inputHeaders = null;
|
161 |
-
|
162 |
-
/**
|
163 |
-
* If supplied, this array will be filled with the headers from the SOAP response
|
164 |
-
*
|
165 |
-
* @var array
|
166 |
-
*/
|
167 |
-
protected $outputHeaders = null;
|
168 |
-
|
169 |
-
|
170 |
-
/**
|
171 |
-
* Constructor
|
172 |
-
*
|
173 |
-
* @param string $wsdl Path or URL to WSDL file
|
174 |
-
* @param array $options Options like SoapClient->__construct()
|
175 |
-
*
|
176 |
-
* @return void
|
177 |
-
*/
|
178 |
-
function __construct($wsdl, $options = null)
|
179 |
-
{
|
180 |
-
foreach(self::$classmap as $key => $value)
|
181 |
-
if(!isset($options["classmap"][$key]))
|
182 |
-
$options["classmap"][$key] = $value;
|
183 |
-
|
184 |
-
if($options === null)
|
185 |
-
$options = array();
|
186 |
-
|
187 |
-
$this->client = new SoapClient($wsdl, $options);
|
188 |
-
}
|
189 |
-
|
190 |
-
// Block of generated methods
|
191 |
-
|
192 |
-
/**
|
193 |
-
*
|
194 |
-
*
|
195 |
-
* @param MonetaFindProfileDocumentsRequest $request
|
196 |
-
*
|
197 |
-
* @return MonetaFindProfileDocumentsResponse
|
198 |
-
*/
|
199 |
-
public function FindProfileDocuments(MonetaFindProfileDocumentsRequest $request)
|
200 |
-
{
|
201 |
-
$request = array($request);
|
202 |
-
return $this->call(__FUNCTION__, $request);
|
203 |
-
}
|
204 |
-
|
205 |
-
/**
|
206 |
-
*
|
207 |
-
*
|
208 |
-
* @param long $request
|
209 |
-
*
|
210 |
-
* @return MonetaFindAccountByIdResponse
|
211 |
-
*/
|
212 |
-
public function FindAccountById( $request)
|
213 |
-
{
|
214 |
-
$request = array($request);
|
215 |
-
return $this->call(__FUNCTION__, $request);
|
216 |
-
}
|
217 |
-
|
218 |
-
/**
|
219 |
-
*
|
220 |
-
*
|
221 |
-
* @param MonetaConfirmTransactionRequestType $request
|
222 |
-
*
|
223 |
-
* @return MonetaOperationInfo
|
224 |
-
*/
|
225 |
-
public function ConfirmTransaction(MonetaConfirmTransactionRequestType $request)
|
226 |
-
{
|
227 |
-
$request = array($request);
|
228 |
-
return $this->call(__FUNCTION__, $request);
|
229 |
-
}
|
230 |
-
|
231 |
-
/**
|
232 |
-
*
|
233 |
-
*
|
234 |
-
* @param MonetaFindProfileInfoRequest $request
|
235 |
-
*
|
236 |
-
* @return MonetaFindProfileInfoResponse
|
237 |
-
*/
|
238 |
-
public function FindProfileInfo(MonetaFindProfileInfoRequest $request)
|
239 |
-
{
|
240 |
-
$request = array($request);
|
241 |
-
return $this->call(__FUNCTION__, $request);
|
242 |
-
}
|
243 |
-
|
244 |
-
/**
|
245 |
-
*
|
246 |
-
*
|
247 |
-
* @param MonetaDeleteAccountRelationRequest $request
|
248 |
-
*
|
249 |
-
* @return MonetaDeleteAccountRelationResponse
|
250 |
-
*/
|
251 |
-
public function DeleteAccountRelation(MonetaDeleteAccountRelationRequest $request)
|
252 |
-
{
|
253 |
-
$request = array($request);
|
254 |
-
return $this->call(__FUNCTION__, $request);
|
255 |
-
}
|
256 |
-
|
257 |
-
/**
|
258 |
-
*
|
259 |
-
*
|
260 |
-
* @param MonetaCancelTransactionBatchRequestType $request
|
261 |
-
*
|
262 |
-
* @return MonetaCancelTransactionBatchResponse
|
263 |
-
*/
|
264 |
-
public function CancelTransactionBatch(MonetaCancelTransactionBatchRequestType $request)
|
265 |
-
{
|
266 |
-
$request = array($request);
|
267 |
-
return $this->call(__FUNCTION__, $request);
|
268 |
-
}
|
269 |
-
|
270 |
-
/**
|
271 |
-
*
|
272 |
-
*
|
273 |
-
* @param MonetaCreateProfileRequest $request
|
274 |
-
*
|
275 |
-
* @return long
|
276 |
-
*/
|
277 |
-
public function CreateProfile(MonetaCreateProfileRequest $request)
|
278 |
-
{
|
279 |
-
$request = array($request);
|
280 |
-
return $this->call(__FUNCTION__, $request);
|
281 |
-
}
|
282 |
-
|
283 |
-
/**
|
284 |
-
*
|
285 |
-
*
|
286 |
-
* @param MonetaTransactionBatchRequestType $request
|
287 |
-
*
|
288 |
-
* @return MonetaTransferBatchResponse
|
289 |
-
*/
|
290 |
-
public function TransferBatch(MonetaTransactionBatchRequestType $request)
|
291 |
-
{
|
292 |
-
$request = array($request);
|
293 |
-
return $this->call(__FUNCTION__, $request);
|
294 |
-
}
|
295 |
-
|
296 |
-
/**
|
297 |
-
*
|
298 |
-
*
|
299 |
-
* @param MonetaVerifyTransactionRequest $request
|
300 |
-
*
|
301 |
-
* @return MonetaVerifyTransferResponseType
|
302 |
-
*/
|
303 |
-
public function VerifyTransaction(MonetaVerifyTransactionRequest $request)
|
304 |
-
{
|
305 |
-
$request = array($request);
|
306 |
-
return $this->call(__FUNCTION__, $request);
|
307 |
-
}
|
308 |
-
|
309 |
-
/**
|
310 |
-
*
|
311 |
-
*
|
312 |
-
* @param MonetaGetAccountRelationRequest $request
|
313 |
-
*
|
314 |
-
* @return MonetaGetAccountRelationResponse
|
315 |
-
*/
|
316 |
-
public function GetAccountRelation(MonetaGetAccountRelationRequest $request)
|
317 |
-
{
|
318 |
-
$request = array($request);
|
319 |
-
return $this->call(__FUNCTION__, $request);
|
320 |
-
}
|
321 |
-
|
322 |
-
/**
|
323 |
-
*
|
324 |
-
*
|
325 |
-
* @param string $request
|
326 |
-
*
|
327 |
-
* @return MonetaFindAccountByAliasResponse
|
328 |
-
*/
|
329 |
-
public function FindAccountByAlias( $request)
|
330 |
-
{
|
331 |
-
$request = array($request);
|
332 |
-
return $this->call(__FUNCTION__, $request);
|
333 |
-
}
|
334 |
-
|
335 |
-
/**
|
336 |
-
*
|
337 |
-
*
|
338 |
-
* @param MonetaConfirmTransactionBatchRequestType $request
|
339 |
-
*
|
340 |
-
* @return MonetaConfirmTransactionBatchResponse
|
341 |
-
*/
|
342 |
-
public function ConfirmTransactionBatch(MonetaConfirmTransactionBatchRequestType $request)
|
343 |
-
{
|
344 |
-
$request = array($request);
|
345 |
-
return $this->call(__FUNCTION__, $request);
|
346 |
-
}
|
347 |
-
|
348 |
-
/**
|
349 |
-
*
|
350 |
-
*
|
351 |
-
* @param MonetaGetAccountPaymentPasswordChallengeRequest $request
|
352 |
-
*
|
353 |
-
* @return MonetaGetAccountPaymentPasswordChallengeResponse
|
354 |
-
*/
|
355 |
-
public function GetAccountPaymentPasswordChallenge(MonetaGetAccountPaymentPasswordChallengeRequest $request)
|
356 |
-
{
|
357 |
-
$request = array($request);
|
358 |
-
return $this->call(__FUNCTION__, $request);
|
359 |
-
}
|
360 |
-
|
361 |
-
/**
|
362 |
-
*
|
363 |
-
*
|
364 |
-
* @param MonetaFindAccountsListRequest $request
|
365 |
-
*
|
366 |
-
* @return MonetaFindAccountsListResponse
|
367 |
-
*/
|
368 |
-
public function FindAccountsList(MonetaFindAccountsListRequest $request)
|
369 |
-
{
|
370 |
-
$request = array($request);
|
371 |
-
return $this->call(__FUNCTION__, $request);
|
372 |
-
}
|
373 |
-
|
374 |
-
/**
|
375 |
-
*
|
376 |
-
*
|
377 |
-
* @param long $request
|
378 |
-
*
|
379 |
-
* @return MonetaGetOperationDetailsByIdResponse
|
380 |
-
*/
|
381 |
-
public function GetOperationDetailsById( $request)
|
382 |
-
{
|
383 |
-
$request = array($request);
|
384 |
-
return $this->call(__FUNCTION__, $request);
|
385 |
-
}
|
386 |
-
|
387 |
-
/**
|
388 |
-
*
|
389 |
-
*
|
390 |
-
* @param MonetaInvoiceRequest $request
|
391 |
-
*
|
392 |
-
* @return MonetaTransactionResponseType
|
393 |
-
*/
|
394 |
-
public function Invoice(MonetaInvoiceRequest $request)
|
395 |
-
{
|
396 |
-
$request = array($request);
|
397 |
-
return $this->call(__FUNCTION__, $request);
|
398 |
-
}
|
399 |
-
|
400 |
-
/**
|
401 |
-
*
|
402 |
-
*
|
403 |
-
* @param MonetaAccountRelation $request
|
404 |
-
*
|
405 |
-
* @return MonetaSaveAccountRelationResponse
|
406 |
-
*/
|
407 |
-
public function SaveAccountRelation(MonetaAccountRelation $request)
|
408 |
-
{
|
409 |
-
$request = array($request);
|
410 |
-
return $this->call(__FUNCTION__, $request);
|
411 |
-
}
|
412 |
-
|
413 |
-
/**
|
414 |
-
*
|
415 |
-
*
|
416 |
-
* @param MonetaCancelTransactionRequestType $request
|
417 |
-
*
|
418 |
-
* @return MonetaCancelTransactionResponseType
|
419 |
-
*/
|
420 |
-
public function CancelTransaction(MonetaCancelTransactionRequestType $request)
|
421 |
-
{
|
422 |
-
$request = array($request);
|
423 |
-
return $this->call(__FUNCTION__, $request);
|
424 |
-
}
|
425 |
-
|
426 |
-
/**
|
427 |
-
*
|
428 |
-
*
|
429 |
-
* @param MonetaDocument $request
|
430 |
-
*
|
431 |
-
* @return MonetaCreateProfileDocumentResponse
|
432 |
-
*/
|
433 |
-
public function CreateProfileDocument(MonetaDocument $request)
|
434 |
-
{
|
435 |
-
$request = array($request);
|
436 |
-
return $this->call(__FUNCTION__, $request);
|
437 |
-
}
|
438 |
-
|
439 |
-
/**
|
440 |
-
*
|
441 |
-
*
|
442 |
-
* @param MonetaUploadProfileDocumentFileRequest $request
|
443 |
-
*
|
444 |
-
* @return MonetaUploadProfileDocumentFileResponse
|
445 |
-
*/
|
446 |
-
public function UploadProfileDocumentFile(MonetaUploadProfileDocumentFileRequest $request)
|
447 |
-
{
|
448 |
-
$request = array($request);
|
449 |
-
return $this->call(__FUNCTION__, $request);
|
450 |
-
}
|
451 |
-
|
452 |
-
/**
|
453 |
-
*
|
454 |
-
*
|
455 |
-
* @param MonetaAuthoriseTransactionBatchRequestType $request
|
456 |
-
*
|
457 |
-
* @return MonetaAuthoriseTransactionBatchResponse
|
458 |
-
*/
|
459 |
-
public function AuthoriseTransactionBatch(MonetaAuthoriseTransactionBatchRequestType $request)
|
460 |
-
{
|
461 |
-
$request = array($request);
|
462 |
-
return $this->call(__FUNCTION__, $request);
|
463 |
-
}
|
464 |
-
|
465 |
-
/**
|
466 |
-
*
|
467 |
-
*
|
468 |
-
* @param MonetaFindLastOperationsListRequest $request
|
469 |
-
*
|
470 |
-
* @return MonetaOperationInfoList
|
471 |
-
*/
|
472 |
-
public function FindLastOperationsList(MonetaFindLastOperationsListRequest $request)
|
473 |
-
{
|
474 |
-
$request = array($request);
|
475 |
-
return $this->call(__FUNCTION__, $request);
|
476 |
-
}
|
477 |
-
|
478 |
-
/**
|
479 |
-
*
|
480 |
-
*
|
481 |
-
* @param MonetaFindAccountRelationsRequest $request
|
482 |
-
*
|
483 |
-
* @return MonetaFindAccountRelationsResponse
|
484 |
-
*/
|
485 |
-
public function FindAccountRelations(MonetaFindAccountRelationsRequest $request)
|
486 |
-
{
|
487 |
-
$request = array($request);
|
488 |
-
return $this->call(__FUNCTION__, $request);
|
489 |
-
}
|
490 |
-
|
491 |
-
/**
|
492 |
-
*
|
493 |
-
*
|
494 |
-
* @param MonetaTransactionRequestType $request
|
495 |
-
*
|
496 |
-
* @return MonetaOperationInfo
|
497 |
-
*/
|
498 |
-
public function AuthoriseTransaction(MonetaTransactionRequestType $request)
|
499 |
-
{
|
500 |
-
$request = array($request);
|
501 |
-
return $this->call(__FUNCTION__, $request);
|
502 |
-
}
|
503 |
-
|
504 |
-
/**
|
505 |
-
*
|
506 |
-
*
|
507 |
-
* @param MonetaEditAccountRequest $request
|
508 |
-
*
|
509 |
-
* @return MonetaEditAccountResponse
|
510 |
-
*/
|
511 |
-
public function EditAccount(MonetaEditAccountRequest $request)
|
512 |
-
{
|
513 |
-
$request = array($request);
|
514 |
-
return $this->call(__FUNCTION__, $request);
|
515 |
-
}
|
516 |
-
|
517 |
-
/**
|
518 |
-
*
|
519 |
-
*
|
520 |
-
* @param MonetaTransactionRequestType $request
|
521 |
-
*
|
522 |
-
* @return MonetaForecastTransactionResponseType
|
523 |
-
*/
|
524 |
-
public function ForecastTransaction(MonetaTransactionRequestType $request)
|
525 |
-
{
|
526 |
-
$request = array($request);
|
527 |
-
return $this->call(__FUNCTION__, $request);
|
528 |
-
}
|
529 |
-
|
530 |
-
/**
|
531 |
-
*
|
532 |
-
*
|
533 |
-
* @param MonetaTransactionRequestType $request
|
534 |
-
*
|
535 |
-
* @return MonetaTransactionResponseType
|
536 |
-
*/
|
537 |
-
public function Transfer(MonetaTransactionRequestType $request)
|
538 |
-
{
|
539 |
-
$request = array($request);
|
540 |
-
return $this->call(__FUNCTION__, $request);
|
541 |
-
}
|
542 |
-
|
543 |
-
/**
|
544 |
-
*
|
545 |
-
*
|
546 |
-
* @param MonetaFindProfileDocumentFilesRequest $request
|
547 |
-
*
|
548 |
-
* @return MonetaFindProfileDocumentFilesResponse
|
549 |
-
*/
|
550 |
-
public function FindProfileDocumentFiles(MonetaFindProfileDocumentFilesRequest $request)
|
551 |
-
{
|
552 |
-
$request = array($request);
|
553 |
-
return $this->call(__FUNCTION__, $request);
|
554 |
-
}
|
555 |
-
|
556 |
-
/**
|
557 |
-
*
|
558 |
-
*
|
559 |
-
* @param MonetaFindOperationsListByCTIDRequest $request
|
560 |
-
*
|
561 |
-
* @return MonetaOperationInfoList
|
562 |
-
*/
|
563 |
-
public function FindOperationsListByCTID(MonetaFindOperationsListByCTIDRequest $request)
|
564 |
-
{
|
565 |
-
$request = array($request);
|
566 |
-
return $this->call(__FUNCTION__, $request);
|
567 |
-
}
|
568 |
-
|
569 |
-
/**
|
570 |
-
*
|
571 |
-
*
|
572 |
-
* @param MonetaCreateAccountRequest $request
|
573 |
-
*
|
574 |
-
* @return long
|
575 |
-
*/
|
576 |
-
public function CreateAccount(MonetaCreateAccountRequest $request)
|
577 |
-
{
|
578 |
-
$request = array($request);
|
579 |
-
return $this->call(__FUNCTION__, $request);
|
580 |
-
}
|
581 |
-
|
582 |
-
/**
|
583 |
-
*
|
584 |
-
*
|
585 |
-
* @param MonetaGetProfileInfoRequest $request
|
586 |
-
*
|
587 |
-
* @return MonetaProfile
|
588 |
-
*/
|
589 |
-
public function GetProfileInfo(MonetaGetProfileInfoRequest $request)
|
590 |
-
{
|
591 |
-
$request = array($request);
|
592 |
-
return $this->call(__FUNCTION__, $request);
|
593 |
-
}
|
594 |
-
|
595 |
-
/**
|
596 |
-
*
|
597 |
-
*
|
598 |
-
* @param long $request
|
599 |
-
*
|
600 |
-
* @return MonetaFindProfileInfoByAccountIdResponse
|
601 |
-
*/
|
602 |
-
public function FindProfileInfoByAccountId( $request)
|
603 |
-
{
|
604 |
-
$request = array($request);
|
605 |
-
return $this->call(__FUNCTION__, $request);
|
606 |
-
}
|
607 |
-
|
608 |
-
/**
|
609 |
-
*
|
610 |
-
*
|
611 |
-
* @param MonetaDocument $request
|
612 |
-
*
|
613 |
-
* @return MonetaEditProfileDocumentResponse
|
614 |
-
*/
|
615 |
-
public function EditProfileDocument(MonetaDocument $request)
|
616 |
-
{
|
617 |
-
$request = array($request);
|
618 |
-
return $this->call(__FUNCTION__, $request);
|
619 |
-
}
|
620 |
-
|
621 |
-
/**
|
622 |
-
*
|
623 |
-
*
|
624 |
-
* @param MonetaRefundRequest $request
|
625 |
-
*
|
626 |
-
* @return MonetaOperationInfo
|
627 |
-
*/
|
628 |
-
public function Refund(MonetaRefundRequest $request)
|
629 |
-
{
|
630 |
-
$request = array($request);
|
631 |
-
return $this->call(__FUNCTION__, $request);
|
632 |
-
}
|
633 |
-
|
634 |
-
/**
|
635 |
-
*
|
636 |
-
*
|
637 |
-
* @param MonetaFindOperationsListRequest $request
|
638 |
-
*
|
639 |
-
* @return MonetaOperationInfoList
|
640 |
-
*/
|
641 |
-
public function FindOperationsList(MonetaFindOperationsListRequest $request)
|
642 |
-
{
|
643 |
-
$request = array($request);
|
644 |
-
return $this->call(__FUNCTION__, $request);
|
645 |
-
}
|
646 |
-
|
647 |
-
/**
|
648 |
-
*
|
649 |
-
*
|
650 |
-
* @param MonetaTransactionRequestType $request
|
651 |
-
*
|
652 |
-
* @return MonetaVerifyTransferResponseType
|
653 |
-
*/
|
654 |
-
public function VerifyTransfer(MonetaTransactionRequestType $request)
|
655 |
-
{
|
656 |
-
$request = array($request);
|
657 |
-
return $this->call(__FUNCTION__, $request);
|
658 |
-
}
|
659 |
-
|
660 |
-
/**
|
661 |
-
*
|
662 |
-
*
|
663 |
-
* @param MonetaEditProfileRequest $request
|
664 |
-
*
|
665 |
-
* @return MonetaEditProfileResponse
|
666 |
-
*/
|
667 |
-
public function EditProfile(MonetaEditProfileRequest $request)
|
668 |
-
{
|
669 |
-
$request = array($request);
|
670 |
-
return $this->call(__FUNCTION__, $request);
|
671 |
-
}
|
672 |
-
|
673 |
-
// end of block
|
674 |
-
|
675 |
-
|
676 |
-
/**
|
677 |
-
* Add header to array of headers to be sent along with the SOAP request.
|
678 |
-
*
|
679 |
-
* @param mixed $header Заголовок
|
680 |
-
*
|
681 |
-
* @return void
|
682 |
-
*/
|
683 |
-
public function addInputHeader($header)
|
684 |
-
{
|
685 |
-
$this->inputHeaders[] = $header;
|
686 |
-
}
|
687 |
-
|
688 |
-
/**
|
689 |
-
* If supplied, this array will be filled with the headers from the SOAP response
|
690 |
-
*
|
691 |
-
* @return array
|
692 |
-
*/
|
693 |
-
public function getOutputHeaders()
|
694 |
-
{
|
695 |
-
return $this->outputHeaders;
|
696 |
-
}
|
697 |
-
|
698 |
-
|
699 |
-
/**
|
700 |
-
* Call method of web-service
|
701 |
-
*
|
702 |
-
* @param string $method Method name
|
703 |
-
* @param mixed $data Data
|
704 |
-
* @param mixed $options Options corresponding like SoapClient->__soapCall()
|
705 |
-
*
|
706 |
-
* @return mixed
|
707 |
-
*/
|
708 |
-
protected function call($method, $data, $options = null)
|
709 |
-
{
|
710 |
-
return $this->client->__soapCall($method, $data, $options, $this->inputHeaders, $this->outputHeaders);
|
711 |
-
}
|
712 |
-
}
|
713 |
?>
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Class was generated by WSDL2PHP tool
|
4 |
+
* Timestamp: 1301913375
|
5 |
+
*
|
6 |
+
* PHP version 5
|
7 |
+
*
|
8 |
+
* @category tools
|
9 |
+
* @package WSDL
|
10 |
+
* @author Andrey Filippov <afi.work@gmail.com>
|
11 |
+
* @license %license%
|
12 |
+
* @version SVN: $Id: TemplateWebService.php 9 2007-12-25 11:26:03Z afi $
|
13 |
+
* @link https://solo-framework-lib.googlecode.com
|
14 |
+
*/
|
15 |
+
|
16 |
+
require_once "MonetaDataTypes.php";
|
17 |
+
|
18 |
+
class MonetaWebServiceConnector
|
19 |
+
{
|
20 |
+
/**
|
21 |
+
* Mapping PHP classes and types from a WSDL
|
22 |
+
* Key - type defined in WSDL, value - PHP class name
|
23 |
+
* To avoid conflicts with another classes we have to add prefix for generated data types
|
24 |
+
*/
|
25 |
+
private static $classmap = array(
|
26 |
+
'Money' => 'MonetaMoney',
|
27 |
+
'Description' => 'MonetaDescription',
|
28 |
+
'Password' => 'MonetaPassword',
|
29 |
+
'OperationStatus' => 'MonetaOperationStatus',
|
30 |
+
'AccountId' => 'MonetaAccountId',
|
31 |
+
'Currency' => 'MonetaCurrency',
|
32 |
+
'AccountStatus' => 'MonetaAccountStatus',
|
33 |
+
'AccountType' => 'MonetaAccountType',
|
34 |
+
'CTID' => 'MonetaCTID',
|
35 |
+
'ProfileType' => 'MonetaProfileType',
|
36 |
+
'DocumentType' => 'MonetaDocumentType',
|
37 |
+
'Email' => 'MonetaEmail',
|
38 |
+
'TransactionRequestType' => 'MonetaTransactionRequestType',
|
39 |
+
'TransactionBatchRequestType' => 'MonetaTransactionBatchRequestType',
|
40 |
+
'TransactionResponseType' => 'MonetaTransactionResponseType',
|
41 |
+
'TransactionBatchResponseType' => 'MonetaTransactionBatchResponseType',
|
42 |
+
'OperationInfoBatchResponseType' => 'MonetaOperationInfoBatchResponseType',
|
43 |
+
'AuthoriseTransactionRequestType' => 'MonetaAuthoriseTransactionRequestType',
|
44 |
+
'AuthoriseTransactionBatchRequestType' => 'MonetaAuthoriseTransactionBatchRequestType',
|
45 |
+
'ConfirmTransactionRequestType' => 'MonetaConfirmTransactionRequestType',
|
46 |
+
'ConfirmTransactionBatchRequestType' => 'MonetaConfirmTransactionBatchRequestType',
|
47 |
+
'CancelTransactionRequestType' => 'MonetaCancelTransactionRequestType',
|
48 |
+
'CancelTransactionResponseType' => 'MonetaCancelTransactionResponseType',
|
49 |
+
'CancelTransactionBatchRequestType' => 'MonetaCancelTransactionBatchRequestType',
|
50 |
+
'CancelTransactionBatchResponseType' => 'MonetaCancelTransactionBatchResponseType',
|
51 |
+
'ForecastTransactionResponseType' => 'MonetaForecastTransactionResponseType',
|
52 |
+
'VerifyTransferResponseType' => 'MonetaVerifyTransferResponseType',
|
53 |
+
'AccountInfo' => 'MonetaAccountInfo',
|
54 |
+
'AccountAccessInfo' => 'MonetaAccountAccessInfo',
|
55 |
+
'KeyValueAttribute' => 'MonetaKeyValueAttribute',
|
56 |
+
'KeyValueApprovedAttribute' => 'MonetaKeyValueApprovedAttribute',
|
57 |
+
'OperationInfo' => 'MonetaOperationInfo',
|
58 |
+
'OperationInfoList' => 'MonetaOperationInfoList',
|
59 |
+
'PagerPageNumber' => 'MonetaPagerPageNumber',
|
60 |
+
'PagerPageSize' => 'MonetaPagerPageSize',
|
61 |
+
'Pager' => 'MonetaPager',
|
62 |
+
'Profile' => 'MonetaProfile',
|
63 |
+
'Document' => 'MonetaDocument',
|
64 |
+
'File' => 'MonetaFile',
|
65 |
+
'AccountRelation' => 'MonetaAccountRelation',
|
66 |
+
'InvoiceRequest' => 'MonetaInvoiceRequest',
|
67 |
+
'InvoiceResponse' => 'MonetaInvoiceResponse',
|
68 |
+
'TransferRequest' => 'MonetaTransferRequest',
|
69 |
+
'TransferResponse' => 'MonetaTransferResponse',
|
70 |
+
'TransferBatchRequest' => 'MonetaTransferBatchRequest',
|
71 |
+
'TransferBatchResponse' => 'MonetaTransferBatchResponse',
|
72 |
+
'AuthoriseTransactionRequest' => 'MonetaAuthoriseTransactionRequest',
|
73 |
+
'AuthoriseTransactionResponse' => 'MonetaAuthoriseTransactionResponse',
|
74 |
+
'AuthoriseTransactionBatchRequest' => 'MonetaAuthoriseTransactionBatchRequest',
|
75 |
+
'AuthoriseTransactionBatchResponse' => 'MonetaAuthoriseTransactionBatchResponse',
|
76 |
+
'ConfirmTransactionRequest' => 'MonetaConfirmTransactionRequest',
|
77 |
+
'ConfirmTransactionResponse' => 'MonetaConfirmTransactionResponse',
|
78 |
+
'ConfirmTransactionBatchRequest' => 'MonetaConfirmTransactionBatchRequest',
|
79 |
+
'ConfirmTransactionBatchResponse' => 'MonetaConfirmTransactionBatchResponse',
|
80 |
+
'CancelTransactionRequest' => 'MonetaCancelTransactionRequest',
|
81 |
+
'CancelTransactionResponse' => 'MonetaCancelTransactionResponse',
|
82 |
+
'CancelTransactionBatchRequest' => 'MonetaCancelTransactionBatchRequest',
|
83 |
+
'CancelTransactionBatchResponse' => 'MonetaCancelTransactionBatchResponse',
|
84 |
+
'RefundRequest' => 'MonetaRefundRequest',
|
85 |
+
'RefundResponse' => 'MonetaRefundResponse',
|
86 |
+
'ForecastTransactionRequest' => 'MonetaForecastTransactionRequest',
|
87 |
+
'ForecastTransactionResponse' => 'MonetaForecastTransactionResponse',
|
88 |
+
'VerifyTransactionRequest' => 'MonetaVerifyTransactionRequest',
|
89 |
+
'VerifyTransactionResponse' => 'MonetaVerifyTransactionResponse',
|
90 |
+
'VerifyTransferRequest' => 'MonetaVerifyTransferRequest',
|
91 |
+
'VerifyTransferResponse' => 'MonetaVerifyTransferResponse',
|
92 |
+
'FindAccountByIdRequest' => 'MonetaFindAccountByIdRequest',
|
93 |
+
'FindAccountByIdResponse' => 'MonetaFindAccountByIdResponse',
|
94 |
+
'FindAccountByAliasRequest' => 'MonetaFindAccountByAliasRequest',
|
95 |
+
'FindAccountByAliasResponse' => 'MonetaFindAccountByAliasResponse',
|
96 |
+
'FindAccountsListRequest' => 'MonetaFindAccountsListRequest',
|
97 |
+
'FindAccountsListResponse' => 'MonetaFindAccountsListResponse',
|
98 |
+
'GetAccountPaymentPasswordChallengeRequest' => 'MonetaGetAccountPaymentPasswordChallengeRequest',
|
99 |
+
'GetAccountPaymentPasswordChallengeResponse' => 'MonetaGetAccountPaymentPasswordChallengeResponse',
|
100 |
+
'CreateAccountRequestPaymentPassword' => 'MonetaCreateAccountRequestPaymentPassword',
|
101 |
+
'CreateAccountRequest' => 'MonetaCreateAccountRequest',
|
102 |
+
'CreateAccountResponse' => 'MonetaCreateAccountResponse',
|
103 |
+
'EditAccountRequestPaymentPassword' => 'MonetaEditAccountRequestPaymentPassword',
|
104 |
+
'EditAccountRequestOldPaymentPassword' => 'MonetaEditAccountRequestOldPaymentPassword',
|
105 |
+
'EditAccountRequest' => 'MonetaEditAccountRequest',
|
106 |
+
'EditAccountResponse' => 'MonetaEditAccountResponse',
|
107 |
+
'GetOperationDetailsByIdRequest' => 'MonetaGetOperationDetailsByIdRequest',
|
108 |
+
'GetOperationDetailsByIdResponse' => 'MonetaGetOperationDetailsByIdResponse',
|
109 |
+
'FindOperationsListByCTIDRequestClientTransaction' => 'MonetaFindOperationsListByCTIDRequestClientTransaction',
|
110 |
+
'FindOperationsListByCTIDRequest' => 'MonetaFindOperationsListByCTIDRequest',
|
111 |
+
'FindOperationsListByCTIDResponse' => 'MonetaFindOperationsListByCTIDResponse',
|
112 |
+
'FindOperationsListRequestFilter' => 'MonetaFindOperationsListRequestFilter',
|
113 |
+
'FindOperationsListRequest' => 'MonetaFindOperationsListRequest',
|
114 |
+
'FindOperationsListResponse' => 'MonetaFindOperationsListResponse',
|
115 |
+
'FindLastOperationsListRequestTransactionsQuantity' => 'MonetaFindLastOperationsListRequestTransactionsQuantity',
|
116 |
+
'FindLastOperationsListRequest' => 'MonetaFindLastOperationsListRequest',
|
117 |
+
'FindLastOperationsListResponse' => 'MonetaFindLastOperationsListResponse',
|
118 |
+
'FindProfileInfoByAccountIdRequest' => 'MonetaFindProfileInfoByAccountIdRequest',
|
119 |
+
'FindProfileInfoByAccountIdResponse' => 'MonetaFindProfileInfoByAccountIdResponse',
|
120 |
+
'CreateProfileRequest' => 'MonetaCreateProfileRequest',
|
121 |
+
'CreateProfileResponse' => 'MonetaCreateProfileResponse',
|
122 |
+
'EditProfileRequest' => 'MonetaEditProfileRequest',
|
123 |
+
'EditProfileResponse' => 'MonetaEditProfileResponse',
|
124 |
+
'GetProfileInfoRequest' => 'MonetaGetProfileInfoRequest',
|
125 |
+
'GetProfileInfoResponse' => 'MonetaGetProfileInfoResponse',
|
126 |
+
'FindProfileInfoRequestFilter' => 'MonetaFindProfileInfoRequestFilter',
|
127 |
+
'FindProfileInfoRequest' => 'MonetaFindProfileInfoRequest',
|
128 |
+
'FindProfileInfoResponse' => 'MonetaFindProfileInfoResponse',
|
129 |
+
'FindProfileDocumentFilesRequest' => 'MonetaFindProfileDocumentFilesRequest',
|
130 |
+
'FindProfileDocumentFilesResponse' => 'MonetaFindProfileDocumentFilesResponse',
|
131 |
+
'UploadProfileDocumentFileRequest' => 'MonetaUploadProfileDocumentFileRequest',
|
132 |
+
'UploadProfileDocumentFileResponse' => 'MonetaUploadProfileDocumentFileResponse',
|
133 |
+
'FindProfileDocumentsRequest' => 'MonetaFindProfileDocumentsRequest',
|
134 |
+
'FindProfileDocumentsResponse' => 'MonetaFindProfileDocumentsResponse',
|
135 |
+
'CreateProfileDocumentRequest' => 'MonetaCreateProfileDocumentRequest',
|
136 |
+
'CreateProfileDocumentResponse' => 'MonetaCreateProfileDocumentResponse',
|
137 |
+
'EditProfileDocumentRequest' => 'MonetaEditProfileDocumentRequest',
|
138 |
+
'EditProfileDocumentResponse' => 'MonetaEditProfileDocumentResponse',
|
139 |
+
'FindAccountRelationsRequest' => 'MonetaFindAccountRelationsRequest',
|
140 |
+
'FindAccountRelationsResponse' => 'MonetaFindAccountRelationsResponse',
|
141 |
+
'GetAccountRelationRequest' => 'MonetaGetAccountRelationRequest',
|
142 |
+
'GetAccountRelationResponse' => 'MonetaGetAccountRelationResponse',
|
143 |
+
'SaveAccountRelationRequest' => 'MonetaSaveAccountRelationRequest',
|
144 |
+
'SaveAccountRelationResponse' => 'MonetaSaveAccountRelationResponse',
|
145 |
+
'DeleteAccountRelationRequest' => 'MonetaDeleteAccountRelationRequest',
|
146 |
+
'DeleteAccountRelationResponse' => 'MonetaDeleteAccountRelationResponse',);
|
147 |
+
|
148 |
+
/**
|
149 |
+
* SoapClient instance
|
150 |
+
*
|
151 |
+
* @var SoapClient
|
152 |
+
*/
|
153 |
+
protected $client = null;
|
154 |
+
|
155 |
+
/**
|
156 |
+
* An array of headers to be sent along with the SOAP request
|
157 |
+
*
|
158 |
+
* @var array
|
159 |
+
*/
|
160 |
+
protected $inputHeaders = null;
|
161 |
+
|
162 |
+
/**
|
163 |
+
* If supplied, this array will be filled with the headers from the SOAP response
|
164 |
+
*
|
165 |
+
* @var array
|
166 |
+
*/
|
167 |
+
protected $outputHeaders = null;
|
168 |
+
|
169 |
+
|
170 |
+
/**
|
171 |
+
* Constructor
|
172 |
+
*
|
173 |
+
* @param string $wsdl Path or URL to WSDL file
|
174 |
+
* @param array $options Options like SoapClient->__construct()
|
175 |
+
*
|
176 |
+
* @return void
|
177 |
+
*/
|
178 |
+
function __construct($wsdl, $options = null)
|
179 |
+
{
|
180 |
+
foreach(self::$classmap as $key => $value)
|
181 |
+
if(!isset($options["classmap"][$key]))
|
182 |
+
$options["classmap"][$key] = $value;
|
183 |
+
|
184 |
+
if($options === null)
|
185 |
+
$options = array();
|
186 |
+
|
187 |
+
$this->client = new SoapClient($wsdl, $options);
|
188 |
+
}
|
189 |
+
|
190 |
+
// Block of generated methods
|
191 |
+
|
192 |
+
/**
|
193 |
+
*
|
194 |
+
*
|
195 |
+
* @param MonetaFindProfileDocumentsRequest $request
|
196 |
+
*
|
197 |
+
* @return MonetaFindProfileDocumentsResponse
|
198 |
+
*/
|
199 |
+
public function FindProfileDocuments(MonetaFindProfileDocumentsRequest $request)
|
200 |
+
{
|
201 |
+
$request = array($request);
|
202 |
+
return $this->call(__FUNCTION__, $request);
|
203 |
+
}
|
204 |
+
|
205 |
+
/**
|
206 |
+
*
|
207 |
+
*
|
208 |
+
* @param long $request
|
209 |
+
*
|
210 |
+
* @return MonetaFindAccountByIdResponse
|
211 |
+
*/
|
212 |
+
public function FindAccountById( $request)
|
213 |
+
{
|
214 |
+
$request = array($request);
|
215 |
+
return $this->call(__FUNCTION__, $request);
|
216 |
+
}
|
217 |
+
|
218 |
+
/**
|
219 |
+
*
|
220 |
+
*
|
221 |
+
* @param MonetaConfirmTransactionRequestType $request
|
222 |
+
*
|
223 |
+
* @return MonetaOperationInfo
|
224 |
+
*/
|
225 |
+
public function ConfirmTransaction(MonetaConfirmTransactionRequestType $request)
|
226 |
+
{
|
227 |
+
$request = array($request);
|
228 |
+
return $this->call(__FUNCTION__, $request);
|
229 |
+
}
|
230 |
+
|
231 |
+
/**
|
232 |
+
*
|
233 |
+
*
|
234 |
+
* @param MonetaFindProfileInfoRequest $request
|
235 |
+
*
|
236 |
+
* @return MonetaFindProfileInfoResponse
|
237 |
+
*/
|
238 |
+
public function FindProfileInfo(MonetaFindProfileInfoRequest $request)
|
239 |
+
{
|
240 |
+
$request = array($request);
|
241 |
+
return $this->call(__FUNCTION__, $request);
|
242 |
+
}
|
243 |
+
|
244 |
+
/**
|
245 |
+
*
|
246 |
+
*
|
247 |
+
* @param MonetaDeleteAccountRelationRequest $request
|
248 |
+
*
|
249 |
+
* @return MonetaDeleteAccountRelationResponse
|
250 |
+
*/
|
251 |
+
public function DeleteAccountRelation(MonetaDeleteAccountRelationRequest $request)
|
252 |
+
{
|
253 |
+
$request = array($request);
|
254 |
+
return $this->call(__FUNCTION__, $request);
|
255 |
+
}
|
256 |
+
|
257 |
+
/**
|
258 |
+
*
|
259 |
+
*
|
260 |
+
* @param MonetaCancelTransactionBatchRequestType $request
|
261 |
+
*
|
262 |
+
* @return MonetaCancelTransactionBatchResponse
|
263 |
+
*/
|
264 |
+
public function CancelTransactionBatch(MonetaCancelTransactionBatchRequestType $request)
|
265 |
+
{
|
266 |
+
$request = array($request);
|
267 |
+
return $this->call(__FUNCTION__, $request);
|
268 |
+
}
|
269 |
+
|
270 |
+
/**
|
271 |
+
*
|
272 |
+
*
|
273 |
+
* @param MonetaCreateProfileRequest $request
|
274 |
+
*
|
275 |
+
* @return long
|
276 |
+
*/
|
277 |
+
public function CreateProfile(MonetaCreateProfileRequest $request)
|
278 |
+
{
|
279 |
+
$request = array($request);
|
280 |
+
return $this->call(__FUNCTION__, $request);
|
281 |
+
}
|
282 |
+
|
283 |
+
/**
|
284 |
+
*
|
285 |
+
*
|
286 |
+
* @param MonetaTransactionBatchRequestType $request
|
287 |
+
*
|
288 |
+
* @return MonetaTransferBatchResponse
|
289 |
+
*/
|
290 |
+
public function TransferBatch(MonetaTransactionBatchRequestType $request)
|
291 |
+
{
|
292 |
+
$request = array($request);
|
293 |
+
return $this->call(__FUNCTION__, $request);
|
294 |
+
}
|
295 |
+
|
296 |
+
/**
|
297 |
+
*
|
298 |
+
*
|
299 |
+
* @param MonetaVerifyTransactionRequest $request
|
300 |
+
*
|
301 |
+
* @return MonetaVerifyTransferResponseType
|
302 |
+
*/
|
303 |
+
public function VerifyTransaction(MonetaVerifyTransactionRequest $request)
|
304 |
+
{
|
305 |
+
$request = array($request);
|
306 |
+
return $this->call(__FUNCTION__, $request);
|
307 |
+
}
|
308 |
+
|
309 |
+
/**
|
310 |
+
*
|
311 |
+
*
|
312 |
+
* @param MonetaGetAccountRelationRequest $request
|
313 |
+
*
|
314 |
+
* @return MonetaGetAccountRelationResponse
|
315 |
+
*/
|
316 |
+
public function GetAccountRelation(MonetaGetAccountRelationRequest $request)
|
317 |
+
{
|
318 |
+
$request = array($request);
|
319 |
+
return $this->call(__FUNCTION__, $request);
|
320 |
+
}
|
321 |
+
|
322 |
+
/**
|
323 |
+
*
|
324 |
+
*
|
325 |
+
* @param string $request
|
326 |
+
*
|
327 |
+
* @return MonetaFindAccountByAliasResponse
|
328 |
+
*/
|
329 |
+
public function FindAccountByAlias( $request)
|
330 |
+
{
|
331 |
+
$request = array($request);
|
332 |
+
return $this->call(__FUNCTION__, $request);
|
333 |
+
}
|
334 |
+
|
335 |
+
/**
|
336 |
+
*
|
337 |
+
*
|
338 |
+
* @param MonetaConfirmTransactionBatchRequestType $request
|
339 |
+
*
|
340 |
+
* @return MonetaConfirmTransactionBatchResponse
|
341 |
+
*/
|
342 |
+
public function ConfirmTransactionBatch(MonetaConfirmTransactionBatchRequestType $request)
|
343 |
+
{
|
344 |
+
$request = array($request);
|
345 |
+
return $this->call(__FUNCTION__, $request);
|
346 |
+
}
|
347 |
+
|
348 |
+
/**
|
349 |
+
*
|
350 |
+
*
|
351 |
+
* @param MonetaGetAccountPaymentPasswordChallengeRequest $request
|
352 |
+
*
|
353 |
+
* @return MonetaGetAccountPaymentPasswordChallengeResponse
|
354 |
+
*/
|
355 |
+
public function GetAccountPaymentPasswordChallenge(MonetaGetAccountPaymentPasswordChallengeRequest $request)
|
356 |
+
{
|
357 |
+
$request = array($request);
|
358 |
+
return $this->call(__FUNCTION__, $request);
|
359 |
+
}
|
360 |
+
|
361 |
+
/**
|
362 |
+
*
|
363 |
+
*
|
364 |
+
* @param MonetaFindAccountsListRequest $request
|
365 |
+
*
|
366 |
+
* @return MonetaFindAccountsListResponse
|
367 |
+
*/
|
368 |
+
public function FindAccountsList(MonetaFindAccountsListRequest $request)
|
369 |
+
{
|
370 |
+
$request = array($request);
|
371 |
+
return $this->call(__FUNCTION__, $request);
|
372 |
+
}
|
373 |
+
|
374 |
+
/**
|
375 |
+
*
|
376 |
+
*
|
377 |
+
* @param long $request
|
378 |
+
*
|
379 |
+
* @return MonetaGetOperationDetailsByIdResponse
|
380 |
+
*/
|
381 |
+
public function GetOperationDetailsById( $request)
|
382 |
+
{
|
383 |
+
$request = array($request);
|
384 |
+
return $this->call(__FUNCTION__, $request);
|
385 |
+
}
|
386 |
+
|
387 |
+
/**
|
388 |
+
*
|
389 |
+
*
|
390 |
+
* @param MonetaInvoiceRequest $request
|
391 |
+
*
|
392 |
+
* @return MonetaTransactionResponseType
|
393 |
+
*/
|
394 |
+
public function Invoice(MonetaInvoiceRequest $request)
|
395 |
+
{
|
396 |
+
$request = array($request);
|
397 |
+
return $this->call(__FUNCTION__, $request);
|
398 |
+
}
|
399 |
+
|
400 |
+
/**
|
401 |
+
*
|
402 |
+
*
|
403 |
+
* @param MonetaAccountRelation $request
|
404 |
+
*
|
405 |
+
* @return MonetaSaveAccountRelationResponse
|
406 |
+
*/
|
407 |
+
public function SaveAccountRelation(MonetaAccountRelation $request)
|
408 |
+
{
|
409 |
+
$request = array($request);
|
410 |
+
return $this->call(__FUNCTION__, $request);
|
411 |
+
}
|
412 |
+
|
413 |
+
/**
|
414 |
+
*
|
415 |
+
*
|
416 |
+
* @param MonetaCancelTransactionRequestType $request
|
417 |
+
*
|
418 |
+
* @return MonetaCancelTransactionResponseType
|
419 |
+
*/
|
420 |
+
public function CancelTransaction(MonetaCancelTransactionRequestType $request)
|
421 |
+
{
|
422 |
+
$request = array($request);
|
423 |
+
return $this->call(__FUNCTION__, $request);
|
424 |
+
}
|
425 |
+
|
426 |
+
/**
|
427 |
+
*
|
428 |
+
*
|
429 |
+
* @param MonetaDocument $request
|
430 |
+
*
|
431 |
+
* @return MonetaCreateProfileDocumentResponse
|
432 |
+
*/
|
433 |
+
public function CreateProfileDocument(MonetaDocument $request)
|
434 |
+
{
|
435 |
+
$request = array($request);
|
436 |
+
return $this->call(__FUNCTION__, $request);
|
437 |
+
}
|
438 |
+
|
439 |
+
/**
|
440 |
+
*
|
441 |
+
*
|
442 |
+
* @param MonetaUploadProfileDocumentFileRequest $request
|
443 |
+
*
|
444 |
+
* @return MonetaUploadProfileDocumentFileResponse
|
445 |
+
*/
|
446 |
+
public function UploadProfileDocumentFile(MonetaUploadProfileDocumentFileRequest $request)
|
447 |
+
{
|
448 |
+
$request = array($request);
|
449 |
+
return $this->call(__FUNCTION__, $request);
|
450 |
+
}
|
451 |
+
|
452 |
+
/**
|
453 |
+
*
|
454 |
+
*
|
455 |
+
* @param MonetaAuthoriseTransactionBatchRequestType $request
|
456 |
+
*
|
457 |
+
* @return MonetaAuthoriseTransactionBatchResponse
|
458 |
+
*/
|
459 |
+
public function AuthoriseTransactionBatch(MonetaAuthoriseTransactionBatchRequestType $request)
|
460 |
+
{
|
461 |
+
$request = array($request);
|
462 |
+
return $this->call(__FUNCTION__, $request);
|
463 |
+
}
|
464 |
+
|
465 |
+
/**
|
466 |
+
*
|
467 |
+
*
|
468 |
+
* @param MonetaFindLastOperationsListRequest $request
|
469 |
+
*
|
470 |
+
* @return MonetaOperationInfoList
|
471 |
+
*/
|
472 |
+
public function FindLastOperationsList(MonetaFindLastOperationsListRequest $request)
|
473 |
+
{
|
474 |
+
$request = array($request);
|
475 |
+
return $this->call(__FUNCTION__, $request);
|
476 |
+
}
|
477 |
+
|
478 |
+
/**
|
479 |
+
*
|
480 |
+
*
|
481 |
+
* @param MonetaFindAccountRelationsRequest $request
|
482 |
+
*
|
483 |
+
* @return MonetaFindAccountRelationsResponse
|
484 |
+
*/
|
485 |
+
public function FindAccountRelations(MonetaFindAccountRelationsRequest $request)
|
486 |
+
{
|
487 |
+
$request = array($request);
|
488 |
+
return $this->call(__FUNCTION__, $request);
|
489 |
+
}
|
490 |
+
|
491 |
+
/**
|
492 |
+
*
|
493 |
+
*
|
494 |
+
* @param MonetaTransactionRequestType $request
|
495 |
+
*
|
496 |
+
* @return MonetaOperationInfo
|
497 |
+
*/
|
498 |
+
public function AuthoriseTransaction(MonetaTransactionRequestType $request)
|
499 |
+
{
|
500 |
+
$request = array($request);
|
501 |
+
return $this->call(__FUNCTION__, $request);
|
502 |
+
}
|
503 |
+
|
504 |
+
/**
|
505 |
+
*
|
506 |
+
*
|
507 |
+
* @param MonetaEditAccountRequest $request
|
508 |
+
*
|
509 |
+
* @return MonetaEditAccountResponse
|
510 |
+
*/
|
511 |
+
public function EditAccount(MonetaEditAccountRequest $request)
|
512 |
+
{
|
513 |
+
$request = array($request);
|
514 |
+
return $this->call(__FUNCTION__, $request);
|
515 |
+
}
|
516 |
+
|
517 |
+
/**
|
518 |
+
*
|
519 |
+
*
|
520 |
+
* @param MonetaTransactionRequestType $request
|
521 |
+
*
|
522 |
+
* @return MonetaForecastTransactionResponseType
|
523 |
+
*/
|
524 |
+
public function ForecastTransaction(MonetaTransactionRequestType $request)
|
525 |
+
{
|
526 |
+
$request = array($request);
|
527 |
+
return $this->call(__FUNCTION__, $request);
|
528 |
+
}
|
529 |
+
|
530 |
+
/**
|
531 |
+
*
|
532 |
+
*
|
533 |
+
* @param MonetaTransactionRequestType $request
|
534 |
+
*
|
535 |
+
* @return MonetaTransactionResponseType
|
536 |
+
*/
|
537 |
+
public function Transfer(MonetaTransactionRequestType $request)
|
538 |
+
{
|
539 |
+
$request = array($request);
|
540 |
+
return $this->call(__FUNCTION__, $request);
|
541 |
+
}
|
542 |
+
|
543 |
+
/**
|
544 |
+
*
|
545 |
+
*
|
546 |
+
* @param MonetaFindProfileDocumentFilesRequest $request
|
547 |
+
*
|
548 |
+
* @return MonetaFindProfileDocumentFilesResponse
|
549 |
+
*/
|
550 |
+
public function FindProfileDocumentFiles(MonetaFindProfileDocumentFilesRequest $request)
|
551 |
+
{
|
552 |
+
$request = array($request);
|
553 |
+
return $this->call(__FUNCTION__, $request);
|
554 |
+
}
|
555 |
+
|
556 |
+
/**
|
557 |
+
*
|
558 |
+
*
|
559 |
+
* @param MonetaFindOperationsListByCTIDRequest $request
|
560 |
+
*
|
561 |
+
* @return MonetaOperationInfoList
|
562 |
+
*/
|
563 |
+
public function FindOperationsListByCTID(MonetaFindOperationsListByCTIDRequest $request)
|
564 |
+
{
|
565 |
+
$request = array($request);
|
566 |
+
return $this->call(__FUNCTION__, $request);
|
567 |
+
}
|
568 |
+
|
569 |
+
/**
|
570 |
+
*
|
571 |
+
*
|
572 |
+
* @param MonetaCreateAccountRequest $request
|
573 |
+
*
|
574 |
+
* @return long
|
575 |
+
*/
|
576 |
+
public function CreateAccount(MonetaCreateAccountRequest $request)
|
577 |
+
{
|
578 |
+
$request = array($request);
|
579 |
+
return $this->call(__FUNCTION__, $request);
|
580 |
+
}
|
581 |
+
|
582 |
+
/**
|
583 |
+
*
|
584 |
+
*
|
585 |
+
* @param MonetaGetProfileInfoRequest $request
|
586 |
+
*
|
587 |
+
* @return MonetaProfile
|
588 |
+
*/
|
589 |
+
public function GetProfileInfo(MonetaGetProfileInfoRequest $request)
|
590 |
+
{
|
591 |
+
$request = array($request);
|
592 |
+
return $this->call(__FUNCTION__, $request);
|
593 |
+
}
|
594 |
+
|
595 |
+
/**
|
596 |
+
*
|
597 |
+
*
|
598 |
+
* @param long $request
|
599 |
+
*
|
600 |
+
* @return MonetaFindProfileInfoByAccountIdResponse
|
601 |
+
*/
|
602 |
+
public function FindProfileInfoByAccountId( $request)
|
603 |
+
{
|
604 |
+
$request = array($request);
|
605 |
+
return $this->call(__FUNCTION__, $request);
|
606 |
+
}
|
607 |
+
|
608 |
+
/**
|
609 |
+
*
|
610 |
+
*
|
611 |
+
* @param MonetaDocument $request
|
612 |
+
*
|
613 |
+
* @return MonetaEditProfileDocumentResponse
|
614 |
+
*/
|
615 |
+
public function EditProfileDocument(MonetaDocument $request)
|
616 |
+
{
|
617 |
+
$request = array($request);
|
618 |
+
return $this->call(__FUNCTION__, $request);
|
619 |
+
}
|
620 |
+
|
621 |
+
/**
|
622 |
+
*
|
623 |
+
*
|
624 |
+
* @param MonetaRefundRequest $request
|
625 |
+
*
|
626 |
+
* @return MonetaOperationInfo
|
627 |
+
*/
|
628 |
+
public function Refund(MonetaRefundRequest $request)
|
629 |
+
{
|
630 |
+
$request = array($request);
|
631 |
+
return $this->call(__FUNCTION__, $request);
|
632 |
+
}
|
633 |
+
|
634 |
+
/**
|
635 |
+
*
|
636 |
+
*
|
637 |
+
* @param MonetaFindOperationsListRequest $request
|
638 |
+
*
|
639 |
+
* @return MonetaOperationInfoList
|
640 |
+
*/
|
641 |
+
public function FindOperationsList(MonetaFindOperationsListRequest $request)
|
642 |
+
{
|
643 |
+
$request = array($request);
|
644 |
+
return $this->call(__FUNCTION__, $request);
|
645 |
+
}
|
646 |
+
|
647 |
+
/**
|
648 |
+
*
|
649 |
+
*
|
650 |
+
* @param MonetaTransactionRequestType $request
|
651 |
+
*
|
652 |
+
* @return MonetaVerifyTransferResponseType
|
653 |
+
*/
|
654 |
+
public function VerifyTransfer(MonetaTransactionRequestType $request)
|
655 |
+
{
|
656 |
+
$request = array($request);
|
657 |
+
return $this->call(__FUNCTION__, $request);
|
658 |
+
}
|
659 |
+
|
660 |
+
/**
|
661 |
+
*
|
662 |
+
*
|
663 |
+
* @param MonetaEditProfileRequest $request
|
664 |
+
*
|
665 |
+
* @return MonetaEditProfileResponse
|
666 |
+
*/
|
667 |
+
public function EditProfile(MonetaEditProfileRequest $request)
|
668 |
+
{
|
669 |
+
$request = array($request);
|
670 |
+
return $this->call(__FUNCTION__, $request);
|
671 |
+
}
|
672 |
+
|
673 |
+
// end of block
|
674 |
+
|
675 |
+
|
676 |
+
/**
|
677 |
+
* Add header to array of headers to be sent along with the SOAP request.
|
678 |
+
*
|
679 |
+
* @param mixed $header Заголовок
|
680 |
+
*
|
681 |
+
* @return void
|
682 |
+
*/
|
683 |
+
public function addInputHeader($header)
|
684 |
+
{
|
685 |
+
$this->inputHeaders[] = $header;
|
686 |
+
}
|
687 |
+
|
688 |
+
/**
|
689 |
+
* If supplied, this array will be filled with the headers from the SOAP response
|
690 |
+
*
|
691 |
+
* @return array
|
692 |
+
*/
|
693 |
+
public function getOutputHeaders()
|
694 |
+
{
|
695 |
+
return $this->outputHeaders;
|
696 |
+
}
|
697 |
+
|
698 |
+
|
699 |
+
/**
|
700 |
+
* Call method of web-service
|
701 |
+
*
|
702 |
+
* @param string $method Method name
|
703 |
+
* @param mixed $data Data
|
704 |
+
* @param mixed $options Options corresponding like SoapClient->__soapCall()
|
705 |
+
*
|
706 |
+
* @return mixed
|
707 |
+
*/
|
708 |
+
protected function call($method, $data, $options = null)
|
709 |
+
{
|
710 |
+
return $this->client->__soapCall($method, $data, $options, $this->inputHeaders, $this->outputHeaders);
|
711 |
+
}
|
712 |
+
}
|
713 |
?>
|
app/code/community/Paw/Payanyway/controllers/PayanywayController.php
CHANGED
@@ -1,16 +1,16 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
|
4 |
-
class Paw_Payanyway_PayanywayController extends Mage_Adminhtml_Controller_Action
|
5 |
-
{
|
6 |
-
/**
|
7 |
-
* Retrieve Payanyway helper
|
8 |
-
*
|
9 |
-
* @return Paw_Payanyway_Helper_Data
|
10 |
-
*/
|
11 |
-
protected function _getHelper()
|
12 |
-
{
|
13 |
-
return Mage::helper('payanyway');
|
14 |
-
}
|
15 |
-
|
16 |
-
}
|
1 |
+
<?php
|
2 |
+
|
3 |
+
|
4 |
+
class Paw_Payanyway_PayanywayController extends Mage_Adminhtml_Controller_Action
|
5 |
+
{
|
6 |
+
/**
|
7 |
+
* Retrieve Payanyway helper
|
8 |
+
*
|
9 |
+
* @return Paw_Payanyway_Helper_Data
|
10 |
+
*/
|
11 |
+
protected function _getHelper()
|
12 |
+
{
|
13 |
+
return Mage::helper('payanyway');
|
14 |
+
}
|
15 |
+
|
16 |
+
}
|
app/code/community/Paw/Payanyway/controllers/ProcessingController.php
CHANGED
@@ -1,145 +1,144 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
class Paw_Payanyway_ProcessingController extends Mage_Core_Controller_Front_Action
|
4 |
-
{
|
5 |
-
/**
|
6 |
-
* Get singleton of Checkout Session Model
|
7 |
-
*
|
8 |
-
* @return Mage_Checkout_Model_Session
|
9 |
-
*/
|
10 |
-
protected function _getCheckout()
|
11 |
-
{
|
12 |
-
return Mage::getSingleton('checkout/session');
|
13 |
-
}
|
14 |
-
|
15 |
-
/**
|
16 |
-
* Show orderPlaceRedirect page which contains the Payanyway iframe.
|
17 |
-
*/
|
18 |
-
public function paymentAction()
|
19 |
-
{
|
20 |
-
try {
|
21 |
-
$session = $this->_getCheckout();
|
22 |
-
|
23 |
-
$order = Mage::getModel('sales/order');
|
24 |
-
$order->loadByIncrementId($session->getLastRealOrderId());
|
25 |
-
if (!$order->getId()) {
|
26 |
-
Mage::throwException('No order for processing found');
|
27 |
-
}
|
28 |
-
$order->setState(
|
29 |
-
Mage::helper('payanyway')->__('The customer was redirected to Payanyway.')
|
30 |
-
);
|
31 |
-
$order->save();
|
32 |
-
|
33 |
-
$session->setPayanywayQuoteId($session->getQuoteId());
|
34 |
-
$session->setPayanywayRealOrderId($session->getLastRealOrderId());
|
35 |
-
$session->getQuote()->setIsActive(false)->save();
|
36 |
-
$session->clear();
|
37 |
-
|
38 |
-
$this->loadLayout();
|
39 |
-
$this->renderLayout();
|
40 |
-
} catch (Exception $e){
|
41 |
-
Mage::logException($e);
|
42 |
-
parent::_redirect('checkout/cart');
|
43 |
-
}
|
44 |
-
}
|
45 |
-
|
46 |
-
/**
|
47 |
-
* Action to which the customer will be returned when the payment is made.
|
48 |
-
*/
|
49 |
-
public function successAction()
|
50 |
-
{
|
51 |
-
$event = Mage::getModel('payanyway/event')
|
52 |
-
->setEventData($this->getRequest()->getParams());
|
53 |
-
try {
|
54 |
-
$quoteId = $event->successEvent();
|
55 |
-
$this->_getCheckout()->setLastSuccessQuoteId($quoteId);
|
56 |
-
$this->_redirect('checkout/onepage/success');
|
57 |
-
return;
|
58 |
-
} catch (Mage_Core_Exception $e) {
|
59 |
-
$this->_getCheckout()->addError($e->getMessage());
|
60 |
-
} catch(Exception $e) {
|
61 |
-
Mage::logException($e);
|
62 |
-
}
|
63 |
-
$this->_redirect('checkout/cart');
|
64 |
-
}
|
65 |
-
|
66 |
-
/**
|
67 |
-
* Action to which the customer will be returned if the payment process is
|
68 |
-
* cancelled.
|
69 |
-
* Cancel order and redirect user to the shopping cart.
|
70 |
-
*/
|
71 |
-
public function cancelAction()
|
72 |
-
{
|
73 |
-
$event = Mage::getModel('payanyway/event')
|
74 |
-
->setEventData($this->getRequest()->getParams());
|
75 |
-
$message = $event->cancelEvent();
|
76 |
-
|
77 |
-
// set quote to active
|
78 |
-
$session = $this->_getCheckout();
|
79 |
-
if ($quoteId = $session->getPayanywayQuoteId()) {
|
80 |
-
$quote = Mage::getModel('sales/quote')->load($quoteId);
|
81 |
-
if ($quote->getId()) {
|
82 |
-
$quote->setIsActive(true)->save();
|
83 |
-
$session->setQuoteId($quoteId);
|
84 |
-
}
|
85 |
-
}
|
86 |
-
$session->addError($message);
|
87 |
-
$this->_redirect('checkout/cart');
|
88 |
-
}
|
89 |
-
|
90 |
-
public function callbackAction()
|
91 |
-
{
|
92 |
-
$event = Mage::getModel('payanyway/event')
|
93 |
-
->setEventData($this->getRequest()->getParams());
|
94 |
-
$event->callbackEvent();
|
95 |
-
}
|
96 |
-
|
97 |
-
public function invoiceAction()
|
98 |
-
{
|
99 |
-
$event = Mage::getModel('payanyway/event')
|
100 |
-
->setEventData($this->getRequest()->getParams());
|
101 |
-
$event->invoiceEvent();
|
102 |
-
|
103 |
-
$this->loadLayout();
|
104 |
-
|
105 |
-
$block = $this->getLayout()->getBlock('payanyway_invoice');
|
106 |
-
$invoice = $block->getInvoice();
|
107 |
-
|
108 |
-
if ($invoice['status'] === 'FAILED') {
|
109 |
-
// set quote to active
|
110 |
-
$session = $this->_getCheckout();
|
111 |
-
if ($quoteId = $session->getPayanywayQuoteId()) {
|
112 |
-
$quote = Mage::getModel('sales/quote')->load($quoteId);
|
113 |
-
if ($quote->getId()) {
|
114 |
-
$quote->setIsActive(true)->save();
|
115 |
-
$session->setQuoteId($quoteId);
|
116 |
-
}
|
117 |
-
}
|
118 |
-
$session->addError($invoice['error_message']);
|
119 |
-
$this->_redirect('checkout/cart');
|
120 |
-
} else {
|
121 |
-
$block->setData("invoice", $invoice);
|
122 |
-
$this->renderLayout();
|
123 |
-
}
|
124 |
-
}
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
-
->
|
140 |
-
->
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
-
}
|
1 |
+
<?php
|
2 |
+
|
3 |
+
class Paw_Payanyway_ProcessingController extends Mage_Core_Controller_Front_Action
|
4 |
+
{
|
5 |
+
/**
|
6 |
+
* Get singleton of Checkout Session Model
|
7 |
+
*
|
8 |
+
* @return Mage_Checkout_Model_Session
|
9 |
+
*/
|
10 |
+
protected function _getCheckout()
|
11 |
+
{
|
12 |
+
return Mage::getSingleton('checkout/session');
|
13 |
+
}
|
14 |
+
|
15 |
+
/**
|
16 |
+
* Show orderPlaceRedirect page which contains the Payanyway iframe.
|
17 |
+
*/
|
18 |
+
public function paymentAction()
|
19 |
+
{
|
20 |
+
try {
|
21 |
+
$session = $this->_getCheckout();
|
22 |
+
|
23 |
+
$order = Mage::getModel('sales/order');
|
24 |
+
$order->loadByIncrementId($session->getLastRealOrderId());
|
25 |
+
if (!$order->getId()) {
|
26 |
+
Mage::throwException('No order for processing found');
|
27 |
+
}
|
28 |
+
$order->setState(Paw_Payanyway_Model_Abstract::STATE_PAYANYWAY_PENDING, Paw_Payanyway_Model_Abstract::STATE_PAYANYWAY_PENDING,
|
29 |
+
Mage::helper('payanyway')->__('The customer was redirected to Payanyway.')
|
30 |
+
);
|
31 |
+
$order->save();
|
32 |
+
|
33 |
+
$session->setPayanywayQuoteId($session->getQuoteId());
|
34 |
+
$session->setPayanywayRealOrderId($session->getLastRealOrderId());
|
35 |
+
$session->getQuote()->setIsActive(false)->save();
|
36 |
+
$session->clear();
|
37 |
+
|
38 |
+
$this->loadLayout();
|
39 |
+
$this->renderLayout();
|
40 |
+
} catch (Exception $e){
|
41 |
+
Mage::logException($e);
|
42 |
+
parent::_redirect('checkout/cart');
|
43 |
+
}
|
44 |
+
}
|
45 |
+
|
46 |
+
/**
|
47 |
+
* Action to which the customer will be returned when the payment is made.
|
48 |
+
*/
|
49 |
+
public function successAction()
|
50 |
+
{
|
51 |
+
$event = Mage::getModel('payanyway/event')
|
52 |
+
->setEventData($this->getRequest()->getParams());
|
53 |
+
try {
|
54 |
+
$quoteId = $event->successEvent();
|
55 |
+
$this->_getCheckout()->setLastSuccessQuoteId($quoteId);
|
56 |
+
$this->_redirect('checkout/onepage/success');
|
57 |
+
return;
|
58 |
+
} catch (Mage_Core_Exception $e) {
|
59 |
+
$this->_getCheckout()->addError($e->getMessage());
|
60 |
+
} catch(Exception $e) {
|
61 |
+
Mage::logException($e);
|
62 |
+
}
|
63 |
+
$this->_redirect('checkout/cart');
|
64 |
+
}
|
65 |
+
|
66 |
+
/**
|
67 |
+
* Action to which the customer will be returned if the payment process is
|
68 |
+
* cancelled.
|
69 |
+
* Cancel order and redirect user to the shopping cart.
|
70 |
+
*/
|
71 |
+
public function cancelAction()
|
72 |
+
{
|
73 |
+
$event = Mage::getModel('payanyway/event')
|
74 |
+
->setEventData($this->getRequest()->getParams());
|
75 |
+
$message = $event->cancelEvent();
|
76 |
+
|
77 |
+
// set quote to active
|
78 |
+
$session = $this->_getCheckout();
|
79 |
+
if ($quoteId = $session->getPayanywayQuoteId()) {
|
80 |
+
$quote = Mage::getModel('sales/quote')->load($quoteId);
|
81 |
+
if ($quote->getId()) {
|
82 |
+
$quote->setIsActive(true)->save();
|
83 |
+
$session->setQuoteId($quoteId);
|
84 |
+
}
|
85 |
+
}
|
86 |
+
$session->addError($message);
|
87 |
+
$this->_redirect('checkout/cart');
|
88 |
+
}
|
89 |
+
|
90 |
+
public function callbackAction()
|
91 |
+
{
|
92 |
+
$event = Mage::getModel('payanyway/event')
|
93 |
+
->setEventData($this->getRequest()->getParams());
|
94 |
+
$event->callbackEvent();
|
95 |
+
}
|
96 |
+
|
97 |
+
public function invoiceAction()
|
98 |
+
{
|
99 |
+
$event = Mage::getModel('payanyway/event')
|
100 |
+
->setEventData($this->getRequest()->getParams());
|
101 |
+
$event->invoiceEvent();
|
102 |
+
|
103 |
+
$this->loadLayout();
|
104 |
+
|
105 |
+
$block = $this->getLayout()->getBlock('payanyway_invoice');
|
106 |
+
$invoice = $block->getInvoice();
|
107 |
+
|
108 |
+
if ($invoice['status'] === 'FAILED') {
|
109 |
+
// set quote to active
|
110 |
+
$session = $this->_getCheckout();
|
111 |
+
if ($quoteId = $session->getPayanywayQuoteId()) {
|
112 |
+
$quote = Mage::getModel('sales/quote')->load($quoteId);
|
113 |
+
if ($quote->getId()) {
|
114 |
+
$quote->setIsActive(true)->save();
|
115 |
+
$session->setQuoteId($quoteId);
|
116 |
+
}
|
117 |
+
}
|
118 |
+
$session->addError($invoice['error_message']);
|
119 |
+
$this->_redirect('checkout/cart');
|
120 |
+
} else {
|
121 |
+
$block->setData("invoice", $invoice);
|
122 |
+
$this->renderLayout();
|
123 |
+
}
|
124 |
+
}
|
125 |
+
|
126 |
+
/**
|
127 |
+
* Set redirect into responce. This has to be encapsulated in an JavaScript
|
128 |
+
* call to jump out of the iframe.
|
129 |
+
*
|
130 |
+
* @param string $path
|
131 |
+
* @param array $arguments
|
132 |
+
* @return $this|\Mage_Core_Controller_Varien_Action
|
133 |
+
*/
|
134 |
+
protected function _redirect($path, $arguments=array())
|
135 |
+
{
|
136 |
+
$this->getResponse()->setBody(
|
137 |
+
$this->getLayout()
|
138 |
+
->createBlock('payanyway/redirect')
|
139 |
+
->setRedirectUrl(Mage::getUrl($path, $arguments))
|
140 |
+
->toHtml()
|
141 |
+
);
|
142 |
+
return $this;
|
143 |
+
}
|
144 |
+
}
|
|
app/code/community/Paw/Payanyway/etc/config.xml
CHANGED
@@ -21,12 +21,44 @@
|
|
21 |
<payanyway_setup>
|
22 |
<setup>
|
23 |
<module>Paw_Payanyway</module>
|
|
|
24 |
</setup>
|
|
|
|
|
|
|
25 |
</payanyway_setup>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
26 |
</resources>
|
27 |
<blocks>
|
28 |
<payanyway><class>Paw_Payanyway_Block</class></payanyway>
|
29 |
</blocks>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
30 |
<payment>
|
31 |
<groups>
|
32 |
<paway>Payanyway</paway>
|
@@ -64,7 +96,7 @@
|
|
64 |
</layout>
|
65 |
</frontend>
|
66 |
<admin>
|
67 |
-
|
68 |
<adminhtml>
|
69 |
<args>
|
70 |
<modules>
|
@@ -118,8 +150,8 @@
|
|
118 |
<active>1</active>
|
119 |
<model>payanyway/payanyway</model>
|
120 |
<title>PayAnyWay</title>
|
121 |
-
|
122 |
-
|
123 |
<allowspecific>0</allowspecific>
|
124 |
</payanyway>
|
125 |
<payanyway_moneta>
|
@@ -127,8 +159,8 @@
|
|
127 |
<active>0</active>
|
128 |
<model>payanyway/moneta</model>
|
129 |
<title>Moneta.ru</title>
|
130 |
-
|
131 |
-
|
132 |
<allowspecific>0</allowspecific>
|
133 |
</payanyway_moneta>
|
134 |
<payanyway_banktransfer>
|
@@ -136,8 +168,8 @@
|
|
136 |
<active>0</active>
|
137 |
<model>payanyway/banktransfer</model>
|
138 |
<title>Bank transfer</title>
|
139 |
-
|
140 |
-
|
141 |
<allowspecific>0</allowspecific>
|
142 |
</payanyway_banktransfer>
|
143 |
<payanyway_ciberpay>
|
@@ -145,8 +177,8 @@
|
|
145 |
<active>0</active>
|
146 |
<model>payanyway/ciberpay</model>
|
147 |
<title>CiberPay</title>
|
148 |
-
|
149 |
-
|
150 |
<allowspecific>0</allowspecific>
|
151 |
</payanyway_ciberpay>
|
152 |
<payanyway_comepay>
|
@@ -154,8 +186,8 @@
|
|
154 |
<active>0</active>
|
155 |
<model>payanyway/comepay</model>
|
156 |
<title>ComePay</title>
|
157 |
-
|
158 |
-
|
159 |
<allowspecific>0</allowspecific>
|
160 |
</payanyway_comepay>
|
161 |
<payanyway_contact>
|
@@ -163,8 +195,8 @@
|
|
163 |
<active>0</active>
|
164 |
<model>payanyway/contact</model>
|
165 |
<title>Contact</title>
|
166 |
-
|
167 |
-
|
168 |
<allowspecific>0</allowspecific>
|
169 |
</payanyway_contact>
|
170 |
<payanyway_euroset>
|
@@ -172,26 +204,26 @@
|
|
172 |
<active>0</active>
|
173 |
<model>payanyway/euroset</model>
|
174 |
<title>Euroset, Svyaznoi</title>
|
175 |
-
|
176 |
-
|
177 |
-
|
178 |
</payanyway_euroset>
|
179 |
<payanyway_elecsnet>
|
180 |
<group>paway</group>
|
181 |
<active>0</active>
|
182 |
<model>payanyway/elecsnet</model>
|
183 |
<title>Elecsnet</title>
|
184 |
-
|
185 |
-
|
186 |
-
|
187 |
</payanyway_elecsnet>
|
188 |
<payanyway_gorod>
|
189 |
<group>paway</group>
|
190 |
<active>0</active>
|
191 |
<model>payanyway/gorod</model>
|
192 |
<title>Federal system Gorod</title>
|
193 |
-
|
194 |
-
|
195 |
<allowspecific>0</allowspecific>
|
196 |
</payanyway_gorod>
|
197 |
<payanyway_forward>
|
@@ -199,8 +231,8 @@
|
|
199 |
<active>0</active>
|
200 |
<model>payanyway/forward</model>
|
201 |
<title>Forward</title>
|
202 |
-
|
203 |
-
|
204 |
<allowspecific>0</allowspecific>
|
205 |
</payanyway_forward>
|
206 |
<payanyway_mcb>
|
@@ -208,8 +240,8 @@
|
|
208 |
<active>0</active>
|
209 |
<model>payanyway/mcb</model>
|
210 |
<title>MosCreditBank</title>
|
211 |
-
|
212 |
-
|
213 |
<allowspecific>0</allowspecific>
|
214 |
</payanyway_mcb>
|
215 |
<payanyway_moneymail>
|
@@ -217,8 +249,8 @@
|
|
217 |
<active>0</active>
|
218 |
<model>payanyway/moneymail</model>
|
219 |
<title>MoneyMail</title>
|
220 |
-
|
221 |
-
|
222 |
<allowspecific>0</allowspecific>
|
223 |
</payanyway_moneymail>
|
224 |
<payanyway_novoplat>
|
@@ -226,8 +258,8 @@
|
|
226 |
<active>0</active>
|
227 |
<model>payanyway/novoplat</model>
|
228 |
<title>Novoplat</title>
|
229 |
-
|
230 |
-
|
231 |
<allowspecific>0</allowspecific>
|
232 |
</payanyway_novoplat>
|
233 |
<payanyway_plastic>
|
@@ -235,8 +267,8 @@
|
|
235 |
<active>0</active>
|
236 |
<model>payanyway/plastic</model>
|
237 |
<title>VISA, MasterCard</title>
|
238 |
-
|
239 |
-
|
240 |
<allowspecific>0</allowspecific>
|
241 |
</payanyway_plastic>
|
242 |
<payanyway_platika>
|
@@ -244,8 +276,8 @@
|
|
244 |
<active>0</active>
|
245 |
<model>payanyway/platika</model>
|
246 |
<title>PLATiKA</title>
|
247 |
-
|
248 |
-
|
249 |
<allowspecific>0</allowspecific>
|
250 |
</payanyway_platika>
|
251 |
<payanyway_post>
|
@@ -253,8 +285,8 @@
|
|
253 |
<active>0</active>
|
254 |
<model>payanyway/post</model>
|
255 |
<title>Russian Post Transfer</title>
|
256 |
-
|
257 |
-
|
258 |
<allowspecific>0</allowspecific>
|
259 |
</payanyway_post>
|
260 |
<payanyway_sberbank>
|
@@ -262,8 +294,8 @@
|
|
262 |
<active>0</active>
|
263 |
<model>payanyway/sberbank</model>
|
264 |
<title>Sberbank</title>
|
265 |
-
|
266 |
-
|
267 |
<allowspecific>0</allowspecific>
|
268 |
</payanyway_sberbank>
|
269 |
<payanyway_walletone>
|
@@ -271,8 +303,8 @@
|
|
271 |
<active>0</active>
|
272 |
<model>payanyway/walletone</model>
|
273 |
<title>Wallet One</title>
|
274 |
-
|
275 |
-
|
276 |
<allowspecific>0</allowspecific>
|
277 |
</payanyway_walletone>
|
278 |
<payanyway_webmoney>
|
@@ -280,8 +312,8 @@
|
|
280 |
<active>0</active>
|
281 |
<model>payanyway/webmoney</model>
|
282 |
<title>WebMoney</title>
|
283 |
-
|
284 |
-
|
285 |
<allowspecific>0</allowspecific>
|
286 |
</payanyway_webmoney>
|
287 |
<payanyway_yandex>
|
@@ -289,8 +321,8 @@
|
|
289 |
<active>0</active>
|
290 |
<model>payanyway/yandex</model>
|
291 |
<title>Yandex.Money</title>
|
292 |
-
|
293 |
-
|
294 |
<allowspecific>0</allowspecific>
|
295 |
</payanyway_yandex>
|
296 |
<payanyway_alfaclick>
|
@@ -298,8 +330,8 @@
|
|
298 |
<active>0</active>
|
299 |
<model>payanyway/alfaclick</model>
|
300 |
<title>Internet-bank "Alfa-Click"</title>
|
301 |
-
|
302 |
-
|
303 |
<allowspecific>0</allowspecific>
|
304 |
</payanyway_alfaclick>
|
305 |
<payanyway_dengimail>
|
@@ -307,8 +339,8 @@
|
|
307 |
<active>0</active>
|
308 |
<model>payanyway/dengimail</model>
|
309 |
<title>Money@Mail.Ru</title>
|
310 |
-
|
311 |
-
|
312 |
<allowspecific>0</allowspecific>
|
313 |
</payanyway_dengimail>
|
314 |
<payanyway_qiwi>
|
@@ -316,8 +348,8 @@
|
|
316 |
<active>0</active>
|
317 |
<model>payanyway/qiwi</model>
|
318 |
<title>QIWI wallet</title>
|
319 |
-
|
320 |
-
|
321 |
<allowspecific>0</allowspecific>
|
322 |
</payanyway_qiwi>
|
323 |
<payanyway_faktura>
|
@@ -325,8 +357,8 @@
|
|
325 |
<active>0</active>
|
326 |
<model>payanyway/faktura</model>
|
327 |
<title>Faktura</title>
|
328 |
-
|
329 |
-
|
330 |
<allowspecific>0</allowspecific>
|
331 |
</payanyway_faktura>
|
332 |
<payanyway_psb>
|
@@ -334,15 +366,15 @@
|
|
334 |
<active>0</active>
|
335 |
<model>payanyway/psb</model>
|
336 |
<title>Internet-bank "Promsvyazbank"</title>
|
337 |
-
|
338 |
-
|
339 |
<allowspecific>0</allowspecific>
|
340 |
</payanyway_psb>
|
341 |
</payment>
|
342 |
<payanyway>
|
343 |
<settings>
|
344 |
<payment_action>www.payanyway.ru</payment_action>
|
345 |
-
|
346 |
</settings>
|
347 |
</payanyway>
|
348 |
</default>
|
21 |
<payanyway_setup>
|
22 |
<setup>
|
23 |
<module>Paw_Payanyway</module>
|
24 |
+
<class>Paw_Payanyway_Model_Resource_Setup</class>
|
25 |
</setup>
|
26 |
+
<connection>
|
27 |
+
<use>core_setup</use>
|
28 |
+
</connection>
|
29 |
</payanyway_setup>
|
30 |
+
<payanyway_write>
|
31 |
+
<connection>
|
32 |
+
<use>core_write</use>
|
33 |
+
</connection>
|
34 |
+
</payanyway_write>
|
35 |
+
<payanyway_read>
|
36 |
+
<connection>
|
37 |
+
<use>core_read</use>
|
38 |
+
</connection>
|
39 |
+
</payanyway_read>
|
40 |
</resources>
|
41 |
<blocks>
|
42 |
<payanyway><class>Paw_Payanyway_Block</class></payanyway>
|
43 |
</blocks>
|
44 |
+
<sales>
|
45 |
+
<order>
|
46 |
+
<statuses>
|
47 |
+
<pending_payanyway translate="label">
|
48 |
+
<label>Pending PayanyWay payment</label>
|
49 |
+
</pending_payanyway>
|
50 |
+
</statuses>
|
51 |
+
<states>
|
52 |
+
<pending_payanyway translate="label">
|
53 |
+
<label>Pending PayanyWay</label>
|
54 |
+
<statuses>
|
55 |
+
<pending_payanyway default="1"/>
|
56 |
+
</statuses>
|
57 |
+
<visible_on_front>1</visible_on_front>
|
58 |
+
</pending_payanyway>
|
59 |
+
</states>
|
60 |
+
</order>
|
61 |
+
</sales>
|
62 |
<payment>
|
63 |
<groups>
|
64 |
<paway>Payanyway</paway>
|
96 |
</layout>
|
97 |
</frontend>
|
98 |
<admin>
|
99 |
+
<routers>
|
100 |
<adminhtml>
|
101 |
<args>
|
102 |
<modules>
|
150 |
<active>1</active>
|
151 |
<model>payanyway/payanyway</model>
|
152 |
<title>PayAnyWay</title>
|
153 |
+
<unitid></unitid>
|
154 |
+
<logotype>payanyway.jpg</logotype>
|
155 |
<allowspecific>0</allowspecific>
|
156 |
</payanyway>
|
157 |
<payanyway_moneta>
|
159 |
<active>0</active>
|
160 |
<model>payanyway/moneta</model>
|
161 |
<title>Moneta.ru</title>
|
162 |
+
<unitid>1015</unitid>
|
163 |
+
<logotype>moneta.jpg</logotype>
|
164 |
<allowspecific>0</allowspecific>
|
165 |
</payanyway_moneta>
|
166 |
<payanyway_banktransfer>
|
168 |
<active>0</active>
|
169 |
<model>payanyway/banktransfer</model>
|
170 |
<title>Bank transfer</title>
|
171 |
+
<unitid>705000</unitid>
|
172 |
+
<logotype>banktransfer.jpg</logotype>
|
173 |
<allowspecific>0</allowspecific>
|
174 |
</payanyway_banktransfer>
|
175 |
<payanyway_ciberpay>
|
177 |
<active>0</active>
|
178 |
<model>payanyway/ciberpay</model>
|
179 |
<title>CiberPay</title>
|
180 |
+
<unitid>489755</unitid>
|
181 |
+
<logotype>ciberpay.jpg</logotype>
|
182 |
<allowspecific>0</allowspecific>
|
183 |
</payanyway_ciberpay>
|
184 |
<payanyway_comepay>
|
186 |
<active>0</active>
|
187 |
<model>payanyway/comepay</model>
|
188 |
<title>ComePay</title>
|
189 |
+
<unitid>228820</unitid>
|
190 |
+
<logotype>comepay.jpg</logotype>
|
191 |
<allowspecific>0</allowspecific>
|
192 |
</payanyway_comepay>
|
193 |
<payanyway_contact>
|
195 |
<active>0</active>
|
196 |
<model>payanyway/contact</model>
|
197 |
<title>Contact</title>
|
198 |
+
<unitid>1028</unitid>
|
199 |
+
<logotype>contact.jpg</logotype>
|
200 |
<allowspecific>0</allowspecific>
|
201 |
</payanyway_contact>
|
202 |
<payanyway_euroset>
|
204 |
<active>0</active>
|
205 |
<model>payanyway/euroset</model>
|
206 |
<title>Euroset, Svyaznoi</title>
|
207 |
+
<unitid>248362</unitid>
|
208 |
+
<logotype>euroset.png</logotype>
|
209 |
+
<allowspecific>0</allowspecific>
|
210 |
</payanyway_euroset>
|
211 |
<payanyway_elecsnet>
|
212 |
<group>paway</group>
|
213 |
<active>0</active>
|
214 |
<model>payanyway/elecsnet</model>
|
215 |
<title>Elecsnet</title>
|
216 |
+
<unitid>232821</unitid>
|
217 |
+
<logotype>elecsnet.jpg</logotype>
|
218 |
+
<allowspecific>0</allowspecific>
|
219 |
</payanyway_elecsnet>
|
220 |
<payanyway_gorod>
|
221 |
<group>paway</group>
|
222 |
<active>0</active>
|
223 |
<model>payanyway/gorod</model>
|
224 |
<title>Federal system Gorod</title>
|
225 |
+
<unitid>426904</unitid>
|
226 |
+
<logotype>gorod.jpg</logotype>
|
227 |
<allowspecific>0</allowspecific>
|
228 |
</payanyway_gorod>
|
229 |
<payanyway_forward>
|
231 |
<active>0</active>
|
232 |
<model>payanyway/forward</model>
|
233 |
<title>Forward</title>
|
234 |
+
<unitid>83046</unitid>
|
235 |
+
<logotype>forward.jpg</logotype>
|
236 |
<allowspecific>0</allowspecific>
|
237 |
</payanyway_forward>
|
238 |
<payanyway_mcb>
|
240 |
<active>0</active>
|
241 |
<model>payanyway/mcb</model>
|
242 |
<title>MosCreditBank</title>
|
243 |
+
<unitid>295339</unitid>
|
244 |
+
<logotype>mcb.jpg</logotype>
|
245 |
<allowspecific>0</allowspecific>
|
246 |
</payanyway_mcb>
|
247 |
<payanyway_moneymail>
|
249 |
<active>0</active>
|
250 |
<model>payanyway/moneymail</model>
|
251 |
<title>MoneyMail</title>
|
252 |
+
<unitid>1038</unitid>
|
253 |
+
<logotype>moneymail.jpg</logotype>
|
254 |
<allowspecific>0</allowspecific>
|
255 |
</payanyway_moneymail>
|
256 |
<payanyway_novoplat>
|
258 |
<active>0</active>
|
259 |
<model>payanyway/novoplat</model>
|
260 |
<title>Novoplat</title>
|
261 |
+
<unitid>281129</unitid>
|
262 |
+
<logotype>novoplat.jpg</logotype>
|
263 |
<allowspecific>0</allowspecific>
|
264 |
</payanyway_novoplat>
|
265 |
<payanyway_plastic>
|
267 |
<active>0</active>
|
268 |
<model>payanyway/plastic</model>
|
269 |
<title>VISA, MasterCard</title>
|
270 |
+
<unitid>499669</unitid>
|
271 |
+
<logotype>visa.jpg</logotype>
|
272 |
<allowspecific>0</allowspecific>
|
273 |
</payanyway_plastic>
|
274 |
<payanyway_platika>
|
276 |
<active>0</active>
|
277 |
<model>payanyway/platika</model>
|
278 |
<title>PLATiKA</title>
|
279 |
+
<unitid>226272</unitid>
|
280 |
+
<logotype>platika.jpg</logotype>
|
281 |
<allowspecific>0</allowspecific>
|
282 |
</payanyway_platika>
|
283 |
<payanyway_post>
|
285 |
<active>0</active>
|
286 |
<model>payanyway/post</model>
|
287 |
<title>Russian Post Transfer</title>
|
288 |
+
<unitid>1029</unitid>
|
289 |
+
<logotype>post.jpg</logotype>
|
290 |
<allowspecific>0</allowspecific>
|
291 |
</payanyway_post>
|
292 |
<payanyway_sberbank>
|
294 |
<active>0</active>
|
295 |
<model>payanyway/sberbank</model>
|
296 |
<title>Sberbank</title>
|
297 |
+
<unitid>510801</unitid>
|
298 |
+
<logotype>sberbank.jpg</logotype>
|
299 |
<allowspecific>0</allowspecific>
|
300 |
</payanyway_sberbank>
|
301 |
<payanyway_walletone>
|
303 |
<active>0</active>
|
304 |
<model>payanyway/walletone</model>
|
305 |
<title>Wallet One</title>
|
306 |
+
<unitid>310212</unitid>
|
307 |
+
<logotype>walletone.jpg</logotype>
|
308 |
<allowspecific>0</allowspecific>
|
309 |
</payanyway_walletone>
|
310 |
<payanyway_webmoney>
|
312 |
<active>0</active>
|
313 |
<model>payanyway/webmoney</model>
|
314 |
<title>WebMoney</title>
|
315 |
+
<unitid>1017</unitid>
|
316 |
+
<logotype>webmoney.jpg</logotype>
|
317 |
<allowspecific>0</allowspecific>
|
318 |
</payanyway_webmoney>
|
319 |
<payanyway_yandex>
|
321 |
<active>0</active>
|
322 |
<model>payanyway/yandex</model>
|
323 |
<title>Yandex.Money</title>
|
324 |
+
<unitid>1020</unitid>
|
325 |
+
<logotype>yandex.jpg</logotype>
|
326 |
<allowspecific>0</allowspecific>
|
327 |
</payanyway_yandex>
|
328 |
<payanyway_alfaclick>
|
330 |
<active>0</active>
|
331 |
<model>payanyway/alfaclick</model>
|
332 |
<title>Internet-bank "Alfa-Click"</title>
|
333 |
+
<unitid>587412</unitid>
|
334 |
+
<logotype>alfaclick.jpg</logotype>
|
335 |
<allowspecific>0</allowspecific>
|
336 |
</payanyway_alfaclick>
|
337 |
<payanyway_dengimail>
|
339 |
<active>0</active>
|
340 |
<model>payanyway/dengimail</model>
|
341 |
<title>Money@Mail.Ru</title>
|
342 |
+
<unitid>545234</unitid>
|
343 |
+
<logotype>dengimail.jpg</logotype>
|
344 |
<allowspecific>0</allowspecific>
|
345 |
</payanyway_dengimail>
|
346 |
<payanyway_qiwi>
|
348 |
<active>0</active>
|
349 |
<model>payanyway/qiwi</model>
|
350 |
<title>QIWI wallet</title>
|
351 |
+
<unitid>822360</unitid>
|
352 |
+
<logotype>qiwi.jpg</logotype>
|
353 |
<allowspecific>0</allowspecific>
|
354 |
</payanyway_qiwi>
|
355 |
<payanyway_faktura>
|
357 |
<active>0</active>
|
358 |
<model>payanyway/faktura</model>
|
359 |
<title>Faktura</title>
|
360 |
+
<unitid>609111</unitid>
|
361 |
+
<logotype>faktura.jpg</logotype>
|
362 |
<allowspecific>0</allowspecific>
|
363 |
</payanyway_faktura>
|
364 |
<payanyway_psb>
|
366 |
<active>0</active>
|
367 |
<model>payanyway/psb</model>
|
368 |
<title>Internet-bank "Promsvyazbank"</title>
|
369 |
+
<unitid>661709</unitid>
|
370 |
+
<logotype>psb.jpg</logotype>
|
371 |
<allowspecific>0</allowspecific>
|
372 |
</payanyway_psb>
|
373 |
</payment>
|
374 |
<payanyway>
|
375 |
<settings>
|
376 |
<payment_action>www.payanyway.ru</payment_action>
|
377 |
+
<mnt_test_mode>0</mnt_test_mode>
|
378 |
</settings>
|
379 |
</payanyway>
|
380 |
</default>
|
app/code/community/Paw/Payanyway/etc/system.xml
CHANGED
@@ -1,2002 +1,2002 @@
|
|
1 |
-
<?xml version="1.0"?>
|
2 |
-
|
3 |
-
<config>
|
4 |
-
<sections>
|
5 |
-
<payanyway translate="label" module="payanyway">
|
6 |
-
<label>Payanyway</label>
|
7 |
-
<tab>sales</tab>
|
8 |
-
<frontend_type>text</frontend_type>
|
9 |
-
<sort_order>990</sort_order>
|
10 |
-
<show_in_default>1</show_in_default>
|
11 |
-
<show_in_website>1</show_in_website>
|
12 |
-
<show_in_store>1</show_in_store>
|
13 |
-
<groups>
|
14 |
-
<settings translate="label">
|
15 |
-
<label>Account Settings</label>
|
16 |
-
<frontend_type>text</frontend_type>
|
17 |
-
<sort_order>1</sort_order>
|
18 |
-
<show_in_default>1</show_in_default>
|
19 |
-
<show_in_website>1</show_in_website>
|
20 |
-
<show_in_store>1</show_in_store>
|
21 |
-
<fields>
|
22 |
-
<payment_action translate="label,comment">
|
23 |
-
<label>Payment URL</label>
|
24 |
-
<frontend_type>select</frontend_type>
|
25 |
-
<source_model>payanyway/paymentaction</source_model>
|
26 |
-
<sort_order>1</sort_order>
|
27 |
-
<show_in_default>1</show_in_default>
|
28 |
-
<show_in_website>1</show_in_website>
|
29 |
-
<show_in_store>1</show_in_store>
|
30 |
-
</payment_action>
|
31 |
-
<mnt_id translate="label">
|
32 |
-
<label>Account number</label>
|
33 |
-
<frontend_type>text</frontend_type>
|
34 |
-
<sort_order>2</sort_order>
|
35 |
-
<show_in_default>1</show_in_default>
|
36 |
-
<show_in_website>1</show_in_website>
|
37 |
-
<show_in_store>1</show_in_store>
|
38 |
-
</mnt_id>
|
39 |
-
<mnt_dataintegrity_code translate="label,comment">
|
40 |
-
<label>Code of data integrity verification</label>
|
41 |
-
<frontend_type>text</frontend_type>
|
42 |
-
<sort_order>3</sort_order>
|
43 |
-
<show_in_default>1</show_in_default>
|
44 |
-
<show_in_website>1</show_in_website>
|
45 |
-
<show_in_store>1</show_in_store>
|
46 |
-
</mnt_dataintegrity_code>
|
47 |
-
<mnt_test_mode translate="label,comment">
|
48 |
-
<label>Test mode</label>
|
49 |
-
<frontend_type>select</frontend_type>
|
50 |
-
<source_model>adminhtml/system_config_source_yesno</source_model>
|
51 |
-
<sort_order>4</sort_order>
|
52 |
-
<show_in_default>1</show_in_default>
|
53 |
-
<show_in_website>1</show_in_website>
|
54 |
-
<show_in_store>1</show_in_store>
|
55 |
-
</mnt_test_mode>
|
56 |
-
<payanyway_login translate="label,comment">
|
57 |
-
<label>Login in PayAnyWay</label>
|
58 |
-
<frontend_type>text</frontend_type>
|
59 |
-
<sort_order>5</sort_order>
|
60 |
-
<show_in_default>1</show_in_default>
|
61 |
-
<show_in_website>1</show_in_website>
|
62 |
-
<show_in_store>1</show_in_store>
|
63 |
-
</payanyway_login>
|
64 |
-
<payanyway_password translate="label,comment">
|
65 |
-
<label>Password in PayAnyWay</label>
|
66 |
-
<frontend_type>text</frontend_type>
|
67 |
-
<sort_order>6</sort_order>
|
68 |
-
<show_in_default>1</show_in_default>
|
69 |
-
<show_in_website>1</show_in_website>
|
70 |
-
<show_in_store>1</show_in_store>
|
71 |
-
</payanyway_password>
|
72 |
-
</fields>
|
73 |
-
</settings>
|
74 |
-
<payanyway translate="label" module="payanyway">
|
75 |
-
<label>PayAnyWay</label>
|
76 |
-
<frontend_type>text</frontend_type>
|
77 |
-
<sort_order>200</sort_order>
|
78 |
-
<show_in_default>1</show_in_default>
|
79 |
-
<show_in_website>1</show_in_website>
|
80 |
-
<show_in_store>1</show_in_store>
|
81 |
-
<fields>
|
82 |
-
<active translate="label">
|
83 |
-
<label>Enabled</label>
|
84 |
-
<frontend_type>select</frontend_type>
|
85 |
-
<config_path>payment/payanyway/active</config_path>
|
86 |
-
<source_model>adminhtml/system_config_source_yesno</source_model>
|
87 |
-
<sort_order>1</sort_order>
|
88 |
-
<show_in_default>1</show_in_default>
|
89 |
-
<show_in_website>1</show_in_website>
|
90 |
-
<show_in_store>1</show_in_store>
|
91 |
-
</active>
|
92 |
-
<sort_order translate="label">
|
93 |
-
<label>Sort Order</label>
|
94 |
-
<frontend_type>text</frontend_type>
|
95 |
-
<config_path>payment/payanyway/sort_order</config_path>
|
96 |
-
<sort_order>3</sort_order>
|
97 |
-
<show_in_default>1</show_in_default>
|
98 |
-
<show_in_website>1</show_in_website>
|
99 |
-
<show_in_store>1</show_in_store>
|
100 |
-
</sort_order>
|
101 |
-
<title translate="label">
|
102 |
-
<label>Title</label>
|
103 |
-
<frontend_type>text</frontend_type>
|
104 |
-
<config_path>payment/payanyway/title</config_path>
|
105 |
-
<sort_order>5</sort_order>
|
106 |
-
<show_in_default>1</show_in_default>
|
107 |
-
<show_in_website>1</show_in_website>
|
108 |
-
<show_in_store>1</show_in_store>
|
109 |
-
</title>
|
110 |
-
<unitid translate="label">
|
111 |
-
<label>unitId</label>
|
112 |
-
<frontend_type>text</frontend_type>
|
113 |
-
<config_path>payment/payanyway/unitid</config_path>
|
114 |
-
<sort_order>6</sort_order>
|
115 |
-
<show_in_default>1</show_in_default>
|
116 |
-
<show_in_website>1</show_in_website>
|
117 |
-
<show_in_store>1</show_in_store>
|
118 |
-
</unitid>
|
119 |
-
<logotype translate="label">
|
120 |
-
<label>Logotype</label>
|
121 |
-
<frontend_type>text</frontend_type>
|
122 |
-
<config_path>payment/payanyway/logotype</config_path>
|
123 |
-
<sort_order>7</sort_order>
|
124 |
-
<show_in_default>1</show_in_default>
|
125 |
-
<show_in_website>1</show_in_website>
|
126 |
-
<show_in_store>1</show_in_store>
|
127 |
-
</logotype>
|
128 |
-
<allowspecific translate="label">
|
129 |
-
<label>Payment from Applicable Countries</label>
|
130 |
-
<frontend_type>allowspecific</frontend_type>
|
131 |
-
<config_path>payment/payanyway/allowspecific</config_path>
|
132 |
-
<sort_order>8</sort_order>
|
133 |
-
<source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
|
134 |
-
<show_in_default>1</show_in_default>
|
135 |
-
<show_in_website>1</show_in_website>
|
136 |
-
<show_in_store>1</show_in_store>
|
137 |
-
</allowspecific>
|
138 |
-
<specificcountry translate="label">
|
139 |
-
<label>Payment from Specific Countries</label>
|
140 |
-
<frontend_type>multiselect</frontend_type>
|
141 |
-
<config_path>payment/payanyway/specificcountry</config_path>
|
142 |
-
<sort_order>9</sort_order>
|
143 |
-
<source_model>adminhtml/system_config_source_country</source_model>
|
144 |
-
<show_in_default>1</show_in_default>
|
145 |
-
<show_in_website>1</show_in_website>
|
146 |
-
<show_in_store>1</show_in_store>
|
147 |
-
<can_be_empty>1</can_be_empty>
|
148 |
-
</specificcountry>
|
149 |
-
</fields>
|
150 |
-
</payanyway>
|
151 |
-
<payanyway_moneta translate="label" module="payanyway">
|
152 |
-
<label>Moneta.ru</label>
|
153 |
-
<frontend_type>text</frontend_type>
|
154 |
-
<sort_order>201</sort_order>
|
155 |
-
<show_in_default>1</show_in_default>
|
156 |
-
<show_in_website>1</show_in_website>
|
157 |
-
<show_in_store>1</show_in_store>
|
158 |
-
<fields>
|
159 |
-
<active translate="label">
|
160 |
-
<label>Enabled</label>
|
161 |
-
<frontend_type>select</frontend_type>
|
162 |
-
<config_path>payment/payanyway_moneta/active</config_path>
|
163 |
-
<source_model>adminhtml/system_config_source_yesno</source_model>
|
164 |
-
<sort_order>1</sort_order>
|
165 |
-
<show_in_default>1</show_in_default>
|
166 |
-
<show_in_website>1</show_in_website>
|
167 |
-
<show_in_store>1</show_in_store>
|
168 |
-
</active>
|
169 |
-
<sort_order translate="label">
|
170 |
-
<label>Sort Order</label>
|
171 |
-
<frontend_type>text</frontend_type>
|
172 |
-
<config_path>payment/payanyway_moneta/sort_order</config_path>
|
173 |
-
<sort_order>3</sort_order>
|
174 |
-
<show_in_default>1</show_in_default>
|
175 |
-
<show_in_website>1</show_in_website>
|
176 |
-
<show_in_store>1</show_in_store>
|
177 |
-
</sort_order>
|
178 |
-
<title translate="label">
|
179 |
-
<label>Title</label>
|
180 |
-
<frontend_type>text</frontend_type>
|
181 |
-
<config_path>payment/payanyway_moneta/title</config_path>
|
182 |
-
<sort_order>5</sort_order>
|
183 |
-
<show_in_default>1</show_in_default>
|
184 |
-
<show_in_website>1</show_in_website>
|
185 |
-
<show_in_store>1</show_in_store>
|
186 |
-
</title>
|
187 |
-
<unitid translate="label">
|
188 |
-
<label>unitId</label>
|
189 |
-
<frontend_type>text</frontend_type>
|
190 |
-
<config_path>payment/payanyway_moneta/unitid</config_path>
|
191 |
-
<sort_order>6</sort_order>
|
192 |
-
<show_in_default>1</show_in_default>
|
193 |
-
<show_in_website>1</show_in_website>
|
194 |
-
<show_in_store>1</show_in_store>
|
195 |
-
</unitid>
|
196 |
-
<logotype translate="label">
|
197 |
-
<label>Logotype</label>
|
198 |
-
<frontend_type>text</frontend_type>
|
199 |
-
<config_path>payment/payanyway_moneta/logotype</config_path>
|
200 |
-
<sort_order>7</sort_order>
|
201 |
-
<show_in_default>1</show_in_default>
|
202 |
-
<show_in_website>1</show_in_website>
|
203 |
-
<show_in_store>1</show_in_store>
|
204 |
-
</logotype>
|
205 |
-
<allowspecific translate="label">
|
206 |
-
<label>Payment from Applicable Countries</label>
|
207 |
-
<frontend_type>allowspecific</frontend_type>
|
208 |
-
<config_path>payment/payanyway_moneta/allowspecific</config_path>
|
209 |
-
<sort_order>8</sort_order>
|
210 |
-
<source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
|
211 |
-
<show_in_default>1</show_in_default>
|
212 |
-
<show_in_website>1</show_in_website>
|
213 |
-
<show_in_store>1</show_in_store>
|
214 |
-
</allowspecific>
|
215 |
-
<specificcountry translate="label">
|
216 |
-
<label>Payment from Specific Countries</label>
|
217 |
-
<frontend_type>multiselect</frontend_type>
|
218 |
-
<config_path>payment/payanyway_moneta/specificcountry</config_path>
|
219 |
-
<sort_order>9</sort_order>
|
220 |
-
<source_model>adminhtml/system_config_source_country</source_model>
|
221 |
-
<show_in_default>1</show_in_default>
|
222 |
-
<show_in_website>1</show_in_website>
|
223 |
-
<show_in_store>1</show_in_store>
|
224 |
-
<can_be_empty>1</can_be_empty>
|
225 |
-
</specificcountry>
|
226 |
-
</fields>
|
227 |
-
</payanyway_moneta>
|
228 |
-
<payanyway_banktransfer translate="label" module="payanyway">
|
229 |
-
<label>Bank transfer</label>
|
230 |
-
<frontend_type>text</frontend_type>
|
231 |
-
<sort_order>202</sort_order>
|
232 |
-
<show_in_default>1</show_in_default>
|
233 |
-
<show_in_website>1</show_in_website>
|
234 |
-
<show_in_store>1</show_in_store>
|
235 |
-
<fields>
|
236 |
-
<active translate="label">
|
237 |
-
<label>Enabled</label>
|
238 |
-
<frontend_type>select</frontend_type>
|
239 |
-
<config_path>payment/payanyway_banktransfer/active</config_path>
|
240 |
-
<source_model>adminhtml/system_config_source_yesno</source_model>
|
241 |
-
<sort_order>1</sort_order>
|
242 |
-
<show_in_default>1</show_in_default>
|
243 |
-
<show_in_website>1</show_in_website>
|
244 |
-
<show_in_store>1</show_in_store>
|
245 |
-
</active>
|
246 |
-
<sort_order translate="label">
|
247 |
-
<label>Sort Order</label>
|
248 |
-
<frontend_type>text</frontend_type>
|
249 |
-
<config_path>payment/payanyway_banktransfer/sort_order</config_path>
|
250 |
-
<sort_order>3</sort_order>
|
251 |
-
<show_in_default>1</show_in_default>
|
252 |
-
<show_in_website>1</show_in_website>
|
253 |
-
<show_in_store>1</show_in_store>
|
254 |
-
</sort_order>
|
255 |
-
<title translate="label">
|
256 |
-
<label>Title</label>
|
257 |
-
<frontend_type>text</frontend_type>
|
258 |
-
<config_path>payment/payanyway_banktransfer/title</config_path>
|
259 |
-
<sort_order>5</sort_order>
|
260 |
-
<show_in_default>1</show_in_default>
|
261 |
-
<show_in_website>1</show_in_website>
|
262 |
-
<show_in_store>1</show_in_store>
|
263 |
-
</title>
|
264 |
-
<unitid translate="label">
|
265 |
-
<label>unitId</label>
|
266 |
-
<frontend_type>text</frontend_type>
|
267 |
-
<config_path>payment/payanyway_banktransfer/unitid</config_path>
|
268 |
-
<sort_order>6</sort_order>
|
269 |
-
<show_in_default>1</show_in_default>
|
270 |
-
<show_in_website>1</show_in_website>
|
271 |
-
<show_in_store>1</show_in_store>
|
272 |
-
</unitid>
|
273 |
-
<logotype translate="label">
|
274 |
-
<label>Logotype</label>
|
275 |
-
<frontend_type>text</frontend_type>
|
276 |
-
<config_path>payment/payanyway_banktransfer/logotype</config_path>
|
277 |
-
<sort_order>7</sort_order>
|
278 |
-
<show_in_default>1</show_in_default>
|
279 |
-
<show_in_website>1</show_in_website>
|
280 |
-
<show_in_store>1</show_in_store>
|
281 |
-
</logotype>
|
282 |
-
<allowspecific translate="label">
|
283 |
-
<label>Payment from Applicable Countries</label>
|
284 |
-
<frontend_type>allowspecific</frontend_type>
|
285 |
-
<config_path>payment/payanyway_banktransfer/allowspecific</config_path>
|
286 |
-
<sort_order>8</sort_order>
|
287 |
-
<source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
|
288 |
-
<show_in_default>1</show_in_default>
|
289 |
-
<show_in_website>1</show_in_website>
|
290 |
-
<show_in_store>1</show_in_store>
|
291 |
-
</allowspecific>
|
292 |
-
<specificcountry translate="label">
|
293 |
-
<label>Payment from Specific Countries</label>
|
294 |
-
<frontend_type>multiselect</frontend_type>
|
295 |
-
<config_path>payment/payanyway_banktransfer/specificcountry</config_path>
|
296 |
-
<sort_order>9</sort_order>
|
297 |
-
<source_model>adminhtml/system_config_source_country</source_model>
|
298 |
-
<show_in_default>1</show_in_default>
|
299 |
-
<show_in_website>1</show_in_website>
|
300 |
-
<show_in_store>1</show_in_store>
|
301 |
-
<can_be_empty>1</can_be_empty>
|
302 |
-
</specificcountry>
|
303 |
-
</fields>
|
304 |
-
</payanyway_banktransfer>
|
305 |
-
<payanyway_ciberpay translate="label" module="payanyway">
|
306 |
-
<label>CiberPay</label>
|
307 |
-
<frontend_type>text</frontend_type>
|
308 |
-
<sort_order>203</sort_order>
|
309 |
-
<show_in_default>1</show_in_default>
|
310 |
-
<show_in_website>1</show_in_website>
|
311 |
-
<show_in_store>1</show_in_store>
|
312 |
-
<fields>
|
313 |
-
<active translate="label">
|
314 |
-
<label>Enabled</label>
|
315 |
-
<frontend_type>select</frontend_type>
|
316 |
-
<config_path>payment/payanyway_ciberpay/active</config_path>
|
317 |
-
<source_model>adminhtml/system_config_source_yesno</source_model>
|
318 |
-
<sort_order>1</sort_order>
|
319 |
-
<show_in_default>1</show_in_default>
|
320 |
-
<show_in_website>1</show_in_website>
|
321 |
-
<show_in_store>1</show_in_store>
|
322 |
-
</active>
|
323 |
-
<sort_order translate="label">
|
324 |
-
<label>Sort Order</label>
|
325 |
-
<frontend_type>text</frontend_type>
|
326 |
-
<config_path>payment/payanyway_ciberpay/sort_order</config_path>
|
327 |
-
<sort_order>3</sort_order>
|
328 |
-
<show_in_default>1</show_in_default>
|
329 |
-
<show_in_website>1</show_in_website>
|
330 |
-
<show_in_store>1</show_in_store>
|
331 |
-
</sort_order>
|
332 |
-
<title translate="label">
|
333 |
-
<label>Title</label>
|
334 |
-
<frontend_type>text</frontend_type>
|
335 |
-
<config_path>payment/payanyway_ciberpay/title</config_path>
|
336 |
-
<sort_order>5</sort_order>
|
337 |
-
<show_in_default>1</show_in_default>
|
338 |
-
<show_in_website>1</show_in_website>
|
339 |
-
<show_in_store>1</show_in_store>
|
340 |
-
</title>
|
341 |
-
<unitid translate="label">
|
342 |
-
<label>unitId</label>
|
343 |
-
<frontend_type>text</frontend_type>
|
344 |
-
<config_path>payment/payanyway_ciberpay/unitid</config_path>
|
345 |
-
<sort_order>6</sort_order>
|
346 |
-
<show_in_default>1</show_in_default>
|
347 |
-
<show_in_website>1</show_in_website>
|
348 |
-
<show_in_store>1</show_in_store>
|
349 |
-
</unitid>
|
350 |
-
<logotype translate="label">
|
351 |
-
<label>Logotype</label>
|
352 |
-
<frontend_type>text</frontend_type>
|
353 |
-
<config_path>payment/payanyway_ciberpay/logotype</config_path>
|
354 |
-
<sort_order>7</sort_order>
|
355 |
-
<show_in_default>1</show_in_default>
|
356 |
-
<show_in_website>1</show_in_website>
|
357 |
-
<show_in_store>1</show_in_store>
|
358 |
-
</logotype>
|
359 |
-
<allowspecific translate="label">
|
360 |
-
<label>Payment from Applicable Countries</label>
|
361 |
-
<frontend_type>allowspecific</frontend_type>
|
362 |
-
<config_path>payment/payanyway_ciberpay/allowspecific</config_path>
|
363 |
-
<sort_order>8</sort_order>
|
364 |
-
<source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
|
365 |
-
<show_in_default>1</show_in_default>
|
366 |
-
<show_in_website>1</show_in_website>
|
367 |
-
<show_in_store>1</show_in_store>
|
368 |
-
</allowspecific>
|
369 |
-
<specificcountry translate="label">
|
370 |
-
<label>Payment from Specific Countries</label>
|
371 |
-
<frontend_type>multiselect</frontend_type>
|
372 |
-
<config_path>payment/payanyway_ciberpay/specificcountry</config_path>
|
373 |
-
<sort_order>9</sort_order>
|
374 |
-
<source_model>adminhtml/system_config_source_country</source_model>
|
375 |
-
<show_in_default>1</show_in_default>
|
376 |
-
<show_in_website>1</show_in_website>
|
377 |
-
<show_in_store>1</show_in_store>
|
378 |
-
<can_be_empty>1</can_be_empty>
|
379 |
-
</specificcountry>
|
380 |
-
</fields>
|
381 |
-
</payanyway_ciberpay>
|
382 |
-
<payanyway_comepay translate="label" module="payanyway">
|
383 |
-
<label>ComePay</label>
|
384 |
-
<frontend_type>text</frontend_type>
|
385 |
-
<sort_order>204</sort_order>
|
386 |
-
<show_in_default>1</show_in_default>
|
387 |
-
<show_in_website>1</show_in_website>
|
388 |
-
<show_in_store>1</show_in_store>
|
389 |
-
<fields>
|
390 |
-
<active translate="label">
|
391 |
-
<label>Enabled</label>
|
392 |
-
<frontend_type>select</frontend_type>
|
393 |
-
<config_path>payment/payanyway_comepay/active</config_path>
|
394 |
-
<source_model>adminhtml/system_config_source_yesno</source_model>
|
395 |
-
<sort_order>1</sort_order>
|
396 |
-
<show_in_default>1</show_in_default>
|
397 |
-
<show_in_website>1</show_in_website>
|
398 |
-
<show_in_store>1</show_in_store>
|
399 |
-
</active>
|
400 |
-
<sort_order translate="label">
|
401 |
-
<label>Sort Order</label>
|
402 |
-
<frontend_type>text</frontend_type>
|
403 |
-
<config_path>payment/payanyway_comepay/sort_order</config_path>
|
404 |
-
<sort_order>3</sort_order>
|
405 |
-
<show_in_default>1</show_in_default>
|
406 |
-
<show_in_website>1</show_in_website>
|
407 |
-
<show_in_store>1</show_in_store>
|
408 |
-
</sort_order>
|
409 |
-
<title translate="label">
|
410 |
-
<label>Title</label>
|
411 |
-
<frontend_type>text</frontend_type>
|
412 |
-
<config_path>payment/payanyway_comepay/title</config_path>
|
413 |
-
<sort_order>5</sort_order>
|
414 |
-
<show_in_default>1</show_in_default>
|
415 |
-
<show_in_website>1</show_in_website>
|
416 |
-
<show_in_store>1</show_in_store>
|
417 |
-
</title>
|
418 |
-
<unitid translate="label">
|
419 |
-
<label>unitId</label>
|
420 |
-
<frontend_type>text</frontend_type>
|
421 |
-
<config_path>payment/payanyway_comepay/unitid</config_path>
|
422 |
-
<sort_order>6</sort_order>
|
423 |
-
<show_in_default>1</show_in_default>
|
424 |
-
<show_in_website>1</show_in_website>
|
425 |
-
<show_in_store>1</show_in_store>
|
426 |
-
</unitid>
|
427 |
-
<logotype translate="label">
|
428 |
-
<label>Logotype</label>
|
429 |
-
<frontend_type>text</frontend_type>
|
430 |
-
<config_path>payment/payanyway_comepay/logotype</config_path>
|
431 |
-
<sort_order>7</sort_order>
|
432 |
-
<show_in_default>1</show_in_default>
|
433 |
-
<show_in_website>1</show_in_website>
|
434 |
-
<show_in_store>1</show_in_store>
|
435 |
-
</logotype>
|
436 |
-
<allowspecific translate="label">
|
437 |
-
<label>Payment from Applicable Countries</label>
|
438 |
-
<frontend_type>allowspecific</frontend_type>
|
439 |
-
<config_path>payment/payanyway_comepay/allowspecific</config_path>
|
440 |
-
<sort_order>8</sort_order>
|
441 |
-
<source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
|
442 |
-
<show_in_default>1</show_in_default>
|
443 |
-
<show_in_website>1</show_in_website>
|
444 |
-
<show_in_store>1</show_in_store>
|
445 |
-
</allowspecific>
|
446 |
-
<specificcountry translate="label">
|
447 |
-
<label>Payment from Specific Countries</label>
|
448 |
-
<frontend_type>multiselect</frontend_type>
|
449 |
-
<config_path>payment/payanyway_comepay/specificcountry</config_path>
|
450 |
-
<sort_order>9</sort_order>
|
451 |
-
<source_model>adminhtml/system_config_source_country</source_model>
|
452 |
-
<show_in_default>1</show_in_default>
|
453 |
-
<show_in_website>1</show_in_website>
|
454 |
-
<show_in_store>1</show_in_store>
|
455 |
-
<can_be_empty>1</can_be_empty>
|
456 |
-
</specificcountry>
|
457 |
-
</fields>
|
458 |
-
</payanyway_comepay>
|
459 |
-
<payanyway_contact translate="label" module="payanyway">
|
460 |
-
<label>Contact</label>
|
461 |
-
<frontend_type>text</frontend_type>
|
462 |
-
<sort_order>205</sort_order>
|
463 |
-
<show_in_default>1</show_in_default>
|
464 |
-
<show_in_website>1</show_in_website>
|
465 |
-
<show_in_store>1</show_in_store>
|
466 |
-
<fields>
|
467 |
-
<active translate="label">
|
468 |
-
<label>Enabled</label>
|
469 |
-
<frontend_type>select</frontend_type>
|
470 |
-
<config_path>payment/payanyway_contact/active</config_path>
|
471 |
-
<source_model>adminhtml/system_config_source_yesno</source_model>
|
472 |
-
<sort_order>1</sort_order>
|
473 |
-
<show_in_default>1</show_in_default>
|
474 |
-
<show_in_website>1</show_in_website>
|
475 |
-
<show_in_store>1</show_in_store>
|
476 |
-
</active>
|
477 |
-
<sort_order translate="label">
|
478 |
-
<label>Sort Order</label>
|
479 |
-
<frontend_type>text</frontend_type>
|
480 |
-
<config_path>payment/payanyway_contact/sort_order</config_path>
|
481 |
-
<sort_order>3</sort_order>
|
482 |
-
<show_in_default>1</show_in_default>
|
483 |
-
<show_in_website>1</show_in_website>
|
484 |
-
<show_in_store>1</show_in_store>
|
485 |
-
</sort_order>
|
486 |
-
<title translate="label">
|
487 |
-
<label>Title</label>
|
488 |
-
<frontend_type>text</frontend_type>
|
489 |
-
<config_path>payment/payanyway_contact/title</config_path>
|
490 |
-
<sort_order>5</sort_order>
|
491 |
-
<show_in_default>1</show_in_default>
|
492 |
-
<show_in_website>1</show_in_website>
|
493 |
-
<show_in_store>1</show_in_store>
|
494 |
-
</title>
|
495 |
-
<unitid translate="label">
|
496 |
-
<label>unitId</label>
|
497 |
-
<frontend_type>text</frontend_type>
|
498 |
-
<config_path>payment/payanyway_contact/unitid</config_path>
|
499 |
-
<sort_order>6</sort_order>
|
500 |
-
<show_in_default>1</show_in_default>
|
501 |
-
<show_in_website>1</show_in_website>
|
502 |
-
<show_in_store>1</show_in_store>
|
503 |
-
</unitid>
|
504 |
-
<logotype translate="label">
|
505 |
-
<label>Logotype</label>
|
506 |
-
<frontend_type>text</frontend_type>
|
507 |
-
<config_path>payment/payanyway_contact/logotype</config_path>
|
508 |
-
<sort_order>7</sort_order>
|
509 |
-
<show_in_default>1</show_in_default>
|
510 |
-
<show_in_website>1</show_in_website>
|
511 |
-
<show_in_store>1</show_in_store>
|
512 |
-
</logotype>
|
513 |
-
<allowspecific translate="label">
|
514 |
-
<label>Payment from Applicable Countries</label>
|
515 |
-
<frontend_type>allowspecific</frontend_type>
|
516 |
-
<config_path>payment/payanyway_contact/allowspecific</config_path>
|
517 |
-
<sort_order>8</sort_order>
|
518 |
-
<source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
|
519 |
-
<show_in_default>1</show_in_default>
|
520 |
-
<show_in_website>1</show_in_website>
|
521 |
-
<show_in_store>1</show_in_store>
|
522 |
-
</allowspecific>
|
523 |
-
<specificcountry translate="label">
|
524 |
-
<label>Payment from Specific Countries</label>
|
525 |
-
<frontend_type>multiselect</frontend_type>
|
526 |
-
<config_path>payment/payanyway_contact/specificcountry</config_path>
|
527 |
-
<sort_order>9</sort_order>
|
528 |
-
<source_model>adminhtml/system_config_source_country</source_model>
|
529 |
-
<show_in_default>1</show_in_default>
|
530 |
-
<show_in_website>1</show_in_website>
|
531 |
-
<show_in_store>1</show_in_store>
|
532 |
-
<can_be_empty>1</can_be_empty>
|
533 |
-
</specificcountry>
|
534 |
-
</fields>
|
535 |
-
</payanyway_contact>
|
536 |
-
<payanyway_euroset translate="label" module="payanyway">
|
537 |
-
<label>Euroset</label>
|
538 |
-
<frontend_type>text</frontend_type>
|
539 |
-
<sort_order>206</sort_order>
|
540 |
-
<show_in_default>1</show_in_default>
|
541 |
-
<show_in_website>1</show_in_website>
|
542 |
-
<show_in_store>1</show_in_store>
|
543 |
-
<fields>
|
544 |
-
<active translate="label">
|
545 |
-
<label>Enabled</label>
|
546 |
-
<frontend_type>select</frontend_type>
|
547 |
-
<config_path>payment/payanyway_euroset/active</config_path>
|
548 |
-
<source_model>adminhtml/system_config_source_yesno</source_model>
|
549 |
-
<sort_order>1</sort_order>
|
550 |
-
<show_in_default>1</show_in_default>
|
551 |
-
<show_in_website>1</show_in_website>
|
552 |
-
<show_in_store>1</show_in_store>
|
553 |
-
</active>
|
554 |
-
<sort_order translate="label">
|
555 |
-
<label>Sort Order</label>
|
556 |
-
<frontend_type>text</frontend_type>
|
557 |
-
<config_path>payment/payanyway_euroset/sort_order</config_path>
|
558 |
-
<sort_order>3</sort_order>
|
559 |
-
<show_in_default>1</show_in_default>
|
560 |
-
<show_in_website>1</show_in_website>
|
561 |
-
<show_in_store>1</show_in_store>
|
562 |
-
</sort_order>
|
563 |
-
<title translate="label">
|
564 |
-
<label>Title</label>
|
565 |
-
<frontend_type>text</frontend_type>
|
566 |
-
<config_path>payment/payanyway_euroset/title</config_path>
|
567 |
-
<sort_order>5</sort_order>
|
568 |
-
<show_in_default>1</show_in_default>
|
569 |
-
<show_in_website>1</show_in_website>
|
570 |
-
<show_in_store>1</show_in_store>
|
571 |
-
</title>
|
572 |
-
<unitid translate="label">
|
573 |
-
<label>unitId</label>
|
574 |
-
<frontend_type>text</frontend_type>
|
575 |
-
<config_path>payment/payanyway_euroset/unitid</config_path>
|
576 |
-
<sort_order>6</sort_order>
|
577 |
-
<show_in_default>1</show_in_default>
|
578 |
-
<show_in_website>1</show_in_website>
|
579 |
-
<show_in_store>1</show_in_store>
|
580 |
-
</unitid>
|
581 |
-
<logotype translate="label">
|
582 |
-
<label>Logotype</label>
|
583 |
-
<frontend_type>text</frontend_type>
|
584 |
-
<config_path>payment/payanyway_euroset/logotype</config_path>
|
585 |
-
<sort_order>7</sort_order>
|
586 |
-
<show_in_default>1</show_in_default>
|
587 |
-
<show_in_website>1</show_in_website>
|
588 |
-
<show_in_store>1</show_in_store>
|
589 |
-
</logotype>
|
590 |
-
<allowspecific translate="label">
|
591 |
-
<label>Payment from Applicable Countries</label>
|
592 |
-
<frontend_type>allowspecific</frontend_type>
|
593 |
-
<config_path>payment/payanyway_euroset/allowspecific</config_path>
|
594 |
-
<sort_order>8</sort_order>
|
595 |
-
<source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
|
596 |
-
<show_in_default>1</show_in_default>
|
597 |
-
<show_in_website>1</show_in_website>
|
598 |
-
<show_in_store>1</show_in_store>
|
599 |
-
</allowspecific>
|
600 |
-
<specificcountry translate="label">
|
601 |
-
<label>Payment from Specific Countries</label>
|
602 |
-
<frontend_type>multiselect</frontend_type>
|
603 |
-
<config_path>payment/payanyway_euroset/specificcountry</config_path>
|
604 |
-
<sort_order>9</sort_order>
|
605 |
-
<source_model>adminhtml/system_config_source_country</source_model>
|
606 |
-
<show_in_default>1</show_in_default>
|
607 |
-
<show_in_website>1</show_in_website>
|
608 |
-
<show_in_store>1</show_in_store>
|
609 |
-
<can_be_empty>1</can_be_empty>
|
610 |
-
</specificcountry>
|
611 |
-
</fields>
|
612 |
-
</payanyway_euroset>
|
613 |
-
<payanyway_elecsnet translate="label" module="payanyway">
|
614 |
-
<label>Elecsnet</label>
|
615 |
-
<frontend_type>text</frontend_type>
|
616 |
-
<sort_order>207</sort_order>
|
617 |
-
<show_in_default>1</show_in_default>
|
618 |
-
<show_in_website>1</show_in_website>
|
619 |
-
<show_in_store>1</show_in_store>
|
620 |
-
<fields>
|
621 |
-
<active translate="label">
|
622 |
-
<label>Enabled</label>
|
623 |
-
<frontend_type>select</frontend_type>
|
624 |
-
<config_path>payment/payanyway_elecsnet/active</config_path>
|
625 |
-
<source_model>adminhtml/system_config_source_yesno</source_model>
|
626 |
-
<sort_order>1</sort_order>
|
627 |
-
<show_in_default>1</show_in_default>
|
628 |
-
<show_in_website>1</show_in_website>
|
629 |
-
<show_in_store>1</show_in_store>
|
630 |
-
</active>
|
631 |
-
<sort_order translate="label">
|
632 |
-
<label>Sort Order</label>
|
633 |
-
<frontend_type>text</frontend_type>
|
634 |
-
<config_path>payment/payanyway_elecsnet/sort_order</config_path>
|
635 |
-
<sort_order>3</sort_order>
|
636 |
-
<show_in_default>1</show_in_default>
|
637 |
-
<show_in_website>1</show_in_website>
|
638 |
-
<show_in_store>1</show_in_store>
|
639 |
-
</sort_order>
|
640 |
-
<title translate="label">
|
641 |
-
<label>Title</label>
|
642 |
-
<frontend_type>text</frontend_type>
|
643 |
-
<config_path>payment/payanyway_elecsnet/title</config_path>
|
644 |
-
<sort_order>5</sort_order>
|
645 |
-
<show_in_default>1</show_in_default>
|
646 |
-
<show_in_website>1</show_in_website>
|
647 |
-
<show_in_store>1</show_in_store>
|
648 |
-
</title>
|
649 |
-
<unitid translate="label">
|
650 |
-
<label>unitId</label>
|
651 |
-
<frontend_type>text</frontend_type>
|
652 |
-
<config_path>payment/payanyway_elecsnet/unitid</config_path>
|
653 |
-
<sort_order>6</sort_order>
|
654 |
-
<show_in_default>1</show_in_default>
|
655 |
-
<show_in_website>1</show_in_website>
|
656 |
-
<show_in_store>1</show_in_store>
|
657 |
-
</unitid>
|
658 |
-
<logotype translate="label">
|
659 |
-
<label>Logotype</label>
|
660 |
-
<frontend_type>text</frontend_type>
|
661 |
-
<config_path>payment/payanyway_elecsnet/logotype</config_path>
|
662 |
-
<sort_order>7</sort_order>
|
663 |
-
<show_in_default>1</show_in_default>
|
664 |
-
<show_in_website>1</show_in_website>
|
665 |
-
<show_in_store>1</show_in_store>
|
666 |
-
</logotype>
|
667 |
-
<allowspecific translate="label">
|
668 |
-
<label>Payment from Applicable Countries</label>
|
669 |
-
<frontend_type>allowspecific</frontend_type>
|
670 |
-
<config_path>payment/payanyway_elecsnet/allowspecific</config_path>
|
671 |
-
<sort_order>8</sort_order>
|
672 |
-
<source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
|
673 |
-
<show_in_default>1</show_in_default>
|
674 |
-
<show_in_website>1</show_in_website>
|
675 |
-
<show_in_store>1</show_in_store>
|
676 |
-
</allowspecific>
|
677 |
-
<specificcountry translate="label">
|
678 |
-
<label>Payment from Specific Countries</label>
|
679 |
-
<frontend_type>multiselect</frontend_type>
|
680 |
-
<config_path>payment/payanyway_elecsnet/specificcountry</config_path>
|
681 |
-
<sort_order>9</sort_order>
|
682 |
-
<source_model>adminhtml/system_config_source_country</source_model>
|
683 |
-
<show_in_default>1</show_in_default>
|
684 |
-
<show_in_website>1</show_in_website>
|
685 |
-
<show_in_store>1</show_in_store>
|
686 |
-
<can_be_empty>1</can_be_empty>
|
687 |
-
</specificcountry>
|
688 |
-
</fields>
|
689 |
-
</payanyway_elecsnet>
|
690 |
-
<payanyway_gorod translate="label" module="payanyway">
|
691 |
-
<label>Federal system Gorod</label>
|
692 |
-
<frontend_type>text</frontend_type>
|
693 |
-
<sort_order>208</sort_order>
|
694 |
-
<show_in_default>1</show_in_default>
|
695 |
-
<show_in_website>1</show_in_website>
|
696 |
-
<show_in_store>1</show_in_store>
|
697 |
-
<fields>
|
698 |
-
<active translate="label">
|
699 |
-
<label>Enabled</label>
|
700 |
-
<frontend_type>select</frontend_type>
|
701 |
-
<config_path>payment/payanyway_gorod/active</config_path>
|
702 |
-
<source_model>adminhtml/system_config_source_yesno</source_model>
|
703 |
-
<sort_order>1</sort_order>
|
704 |
-
<show_in_default>1</show_in_default>
|
705 |
-
<show_in_website>1</show_in_website>
|
706 |
-
<show_in_store>1</show_in_store>
|
707 |
-
</active>
|
708 |
-
<sort_order translate="label">
|
709 |
-
<label>Sort Order</label>
|
710 |
-
<frontend_type>text</frontend_type>
|
711 |
-
<config_path>payment/payanyway_gorod/sort_order</config_path>
|
712 |
-
<sort_order>3</sort_order>
|
713 |
-
<show_in_default>1</show_in_default>
|
714 |
-
<show_in_website>1</show_in_website>
|
715 |
-
<show_in_store>1</show_in_store>
|
716 |
-
</sort_order>
|
717 |
-
<title translate="label">
|
718 |
-
<label>Title</label>
|
719 |
-
<frontend_type>text</frontend_type>
|
720 |
-
<config_path>payment/payanyway_gorod/title</config_path>
|
721 |
-
<sort_order>5</sort_order>
|
722 |
-
<show_in_default>1</show_in_default>
|
723 |
-
<show_in_website>1</show_in_website>
|
724 |
-
<show_in_store>1</show_in_store>
|
725 |
-
</title>
|
726 |
-
<unitid translate="label">
|
727 |
-
<label>unitId</label>
|
728 |
-
<frontend_type>text</frontend_type>
|
729 |
-
<config_path>payment/payanyway_gorod/unitid</config_path>
|
730 |
-
<sort_order>6</sort_order>
|
731 |
-
<show_in_default>1</show_in_default>
|
732 |
-
<show_in_website>1</show_in_website>
|
733 |
-
<show_in_store>1</show_in_store>
|
734 |
-
</unitid>
|
735 |
-
<logotype translate="label">
|
736 |
-
<label>Logotype</label>
|
737 |
-
<frontend_type>text</frontend_type>
|
738 |
-
<config_path>payment/payanyway_gorod/logotype</config_path>
|
739 |
-
<sort_order>7</sort_order>
|
740 |
-
<show_in_default>1</show_in_default>
|
741 |
-
<show_in_website>1</show_in_website>
|
742 |
-
<show_in_store>1</show_in_store>
|
743 |
-
</logotype>
|
744 |
-
<allowspecific translate="label">
|
745 |
-
<label>Payment from Applicable Countries</label>
|
746 |
-
<frontend_type>allowspecific</frontend_type>
|
747 |
-
<config_path>payment/payanyway_gorod/allowspecific</config_path>
|
748 |
-
<sort_order>8</sort_order>
|
749 |
-
<source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
|
750 |
-
<show_in_default>1</show_in_default>
|
751 |
-
<show_in_website>1</show_in_website>
|
752 |
-
<show_in_store>1</show_in_store>
|
753 |
-
</allowspecific>
|
754 |
-
<specificcountry translate="label">
|
755 |
-
<label>Payment from Specific Countries</label>
|
756 |
-
<frontend_type>multiselect</frontend_type>
|
757 |
-
<config_path>payment/payanyway_gorod/specificcountry</config_path>
|
758 |
-
<sort_order>9</sort_order>
|
759 |
-
<source_model>adminhtml/system_config_source_country</source_model>
|
760 |
-
<show_in_default>1</show_in_default>
|
761 |
-
<show_in_website>1</show_in_website>
|
762 |
-
<show_in_store>1</show_in_store>
|
763 |
-
<can_be_empty>1</can_be_empty>
|
764 |
-
</specificcountry>
|
765 |
-
</fields>
|
766 |
-
</payanyway_gorod>
|
767 |
-
<payanyway_forward translate="label" module="payanyway">
|
768 |
-
<label>Forward Mobile</label>
|
769 |
-
<frontend_type>text</frontend_type>
|
770 |
-
<sort_order>209</sort_order>
|
771 |
-
<show_in_default>1</show_in_default>
|
772 |
-
<show_in_website>1</show_in_website>
|
773 |
-
<show_in_store>1</show_in_store>
|
774 |
-
<fields>
|
775 |
-
<active translate="label">
|
776 |
-
<label>Enabled</label>
|
777 |
-
<frontend_type>select</frontend_type>
|
778 |
-
<config_path>payment/payanyway_forward/active</config_path>
|
779 |
-
<source_model>adminhtml/system_config_source_yesno</source_model>
|
780 |
-
<sort_order>1</sort_order>
|
781 |
-
<show_in_default>1</show_in_default>
|
782 |
-
<show_in_website>1</show_in_website>
|
783 |
-
<show_in_store>1</show_in_store>
|
784 |
-
</active>
|
785 |
-
<sort_order translate="label">
|
786 |
-
<label>Sort Order</label>
|
787 |
-
<frontend_type>text</frontend_type>
|
788 |
-
<config_path>payment/payanyway_forward/sort_order</config_path>
|
789 |
-
<sort_order>3</sort_order>
|
790 |
-
<show_in_default>1</show_in_default>
|
791 |
-
<show_in_website>1</show_in_website>
|
792 |
-
<show_in_store>1</show_in_store>
|
793 |
-
</sort_order>
|
794 |
-
<title translate="label">
|
795 |
-
<label>Title</label>
|
796 |
-
<frontend_type>text</frontend_type>
|
797 |
-
<config_path>payment/payanyway_forward/title</config_path>
|
798 |
-
<sort_order>5</sort_order>
|
799 |
-
<show_in_default>1</show_in_default>
|
800 |
-
<show_in_website>1</show_in_website>
|
801 |
-
<show_in_store>1</show_in_store>
|
802 |
-
</title>
|
803 |
-
<unitid translate="label">
|
804 |
-
<label>unitId</label>
|
805 |
-
<frontend_type>text</frontend_type>
|
806 |
-
<config_path>payment/payanyway_forward/unitid</config_path>
|
807 |
-
<sort_order>6</sort_order>
|
808 |
-
<show_in_default>1</show_in_default>
|
809 |
-
<show_in_website>1</show_in_website>
|
810 |
-
<show_in_store>1</show_in_store>
|
811 |
-
</unitid>
|
812 |
-
<logotype translate="label">
|
813 |
-
<label>Logotype</label>
|
814 |
-
<frontend_type>text</frontend_type>
|
815 |
-
<config_path>payment/payanyway_forward/logotype</config_path>
|
816 |
-
<sort_order>7</sort_order>
|
817 |
-
<show_in_default>1</show_in_default>
|
818 |
-
<show_in_website>1</show_in_website>
|
819 |
-
<show_in_store>1</show_in_store>
|
820 |
-
</logotype>
|
821 |
-
<allowspecific translate="label">
|
822 |
-
<label>Payment from Applicable Countries</label>
|
823 |
-
<frontend_type>allowspecific</frontend_type>
|
824 |
-
<config_path>payment/payanyway_forward/allowspecific</config_path>
|
825 |
-
<sort_order>8</sort_order>
|
826 |
-
<source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
|
827 |
-
<show_in_default>1</show_in_default>
|
828 |
-
<show_in_website>1</show_in_website>
|
829 |
-
<show_in_store>1</show_in_store>
|
830 |
-
</allowspecific>
|
831 |
-
<specificcountry translate="label">
|
832 |
-
<label>Payment from Specific Countries</label>
|
833 |
-
<frontend_type>multiselect</frontend_type>
|
834 |
-
<config_path>payment/payanyway_forward/specificcountry</config_path>
|
835 |
-
<sort_order>9</sort_order>
|
836 |
-
<source_model>adminhtml/system_config_source_country</source_model>
|
837 |
-
<show_in_default>1</show_in_default>
|
838 |
-
<show_in_website>1</show_in_website>
|
839 |
-
<show_in_store>1</show_in_store>
|
840 |
-
<can_be_empty>1</can_be_empty>
|
841 |
-
</specificcountry>
|
842 |
-
</fields>
|
843 |
-
</payanyway_forward>
|
844 |
-
<payanyway_mcb translate="label" module="payanyway">
|
845 |
-
<label>MosCreditBank</label>
|
846 |
-
<frontend_type>text</frontend_type>
|
847 |
-
<sort_order>210</sort_order>
|
848 |
-
<show_in_default>1</show_in_default>
|
849 |
-
<show_in_website>1</show_in_website>
|
850 |
-
<show_in_store>1</show_in_store>
|
851 |
-
<fields>
|
852 |
-
<active translate="label">
|
853 |
-
<label>Enabled</label>
|
854 |
-
<frontend_type>select</frontend_type>
|
855 |
-
<config_path>payment/payanyway_mcb/active</config_path>
|
856 |
-
<source_model>adminhtml/system_config_source_yesno</source_model>
|
857 |
-
<sort_order>1</sort_order>
|
858 |
-
<show_in_default>1</show_in_default>
|
859 |
-
<show_in_website>1</show_in_website>
|
860 |
-
<show_in_store>1</show_in_store>
|
861 |
-
</active>
|
862 |
-
<sort_order translate="label">
|
863 |
-
<label>Sort Order</label>
|
864 |
-
<frontend_type>text</frontend_type>
|
865 |
-
<config_path>payment/payanyway_mcb/sort_order</config_path>
|
866 |
-
<sort_order>3</sort_order>
|
867 |
-
<show_in_default>1</show_in_default>
|
868 |
-
<show_in_website>1</show_in_website>
|
869 |
-
<show_in_store>1</show_in_store>
|
870 |
-
</sort_order>
|
871 |
-
<title translate="label">
|
872 |
-
<label>Title</label>
|
873 |
-
<frontend_type>text</frontend_type>
|
874 |
-
<config_path>payment/payanyway_mcb/title</config_path>
|
875 |
-
<sort_order>5</sort_order>
|
876 |
-
<show_in_default>1</show_in_default>
|
877 |
-
<show_in_website>1</show_in_website>
|
878 |
-
<show_in_store>1</show_in_store>
|
879 |
-
</title>
|
880 |
-
<unitid translate="label">
|
881 |
-
<label>unitId</label>
|
882 |
-
<frontend_type>text</frontend_type>
|
883 |
-
<config_path>payment/payanyway_mcb/unitid</config_path>
|
884 |
-
<sort_order>6</sort_order>
|
885 |
-
<show_in_default>1</show_in_default>
|
886 |
-
<show_in_website>1</show_in_website>
|
887 |
-
<show_in_store>1</show_in_store>
|
888 |
-
</unitid>
|
889 |
-
<logotype translate="label">
|
890 |
-
<label>Logotype</label>
|
891 |
-
<frontend_type>text</frontend_type>
|
892 |
-
<config_path>payment/payanyway_mcb/logotype</config_path>
|
893 |
-
<sort_order>7</sort_order>
|
894 |
-
<show_in_default>1</show_in_default>
|
895 |
-
<show_in_website>1</show_in_website>
|
896 |
-
<show_in_store>1</show_in_store>
|
897 |
-
</logotype>
|
898 |
-
<allowspecific translate="label">
|
899 |
-
<label>Payment from Applicable Countries</label>
|
900 |
-
<frontend_type>allowspecific</frontend_type>
|
901 |
-
<config_path>payment/payanyway_mcb/allowspecific</config_path>
|
902 |
-
<sort_order>8</sort_order>
|
903 |
-
<source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
|
904 |
-
<show_in_default>1</show_in_default>
|
905 |
-
<show_in_website>1</show_in_website>
|
906 |
-
<show_in_store>1</show_in_store>
|
907 |
-
</allowspecific>
|
908 |
-
<specificcountry translate="label">
|
909 |
-
<label>Payment from Specific Countries</label>
|
910 |
-
<frontend_type>multiselect</frontend_type>
|
911 |
-
<config_path>payment/payanyway_mcb/specificcountry</config_path>
|
912 |
-
<sort_order>9</sort_order>
|
913 |
-
<source_model>adminhtml/system_config_source_country</source_model>
|
914 |
-
<show_in_default>1</show_in_default>
|
915 |
-
<show_in_website>1</show_in_website>
|
916 |
-
<show_in_store>1</show_in_store>
|
917 |
-
<can_be_empty>1</can_be_empty>
|
918 |
-
</specificcountry>
|
919 |
-
</fields>
|
920 |
-
</payanyway_mcb>
|
921 |
-
<payanyway_moneymail translate="label" module="payanyway">
|
922 |
-
<label>MoneyMail</label>
|
923 |
-
<frontend_type>text</frontend_type>
|
924 |
-
<sort_order>211</sort_order>
|
925 |
-
<show_in_default>1</show_in_default>
|
926 |
-
<show_in_website>1</show_in_website>
|
927 |
-
<show_in_store>1</show_in_store>
|
928 |
-
<fields>
|
929 |
-
<active translate="label">
|
930 |
-
<label>Enabled</label>
|
931 |
-
<frontend_type>select</frontend_type>
|
932 |
-
<config_path>payment/payanyway_moneymail/active</config_path>
|
933 |
-
<source_model>adminhtml/system_config_source_yesno</source_model>
|
934 |
-
<sort_order>1</sort_order>
|
935 |
-
<show_in_default>1</show_in_default>
|
936 |
-
<show_in_website>1</show_in_website>
|
937 |
-
<show_in_store>1</show_in_store>
|
938 |
-
</active>
|
939 |
-
<sort_order translate="label">
|
940 |
-
<label>Sort Order</label>
|
941 |
-
<frontend_type>text</frontend_type>
|
942 |
-
<config_path>payment/payanyway_moneymail/sort_order</config_path>
|
943 |
-
<sort_order>3</sort_order>
|
944 |
-
<show_in_default>1</show_in_default>
|
945 |
-
<show_in_website>1</show_in_website>
|
946 |
-
<show_in_store>1</show_in_store>
|
947 |
-
</sort_order>
|
948 |
-
<title translate="label">
|
949 |
-
<label>Title</label>
|
950 |
-
<frontend_type>text</frontend_type>
|
951 |
-
<config_path>payment/payanyway_moneymail/title</config_path>
|
952 |
-
<sort_order>5</sort_order>
|
953 |
-
<show_in_default>1</show_in_default>
|
954 |
-
<show_in_website>1</show_in_website>
|
955 |
-
<show_in_store>1</show_in_store>
|
956 |
-
</title>
|
957 |
-
<unitid translate="label">
|
958 |
-
<label>unitId</label>
|
959 |
-
<frontend_type>text</frontend_type>
|
960 |
-
<config_path>payment/payanyway_moneymail/unitid</config_path>
|
961 |
-
<sort_order>6</sort_order>
|
962 |
-
<show_in_default>1</show_in_default>
|
963 |
-
<show_in_website>1</show_in_website>
|
964 |
-
<show_in_store>1</show_in_store>
|
965 |
-
</unitid>
|
966 |
-
<logotype translate="label">
|
967 |
-
<label>Logotype</label>
|
968 |
-
<frontend_type>text</frontend_type>
|
969 |
-
<config_path>payment/payanyway_moneymail/logotype</config_path>
|
970 |
-
<sort_order>7</sort_order>
|
971 |
-
<show_in_default>1</show_in_default>
|
972 |
-
<show_in_website>1</show_in_website>
|
973 |
-
<show_in_store>1</show_in_store>
|
974 |
-
</logotype>
|
975 |
-
<allowspecific translate="label">
|
976 |
-
<label>Payment from Applicable Countries</label>
|
977 |
-
<frontend_type>allowspecific</frontend_type>
|
978 |
-
<config_path>payment/payanyway_moneymail/allowspecific</config_path>
|
979 |
-
<sort_order>8</sort_order>
|
980 |
-
<source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
|
981 |
-
<show_in_default>1</show_in_default>
|
982 |
-
<show_in_website>1</show_in_website>
|
983 |
-
<show_in_store>1</show_in_store>
|
984 |
-
</allowspecific>
|
985 |
-
<specificcountry translate="label">
|
986 |
-
<label>Payment from Specific Countries</label>
|
987 |
-
<frontend_type>multiselect</frontend_type>
|
988 |
-
<config_path>payment/payanyway_moneymail/specificcountry</config_path>
|
989 |
-
<sort_order>9</sort_order>
|
990 |
-
<source_model>adminhtml/system_config_source_country</source_model>
|
991 |
-
<show_in_default>1</show_in_default>
|
992 |
-
<show_in_website>1</show_in_website>
|
993 |
-
<show_in_store>1</show_in_store>
|
994 |
-
<can_be_empty>1</can_be_empty>
|
995 |
-
</specificcountry>
|
996 |
-
</fields>
|
997 |
-
</payanyway_moneymail>
|
998 |
-
<payanyway_novoplat translate="label" module="payanyway">
|
999 |
-
<label>Novoplat</label>
|
1000 |
-
<frontend_type>text</frontend_type>
|
1001 |
-
<sort_order>212</sort_order>
|
1002 |
-
<show_in_default>1</show_in_default>
|
1003 |
-
<show_in_website>1</show_in_website>
|
1004 |
-
<show_in_store>1</show_in_store>
|
1005 |
-
<fields>
|
1006 |
-
<active translate="label">
|
1007 |
-
<label>Enabled</label>
|
1008 |
-
<frontend_type>select</frontend_type>
|
1009 |
-
<config_path>payment/payanyway_novoplat/active</config_path>
|
1010 |
-
<source_model>adminhtml/system_config_source_yesno</source_model>
|
1011 |
-
<sort_order>1</sort_order>
|
1012 |
-
<show_in_default>1</show_in_default>
|
1013 |
-
<show_in_website>1</show_in_website>
|
1014 |
-
<show_in_store>1</show_in_store>
|
1015 |
-
</active>
|
1016 |
-
<sort_order translate="label">
|
1017 |
-
<label>Sort Order</label>
|
1018 |
-
<frontend_type>text</frontend_type>
|
1019 |
-
<config_path>payment/payanyway_novoplat/sort_order</config_path>
|
1020 |
-
<sort_order>3</sort_order>
|
1021 |
-
<show_in_default>1</show_in_default>
|
1022 |
-
<show_in_website>1</show_in_website>
|
1023 |
-
<show_in_store>1</show_in_store>
|
1024 |
-
</sort_order>
|
1025 |
-
<title translate="label">
|
1026 |
-
<label>Title</label>
|
1027 |
-
<frontend_type>text</frontend_type>
|
1028 |
-
<config_path>payment/payanyway_novoplat/title</config_path>
|
1029 |
-
<sort_order>5</sort_order>
|
1030 |
-
<show_in_default>1</show_in_default>
|
1031 |
-
<show_in_website>1</show_in_website>
|
1032 |
-
<show_in_store>1</show_in_store>
|
1033 |
-
</title>
|
1034 |
-
<unitid translate="label">
|
1035 |
-
<label>unitId</label>
|
1036 |
-
<frontend_type>text</frontend_type>
|
1037 |
-
<config_path>payment/payanyway_novoplat/unitid</config_path>
|
1038 |
-
<sort_order>6</sort_order>
|
1039 |
-
<show_in_default>1</show_in_default>
|
1040 |
-
<show_in_website>1</show_in_website>
|
1041 |
-
<show_in_store>1</show_in_store>
|
1042 |
-
</unitid>
|
1043 |
-
<logotype translate="label">
|
1044 |
-
<label>Logotype</label>
|
1045 |
-
<frontend_type>text</frontend_type>
|
1046 |
-
<config_path>payment/payanyway_novoplat/logotype</config_path>
|
1047 |
-
<sort_order>7</sort_order>
|
1048 |
-
<show_in_default>1</show_in_default>
|
1049 |
-
<show_in_website>1</show_in_website>
|
1050 |
-
<show_in_store>1</show_in_store>
|
1051 |
-
</logotype>
|
1052 |
-
<allowspecific translate="label">
|
1053 |
-
<label>Payment from Applicable Countries</label>
|
1054 |
-
<frontend_type>allowspecific</frontend_type>
|
1055 |
-
<config_path>payment/payanyway_novoplat/allowspecific</config_path>
|
1056 |
-
<sort_order>8</sort_order>
|
1057 |
-
<source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
|
1058 |
-
<show_in_default>1</show_in_default>
|
1059 |
-
<show_in_website>1</show_in_website>
|
1060 |
-
<show_in_store>1</show_in_store>
|
1061 |
-
</allowspecific>
|
1062 |
-
<specificcountry translate="label">
|
1063 |
-
<label>Payment from Specific Countries</label>
|
1064 |
-
<frontend_type>multiselect</frontend_type>
|
1065 |
-
<config_path>payment/payanyway_novoplat/specificcountry</config_path>
|
1066 |
-
<sort_order>9</sort_order>
|
1067 |
-
<source_model>adminhtml/system_config_source_country</source_model>
|
1068 |
-
<show_in_default>1</show_in_default>
|
1069 |
-
<show_in_website>1</show_in_website>
|
1070 |
-
<show_in_store>1</show_in_store>
|
1071 |
-
<can_be_empty>1</can_be_empty>
|
1072 |
-
</specificcountry>
|
1073 |
-
</fields>
|
1074 |
-
</payanyway_novoplat>
|
1075 |
-
<payanyway_plastic translate="label" module="payanyway">
|
1076 |
-
<label>VISA, MasterCard</label>
|
1077 |
-
<frontend_type>text</frontend_type>
|
1078 |
-
<sort_order>213</sort_order>
|
1079 |
-
<show_in_default>1</show_in_default>
|
1080 |
-
<show_in_website>1</show_in_website>
|
1081 |
-
<show_in_store>1</show_in_store>
|
1082 |
-
<fields>
|
1083 |
-
<active translate="label">
|
1084 |
-
<label>Enabled</label>
|
1085 |
-
<frontend_type>select</frontend_type>
|
1086 |
-
<config_path>payment/payanyway_plastic/active</config_path>
|
1087 |
-
<source_model>adminhtml/system_config_source_yesno</source_model>
|
1088 |
-
<sort_order>1</sort_order>
|
1089 |
-
<show_in_default>1</show_in_default>
|
1090 |
-
<show_in_website>1</show_in_website>
|
1091 |
-
<show_in_store>1</show_in_store>
|
1092 |
-
</active>
|
1093 |
-
<sort_order translate="label">
|
1094 |
-
<label>Sort Order</label>
|
1095 |
-
<frontend_type>text</frontend_type>
|
1096 |
-
<config_path>payment/payanyway_plastic/sort_order</config_path>
|
1097 |
-
<sort_order>3</sort_order>
|
1098 |
-
<show_in_default>1</show_in_default>
|
1099 |
-
<show_in_website>1</show_in_website>
|
1100 |
-
<show_in_store>1</show_in_store>
|
1101 |
-
</sort_order>
|
1102 |
-
<title translate="label">
|
1103 |
-
<label>Title</label>
|
1104 |
-
<frontend_type>text</frontend_type>
|
1105 |
-
<config_path>payment/payanyway_plastic/title</config_path>
|
1106 |
-
<sort_order>5</sort_order>
|
1107 |
-
<show_in_default>1</show_in_default>
|
1108 |
-
<show_in_website>1</show_in_website>
|
1109 |
-
<show_in_store>1</show_in_store>
|
1110 |
-
</title>
|
1111 |
-
<unitid translate="label">
|
1112 |
-
<label>unitId</label>
|
1113 |
-
<frontend_type>text</frontend_type>
|
1114 |
-
<config_path>payment/payanyway_plastic/unitid</config_path>
|
1115 |
-
<sort_order>6</sort_order>
|
1116 |
-
<show_in_default>1</show_in_default>
|
1117 |
-
<show_in_website>1</show_in_website>
|
1118 |
-
<show_in_store>1</show_in_store>
|
1119 |
-
</unitid>
|
1120 |
-
<logotype translate="label">
|
1121 |
-
<label>Logotype</label>
|
1122 |
-
<frontend_type>text</frontend_type>
|
1123 |
-
<config_path>payment/payanyway_plastic/logotype</config_path>
|
1124 |
-
<sort_order>7</sort_order>
|
1125 |
-
<show_in_default>1</show_in_default>
|
1126 |
-
<show_in_website>1</show_in_website>
|
1127 |
-
<show_in_store>1</show_in_store>
|
1128 |
-
</logotype>
|
1129 |
-
<allowspecific translate="label">
|
1130 |
-
<label>Payment from Applicable Countries</label>
|
1131 |
-
<frontend_type>allowspecific</frontend_type>
|
1132 |
-
<config_path>payment/payanyway_plastic/allowspecific</config_path>
|
1133 |
-
<sort_order>8</sort_order>
|
1134 |
-
<source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
|
1135 |
-
<show_in_default>1</show_in_default>
|
1136 |
-
<show_in_website>1</show_in_website>
|
1137 |
-
<show_in_store>1</show_in_store>
|
1138 |
-
</allowspecific>
|
1139 |
-
<specificcountry translate="label">
|
1140 |
-
<label>Payment from Specific Countries</label>
|
1141 |
-
<frontend_type>multiselect</frontend_type>
|
1142 |
-
<config_path>payment/payanyway_plastic/specificcountry</config_path>
|
1143 |
-
<sort_order>9</sort_order>
|
1144 |
-
<source_model>adminhtml/system_config_source_country</source_model>
|
1145 |
-
<show_in_default>1</show_in_default>
|
1146 |
-
<show_in_website>1</show_in_website>
|
1147 |
-
<show_in_store>1</show_in_store>
|
1148 |
-
<can_be_empty>1</can_be_empty>
|
1149 |
-
</specificcountry>
|
1150 |
-
</fields>
|
1151 |
-
</payanyway_plastic>
|
1152 |
-
<payanyway_platika translate="label" module="payanyway">
|
1153 |
-
<label>PLATiKA</label>
|
1154 |
-
<frontend_type>text</frontend_type>
|
1155 |
-
<sort_order>214</sort_order>
|
1156 |
-
<show_in_default>1</show_in_default>
|
1157 |
-
<show_in_website>1</show_in_website>
|
1158 |
-
<show_in_store>1</show_in_store>
|
1159 |
-
<fields>
|
1160 |
-
<active translate="label">
|
1161 |
-
<label>Enabled</label>
|
1162 |
-
<frontend_type>select</frontend_type>
|
1163 |
-
<config_path>payment/payanyway_platika/active</config_path>
|
1164 |
-
<source_model>adminhtml/system_config_source_yesno</source_model>
|
1165 |
-
<sort_order>1</sort_order>
|
1166 |
-
<show_in_default>1</show_in_default>
|
1167 |
-
<show_in_website>1</show_in_website>
|
1168 |
-
<show_in_store>1</show_in_store>
|
1169 |
-
</active>
|
1170 |
-
<sort_order translate="label">
|
1171 |
-
<label>Sort Order</label>
|
1172 |
-
<frontend_type>text</frontend_type>
|
1173 |
-
<config_path>payment/payanyway_platika/sort_order</config_path>
|
1174 |
-
<sort_order>3</sort_order>
|
1175 |
-
<show_in_default>1</show_in_default>
|
1176 |
-
<show_in_website>1</show_in_website>
|
1177 |
-
<show_in_store>1</show_in_store>
|
1178 |
-
</sort_order>
|
1179 |
-
<title translate="label">
|
1180 |
-
<label>Title</label>
|
1181 |
-
<frontend_type>text</frontend_type>
|
1182 |
-
<config_path>payment/payanyway_platika/title</config_path>
|
1183 |
-
<sort_order>5</sort_order>
|
1184 |
-
<show_in_default>1</show_in_default>
|
1185 |
-
<show_in_website>1</show_in_website>
|
1186 |
-
<show_in_store>1</show_in_store>
|
1187 |
-
</title>
|
1188 |
-
<unitid translate="label">
|
1189 |
-
<label>unitId</label>
|
1190 |
-
<frontend_type>text</frontend_type>
|
1191 |
-
<config_path>payment/payanyway_platika/unitid</config_path>
|
1192 |
-
<sort_order>6</sort_order>
|
1193 |
-
<show_in_default>1</show_in_default>
|
1194 |
-
<show_in_website>1</show_in_website>
|
1195 |
-
<show_in_store>1</show_in_store>
|
1196 |
-
</unitid>
|
1197 |
-
<logotype translate="label">
|
1198 |
-
<label>Logotype</label>
|
1199 |
-
<frontend_type>text</frontend_type>
|
1200 |
-
<config_path>payment/payanyway_platika/logotype</config_path>
|
1201 |
-
<sort_order>7</sort_order>
|
1202 |
-
<show_in_default>1</show_in_default>
|
1203 |
-
<show_in_website>1</show_in_website>
|
1204 |
-
<show_in_store>1</show_in_store>
|
1205 |
-
</logotype>
|
1206 |
-
<allowspecific translate="label">
|
1207 |
-
<label>Payment from Applicable Countries</label>
|
1208 |
-
<frontend_type>allowspecific</frontend_type>
|
1209 |
-
<config_path>payment/payanyway_platika/allowspecific</config_path>
|
1210 |
-
<sort_order>8</sort_order>
|
1211 |
-
<source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
|
1212 |
-
<show_in_default>1</show_in_default>
|
1213 |
-
<show_in_website>1</show_in_website>
|
1214 |
-
<show_in_store>1</show_in_store>
|
1215 |
-
</allowspecific>
|
1216 |
-
<specificcountry translate="label">
|
1217 |
-
<label>Payment from Specific Countries</label>
|
1218 |
-
<frontend_type>multiselect</frontend_type>
|
1219 |
-
<config_path>payment/payanyway_platika/specificcountry</config_path>
|
1220 |
-
<sort_order>9</sort_order>
|
1221 |
-
<source_model>adminhtml/system_config_source_country</source_model>
|
1222 |
-
<show_in_default>1</show_in_default>
|
1223 |
-
<show_in_website>1</show_in_website>
|
1224 |
-
<show_in_store>1</show_in_store>
|
1225 |
-
<can_be_empty>1</can_be_empty>
|
1226 |
-
</specificcountry>
|
1227 |
-
</fields>
|
1228 |
-
</payanyway_platika>
|
1229 |
-
<payanyway_post translate="label" module="payanyway">
|
1230 |
-
<label>Russian Post Transfer</label>
|
1231 |
-
<frontend_type>text</frontend_type>
|
1232 |
-
<sort_order>215</sort_order>
|
1233 |
-
<show_in_default>1</show_in_default>
|
1234 |
-
<show_in_website>1</show_in_website>
|
1235 |
-
<show_in_store>1</show_in_store>
|
1236 |
-
<fields>
|
1237 |
-
<active translate="label">
|
1238 |
-
<label>Enabled</label>
|
1239 |
-
<frontend_type>select</frontend_type>
|
1240 |
-
<config_path>payment/payanyway_post/active</config_path>
|
1241 |
-
<source_model>adminhtml/system_config_source_yesno</source_model>
|
1242 |
-
<sort_order>1</sort_order>
|
1243 |
-
<show_in_default>1</show_in_default>
|
1244 |
-
<show_in_website>1</show_in_website>
|
1245 |
-
<show_in_store>1</show_in_store>
|
1246 |
-
</active>
|
1247 |
-
<sort_order translate="label">
|
1248 |
-
<label>Sort Order</label>
|
1249 |
-
<frontend_type>text</frontend_type>
|
1250 |
-
<config_path>payment/payanyway_post/sort_order</config_path>
|
1251 |
-
<sort_order>3</sort_order>
|
1252 |
-
<show_in_default>1</show_in_default>
|
1253 |
-
<show_in_website>1</show_in_website>
|
1254 |
-
<show_in_store>1</show_in_store>
|
1255 |
-
</sort_order>
|
1256 |
-
<title translate="label">
|
1257 |
-
<label>Title</label>
|
1258 |
-
<frontend_type>text</frontend_type>
|
1259 |
-
<config_path>payment/payanyway_post/title</config_path>
|
1260 |
-
<sort_order>5</sort_order>
|
1261 |
-
<show_in_default>1</show_in_default>
|
1262 |
-
<show_in_website>1</show_in_website>
|
1263 |
-
<show_in_store>1</show_in_store>
|
1264 |
-
</title>
|
1265 |
-
<unitid translate="label">
|
1266 |
-
<label>unitId</label>
|
1267 |
-
<frontend_type>text</frontend_type>
|
1268 |
-
<config_path>payment/payanyway_post/unitid</config_path>
|
1269 |
-
<sort_order>6</sort_order>
|
1270 |
-
<show_in_default>1</show_in_default>
|
1271 |
-
<show_in_website>1</show_in_website>
|
1272 |
-
<show_in_store>1</show_in_store>
|
1273 |
-
</unitid>
|
1274 |
-
<logotype translate="label">
|
1275 |
-
<label>Logotype</label>
|
1276 |
-
<frontend_type>text</frontend_type>
|
1277 |
-
<config_path>payment/payanyway_post/logotype</config_path>
|
1278 |
-
<sort_order>7</sort_order>
|
1279 |
-
<show_in_default>1</show_in_default>
|
1280 |
-
<show_in_website>1</show_in_website>
|
1281 |
-
<show_in_store>1</show_in_store>
|
1282 |
-
</logotype>
|
1283 |
-
<allowspecific translate="label">
|
1284 |
-
<label>Payment from Applicable Countries</label>
|
1285 |
-
<frontend_type>allowspecific</frontend_type>
|
1286 |
-
<config_path>payment/payanyway_post/allowspecific</config_path>
|
1287 |
-
<sort_order>8</sort_order>
|
1288 |
-
<source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
|
1289 |
-
<show_in_default>1</show_in_default>
|
1290 |
-
<show_in_website>1</show_in_website>
|
1291 |
-
<show_in_store>1</show_in_store>
|
1292 |
-
</allowspecific>
|
1293 |
-
<specificcountry translate="label">
|
1294 |
-
<label>Payment from Specific Countries</label>
|
1295 |
-
<frontend_type>multiselect</frontend_type>
|
1296 |
-
<config_path>payment/payanyway_post/specificcountry</config_path>
|
1297 |
-
<sort_order>9</sort_order>
|
1298 |
-
<source_model>adminhtml/system_config_source_country</source_model>
|
1299 |
-
<show_in_default>1</show_in_default>
|
1300 |
-
<show_in_website>1</show_in_website>
|
1301 |
-
<show_in_store>1</show_in_store>
|
1302 |
-
<can_be_empty>1</can_be_empty>
|
1303 |
-
</specificcountry>
|
1304 |
-
</fields>
|
1305 |
-
</payanyway_post>
|
1306 |
-
<payanyway_wallet translate="label" module="payanyway">
|
1307 |
-
<label>Wallet One</label>
|
1308 |
-
<frontend_type>text</frontend_type>
|
1309 |
-
<sort_order>216</sort_order>
|
1310 |
-
<show_in_default>1</show_in_default>
|
1311 |
-
<show_in_website>1</show_in_website>
|
1312 |
-
<show_in_store>1</show_in_store>
|
1313 |
-
<fields>
|
1314 |
-
<active translate="label">
|
1315 |
-
<label>Enabled</label>
|
1316 |
-
<frontend_type>select</frontend_type>
|
1317 |
-
<config_path>payment/payanyway_wallet/active</config_path>
|
1318 |
-
<source_model>adminhtml/system_config_source_yesno</source_model>
|
1319 |
-
<sort_order>1</sort_order>
|
1320 |
-
<show_in_default>1</show_in_default>
|
1321 |
-
<show_in_website>1</show_in_website>
|
1322 |
-
<show_in_store>1</show_in_store>
|
1323 |
-
</active>
|
1324 |
-
<sort_order translate="label">
|
1325 |
-
<label>Sort Order</label>
|
1326 |
-
<frontend_type>text</frontend_type>
|
1327 |
-
<config_path>payment/payanyway_wallet/sort_order</config_path>
|
1328 |
-
<sort_order>3</sort_order>
|
1329 |
-
<show_in_default>1</show_in_default>
|
1330 |
-
<show_in_website>1</show_in_website>
|
1331 |
-
<show_in_store>1</show_in_store>
|
1332 |
-
</sort_order>
|
1333 |
-
<title translate="label">
|
1334 |
-
<label>Title</label>
|
1335 |
-
<frontend_type>text</frontend_type>
|
1336 |
-
<config_path>payment/payanyway_wallet/title</config_path>
|
1337 |
-
<sort_order>5</sort_order>
|
1338 |
-
<show_in_default>1</show_in_default>
|
1339 |
-
<show_in_website>1</show_in_website>
|
1340 |
-
<show_in_store>1</show_in_store>
|
1341 |
-
</title>
|
1342 |
-
<unitid translate="label">
|
1343 |
-
<label>unitId</label>
|
1344 |
-
<frontend_type>text</frontend_type>
|
1345 |
-
<config_path>payment/payanyway_wallet/unitid</config_path>
|
1346 |
-
<sort_order>6</sort_order>
|
1347 |
-
<show_in_default>1</show_in_default>
|
1348 |
-
<show_in_website>1</show_in_website>
|
1349 |
-
<show_in_store>1</show_in_store>
|
1350 |
-
</unitid>
|
1351 |
-
<logotype translate="label">
|
1352 |
-
<label>Logotype</label>
|
1353 |
-
<frontend_type>text</frontend_type>
|
1354 |
-
<config_path>payment/payanyway_wallet/logotype</config_path>
|
1355 |
-
<sort_order>7</sort_order>
|
1356 |
-
<show_in_default>1</show_in_default>
|
1357 |
-
<show_in_website>1</show_in_website>
|
1358 |
-
<show_in_store>1</show_in_store>
|
1359 |
-
</logotype>
|
1360 |
-
<allowspecific translate="label">
|
1361 |
-
<label>Payment from Applicable Countries</label>
|
1362 |
-
<frontend_type>allowspecific</frontend_type>
|
1363 |
-
<config_path>payment/payanyway_wallet/allowspecific</config_path>
|
1364 |
-
<sort_order>8</sort_order>
|
1365 |
-
<source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
|
1366 |
-
<show_in_default>1</show_in_default>
|
1367 |
-
<show_in_website>1</show_in_website>
|
1368 |
-
<show_in_store>1</show_in_store>
|
1369 |
-
</allowspecific>
|
1370 |
-
<specificcountry translate="label">
|
1371 |
-
<label>Payment from Specific Countries</label>
|
1372 |
-
<frontend_type>multiselect</frontend_type>
|
1373 |
-
<config_path>payment/payanyway_wallet/specificcountry</config_path>
|
1374 |
-
<sort_order>9</sort_order>
|
1375 |
-
<source_model>adminhtml/system_config_source_country</source_model>
|
1376 |
-
<show_in_default>1</show_in_default>
|
1377 |
-
<show_in_website>1</show_in_website>
|
1378 |
-
<show_in_store>1</show_in_store>
|
1379 |
-
<can_be_empty>1</can_be_empty>
|
1380 |
-
</specificcountry>
|
1381 |
-
</fields>
|
1382 |
-
</payanyway_wallet>
|
1383 |
-
<payanyway_webmoney translate="label" module="payanyway">
|
1384 |
-
<label>WebMoney</label>
|
1385 |
-
<frontend_type>text</frontend_type>
|
1386 |
-
<sort_order>217</sort_order>
|
1387 |
-
<show_in_default>1</show_in_default>
|
1388 |
-
<show_in_website>1</show_in_website>
|
1389 |
-
<show_in_store>1</show_in_store>
|
1390 |
-
<fields>
|
1391 |
-
<active translate="label">
|
1392 |
-
<label>Enabled</label>
|
1393 |
-
<frontend_type>select</frontend_type>
|
1394 |
-
<config_path>payment/payanyway_webmoney/active</config_path>
|
1395 |
-
<source_model>adminhtml/system_config_source_yesno</source_model>
|
1396 |
-
<sort_order>1</sort_order>
|
1397 |
-
<show_in_default>1</show_in_default>
|
1398 |
-
<show_in_website>1</show_in_website>
|
1399 |
-
<show_in_store>1</show_in_store>
|
1400 |
-
</active>
|
1401 |
-
<sort_order translate="label">
|
1402 |
-
<label>Sort Order</label>
|
1403 |
-
<frontend_type>text</frontend_type>
|
1404 |
-
<config_path>payment/payanyway_webmoney/sort_order</config_path>
|
1405 |
-
<sort_order>3</sort_order>
|
1406 |
-
<show_in_default>1</show_in_default>
|
1407 |
-
<show_in_website>1</show_in_website>
|
1408 |
-
<show_in_store>1</show_in_store>
|
1409 |
-
</sort_order>
|
1410 |
-
<title translate="label">
|
1411 |
-
<label>Title</label>
|
1412 |
-
<frontend_type>text</frontend_type>
|
1413 |
-
<config_path>payment/payanyway_webmoney/title</config_path>
|
1414 |
-
<sort_order>5</sort_order>
|
1415 |
-
<show_in_default>1</show_in_default>
|
1416 |
-
<show_in_website>1</show_in_website>
|
1417 |
-
<show_in_store>1</show_in_store>
|
1418 |
-
</title>
|
1419 |
-
<unitid translate="label">
|
1420 |
-
<label>unitId</label>
|
1421 |
-
<frontend_type>text</frontend_type>
|
1422 |
-
<config_path>payment/payanyway_webmoney/unitid</config_path>
|
1423 |
-
<sort_order>6</sort_order>
|
1424 |
-
<show_in_default>1</show_in_default>
|
1425 |
-
<show_in_website>1</show_in_website>
|
1426 |
-
<show_in_store>1</show_in_store>
|
1427 |
-
</unitid>
|
1428 |
-
<logotype translate="label">
|
1429 |
-
<label>Logotype</label>
|
1430 |
-
<frontend_type>text</frontend_type>
|
1431 |
-
<config_path>payment/payanyway_webmoney/logotype</config_path>
|
1432 |
-
<sort_order>7</sort_order>
|
1433 |
-
<show_in_default>1</show_in_default>
|
1434 |
-
<show_in_website>1</show_in_website>
|
1435 |
-
<show_in_store>1</show_in_store>
|
1436 |
-
</logotype>
|
1437 |
-
<allowspecific translate="label">
|
1438 |
-
<label>Payment from Applicable Countries</label>
|
1439 |
-
<frontend_type>allowspecific</frontend_type>
|
1440 |
-
<config_path>payment/payanyway_webmoney/allowspecific</config_path>
|
1441 |
-
<sort_order>8</sort_order>
|
1442 |
-
<source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
|
1443 |
-
<show_in_default>1</show_in_default>
|
1444 |
-
<show_in_website>1</show_in_website>
|
1445 |
-
<show_in_store>1</show_in_store>
|
1446 |
-
</allowspecific>
|
1447 |
-
<specificcountry translate="label">
|
1448 |
-
<label>Payment from Specific Countries</label>
|
1449 |
-
<frontend_type>multiselect</frontend_type>
|
1450 |
-
<config_path>payment/payanyway_webmoney/specificcountry</config_path>
|
1451 |
-
<sort_order>9</sort_order>
|
1452 |
-
<source_model>adminhtml/system_config_source_country</source_model>
|
1453 |
-
<show_in_default>1</show_in_default>
|
1454 |
-
<show_in_website>1</show_in_website>
|
1455 |
-
<show_in_store>1</show_in_store>
|
1456 |
-
<can_be_empty>1</can_be_empty>
|
1457 |
-
</specificcountry>
|
1458 |
-
</fields>
|
1459 |
-
</payanyway_webmoney>
|
1460 |
-
<payanyway_yandex translate="label" module="payanyway">
|
1461 |
-
<label>Yandex.Money</label>
|
1462 |
-
<frontend_type>text</frontend_type>
|
1463 |
-
<sort_order>218</sort_order>
|
1464 |
-
<show_in_default>1</show_in_default>
|
1465 |
-
<show_in_website>1</show_in_website>
|
1466 |
-
<show_in_store>1</show_in_store>
|
1467 |
-
<fields>
|
1468 |
-
<active translate="label">
|
1469 |
-
<label>Enabled</label>
|
1470 |
-
<frontend_type>select</frontend_type>
|
1471 |
-
<config_path>payment/payanyway_yandex/active</config_path>
|
1472 |
-
<source_model>adminhtml/system_config_source_yesno</source_model>
|
1473 |
-
<sort_order>1</sort_order>
|
1474 |
-
<show_in_default>1</show_in_default>
|
1475 |
-
<show_in_website>1</show_in_website>
|
1476 |
-
<show_in_store>1</show_in_store>
|
1477 |
-
</active>
|
1478 |
-
<sort_order translate="label">
|
1479 |
-
<label>Sort Order</label>
|
1480 |
-
<frontend_type>text</frontend_type>
|
1481 |
-
<config_path>payment/payanyway_yandex/sort_order</config_path>
|
1482 |
-
<sort_order>3</sort_order>
|
1483 |
-
<show_in_default>1</show_in_default>
|
1484 |
-
<show_in_website>1</show_in_website>
|
1485 |
-
<show_in_store>1</show_in_store>
|
1486 |
-
</sort_order>
|
1487 |
-
<title translate="label">
|
1488 |
-
<label>Title</label>
|
1489 |
-
<frontend_type>text</frontend_type>
|
1490 |
-
<config_path>payment/payanyway_yandex/title</config_path>
|
1491 |
-
<sort_order>5</sort_order>
|
1492 |
-
<show_in_default>1</show_in_default>
|
1493 |
-
<show_in_website>1</show_in_website>
|
1494 |
-
<show_in_store>1</show_in_store>
|
1495 |
-
</title>
|
1496 |
-
<unitid translate="label">
|
1497 |
-
<label>unitId</label>
|
1498 |
-
<frontend_type>text</frontend_type>
|
1499 |
-
<config_path>payment/payanyway_yandex/unitid</config_path>
|
1500 |
-
<sort_order>6</sort_order>
|
1501 |
-
<show_in_default>1</show_in_default>
|
1502 |
-
<show_in_website>1</show_in_website>
|
1503 |
-
<show_in_store>1</show_in_store>
|
1504 |
-
</unitid>
|
1505 |
-
<logotype translate="label">
|
1506 |
-
<label>Logotype</label>
|
1507 |
-
<frontend_type>text</frontend_type>
|
1508 |
-
<config_path>payment/payanyway_yandex/logotype</config_path>
|
1509 |
-
<sort_order>7</sort_order>
|
1510 |
-
<show_in_default>1</show_in_default>
|
1511 |
-
<show_in_website>1</show_in_website>
|
1512 |
-
<show_in_store>1</show_in_store>
|
1513 |
-
</logotype>
|
1514 |
-
<allowspecific translate="label">
|
1515 |
-
<label>Payment from Applicable Countries</label>
|
1516 |
-
<frontend_type>allowspecific</frontend_type>
|
1517 |
-
<config_path>payment/payanyway_yandex/allowspecific</config_path>
|
1518 |
-
<sort_order>8</sort_order>
|
1519 |
-
<source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
|
1520 |
-
<show_in_default>1</show_in_default>
|
1521 |
-
<show_in_website>1</show_in_website>
|
1522 |
-
<show_in_store>1</show_in_store>
|
1523 |
-
</allowspecific>
|
1524 |
-
<specificcountry translate="label">
|
1525 |
-
<label>Payment from Specific Countries</label>
|
1526 |
-
<frontend_type>multiselect</frontend_type>
|
1527 |
-
<config_path>payment/payanyway_yandex/specificcountry</config_path>
|
1528 |
-
<sort_order>9</sort_order>
|
1529 |
-
<source_model>adminhtml/system_config_source_country</source_model>
|
1530 |
-
<show_in_default>1</show_in_default>
|
1531 |
-
<show_in_website>1</show_in_website>
|
1532 |
-
<show_in_store>1</show_in_store>
|
1533 |
-
<can_be_empty>1</can_be_empty>
|
1534 |
-
</specificcountry>
|
1535 |
-
</fields>
|
1536 |
-
</payanyway_yandex>
|
1537 |
-
<payanyway_alfaclick translate="label" module="payanyway">
|
1538 |
-
<label>Internet-bank "Alfa-Click"</label>
|
1539 |
-
<frontend_type>text</frontend_type>
|
1540 |
-
<sort_order>219</sort_order>
|
1541 |
-
<show_in_default>1</show_in_default>
|
1542 |
-
<show_in_website>1</show_in_website>
|
1543 |
-
<show_in_store>1</show_in_store>
|
1544 |
-
<fields>
|
1545 |
-
<active translate="label">
|
1546 |
-
<label>Enabled</label>
|
1547 |
-
<frontend_type>select</frontend_type>
|
1548 |
-
<config_path>payment/payanyway_alfaclick/active</config_path>
|
1549 |
-
<source_model>adminhtml/system_config_source_yesno</source_model>
|
1550 |
-
<sort_order>1</sort_order>
|
1551 |
-
<show_in_default>1</show_in_default>
|
1552 |
-
<show_in_website>1</show_in_website>
|
1553 |
-
<show_in_store>1</show_in_store>
|
1554 |
-
</active>
|
1555 |
-
<sort_order translate="label">
|
1556 |
-
<label>Sort Order</label>
|
1557 |
-
<frontend_type>text</frontend_type>
|
1558 |
-
<config_path>payment/payanyway_alfaclick/sort_order</config_path>
|
1559 |
-
<sort_order>3</sort_order>
|
1560 |
-
<show_in_default>1</show_in_default>
|
1561 |
-
<show_in_website>1</show_in_website>
|
1562 |
-
<show_in_store>1</show_in_store>
|
1563 |
-
</sort_order>
|
1564 |
-
<title translate="label">
|
1565 |
-
<label>Title</label>
|
1566 |
-
<frontend_type>text</frontend_type>
|
1567 |
-
<config_path>payment/payanyway_alfaclick/title</config_path>
|
1568 |
-
<sort_order>5</sort_order>
|
1569 |
-
<show_in_default>1</show_in_default>
|
1570 |
-
<show_in_website>1</show_in_website>
|
1571 |
-
<show_in_store>1</show_in_store>
|
1572 |
-
</title>
|
1573 |
-
<unitid translate="label">
|
1574 |
-
<label>unitId</label>
|
1575 |
-
<frontend_type>text</frontend_type>
|
1576 |
-
<config_path>payment/payanyway_alfaclick/unitid</config_path>
|
1577 |
-
<sort_order>6</sort_order>
|
1578 |
-
<show_in_default>1</show_in_default>
|
1579 |
-
<show_in_website>1</show_in_website>
|
1580 |
-
<show_in_store>1</show_in_store>
|
1581 |
-
</unitid>
|
1582 |
-
<logotype translate="label">
|
1583 |
-
<label>Logotype</label>
|
1584 |
-
<frontend_type>text</frontend_type>
|
1585 |
-
<config_path>payment/payanyway_alfaclick/logotype</config_path>
|
1586 |
-
<sort_order>7</sort_order>
|
1587 |
-
<show_in_default>1</show_in_default>
|
1588 |
-
<show_in_website>1</show_in_website>
|
1589 |
-
<show_in_store>1</show_in_store>
|
1590 |
-
</logotype>
|
1591 |
-
<allowspecific translate="label">
|
1592 |
-
<label>Payment from Applicable Countries</label>
|
1593 |
-
<frontend_type>allowspecific</frontend_type>
|
1594 |
-
<config_path>payment/payanyway_alfaclick/allowspecific</config_path>
|
1595 |
-
<sort_order>8</sort_order>
|
1596 |
-
<source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
|
1597 |
-
<show_in_default>1</show_in_default>
|
1598 |
-
<show_in_website>1</show_in_website>
|
1599 |
-
<show_in_store>1</show_in_store>
|
1600 |
-
</allowspecific>
|
1601 |
-
<specificcountry translate="label">
|
1602 |
-
<label>Payment from Specific Countries</label>
|
1603 |
-
<frontend_type>multiselect</frontend_type>
|
1604 |
-
<config_path>payment/payanyway_alfaclick/specificcountry</config_path>
|
1605 |
-
<sort_order>9</sort_order>
|
1606 |
-
<source_model>adminhtml/system_config_source_country</source_model>
|
1607 |
-
<show_in_default>1</show_in_default>
|
1608 |
-
<show_in_website>1</show_in_website>
|
1609 |
-
<show_in_store>1</show_in_store>
|
1610 |
-
<can_be_empty>1</can_be_empty>
|
1611 |
-
</specificcountry>
|
1612 |
-
</fields>
|
1613 |
-
</payanyway_alfaclick>
|
1614 |
-
<payanyway_dengimail translate="label" module="payanyway">
|
1615 |
-
<label>Money@Mail.Ru</label>
|
1616 |
-
<frontend_type>text</frontend_type>
|
1617 |
-
<sort_order>220</sort_order>
|
1618 |
-
<show_in_default>1</show_in_default>
|
1619 |
-
<show_in_website>1</show_in_website>
|
1620 |
-
<show_in_store>1</show_in_store>
|
1621 |
-
<fields>
|
1622 |
-
<active translate="label">
|
1623 |
-
<label>Enabled</label>
|
1624 |
-
<frontend_type>select</frontend_type>
|
1625 |
-
<config_path>payment/payanyway_dengimail/active</config_path>
|
1626 |
-
<source_model>adminhtml/system_config_source_yesno</source_model>
|
1627 |
-
<sort_order>1</sort_order>
|
1628 |
-
<show_in_default>1</show_in_default>
|
1629 |
-
<show_in_website>1</show_in_website>
|
1630 |
-
<show_in_store>1</show_in_store>
|
1631 |
-
</active>
|
1632 |
-
<sort_order translate="label">
|
1633 |
-
<label>Sort Order</label>
|
1634 |
-
<frontend_type>text</frontend_type>
|
1635 |
-
<config_path>payment/payanyway_dengimail/sort_order</config_path>
|
1636 |
-
<sort_order>3</sort_order>
|
1637 |
-
<show_in_default>1</show_in_default>
|
1638 |
-
<show_in_website>1</show_in_website>
|
1639 |
-
<show_in_store>1</show_in_store>
|
1640 |
-
</sort_order>
|
1641 |
-
<title translate="label">
|
1642 |
-
<label>Title</label>
|
1643 |
-
<frontend_type>text</frontend_type>
|
1644 |
-
<config_path>payment/payanyway_dengimail/title</config_path>
|
1645 |
-
<sort_order>5</sort_order>
|
1646 |
-
<show_in_default>1</show_in_default>
|
1647 |
-
<show_in_website>1</show_in_website>
|
1648 |
-
<show_in_store>1</show_in_store>
|
1649 |
-
</title>
|
1650 |
-
<unitid translate="label">
|
1651 |
-
<label>unitId</label>
|
1652 |
-
<frontend_type>text</frontend_type>
|
1653 |
-
<config_path>payment/payanyway_dengimail/unitid</config_path>
|
1654 |
-
<sort_order>6</sort_order>
|
1655 |
-
<show_in_default>1</show_in_default>
|
1656 |
-
<show_in_website>1</show_in_website>
|
1657 |
-
<show_in_store>1</show_in_store>
|
1658 |
-
</unitid>
|
1659 |
-
<logotype translate="label">
|
1660 |
-
<label>Logotype</label>
|
1661 |
-
<frontend_type>text</frontend_type>
|
1662 |
-
<config_path>payment/payanyway_dengimail/logotype</config_path>
|
1663 |
-
<sort_order>7</sort_order>
|
1664 |
-
<show_in_default>1</show_in_default>
|
1665 |
-
<show_in_website>1</show_in_website>
|
1666 |
-
<show_in_store>1</show_in_store>
|
1667 |
-
</logotype>
|
1668 |
-
<allowspecific translate="label">
|
1669 |
-
<label>Payment from Applicable Countries</label>
|
1670 |
-
<frontend_type>allowspecific</frontend_type>
|
1671 |
-
<config_path>payment/payanyway_dengimail/allowspecific</config_path>
|
1672 |
-
<sort_order>8</sort_order>
|
1673 |
-
<source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
|
1674 |
-
<show_in_default>1</show_in_default>
|
1675 |
-
<show_in_website>1</show_in_website>
|
1676 |
-
<show_in_store>1</show_in_store>
|
1677 |
-
</allowspecific>
|
1678 |
-
<specificcountry translate="label">
|
1679 |
-
<label>Payment from Specific Countries</label>
|
1680 |
-
<frontend_type>multiselect</frontend_type>
|
1681 |
-
<config_path>payment/payanyway_dengimail/specificcountry</config_path>
|
1682 |
-
<sort_order>9</sort_order>
|
1683 |
-
<source_model>adminhtml/system_config_source_country</source_model>
|
1684 |
-
<show_in_default>1</show_in_default>
|
1685 |
-
<show_in_website>1</show_in_website>
|
1686 |
-
<show_in_store>1</show_in_store>
|
1687 |
-
<can_be_empty>1</can_be_empty>
|
1688 |
-
</specificcountry>
|
1689 |
-
</fields>
|
1690 |
-
</payanyway_dengimail>
|
1691 |
-
<payanyway_qiwi translate="label" module="payanyway">
|
1692 |
-
<label>QIWI Wallet</label>
|
1693 |
-
<frontend_type>text</frontend_type>
|
1694 |
-
<sort_order>221</sort_order>
|
1695 |
-
<show_in_default>1</show_in_default>
|
1696 |
-
<show_in_website>1</show_in_website>
|
1697 |
-
<show_in_store>1</show_in_store>
|
1698 |
-
<fields>
|
1699 |
-
<active translate="label">
|
1700 |
-
<label>Enabled</label>
|
1701 |
-
<frontend_type>select</frontend_type>
|
1702 |
-
<config_path>payment/payanyway_qiwi/active</config_path>
|
1703 |
-
<source_model>adminhtml/system_config_source_yesno</source_model>
|
1704 |
-
<sort_order>1</sort_order>
|
1705 |
-
<show_in_default>1</show_in_default>
|
1706 |
-
<show_in_website>1</show_in_website>
|
1707 |
-
<show_in_store>1</show_in_store>
|
1708 |
-
</active>
|
1709 |
-
<sort_order translate="label">
|
1710 |
-
<label>Sort Order</label>
|
1711 |
-
<frontend_type>text</frontend_type>
|
1712 |
-
<config_path>payment/payanyway_qiwi/sort_order</config_path>
|
1713 |
-
<sort_order>3</sort_order>
|
1714 |
-
<show_in_default>1</show_in_default>
|
1715 |
-
<show_in_website>1</show_in_website>
|
1716 |
-
<show_in_store>1</show_in_store>
|
1717 |
-
</sort_order>
|
1718 |
-
<title translate="label">
|
1719 |
-
<label>Title</label>
|
1720 |
-
<frontend_type>text</frontend_type>
|
1721 |
-
<config_path>payment/payanyway_qiwi/title</config_path>
|
1722 |
-
<sort_order>5</sort_order>
|
1723 |
-
<show_in_default>1</show_in_default>
|
1724 |
-
<show_in_website>1</show_in_website>
|
1725 |
-
<show_in_store>1</show_in_store>
|
1726 |
-
</title>
|
1727 |
-
<unitid translate="label">
|
1728 |
-
<label>unitId</label>
|
1729 |
-
<frontend_type>text</frontend_type>
|
1730 |
-
<config_path>payment/payanyway_qiwi/unitid</config_path>
|
1731 |
-
<sort_order>6</sort_order>
|
1732 |
-
<show_in_default>1</show_in_default>
|
1733 |
-
<show_in_website>1</show_in_website>
|
1734 |
-
<show_in_store>1</show_in_store>
|
1735 |
-
</unitid>
|
1736 |
-
<logotype translate="label">
|
1737 |
-
<label>Logotype</label>
|
1738 |
-
<frontend_type>text</frontend_type>
|
1739 |
-
<config_path>payment/payanyway_qiwi/logotype</config_path>
|
1740 |
-
<sort_order>7</sort_order>
|
1741 |
-
<show_in_default>1</show_in_default>
|
1742 |
-
<show_in_website>1</show_in_website>
|
1743 |
-
<show_in_store>1</show_in_store>
|
1744 |
-
</logotype>
|
1745 |
-
<allowspecific translate="label">
|
1746 |
-
<label>Payment from Applicable Countries</label>
|
1747 |
-
<frontend_type>allowspecific</frontend_type>
|
1748 |
-
<config_path>payment/payanyway_qiwi/allowspecific</config_path>
|
1749 |
-
<sort_order>8</sort_order>
|
1750 |
-
<source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
|
1751 |
-
<show_in_default>1</show_in_default>
|
1752 |
-
<show_in_website>1</show_in_website>
|
1753 |
-
<show_in_store>1</show_in_store>
|
1754 |
-
</allowspecific>
|
1755 |
-
<specificcountry translate="label">
|
1756 |
-
<label>Payment from Specific Countries</label>
|
1757 |
-
<frontend_type>multiselect</frontend_type>
|
1758 |
-
<config_path>payment/payanyway_qiwi/specificcountry</config_path>
|
1759 |
-
<sort_order>9</sort_order>
|
1760 |
-
<source_model>adminhtml/system_config_source_country</source_model>
|
1761 |
-
<show_in_default>1</show_in_default>
|
1762 |
-
<show_in_website>1</show_in_website>
|
1763 |
-
<show_in_store>1</show_in_store>
|
1764 |
-
<can_be_empty>1</can_be_empty>
|
1765 |
-
</specificcountry>
|
1766 |
-
</fields>
|
1767 |
-
</payanyway_qiwi>
|
1768 |
-
<payanyway_faktura translate="label" module="payanyway">
|
1769 |
-
<label>Faktura</label>
|
1770 |
-
<frontend_type>text</frontend_type>
|
1771 |
-
<sort_order>222</sort_order>
|
1772 |
-
<show_in_default>1</show_in_default>
|
1773 |
-
<show_in_website>1</show_in_website>
|
1774 |
-
<show_in_store>1</show_in_store>
|
1775 |
-
<fields>
|
1776 |
-
<active translate="label">
|
1777 |
-
<label>Enabled</label>
|
1778 |
-
<frontend_type>select</frontend_type>
|
1779 |
-
<config_path>payment/payanyway_faktura/active</config_path>
|
1780 |
-
<source_model>adminhtml/system_config_source_yesno</source_model>
|
1781 |
-
<sort_order>1</sort_order>
|
1782 |
-
<show_in_default>1</show_in_default>
|
1783 |
-
<show_in_website>1</show_in_website>
|
1784 |
-
<show_in_store>1</show_in_store>
|
1785 |
-
</active>
|
1786 |
-
<sort_order translate="label">
|
1787 |
-
<label>Sort Order</label>
|
1788 |
-
<frontend_type>text</frontend_type>
|
1789 |
-
<config_path>payment/payanyway_faktura/sort_order</config_path>
|
1790 |
-
<sort_order>3</sort_order>
|
1791 |
-
<show_in_default>1</show_in_default>
|
1792 |
-
<show_in_website>1</show_in_website>
|
1793 |
-
<show_in_store>1</show_in_store>
|
1794 |
-
</sort_order>
|
1795 |
-
<title translate="label">
|
1796 |
-
<label>Title</label>
|
1797 |
-
<frontend_type>text</frontend_type>
|
1798 |
-
<config_path>payment/payanyway_faktura/title</config_path>
|
1799 |
-
<sort_order>5</sort_order>
|
1800 |
-
<show_in_default>1</show_in_default>
|
1801 |
-
<show_in_website>1</show_in_website>
|
1802 |
-
<show_in_store>1</show_in_store>
|
1803 |
-
</title>
|
1804 |
-
<unitid translate="label">
|
1805 |
-
<label>unitId</label>
|
1806 |
-
<frontend_type>text</frontend_type>
|
1807 |
-
<config_path>payment/payanyway_faktura/unitid</config_path>
|
1808 |
-
<sort_order>6</sort_order>
|
1809 |
-
<show_in_default>1</show_in_default>
|
1810 |
-
<show_in_website>1</show_in_website>
|
1811 |
-
<show_in_store>1</show_in_store>
|
1812 |
-
</unitid>
|
1813 |
-
<logotype translate="label">
|
1814 |
-
<label>Logotype</label>
|
1815 |
-
<frontend_type>text</frontend_type>
|
1816 |
-
<config_path>payment/payanyway_faktura/logotype</config_path>
|
1817 |
-
<sort_order>7</sort_order>
|
1818 |
-
<show_in_default>1</show_in_default>
|
1819 |
-
<show_in_website>1</show_in_website>
|
1820 |
-
<show_in_store>1</show_in_store>
|
1821 |
-
</logotype>
|
1822 |
-
<allowspecific translate="label">
|
1823 |
-
<label>Payment from Applicable Countries</label>
|
1824 |
-
<frontend_type>allowspecific</frontend_type>
|
1825 |
-
<config_path>payment/payanyway_faktura/allowspecific</config_path>
|
1826 |
-
<sort_order>8</sort_order>
|
1827 |
-
<source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
|
1828 |
-
<show_in_default>1</show_in_default>
|
1829 |
-
<show_in_website>1</show_in_website>
|
1830 |
-
<show_in_store>1</show_in_store>
|
1831 |
-
</allowspecific>
|
1832 |
-
<specificcountry translate="label">
|
1833 |
-
<label>Payment from Specific Countries</label>
|
1834 |
-
<frontend_type>multiselect</frontend_type>
|
1835 |
-
<config_path>payment/payanyway_faktura/specificcountry</config_path>
|
1836 |
-
<sort_order>9</sort_order>
|
1837 |
-
<source_model>adminhtml/system_config_source_country</source_model>
|
1838 |
-
<show_in_default>1</show_in_default>
|
1839 |
-
<show_in_website>1</show_in_website>
|
1840 |
-
<show_in_store>1</show_in_store>
|
1841 |
-
<can_be_empty>1</can_be_empty>
|
1842 |
-
</specificcountry>
|
1843 |
-
</fields>
|
1844 |
-
</payanyway_faktura>
|
1845 |
-
<payanyway_psb translate="label" module="payanyway">
|
1846 |
-
<label>Internet-bank "Promsvyazbank"</label>
|
1847 |
-
<frontend_type>text</frontend_type>
|
1848 |
-
<sort_order>223</sort_order>
|
1849 |
-
<show_in_default>1</show_in_default>
|
1850 |
-
<show_in_website>1</show_in_website>
|
1851 |
-
<show_in_store>1</show_in_store>
|
1852 |
-
<fields>
|
1853 |
-
<active translate="label">
|
1854 |
-
<label>Enabled</label>
|
1855 |
-
<frontend_type>select</frontend_type>
|
1856 |
-
<config_path>payment/payanyway_psb/active</config_path>
|
1857 |
-
<source_model>adminhtml/system_config_source_yesno</source_model>
|
1858 |
-
<sort_order>1</sort_order>
|
1859 |
-
<show_in_default>1</show_in_default>
|
1860 |
-
<show_in_website>1</show_in_website>
|
1861 |
-
<show_in_store>1</show_in_store>
|
1862 |
-
</active>
|
1863 |
-
<sort_order translate="label">
|
1864 |
-
<label>Sort Order</label>
|
1865 |
-
<frontend_type>text</frontend_type>
|
1866 |
-
<config_path>payment/payanyway_psb/sort_order</config_path>
|
1867 |
-
<sort_order>3</sort_order>
|
1868 |
-
<show_in_default>1</show_in_default>
|
1869 |
-
<show_in_website>1</show_in_website>
|
1870 |
-
<show_in_store>1</show_in_store>
|
1871 |
-
</sort_order>
|
1872 |
-
<title translate="label">
|
1873 |
-
<label>Title</label>
|
1874 |
-
<frontend_type>text</frontend_type>
|
1875 |
-
<config_path>payment/payanyway_psb/title</config_path>
|
1876 |
-
<sort_order>5</sort_order>
|
1877 |
-
<show_in_default>1</show_in_default>
|
1878 |
-
<show_in_website>1</show_in_website>
|
1879 |
-
<show_in_store>1</show_in_store>
|
1880 |
-
</title>
|
1881 |
-
<unitid translate="label">
|
1882 |
-
<label>unitId</label>
|
1883 |
-
<frontend_type>text</frontend_type>
|
1884 |
-
<config_path>payment/payanyway_psb/unitid</config_path>
|
1885 |
-
<sort_order>6</sort_order>
|
1886 |
-
<show_in_default>1</show_in_default>
|
1887 |
-
<show_in_website>1</show_in_website>
|
1888 |
-
<show_in_store>1</show_in_store>
|
1889 |
-
</unitid>
|
1890 |
-
<logotype translate="label">
|
1891 |
-
<label>Logotype</label>
|
1892 |
-
<frontend_type>text</frontend_type>
|
1893 |
-
<config_path>payment/payanyway_psb/logotype</config_path>
|
1894 |
-
<sort_order>7</sort_order>
|
1895 |
-
<show_in_default>1</show_in_default>
|
1896 |
-
<show_in_website>1</show_in_website>
|
1897 |
-
<show_in_store>1</show_in_store>
|
1898 |
-
</logotype>
|
1899 |
-
<allowspecific translate="label">
|
1900 |
-
<label>Payment from Applicable Countries</label>
|
1901 |
-
<frontend_type>allowspecific</frontend_type>
|
1902 |
-
<config_path>payment/payanyway_psb/allowspecific</config_path>
|
1903 |
-
<sort_order>8</sort_order>
|
1904 |
-
<source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
|
1905 |
-
<show_in_default>1</show_in_default>
|
1906 |
-
<show_in_website>1</show_in_website>
|
1907 |
-
<show_in_store>1</show_in_store>
|
1908 |
-
</allowspecific>
|
1909 |
-
<specificcountry translate="label">
|
1910 |
-
<label>Payment from Specific Countries</label>
|
1911 |
-
<frontend_type>multiselect</frontend_type>
|
1912 |
-
<config_path>payment/payanyway_psb/specificcountry</config_path>
|
1913 |
-
<sort_order>9</sort_order>
|
1914 |
-
<source_model>adminhtml/system_config_source_country</source_model>
|
1915 |
-
<show_in_default>1</show_in_default>
|
1916 |
-
<show_in_website>1</show_in_website>
|
1917 |
-
<show_in_store>1</show_in_store>
|
1918 |
-
<can_be_empty>1</can_be_empty>
|
1919 |
-
</specificcountry>
|
1920 |
-
</fields>
|
1921 |
-
</payanyway_psb>
|
1922 |
-
<payanyway_sberbank translate="label" module="payanyway">
|
1923 |
-
<label>Sberbank</label>
|
1924 |
-
<frontend_type>text</frontend_type>
|
1925 |
-
<sort_order>224</sort_order>
|
1926 |
-
<show_in_default>1</show_in_default>
|
1927 |
-
<show_in_website>1</show_in_website>
|
1928 |
-
<show_in_store>1</show_in_store>
|
1929 |
-
<fields>
|
1930 |
-
<active translate="label">
|
1931 |
-
<label>Enabled</label>
|
1932 |
-
<frontend_type>select</frontend_type>
|
1933 |
-
<config_path>payment/payanyway_sberbank/active</config_path>
|
1934 |
-
<source_model>adminhtml/system_config_source_yesno</source_model>
|
1935 |
-
<sort_order>1</sort_order>
|
1936 |
-
<show_in_default>1</show_in_default>
|
1937 |
-
<show_in_website>1</show_in_website>
|
1938 |
-
<show_in_store>1</show_in_store>
|
1939 |
-
</active>
|
1940 |
-
<sort_order translate="label">
|
1941 |
-
<label>Sort Order</label>
|
1942 |
-
<frontend_type>text</frontend_type>
|
1943 |
-
<config_path>payment/payanyway_sberbank/sort_order</config_path>
|
1944 |
-
<sort_order>3</sort_order>
|
1945 |
-
<show_in_default>1</show_in_default>
|
1946 |
-
<show_in_website>1</show_in_website>
|
1947 |
-
<show_in_store>1</show_in_store>
|
1948 |
-
</sort_order>
|
1949 |
-
<title translate="label">
|
1950 |
-
<label>Title</label>
|
1951 |
-
<frontend_type>text</frontend_type>
|
1952 |
-
<config_path>payment/payanyway_sberbank/title</config_path>
|
1953 |
-
<sort_order>5</sort_order>
|
1954 |
-
<show_in_default>1</show_in_default>
|
1955 |
-
<show_in_website>1</show_in_website>
|
1956 |
-
<show_in_store>1</show_in_store>
|
1957 |
-
</title>
|
1958 |
-
<unitid translate="label">
|
1959 |
-
<label>unitId</label>
|
1960 |
-
<frontend_type>text</frontend_type>
|
1961 |
-
<config_path>payment/payanyway_sberbank/unitid</config_path>
|
1962 |
-
<sort_order>6</sort_order>
|
1963 |
-
<show_in_default>1</show_in_default>
|
1964 |
-
<show_in_website>1</show_in_website>
|
1965 |
-
<show_in_store>1</show_in_store>
|
1966 |
-
</unitid>
|
1967 |
-
<logotype translate="label">
|
1968 |
-
<label>Logotype</label>
|
1969 |
-
<frontend_type>text</frontend_type>
|
1970 |
-
<config_path>payment/payanyway_sberbank/logotype</config_path>
|
1971 |
-
<sort_order>7</sort_order>
|
1972 |
-
<show_in_default>1</show_in_default>
|
1973 |
-
<show_in_website>1</show_in_website>
|
1974 |
-
<show_in_store>1</show_in_store>
|
1975 |
-
</logotype>
|
1976 |
-
<allowspecific translate="label">
|
1977 |
-
<label>Payment from Applicable Countries</label>
|
1978 |
-
<frontend_type>allowspecific</frontend_type>
|
1979 |
-
<config_path>payment/payanyway_sberbank/allowspecific</config_path>
|
1980 |
-
<sort_order>8</sort_order>
|
1981 |
-
<source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
|
1982 |
-
<show_in_default>1</show_in_default>
|
1983 |
-
<show_in_website>1</show_in_website>
|
1984 |
-
<show_in_store>1</show_in_store>
|
1985 |
-
</allowspecific>
|
1986 |
-
<specificcountry translate="label">
|
1987 |
-
<label>Payment from Specific Countries</label>
|
1988 |
-
<frontend_type>multiselect</frontend_type>
|
1989 |
-
<config_path>payment/payanyway_sberbank/specificcountry</config_path>
|
1990 |
-
<sort_order>9</sort_order>
|
1991 |
-
<source_model>adminhtml/system_config_source_country</source_model>
|
1992 |
-
<show_in_default>1</show_in_default>
|
1993 |
-
<show_in_website>1</show_in_website>
|
1994 |
-
<show_in_store>1</show_in_store>
|
1995 |
-
<can_be_empty>1</can_be_empty>
|
1996 |
-
</specificcountry>
|
1997 |
-
</fields>
|
1998 |
-
</payanyway_sberbank>
|
1999 |
-
</groups>
|
2000 |
-
</payanyway>
|
2001 |
-
</sections>
|
2002 |
-
</config>
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
|
3 |
+
<config>
|
4 |
+
<sections>
|
5 |
+
<payanyway translate="label" module="payanyway">
|
6 |
+
<label>Payanyway</label>
|
7 |
+
<tab>sales</tab>
|
8 |
+
<frontend_type>text</frontend_type>
|
9 |
+
<sort_order>990</sort_order>
|
10 |
+
<show_in_default>1</show_in_default>
|
11 |
+
<show_in_website>1</show_in_website>
|
12 |
+
<show_in_store>1</show_in_store>
|
13 |
+
<groups>
|
14 |
+
<settings translate="label">
|
15 |
+
<label>Account Settings</label>
|
16 |
+
<frontend_type>text</frontend_type>
|
17 |
+
<sort_order>1</sort_order>
|
18 |
+
<show_in_default>1</show_in_default>
|
19 |
+
<show_in_website>1</show_in_website>
|
20 |
+
<show_in_store>1</show_in_store>
|
21 |
+
<fields>
|
22 |
+
<payment_action translate="label,comment">
|
23 |
+
<label>Payment URL</label>
|
24 |
+
<frontend_type>select</frontend_type>
|
25 |
+
<source_model>payanyway/paymentaction</source_model>
|
26 |
+
<sort_order>1</sort_order>
|
27 |
+
<show_in_default>1</show_in_default>
|
28 |
+
<show_in_website>1</show_in_website>
|
29 |
+
<show_in_store>1</show_in_store>
|
30 |
+
</payment_action>
|
31 |
+
<mnt_id translate="label">
|
32 |
+
<label>Account number</label>
|
33 |
+
<frontend_type>text</frontend_type>
|
34 |
+
<sort_order>2</sort_order>
|
35 |
+
<show_in_default>1</show_in_default>
|
36 |
+
<show_in_website>1</show_in_website>
|
37 |
+
<show_in_store>1</show_in_store>
|
38 |
+
</mnt_id>
|
39 |
+
<mnt_dataintegrity_code translate="label,comment">
|
40 |
+
<label>Code of data integrity verification</label>
|
41 |
+
<frontend_type>text</frontend_type>
|
42 |
+
<sort_order>3</sort_order>
|
43 |
+
<show_in_default>1</show_in_default>
|
44 |
+
<show_in_website>1</show_in_website>
|
45 |
+
<show_in_store>1</show_in_store>
|
46 |
+
</mnt_dataintegrity_code>
|
47 |
+
<mnt_test_mode translate="label,comment">
|
48 |
+
<label>Test mode</label>
|
49 |
+
<frontend_type>select</frontend_type>
|
50 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
51 |
+
<sort_order>4</sort_order>
|
52 |
+
<show_in_default>1</show_in_default>
|
53 |
+
<show_in_website>1</show_in_website>
|
54 |
+
<show_in_store>1</show_in_store>
|
55 |
+
</mnt_test_mode>
|
56 |
+
<payanyway_login translate="label,comment">
|
57 |
+
<label>Login in PayAnyWay</label>
|
58 |
+
<frontend_type>text</frontend_type>
|
59 |
+
<sort_order>5</sort_order>
|
60 |
+
<show_in_default>1</show_in_default>
|
61 |
+
<show_in_website>1</show_in_website>
|
62 |
+
<show_in_store>1</show_in_store>
|
63 |
+
</payanyway_login>
|
64 |
+
<payanyway_password translate="label,comment">
|
65 |
+
<label>Password in PayAnyWay</label>
|
66 |
+
<frontend_type>text</frontend_type>
|
67 |
+
<sort_order>6</sort_order>
|
68 |
+
<show_in_default>1</show_in_default>
|
69 |
+
<show_in_website>1</show_in_website>
|
70 |
+
<show_in_store>1</show_in_store>
|
71 |
+
</payanyway_password>
|
72 |
+
</fields>
|
73 |
+
</settings>
|
74 |
+
<payanyway translate="label" module="payanyway">
|
75 |
+
<label>PayAnyWay</label>
|
76 |
+
<frontend_type>text</frontend_type>
|
77 |
+
<sort_order>200</sort_order>
|
78 |
+
<show_in_default>1</show_in_default>
|
79 |
+
<show_in_website>1</show_in_website>
|
80 |
+
<show_in_store>1</show_in_store>
|
81 |
+
<fields>
|
82 |
+
<active translate="label">
|
83 |
+
<label>Enabled</label>
|
84 |
+
<frontend_type>select</frontend_type>
|
85 |
+
<config_path>payment/payanyway/active</config_path>
|
86 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
87 |
+
<sort_order>1</sort_order>
|
88 |
+
<show_in_default>1</show_in_default>
|
89 |
+
<show_in_website>1</show_in_website>
|
90 |
+
<show_in_store>1</show_in_store>
|
91 |
+
</active>
|
92 |
+
<sort_order translate="label">
|
93 |
+
<label>Sort Order</label>
|
94 |
+
<frontend_type>text</frontend_type>
|
95 |
+
<config_path>payment/payanyway/sort_order</config_path>
|
96 |
+
<sort_order>3</sort_order>
|
97 |
+
<show_in_default>1</show_in_default>
|
98 |
+
<show_in_website>1</show_in_website>
|
99 |
+
<show_in_store>1</show_in_store>
|
100 |
+
</sort_order>
|
101 |
+
<title translate="label">
|
102 |
+
<label>Title</label>
|
103 |
+
<frontend_type>text</frontend_type>
|
104 |
+
<config_path>payment/payanyway/title</config_path>
|
105 |
+
<sort_order>5</sort_order>
|
106 |
+
<show_in_default>1</show_in_default>
|
107 |
+
<show_in_website>1</show_in_website>
|
108 |
+
<show_in_store>1</show_in_store>
|
109 |
+
</title>
|
110 |
+
<unitid translate="label">
|
111 |
+
<label>unitId</label>
|
112 |
+
<frontend_type>text</frontend_type>
|
113 |
+
<config_path>payment/payanyway/unitid</config_path>
|
114 |
+
<sort_order>6</sort_order>
|
115 |
+
<show_in_default>1</show_in_default>
|
116 |
+
<show_in_website>1</show_in_website>
|
117 |
+
<show_in_store>1</show_in_store>
|
118 |
+
</unitid>
|
119 |
+
<logotype translate="label">
|
120 |
+
<label>Logotype</label>
|
121 |
+
<frontend_type>text</frontend_type>
|
122 |
+
<config_path>payment/payanyway/logotype</config_path>
|
123 |
+
<sort_order>7</sort_order>
|
124 |
+
<show_in_default>1</show_in_default>
|
125 |
+
<show_in_website>1</show_in_website>
|
126 |
+
<show_in_store>1</show_in_store>
|
127 |
+
</logotype>
|
128 |
+
<allowspecific translate="label">
|
129 |
+
<label>Payment from Applicable Countries</label>
|
130 |
+
<frontend_type>allowspecific</frontend_type>
|
131 |
+
<config_path>payment/payanyway/allowspecific</config_path>
|
132 |
+
<sort_order>8</sort_order>
|
133 |
+
<source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
|
134 |
+
<show_in_default>1</show_in_default>
|
135 |
+
<show_in_website>1</show_in_website>
|
136 |
+
<show_in_store>1</show_in_store>
|
137 |
+
</allowspecific>
|
138 |
+
<specificcountry translate="label">
|
139 |
+
<label>Payment from Specific Countries</label>
|
140 |
+
<frontend_type>multiselect</frontend_type>
|
141 |
+
<config_path>payment/payanyway/specificcountry</config_path>
|
142 |
+
<sort_order>9</sort_order>
|
143 |
+
<source_model>adminhtml/system_config_source_country</source_model>
|
144 |
+
<show_in_default>1</show_in_default>
|
145 |
+
<show_in_website>1</show_in_website>
|
146 |
+
<show_in_store>1</show_in_store>
|
147 |
+
<can_be_empty>1</can_be_empty>
|
148 |
+
</specificcountry>
|
149 |
+
</fields>
|
150 |
+
</payanyway>
|
151 |
+
<payanyway_moneta translate="label" module="payanyway">
|
152 |
+
<label>Moneta.ru</label>
|
153 |
+
<frontend_type>text</frontend_type>
|
154 |
+
<sort_order>201</sort_order>
|
155 |
+
<show_in_default>1</show_in_default>
|
156 |
+
<show_in_website>1</show_in_website>
|
157 |
+
<show_in_store>1</show_in_store>
|
158 |
+
<fields>
|
159 |
+
<active translate="label">
|
160 |
+
<label>Enabled</label>
|
161 |
+
<frontend_type>select</frontend_type>
|
162 |
+
<config_path>payment/payanyway_moneta/active</config_path>
|
163 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
164 |
+
<sort_order>1</sort_order>
|
165 |
+
<show_in_default>1</show_in_default>
|
166 |
+
<show_in_website>1</show_in_website>
|
167 |
+
<show_in_store>1</show_in_store>
|
168 |
+
</active>
|
169 |
+
<sort_order translate="label">
|
170 |
+
<label>Sort Order</label>
|
171 |
+
<frontend_type>text</frontend_type>
|
172 |
+
<config_path>payment/payanyway_moneta/sort_order</config_path>
|
173 |
+
<sort_order>3</sort_order>
|
174 |
+
<show_in_default>1</show_in_default>
|
175 |
+
<show_in_website>1</show_in_website>
|
176 |
+
<show_in_store>1</show_in_store>
|
177 |
+
</sort_order>
|
178 |
+
<title translate="label">
|
179 |
+
<label>Title</label>
|
180 |
+
<frontend_type>text</frontend_type>
|
181 |
+
<config_path>payment/payanyway_moneta/title</config_path>
|
182 |
+
<sort_order>5</sort_order>
|
183 |
+
<show_in_default>1</show_in_default>
|
184 |
+
<show_in_website>1</show_in_website>
|
185 |
+
<show_in_store>1</show_in_store>
|
186 |
+
</title>
|
187 |
+
<unitid translate="label">
|
188 |
+
<label>unitId</label>
|
189 |
+
<frontend_type>text</frontend_type>
|
190 |
+
<config_path>payment/payanyway_moneta/unitid</config_path>
|
191 |
+
<sort_order>6</sort_order>
|
192 |
+
<show_in_default>1</show_in_default>
|
193 |
+
<show_in_website>1</show_in_website>
|
194 |
+
<show_in_store>1</show_in_store>
|
195 |
+
</unitid>
|
196 |
+
<logotype translate="label">
|
197 |
+
<label>Logotype</label>
|
198 |
+
<frontend_type>text</frontend_type>
|
199 |
+
<config_path>payment/payanyway_moneta/logotype</config_path>
|
200 |
+
<sort_order>7</sort_order>
|
201 |
+
<show_in_default>1</show_in_default>
|
202 |
+
<show_in_website>1</show_in_website>
|
203 |
+
<show_in_store>1</show_in_store>
|
204 |
+
</logotype>
|
205 |
+
<allowspecific translate="label">
|
206 |
+
<label>Payment from Applicable Countries</label>
|
207 |
+
<frontend_type>allowspecific</frontend_type>
|
208 |
+
<config_path>payment/payanyway_moneta/allowspecific</config_path>
|
209 |
+
<sort_order>8</sort_order>
|
210 |
+
<source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
|
211 |
+
<show_in_default>1</show_in_default>
|
212 |
+
<show_in_website>1</show_in_website>
|
213 |
+
<show_in_store>1</show_in_store>
|
214 |
+
</allowspecific>
|
215 |
+
<specificcountry translate="label">
|
216 |
+
<label>Payment from Specific Countries</label>
|
217 |
+
<frontend_type>multiselect</frontend_type>
|
218 |
+
<config_path>payment/payanyway_moneta/specificcountry</config_path>
|
219 |
+
<sort_order>9</sort_order>
|
220 |
+
<source_model>adminhtml/system_config_source_country</source_model>
|
221 |
+
<show_in_default>1</show_in_default>
|
222 |
+
<show_in_website>1</show_in_website>
|
223 |
+
<show_in_store>1</show_in_store>
|
224 |
+
<can_be_empty>1</can_be_empty>
|
225 |
+
</specificcountry>
|
226 |
+
</fields>
|
227 |
+
</payanyway_moneta>
|
228 |
+
<payanyway_banktransfer translate="label" module="payanyway">
|
229 |
+
<label>Bank transfer</label>
|
230 |
+
<frontend_type>text</frontend_type>
|
231 |
+
<sort_order>202</sort_order>
|
232 |
+
<show_in_default>1</show_in_default>
|
233 |
+
<show_in_website>1</show_in_website>
|
234 |
+
<show_in_store>1</show_in_store>
|
235 |
+
<fields>
|
236 |
+
<active translate="label">
|
237 |
+
<label>Enabled</label>
|
238 |
+
<frontend_type>select</frontend_type>
|
239 |
+
<config_path>payment/payanyway_banktransfer/active</config_path>
|
240 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
241 |
+
<sort_order>1</sort_order>
|
242 |
+
<show_in_default>1</show_in_default>
|
243 |
+
<show_in_website>1</show_in_website>
|
244 |
+
<show_in_store>1</show_in_store>
|
245 |
+
</active>
|
246 |
+
<sort_order translate="label">
|
247 |
+
<label>Sort Order</label>
|
248 |
+
<frontend_type>text</frontend_type>
|
249 |
+
<config_path>payment/payanyway_banktransfer/sort_order</config_path>
|
250 |
+
<sort_order>3</sort_order>
|
251 |
+
<show_in_default>1</show_in_default>
|
252 |
+
<show_in_website>1</show_in_website>
|
253 |
+
<show_in_store>1</show_in_store>
|
254 |
+
</sort_order>
|
255 |
+
<title translate="label">
|
256 |
+
<label>Title</label>
|
257 |
+
<frontend_type>text</frontend_type>
|
258 |
+
<config_path>payment/payanyway_banktransfer/title</config_path>
|
259 |
+
<sort_order>5</sort_order>
|
260 |
+
<show_in_default>1</show_in_default>
|
261 |
+
<show_in_website>1</show_in_website>
|
262 |
+
<show_in_store>1</show_in_store>
|
263 |
+
</title>
|
264 |
+
<unitid translate="label">
|
265 |
+
<label>unitId</label>
|
266 |
+
<frontend_type>text</frontend_type>
|
267 |
+
<config_path>payment/payanyway_banktransfer/unitid</config_path>
|
268 |
+
<sort_order>6</sort_order>
|
269 |
+
<show_in_default>1</show_in_default>
|
270 |
+
<show_in_website>1</show_in_website>
|
271 |
+
<show_in_store>1</show_in_store>
|
272 |
+
</unitid>
|
273 |
+
<logotype translate="label">
|
274 |
+
<label>Logotype</label>
|
275 |
+
<frontend_type>text</frontend_type>
|
276 |
+
<config_path>payment/payanyway_banktransfer/logotype</config_path>
|
277 |
+
<sort_order>7</sort_order>
|
278 |
+
<show_in_default>1</show_in_default>
|
279 |
+
<show_in_website>1</show_in_website>
|
280 |
+
<show_in_store>1</show_in_store>
|
281 |
+
</logotype>
|
282 |
+
<allowspecific translate="label">
|
283 |
+
<label>Payment from Applicable Countries</label>
|
284 |
+
<frontend_type>allowspecific</frontend_type>
|
285 |
+
<config_path>payment/payanyway_banktransfer/allowspecific</config_path>
|
286 |
+
<sort_order>8</sort_order>
|
287 |
+
<source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
|
288 |
+
<show_in_default>1</show_in_default>
|
289 |
+
<show_in_website>1</show_in_website>
|
290 |
+
<show_in_store>1</show_in_store>
|
291 |
+
</allowspecific>
|
292 |
+
<specificcountry translate="label">
|
293 |
+
<label>Payment from Specific Countries</label>
|
294 |
+
<frontend_type>multiselect</frontend_type>
|
295 |
+
<config_path>payment/payanyway_banktransfer/specificcountry</config_path>
|
296 |
+
<sort_order>9</sort_order>
|
297 |
+
<source_model>adminhtml/system_config_source_country</source_model>
|
298 |
+
<show_in_default>1</show_in_default>
|
299 |
+
<show_in_website>1</show_in_website>
|
300 |
+
<show_in_store>1</show_in_store>
|
301 |
+
<can_be_empty>1</can_be_empty>
|
302 |
+
</specificcountry>
|
303 |
+
</fields>
|
304 |
+
</payanyway_banktransfer>
|
305 |
+
<payanyway_ciberpay translate="label" module="payanyway">
|
306 |
+
<label>CiberPay</label>
|
307 |
+
<frontend_type>text</frontend_type>
|
308 |
+
<sort_order>203</sort_order>
|
309 |
+
<show_in_default>1</show_in_default>
|
310 |
+
<show_in_website>1</show_in_website>
|
311 |
+
<show_in_store>1</show_in_store>
|
312 |
+
<fields>
|
313 |
+
<active translate="label">
|
314 |
+
<label>Enabled</label>
|
315 |
+
<frontend_type>select</frontend_type>
|
316 |
+
<config_path>payment/payanyway_ciberpay/active</config_path>
|
317 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
318 |
+
<sort_order>1</sort_order>
|
319 |
+
<show_in_default>1</show_in_default>
|
320 |
+
<show_in_website>1</show_in_website>
|
321 |
+
<show_in_store>1</show_in_store>
|
322 |
+
</active>
|
323 |
+
<sort_order translate="label">
|
324 |
+
<label>Sort Order</label>
|
325 |
+
<frontend_type>text</frontend_type>
|
326 |
+
<config_path>payment/payanyway_ciberpay/sort_order</config_path>
|
327 |
+
<sort_order>3</sort_order>
|
328 |
+
<show_in_default>1</show_in_default>
|
329 |
+
<show_in_website>1</show_in_website>
|
330 |
+
<show_in_store>1</show_in_store>
|
331 |
+
</sort_order>
|
332 |
+
<title translate="label">
|
333 |
+
<label>Title</label>
|
334 |
+
<frontend_type>text</frontend_type>
|
335 |
+
<config_path>payment/payanyway_ciberpay/title</config_path>
|
336 |
+
<sort_order>5</sort_order>
|
337 |
+
<show_in_default>1</show_in_default>
|
338 |
+
<show_in_website>1</show_in_website>
|
339 |
+
<show_in_store>1</show_in_store>
|
340 |
+
</title>
|
341 |
+
<unitid translate="label">
|
342 |
+
<label>unitId</label>
|
343 |
+
<frontend_type>text</frontend_type>
|
344 |
+
<config_path>payment/payanyway_ciberpay/unitid</config_path>
|
345 |
+
<sort_order>6</sort_order>
|
346 |
+
<show_in_default>1</show_in_default>
|
347 |
+
<show_in_website>1</show_in_website>
|
348 |
+
<show_in_store>1</show_in_store>
|
349 |
+
</unitid>
|
350 |
+
<logotype translate="label">
|
351 |
+
<label>Logotype</label>
|
352 |
+
<frontend_type>text</frontend_type>
|
353 |
+
<config_path>payment/payanyway_ciberpay/logotype</config_path>
|
354 |
+
<sort_order>7</sort_order>
|
355 |
+
<show_in_default>1</show_in_default>
|
356 |
+
<show_in_website>1</show_in_website>
|
357 |
+
<show_in_store>1</show_in_store>
|
358 |
+
</logotype>
|
359 |
+
<allowspecific translate="label">
|
360 |
+
<label>Payment from Applicable Countries</label>
|
361 |
+
<frontend_type>allowspecific</frontend_type>
|
362 |
+
<config_path>payment/payanyway_ciberpay/allowspecific</config_path>
|
363 |
+
<sort_order>8</sort_order>
|
364 |
+
<source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
|
365 |
+
<show_in_default>1</show_in_default>
|
366 |
+
<show_in_website>1</show_in_website>
|
367 |
+
<show_in_store>1</show_in_store>
|
368 |
+
</allowspecific>
|
369 |
+
<specificcountry translate="label">
|
370 |
+
<label>Payment from Specific Countries</label>
|
371 |
+
<frontend_type>multiselect</frontend_type>
|
372 |
+
<config_path>payment/payanyway_ciberpay/specificcountry</config_path>
|
373 |
+
<sort_order>9</sort_order>
|
374 |
+
<source_model>adminhtml/system_config_source_country</source_model>
|
375 |
+
<show_in_default>1</show_in_default>
|
376 |
+
<show_in_website>1</show_in_website>
|
377 |
+
<show_in_store>1</show_in_store>
|
378 |
+
<can_be_empty>1</can_be_empty>
|
379 |
+
</specificcountry>
|
380 |
+
</fields>
|
381 |
+
</payanyway_ciberpay>
|
382 |
+
<payanyway_comepay translate="label" module="payanyway">
|
383 |
+
<label>ComePay</label>
|
384 |
+
<frontend_type>text</frontend_type>
|
385 |
+
<sort_order>204</sort_order>
|
386 |
+
<show_in_default>1</show_in_default>
|
387 |
+
<show_in_website>1</show_in_website>
|
388 |
+
<show_in_store>1</show_in_store>
|
389 |
+
<fields>
|
390 |
+
<active translate="label">
|
391 |
+
<label>Enabled</label>
|
392 |
+
<frontend_type>select</frontend_type>
|
393 |
+
<config_path>payment/payanyway_comepay/active</config_path>
|
394 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
395 |
+
<sort_order>1</sort_order>
|
396 |
+
<show_in_default>1</show_in_default>
|
397 |
+
<show_in_website>1</show_in_website>
|
398 |
+
<show_in_store>1</show_in_store>
|
399 |
+
</active>
|
400 |
+
<sort_order translate="label">
|
401 |
+
<label>Sort Order</label>
|
402 |
+
<frontend_type>text</frontend_type>
|
403 |
+
<config_path>payment/payanyway_comepay/sort_order</config_path>
|
404 |
+
<sort_order>3</sort_order>
|
405 |
+
<show_in_default>1</show_in_default>
|
406 |
+
<show_in_website>1</show_in_website>
|
407 |
+
<show_in_store>1</show_in_store>
|
408 |
+
</sort_order>
|
409 |
+
<title translate="label">
|
410 |
+
<label>Title</label>
|
411 |
+
<frontend_type>text</frontend_type>
|
412 |
+
<config_path>payment/payanyway_comepay/title</config_path>
|
413 |
+
<sort_order>5</sort_order>
|
414 |
+
<show_in_default>1</show_in_default>
|
415 |
+
<show_in_website>1</show_in_website>
|
416 |
+
<show_in_store>1</show_in_store>
|
417 |
+
</title>
|
418 |
+
<unitid translate="label">
|
419 |
+
<label>unitId</label>
|
420 |
+
<frontend_type>text</frontend_type>
|
421 |
+
<config_path>payment/payanyway_comepay/unitid</config_path>
|
422 |
+
<sort_order>6</sort_order>
|
423 |
+
<show_in_default>1</show_in_default>
|
424 |
+
<show_in_website>1</show_in_website>
|
425 |
+
<show_in_store>1</show_in_store>
|
426 |
+
</unitid>
|
427 |
+
<logotype translate="label">
|
428 |
+
<label>Logotype</label>
|
429 |
+
<frontend_type>text</frontend_type>
|
430 |
+
<config_path>payment/payanyway_comepay/logotype</config_path>
|
431 |
+
<sort_order>7</sort_order>
|
432 |
+
<show_in_default>1</show_in_default>
|
433 |
+
<show_in_website>1</show_in_website>
|
434 |
+
<show_in_store>1</show_in_store>
|
435 |
+
</logotype>
|
436 |
+
<allowspecific translate="label">
|
437 |
+
<label>Payment from Applicable Countries</label>
|
438 |
+
<frontend_type>allowspecific</frontend_type>
|
439 |
+
<config_path>payment/payanyway_comepay/allowspecific</config_path>
|
440 |
+
<sort_order>8</sort_order>
|
441 |
+
<source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
|
442 |
+
<show_in_default>1</show_in_default>
|
443 |
+
<show_in_website>1</show_in_website>
|
444 |
+
<show_in_store>1</show_in_store>
|
445 |
+
</allowspecific>
|
446 |
+
<specificcountry translate="label">
|
447 |
+
<label>Payment from Specific Countries</label>
|
448 |
+
<frontend_type>multiselect</frontend_type>
|
449 |
+
<config_path>payment/payanyway_comepay/specificcountry</config_path>
|
450 |
+
<sort_order>9</sort_order>
|
451 |
+
<source_model>adminhtml/system_config_source_country</source_model>
|
452 |
+
<show_in_default>1</show_in_default>
|
453 |
+
<show_in_website>1</show_in_website>
|
454 |
+
<show_in_store>1</show_in_store>
|
455 |
+
<can_be_empty>1</can_be_empty>
|
456 |
+
</specificcountry>
|
457 |
+
</fields>
|
458 |
+
</payanyway_comepay>
|
459 |
+
<payanyway_contact translate="label" module="payanyway">
|
460 |
+
<label>Contact</label>
|
461 |
+
<frontend_type>text</frontend_type>
|
462 |
+
<sort_order>205</sort_order>
|
463 |
+
<show_in_default>1</show_in_default>
|
464 |
+
<show_in_website>1</show_in_website>
|
465 |
+
<show_in_store>1</show_in_store>
|
466 |
+
<fields>
|
467 |
+
<active translate="label">
|
468 |
+
<label>Enabled</label>
|
469 |
+
<frontend_type>select</frontend_type>
|
470 |
+
<config_path>payment/payanyway_contact/active</config_path>
|
471 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
472 |
+
<sort_order>1</sort_order>
|
473 |
+
<show_in_default>1</show_in_default>
|
474 |
+
<show_in_website>1</show_in_website>
|
475 |
+
<show_in_store>1</show_in_store>
|
476 |
+
</active>
|
477 |
+
<sort_order translate="label">
|
478 |
+
<label>Sort Order</label>
|
479 |
+
<frontend_type>text</frontend_type>
|
480 |
+
<config_path>payment/payanyway_contact/sort_order</config_path>
|
481 |
+
<sort_order>3</sort_order>
|
482 |
+
<show_in_default>1</show_in_default>
|
483 |
+
<show_in_website>1</show_in_website>
|
484 |
+
<show_in_store>1</show_in_store>
|
485 |
+
</sort_order>
|
486 |
+
<title translate="label">
|
487 |
+
<label>Title</label>
|
488 |
+
<frontend_type>text</frontend_type>
|
489 |
+
<config_path>payment/payanyway_contact/title</config_path>
|
490 |
+
<sort_order>5</sort_order>
|
491 |
+
<show_in_default>1</show_in_default>
|
492 |
+
<show_in_website>1</show_in_website>
|
493 |
+
<show_in_store>1</show_in_store>
|
494 |
+
</title>
|
495 |
+
<unitid translate="label">
|
496 |
+
<label>unitId</label>
|
497 |
+
<frontend_type>text</frontend_type>
|
498 |
+
<config_path>payment/payanyway_contact/unitid</config_path>
|
499 |
+
<sort_order>6</sort_order>
|
500 |
+
<show_in_default>1</show_in_default>
|
501 |
+
<show_in_website>1</show_in_website>
|
502 |
+
<show_in_store>1</show_in_store>
|
503 |
+
</unitid>
|
504 |
+
<logotype translate="label">
|
505 |
+
<label>Logotype</label>
|
506 |
+
<frontend_type>text</frontend_type>
|
507 |
+
<config_path>payment/payanyway_contact/logotype</config_path>
|
508 |
+
<sort_order>7</sort_order>
|
509 |
+
<show_in_default>1</show_in_default>
|
510 |
+
<show_in_website>1</show_in_website>
|
511 |
+
<show_in_store>1</show_in_store>
|
512 |
+
</logotype>
|
513 |
+
<allowspecific translate="label">
|
514 |
+
<label>Payment from Applicable Countries</label>
|
515 |
+
<frontend_type>allowspecific</frontend_type>
|
516 |
+
<config_path>payment/payanyway_contact/allowspecific</config_path>
|
517 |
+
<sort_order>8</sort_order>
|
518 |
+
<source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
|
519 |
+
<show_in_default>1</show_in_default>
|
520 |
+
<show_in_website>1</show_in_website>
|
521 |
+
<show_in_store>1</show_in_store>
|
522 |
+
</allowspecific>
|
523 |
+
<specificcountry translate="label">
|
524 |
+
<label>Payment from Specific Countries</label>
|
525 |
+
<frontend_type>multiselect</frontend_type>
|
526 |
+
<config_path>payment/payanyway_contact/specificcountry</config_path>
|
527 |
+
<sort_order>9</sort_order>
|
528 |
+
<source_model>adminhtml/system_config_source_country</source_model>
|
529 |
+
<show_in_default>1</show_in_default>
|
530 |
+
<show_in_website>1</show_in_website>
|
531 |
+
<show_in_store>1</show_in_store>
|
532 |
+
<can_be_empty>1</can_be_empty>
|
533 |
+
</specificcountry>
|
534 |
+
</fields>
|
535 |
+
</payanyway_contact>
|
536 |
+
<payanyway_euroset translate="label" module="payanyway">
|
537 |
+
<label>Euroset</label>
|
538 |
+
<frontend_type>text</frontend_type>
|
539 |
+
<sort_order>206</sort_order>
|
540 |
+
<show_in_default>1</show_in_default>
|
541 |
+
<show_in_website>1</show_in_website>
|
542 |
+
<show_in_store>1</show_in_store>
|
543 |
+
<fields>
|
544 |
+
<active translate="label">
|
545 |
+
<label>Enabled</label>
|
546 |
+
<frontend_type>select</frontend_type>
|
547 |
+
<config_path>payment/payanyway_euroset/active</config_path>
|
548 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
549 |
+
<sort_order>1</sort_order>
|
550 |
+
<show_in_default>1</show_in_default>
|
551 |
+
<show_in_website>1</show_in_website>
|
552 |
+
<show_in_store>1</show_in_store>
|
553 |
+
</active>
|
554 |
+
<sort_order translate="label">
|
555 |
+
<label>Sort Order</label>
|
556 |
+
<frontend_type>text</frontend_type>
|
557 |
+
<config_path>payment/payanyway_euroset/sort_order</config_path>
|
558 |
+
<sort_order>3</sort_order>
|
559 |
+
<show_in_default>1</show_in_default>
|
560 |
+
<show_in_website>1</show_in_website>
|
561 |
+
<show_in_store>1</show_in_store>
|
562 |
+
</sort_order>
|
563 |
+
<title translate="label">
|
564 |
+
<label>Title</label>
|
565 |
+
<frontend_type>text</frontend_type>
|
566 |
+
<config_path>payment/payanyway_euroset/title</config_path>
|
567 |
+
<sort_order>5</sort_order>
|
568 |
+
<show_in_default>1</show_in_default>
|
569 |
+
<show_in_website>1</show_in_website>
|
570 |
+
<show_in_store>1</show_in_store>
|
571 |
+
</title>
|
572 |
+
<unitid translate="label">
|
573 |
+
<label>unitId</label>
|
574 |
+
<frontend_type>text</frontend_type>
|
575 |
+
<config_path>payment/payanyway_euroset/unitid</config_path>
|
576 |
+
<sort_order>6</sort_order>
|
577 |
+
<show_in_default>1</show_in_default>
|
578 |
+
<show_in_website>1</show_in_website>
|
579 |
+
<show_in_store>1</show_in_store>
|
580 |
+
</unitid>
|
581 |
+
<logotype translate="label">
|
582 |
+
<label>Logotype</label>
|
583 |
+
<frontend_type>text</frontend_type>
|
584 |
+
<config_path>payment/payanyway_euroset/logotype</config_path>
|
585 |
+
<sort_order>7</sort_order>
|
586 |
+
<show_in_default>1</show_in_default>
|
587 |
+
<show_in_website>1</show_in_website>
|
588 |
+
<show_in_store>1</show_in_store>
|
589 |
+
</logotype>
|
590 |
+
<allowspecific translate="label">
|
591 |
+
<label>Payment from Applicable Countries</label>
|
592 |
+
<frontend_type>allowspecific</frontend_type>
|
593 |
+
<config_path>payment/payanyway_euroset/allowspecific</config_path>
|
594 |
+
<sort_order>8</sort_order>
|
595 |
+
<source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
|
596 |
+
<show_in_default>1</show_in_default>
|
597 |
+
<show_in_website>1</show_in_website>
|
598 |
+
<show_in_store>1</show_in_store>
|
599 |
+
</allowspecific>
|
600 |
+
<specificcountry translate="label">
|
601 |
+
<label>Payment from Specific Countries</label>
|
602 |
+
<frontend_type>multiselect</frontend_type>
|
603 |
+
<config_path>payment/payanyway_euroset/specificcountry</config_path>
|
604 |
+
<sort_order>9</sort_order>
|
605 |
+
<source_model>adminhtml/system_config_source_country</source_model>
|
606 |
+
<show_in_default>1</show_in_default>
|
607 |
+
<show_in_website>1</show_in_website>
|
608 |
+
<show_in_store>1</show_in_store>
|
609 |
+
<can_be_empty>1</can_be_empty>
|
610 |
+
</specificcountry>
|
611 |
+
</fields>
|
612 |
+
</payanyway_euroset>
|
613 |
+
<payanyway_elecsnet translate="label" module="payanyway">
|
614 |
+
<label>Elecsnet</label>
|
615 |
+
<frontend_type>text</frontend_type>
|
616 |
+
<sort_order>207</sort_order>
|
617 |
+
<show_in_default>1</show_in_default>
|
618 |
+
<show_in_website>1</show_in_website>
|
619 |
+
<show_in_store>1</show_in_store>
|
620 |
+
<fields>
|
621 |
+
<active translate="label">
|
622 |
+
<label>Enabled</label>
|
623 |
+
<frontend_type>select</frontend_type>
|
624 |
+
<config_path>payment/payanyway_elecsnet/active</config_path>
|
625 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
626 |
+
<sort_order>1</sort_order>
|
627 |
+
<show_in_default>1</show_in_default>
|
628 |
+
<show_in_website>1</show_in_website>
|
629 |
+
<show_in_store>1</show_in_store>
|
630 |
+
</active>
|
631 |
+
<sort_order translate="label">
|
632 |
+
<label>Sort Order</label>
|
633 |
+
<frontend_type>text</frontend_type>
|
634 |
+
<config_path>payment/payanyway_elecsnet/sort_order</config_path>
|
635 |
+
<sort_order>3</sort_order>
|
636 |
+
<show_in_default>1</show_in_default>
|
637 |
+
<show_in_website>1</show_in_website>
|
638 |
+
<show_in_store>1</show_in_store>
|
639 |
+
</sort_order>
|
640 |
+
<title translate="label">
|
641 |
+
<label>Title</label>
|
642 |
+
<frontend_type>text</frontend_type>
|
643 |
+
<config_path>payment/payanyway_elecsnet/title</config_path>
|
644 |
+
<sort_order>5</sort_order>
|
645 |
+
<show_in_default>1</show_in_default>
|
646 |
+
<show_in_website>1</show_in_website>
|
647 |
+
<show_in_store>1</show_in_store>
|
648 |
+
</title>
|
649 |
+
<unitid translate="label">
|
650 |
+
<label>unitId</label>
|
651 |
+
<frontend_type>text</frontend_type>
|
652 |
+
<config_path>payment/payanyway_elecsnet/unitid</config_path>
|
653 |
+
<sort_order>6</sort_order>
|
654 |
+
<show_in_default>1</show_in_default>
|
655 |
+
<show_in_website>1</show_in_website>
|
656 |
+
<show_in_store>1</show_in_store>
|
657 |
+
</unitid>
|
658 |
+
<logotype translate="label">
|
659 |
+
<label>Logotype</label>
|
660 |
+
<frontend_type>text</frontend_type>
|
661 |
+
<config_path>payment/payanyway_elecsnet/logotype</config_path>
|
662 |
+
<sort_order>7</sort_order>
|
663 |
+
<show_in_default>1</show_in_default>
|
664 |
+
<show_in_website>1</show_in_website>
|
665 |
+
<show_in_store>1</show_in_store>
|
666 |
+
</logotype>
|
667 |
+
<allowspecific translate="label">
|
668 |
+
<label>Payment from Applicable Countries</label>
|
669 |
+
<frontend_type>allowspecific</frontend_type>
|
670 |
+
<config_path>payment/payanyway_elecsnet/allowspecific</config_path>
|
671 |
+
<sort_order>8</sort_order>
|
672 |
+
<source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
|
673 |
+
<show_in_default>1</show_in_default>
|
674 |
+
<show_in_website>1</show_in_website>
|
675 |
+
<show_in_store>1</show_in_store>
|
676 |
+
</allowspecific>
|
677 |
+
<specificcountry translate="label">
|
678 |
+
<label>Payment from Specific Countries</label>
|
679 |
+
<frontend_type>multiselect</frontend_type>
|
680 |
+
<config_path>payment/payanyway_elecsnet/specificcountry</config_path>
|
681 |
+
<sort_order>9</sort_order>
|
682 |
+
<source_model>adminhtml/system_config_source_country</source_model>
|
683 |
+
<show_in_default>1</show_in_default>
|
684 |
+
<show_in_website>1</show_in_website>
|
685 |
+
<show_in_store>1</show_in_store>
|
686 |
+
<can_be_empty>1</can_be_empty>
|
687 |
+
</specificcountry>
|
688 |
+
</fields>
|
689 |
+
</payanyway_elecsnet>
|
690 |
+
<payanyway_gorod translate="label" module="payanyway">
|
691 |
+
<label>Federal system Gorod</label>
|
692 |
+
<frontend_type>text</frontend_type>
|
693 |
+
<sort_order>208</sort_order>
|
694 |
+
<show_in_default>1</show_in_default>
|
695 |
+
<show_in_website>1</show_in_website>
|
696 |
+
<show_in_store>1</show_in_store>
|
697 |
+
<fields>
|
698 |
+
<active translate="label">
|
699 |
+
<label>Enabled</label>
|
700 |
+
<frontend_type>select</frontend_type>
|
701 |
+
<config_path>payment/payanyway_gorod/active</config_path>
|
702 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
703 |
+
<sort_order>1</sort_order>
|
704 |
+
<show_in_default>1</show_in_default>
|
705 |
+
<show_in_website>1</show_in_website>
|
706 |
+
<show_in_store>1</show_in_store>
|
707 |
+
</active>
|
708 |
+
<sort_order translate="label">
|
709 |
+
<label>Sort Order</label>
|
710 |
+
<frontend_type>text</frontend_type>
|
711 |
+
<config_path>payment/payanyway_gorod/sort_order</config_path>
|
712 |
+
<sort_order>3</sort_order>
|
713 |
+
<show_in_default>1</show_in_default>
|
714 |
+
<show_in_website>1</show_in_website>
|
715 |
+
<show_in_store>1</show_in_store>
|
716 |
+
</sort_order>
|
717 |
+
<title translate="label">
|
718 |
+
<label>Title</label>
|
719 |
+
<frontend_type>text</frontend_type>
|
720 |
+
<config_path>payment/payanyway_gorod/title</config_path>
|
721 |
+
<sort_order>5</sort_order>
|
722 |
+
<show_in_default>1</show_in_default>
|
723 |
+
<show_in_website>1</show_in_website>
|
724 |
+
<show_in_store>1</show_in_store>
|
725 |
+
</title>
|
726 |
+
<unitid translate="label">
|
727 |
+
<label>unitId</label>
|
728 |
+
<frontend_type>text</frontend_type>
|
729 |
+
<config_path>payment/payanyway_gorod/unitid</config_path>
|
730 |
+
<sort_order>6</sort_order>
|
731 |
+
<show_in_default>1</show_in_default>
|
732 |
+
<show_in_website>1</show_in_website>
|
733 |
+
<show_in_store>1</show_in_store>
|
734 |
+
</unitid>
|
735 |
+
<logotype translate="label">
|
736 |
+
<label>Logotype</label>
|
737 |
+
<frontend_type>text</frontend_type>
|
738 |
+
<config_path>payment/payanyway_gorod/logotype</config_path>
|
739 |
+
<sort_order>7</sort_order>
|
740 |
+
<show_in_default>1</show_in_default>
|
741 |
+
<show_in_website>1</show_in_website>
|
742 |
+
<show_in_store>1</show_in_store>
|
743 |
+
</logotype>
|
744 |
+
<allowspecific translate="label">
|
745 |
+
<label>Payment from Applicable Countries</label>
|
746 |
+
<frontend_type>allowspecific</frontend_type>
|
747 |
+
<config_path>payment/payanyway_gorod/allowspecific</config_path>
|
748 |
+
<sort_order>8</sort_order>
|
749 |
+
<source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
|
750 |
+
<show_in_default>1</show_in_default>
|
751 |
+
<show_in_website>1</show_in_website>
|
752 |
+
<show_in_store>1</show_in_store>
|
753 |
+
</allowspecific>
|
754 |
+
<specificcountry translate="label">
|
755 |
+
<label>Payment from Specific Countries</label>
|
756 |
+
<frontend_type>multiselect</frontend_type>
|
757 |
+
<config_path>payment/payanyway_gorod/specificcountry</config_path>
|
758 |
+
<sort_order>9</sort_order>
|
759 |
+
<source_model>adminhtml/system_config_source_country</source_model>
|
760 |
+
<show_in_default>1</show_in_default>
|
761 |
+
<show_in_website>1</show_in_website>
|
762 |
+
<show_in_store>1</show_in_store>
|
763 |
+
<can_be_empty>1</can_be_empty>
|
764 |
+
</specificcountry>
|
765 |
+
</fields>
|
766 |
+
</payanyway_gorod>
|
767 |
+
<payanyway_forward translate="label" module="payanyway">
|
768 |
+
<label>Forward Mobile</label>
|
769 |
+
<frontend_type>text</frontend_type>
|
770 |
+
<sort_order>209</sort_order>
|
771 |
+
<show_in_default>1</show_in_default>
|
772 |
+
<show_in_website>1</show_in_website>
|
773 |
+
<show_in_store>1</show_in_store>
|
774 |
+
<fields>
|
775 |
+
<active translate="label">
|
776 |
+
<label>Enabled</label>
|
777 |
+
<frontend_type>select</frontend_type>
|
778 |
+
<config_path>payment/payanyway_forward/active</config_path>
|
779 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
780 |
+
<sort_order>1</sort_order>
|
781 |
+
<show_in_default>1</show_in_default>
|
782 |
+
<show_in_website>1</show_in_website>
|
783 |
+
<show_in_store>1</show_in_store>
|
784 |
+
</active>
|
785 |
+
<sort_order translate="label">
|
786 |
+
<label>Sort Order</label>
|
787 |
+
<frontend_type>text</frontend_type>
|
788 |
+
<config_path>payment/payanyway_forward/sort_order</config_path>
|
789 |
+
<sort_order>3</sort_order>
|
790 |
+
<show_in_default>1</show_in_default>
|
791 |
+
<show_in_website>1</show_in_website>
|
792 |
+
<show_in_store>1</show_in_store>
|
793 |
+
</sort_order>
|
794 |
+
<title translate="label">
|
795 |
+
<label>Title</label>
|
796 |
+
<frontend_type>text</frontend_type>
|
797 |
+
<config_path>payment/payanyway_forward/title</config_path>
|
798 |
+
<sort_order>5</sort_order>
|
799 |
+
<show_in_default>1</show_in_default>
|
800 |
+
<show_in_website>1</show_in_website>
|
801 |
+
<show_in_store>1</show_in_store>
|
802 |
+
</title>
|
803 |
+
<unitid translate="label">
|
804 |
+
<label>unitId</label>
|
805 |
+
<frontend_type>text</frontend_type>
|
806 |
+
<config_path>payment/payanyway_forward/unitid</config_path>
|
807 |
+
<sort_order>6</sort_order>
|
808 |
+
<show_in_default>1</show_in_default>
|
809 |
+
<show_in_website>1</show_in_website>
|
810 |
+
<show_in_store>1</show_in_store>
|
811 |
+
</unitid>
|
812 |
+
<logotype translate="label">
|
813 |
+
<label>Logotype</label>
|
814 |
+
<frontend_type>text</frontend_type>
|
815 |
+
<config_path>payment/payanyway_forward/logotype</config_path>
|
816 |
+
<sort_order>7</sort_order>
|
817 |
+
<show_in_default>1</show_in_default>
|
818 |
+
<show_in_website>1</show_in_website>
|
819 |
+
<show_in_store>1</show_in_store>
|
820 |
+
</logotype>
|
821 |
+
<allowspecific translate="label">
|
822 |
+
<label>Payment from Applicable Countries</label>
|
823 |
+
<frontend_type>allowspecific</frontend_type>
|
824 |
+
<config_path>payment/payanyway_forward/allowspecific</config_path>
|
825 |
+
<sort_order>8</sort_order>
|
826 |
+
<source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
|
827 |
+
<show_in_default>1</show_in_default>
|
828 |
+
<show_in_website>1</show_in_website>
|
829 |
+
<show_in_store>1</show_in_store>
|
830 |
+
</allowspecific>
|
831 |
+
<specificcountry translate="label">
|
832 |
+
<label>Payment from Specific Countries</label>
|
833 |
+
<frontend_type>multiselect</frontend_type>
|
834 |
+
<config_path>payment/payanyway_forward/specificcountry</config_path>
|
835 |
+
<sort_order>9</sort_order>
|
836 |
+
<source_model>adminhtml/system_config_source_country</source_model>
|
837 |
+
<show_in_default>1</show_in_default>
|
838 |
+
<show_in_website>1</show_in_website>
|
839 |
+
<show_in_store>1</show_in_store>
|
840 |
+
<can_be_empty>1</can_be_empty>
|
841 |
+
</specificcountry>
|
842 |
+
</fields>
|
843 |
+
</payanyway_forward>
|
844 |
+
<payanyway_mcb translate="label" module="payanyway">
|
845 |
+
<label>MosCreditBank</label>
|
846 |
+
<frontend_type>text</frontend_type>
|
847 |
+
<sort_order>210</sort_order>
|
848 |
+
<show_in_default>1</show_in_default>
|
849 |
+
<show_in_website>1</show_in_website>
|
850 |
+
<show_in_store>1</show_in_store>
|
851 |
+
<fields>
|
852 |
+
<active translate="label">
|
853 |
+
<label>Enabled</label>
|
854 |
+
<frontend_type>select</frontend_type>
|
855 |
+
<config_path>payment/payanyway_mcb/active</config_path>
|
856 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
857 |
+
<sort_order>1</sort_order>
|
858 |
+
<show_in_default>1</show_in_default>
|
859 |
+
<show_in_website>1</show_in_website>
|
860 |
+
<show_in_store>1</show_in_store>
|
861 |
+
</active>
|
862 |
+
<sort_order translate="label">
|
863 |
+
<label>Sort Order</label>
|
864 |
+
<frontend_type>text</frontend_type>
|
865 |
+
<config_path>payment/payanyway_mcb/sort_order</config_path>
|
866 |
+
<sort_order>3</sort_order>
|
867 |
+
<show_in_default>1</show_in_default>
|
868 |
+
<show_in_website>1</show_in_website>
|
869 |
+
<show_in_store>1</show_in_store>
|
870 |
+
</sort_order>
|
871 |
+
<title translate="label">
|
872 |
+
<label>Title</label>
|
873 |
+
<frontend_type>text</frontend_type>
|
874 |
+
<config_path>payment/payanyway_mcb/title</config_path>
|
875 |
+
<sort_order>5</sort_order>
|
876 |
+
<show_in_default>1</show_in_default>
|
877 |
+
<show_in_website>1</show_in_website>
|
878 |
+
<show_in_store>1</show_in_store>
|
879 |
+
</title>
|
880 |
+
<unitid translate="label">
|
881 |
+
<label>unitId</label>
|
882 |
+
<frontend_type>text</frontend_type>
|
883 |
+
<config_path>payment/payanyway_mcb/unitid</config_path>
|
884 |
+
<sort_order>6</sort_order>
|
885 |
+
<show_in_default>1</show_in_default>
|
886 |
+
<show_in_website>1</show_in_website>
|
887 |
+
<show_in_store>1</show_in_store>
|
888 |
+
</unitid>
|
889 |
+
<logotype translate="label">
|
890 |
+
<label>Logotype</label>
|
891 |
+
<frontend_type>text</frontend_type>
|
892 |
+
<config_path>payment/payanyway_mcb/logotype</config_path>
|
893 |
+
<sort_order>7</sort_order>
|
894 |
+
<show_in_default>1</show_in_default>
|
895 |
+
<show_in_website>1</show_in_website>
|
896 |
+
<show_in_store>1</show_in_store>
|
897 |
+
</logotype>
|
898 |
+
<allowspecific translate="label">
|
899 |
+
<label>Payment from Applicable Countries</label>
|
900 |
+
<frontend_type>allowspecific</frontend_type>
|
901 |
+
<config_path>payment/payanyway_mcb/allowspecific</config_path>
|
902 |
+
<sort_order>8</sort_order>
|
903 |
+
<source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
|
904 |
+
<show_in_default>1</show_in_default>
|
905 |
+
<show_in_website>1</show_in_website>
|
906 |
+
<show_in_store>1</show_in_store>
|
907 |
+
</allowspecific>
|
908 |
+
<specificcountry translate="label">
|
909 |
+
<label>Payment from Specific Countries</label>
|
910 |
+
<frontend_type>multiselect</frontend_type>
|
911 |
+
<config_path>payment/payanyway_mcb/specificcountry</config_path>
|
912 |
+
<sort_order>9</sort_order>
|
913 |
+
<source_model>adminhtml/system_config_source_country</source_model>
|
914 |
+
<show_in_default>1</show_in_default>
|
915 |
+
<show_in_website>1</show_in_website>
|
916 |
+
<show_in_store>1</show_in_store>
|
917 |
+
<can_be_empty>1</can_be_empty>
|
918 |
+
</specificcountry>
|
919 |
+
</fields>
|
920 |
+
</payanyway_mcb>
|
921 |
+
<payanyway_moneymail translate="label" module="payanyway">
|
922 |
+
<label>MoneyMail</label>
|
923 |
+
<frontend_type>text</frontend_type>
|
924 |
+
<sort_order>211</sort_order>
|
925 |
+
<show_in_default>1</show_in_default>
|
926 |
+
<show_in_website>1</show_in_website>
|
927 |
+
<show_in_store>1</show_in_store>
|
928 |
+
<fields>
|
929 |
+
<active translate="label">
|
930 |
+
<label>Enabled</label>
|
931 |
+
<frontend_type>select</frontend_type>
|
932 |
+
<config_path>payment/payanyway_moneymail/active</config_path>
|
933 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
934 |
+
<sort_order>1</sort_order>
|
935 |
+
<show_in_default>1</show_in_default>
|
936 |
+
<show_in_website>1</show_in_website>
|
937 |
+
<show_in_store>1</show_in_store>
|
938 |
+
</active>
|
939 |
+
<sort_order translate="label">
|
940 |
+
<label>Sort Order</label>
|
941 |
+
<frontend_type>text</frontend_type>
|
942 |
+
<config_path>payment/payanyway_moneymail/sort_order</config_path>
|
943 |
+
<sort_order>3</sort_order>
|
944 |
+
<show_in_default>1</show_in_default>
|
945 |
+
<show_in_website>1</show_in_website>
|
946 |
+
<show_in_store>1</show_in_store>
|
947 |
+
</sort_order>
|
948 |
+
<title translate="label">
|
949 |
+
<label>Title</label>
|
950 |
+
<frontend_type>text</frontend_type>
|
951 |
+
<config_path>payment/payanyway_moneymail/title</config_path>
|
952 |
+
<sort_order>5</sort_order>
|
953 |
+
<show_in_default>1</show_in_default>
|
954 |
+
<show_in_website>1</show_in_website>
|
955 |
+
<show_in_store>1</show_in_store>
|
956 |
+
</title>
|
957 |
+
<unitid translate="label">
|
958 |
+
<label>unitId</label>
|
959 |
+
<frontend_type>text</frontend_type>
|
960 |
+
<config_path>payment/payanyway_moneymail/unitid</config_path>
|
961 |
+
<sort_order>6</sort_order>
|
962 |
+
<show_in_default>1</show_in_default>
|
963 |
+
<show_in_website>1</show_in_website>
|
964 |
+
<show_in_store>1</show_in_store>
|
965 |
+
</unitid>
|
966 |
+
<logotype translate="label">
|
967 |
+
<label>Logotype</label>
|
968 |
+
<frontend_type>text</frontend_type>
|
969 |
+
<config_path>payment/payanyway_moneymail/logotype</config_path>
|
970 |
+
<sort_order>7</sort_order>
|
971 |
+
<show_in_default>1</show_in_default>
|
972 |
+
<show_in_website>1</show_in_website>
|
973 |
+
<show_in_store>1</show_in_store>
|
974 |
+
</logotype>
|
975 |
+
<allowspecific translate="label">
|
976 |
+
<label>Payment from Applicable Countries</label>
|
977 |
+
<frontend_type>allowspecific</frontend_type>
|
978 |
+
<config_path>payment/payanyway_moneymail/allowspecific</config_path>
|
979 |
+
<sort_order>8</sort_order>
|
980 |
+
<source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
|
981 |
+
<show_in_default>1</show_in_default>
|
982 |
+
<show_in_website>1</show_in_website>
|
983 |
+
<show_in_store>1</show_in_store>
|
984 |
+
</allowspecific>
|
985 |
+
<specificcountry translate="label">
|
986 |
+
<label>Payment from Specific Countries</label>
|
987 |
+
<frontend_type>multiselect</frontend_type>
|
988 |
+
<config_path>payment/payanyway_moneymail/specificcountry</config_path>
|
989 |
+
<sort_order>9</sort_order>
|
990 |
+
<source_model>adminhtml/system_config_source_country</source_model>
|
991 |
+
<show_in_default>1</show_in_default>
|
992 |
+
<show_in_website>1</show_in_website>
|
993 |
+
<show_in_store>1</show_in_store>
|
994 |
+
<can_be_empty>1</can_be_empty>
|
995 |
+
</specificcountry>
|
996 |
+
</fields>
|
997 |
+
</payanyway_moneymail>
|
998 |
+
<payanyway_novoplat translate="label" module="payanyway">
|
999 |
+
<label>Novoplat</label>
|
1000 |
+
<frontend_type>text</frontend_type>
|
1001 |
+
<sort_order>212</sort_order>
|
1002 |
+
<show_in_default>1</show_in_default>
|
1003 |
+
<show_in_website>1</show_in_website>
|
1004 |
+
<show_in_store>1</show_in_store>
|
1005 |
+
<fields>
|
1006 |
+
<active translate="label">
|
1007 |
+
<label>Enabled</label>
|
1008 |
+
<frontend_type>select</frontend_type>
|
1009 |
+
<config_path>payment/payanyway_novoplat/active</config_path>
|
1010 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
1011 |
+
<sort_order>1</sort_order>
|
1012 |
+
<show_in_default>1</show_in_default>
|
1013 |
+
<show_in_website>1</show_in_website>
|
1014 |
+
<show_in_store>1</show_in_store>
|
1015 |
+
</active>
|
1016 |
+
<sort_order translate="label">
|
1017 |
+
<label>Sort Order</label>
|
1018 |
+
<frontend_type>text</frontend_type>
|
1019 |
+
<config_path>payment/payanyway_novoplat/sort_order</config_path>
|
1020 |
+
<sort_order>3</sort_order>
|
1021 |
+
<show_in_default>1</show_in_default>
|
1022 |
+
<show_in_website>1</show_in_website>
|
1023 |
+
<show_in_store>1</show_in_store>
|
1024 |
+
</sort_order>
|
1025 |
+
<title translate="label">
|
1026 |
+
<label>Title</label>
|
1027 |
+
<frontend_type>text</frontend_type>
|
1028 |
+
<config_path>payment/payanyway_novoplat/title</config_path>
|
1029 |
+
<sort_order>5</sort_order>
|
1030 |
+
<show_in_default>1</show_in_default>
|
1031 |
+
<show_in_website>1</show_in_website>
|
1032 |
+
<show_in_store>1</show_in_store>
|
1033 |
+
</title>
|
1034 |
+
<unitid translate="label">
|
1035 |
+
<label>unitId</label>
|
1036 |
+
<frontend_type>text</frontend_type>
|
1037 |
+
<config_path>payment/payanyway_novoplat/unitid</config_path>
|
1038 |
+
<sort_order>6</sort_order>
|
1039 |
+
<show_in_default>1</show_in_default>
|
1040 |
+
<show_in_website>1</show_in_website>
|
1041 |
+
<show_in_store>1</show_in_store>
|
1042 |
+
</unitid>
|
1043 |
+
<logotype translate="label">
|
1044 |
+
<label>Logotype</label>
|
1045 |
+
<frontend_type>text</frontend_type>
|
1046 |
+
<config_path>payment/payanyway_novoplat/logotype</config_path>
|
1047 |
+
<sort_order>7</sort_order>
|
1048 |
+
<show_in_default>1</show_in_default>
|
1049 |
+
<show_in_website>1</show_in_website>
|
1050 |
+
<show_in_store>1</show_in_store>
|
1051 |
+
</logotype>
|
1052 |
+
<allowspecific translate="label">
|
1053 |
+
<label>Payment from Applicable Countries</label>
|
1054 |
+
<frontend_type>allowspecific</frontend_type>
|
1055 |
+
<config_path>payment/payanyway_novoplat/allowspecific</config_path>
|
1056 |
+
<sort_order>8</sort_order>
|
1057 |
+
<source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
|
1058 |
+
<show_in_default>1</show_in_default>
|
1059 |
+
<show_in_website>1</show_in_website>
|
1060 |
+
<show_in_store>1</show_in_store>
|
1061 |
+
</allowspecific>
|
1062 |
+
<specificcountry translate="label">
|
1063 |
+
<label>Payment from Specific Countries</label>
|
1064 |
+
<frontend_type>multiselect</frontend_type>
|
1065 |
+
<config_path>payment/payanyway_novoplat/specificcountry</config_path>
|
1066 |
+
<sort_order>9</sort_order>
|
1067 |
+
<source_model>adminhtml/system_config_source_country</source_model>
|
1068 |
+
<show_in_default>1</show_in_default>
|
1069 |
+
<show_in_website>1</show_in_website>
|
1070 |
+
<show_in_store>1</show_in_store>
|
1071 |
+
<can_be_empty>1</can_be_empty>
|
1072 |
+
</specificcountry>
|
1073 |
+
</fields>
|
1074 |
+
</payanyway_novoplat>
|
1075 |
+
<payanyway_plastic translate="label" module="payanyway">
|
1076 |
+
<label>VISA, MasterCard</label>
|
1077 |
+
<frontend_type>text</frontend_type>
|
1078 |
+
<sort_order>213</sort_order>
|
1079 |
+
<show_in_default>1</show_in_default>
|
1080 |
+
<show_in_website>1</show_in_website>
|
1081 |
+
<show_in_store>1</show_in_store>
|
1082 |
+
<fields>
|
1083 |
+
<active translate="label">
|
1084 |
+
<label>Enabled</label>
|
1085 |
+
<frontend_type>select</frontend_type>
|
1086 |
+
<config_path>payment/payanyway_plastic/active</config_path>
|
1087 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
1088 |
+
<sort_order>1</sort_order>
|
1089 |
+
<show_in_default>1</show_in_default>
|
1090 |
+
<show_in_website>1</show_in_website>
|
1091 |
+
<show_in_store>1</show_in_store>
|
1092 |
+
</active>
|
1093 |
+
<sort_order translate="label">
|
1094 |
+
<label>Sort Order</label>
|
1095 |
+
<frontend_type>text</frontend_type>
|
1096 |
+
<config_path>payment/payanyway_plastic/sort_order</config_path>
|
1097 |
+
<sort_order>3</sort_order>
|
1098 |
+
<show_in_default>1</show_in_default>
|
1099 |
+
<show_in_website>1</show_in_website>
|
1100 |
+
<show_in_store>1</show_in_store>
|
1101 |
+
</sort_order>
|
1102 |
+
<title translate="label">
|
1103 |
+
<label>Title</label>
|
1104 |
+
<frontend_type>text</frontend_type>
|
1105 |
+
<config_path>payment/payanyway_plastic/title</config_path>
|
1106 |
+
<sort_order>5</sort_order>
|
1107 |
+
<show_in_default>1</show_in_default>
|
1108 |
+
<show_in_website>1</show_in_website>
|
1109 |
+
<show_in_store>1</show_in_store>
|
1110 |
+
</title>
|
1111 |
+
<unitid translate="label">
|
1112 |
+
<label>unitId</label>
|
1113 |
+
<frontend_type>text</frontend_type>
|
1114 |
+
<config_path>payment/payanyway_plastic/unitid</config_path>
|
1115 |
+
<sort_order>6</sort_order>
|
1116 |
+
<show_in_default>1</show_in_default>
|
1117 |
+
<show_in_website>1</show_in_website>
|
1118 |
+
<show_in_store>1</show_in_store>
|
1119 |
+
</unitid>
|
1120 |
+
<logotype translate="label">
|
1121 |
+
<label>Logotype</label>
|
1122 |
+
<frontend_type>text</frontend_type>
|
1123 |
+
<config_path>payment/payanyway_plastic/logotype</config_path>
|
1124 |
+
<sort_order>7</sort_order>
|
1125 |
+
<show_in_default>1</show_in_default>
|
1126 |
+
<show_in_website>1</show_in_website>
|
1127 |
+
<show_in_store>1</show_in_store>
|
1128 |
+
</logotype>
|
1129 |
+
<allowspecific translate="label">
|
1130 |
+
<label>Payment from Applicable Countries</label>
|
1131 |
+
<frontend_type>allowspecific</frontend_type>
|
1132 |
+
<config_path>payment/payanyway_plastic/allowspecific</config_path>
|
1133 |
+
<sort_order>8</sort_order>
|
1134 |
+
<source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
|
1135 |
+
<show_in_default>1</show_in_default>
|
1136 |
+
<show_in_website>1</show_in_website>
|
1137 |
+
<show_in_store>1</show_in_store>
|
1138 |
+
</allowspecific>
|
1139 |
+
<specificcountry translate="label">
|
1140 |
+
<label>Payment from Specific Countries</label>
|
1141 |
+
<frontend_type>multiselect</frontend_type>
|
1142 |
+
<config_path>payment/payanyway_plastic/specificcountry</config_path>
|
1143 |
+
<sort_order>9</sort_order>
|
1144 |
+
<source_model>adminhtml/system_config_source_country</source_model>
|
1145 |
+
<show_in_default>1</show_in_default>
|
1146 |
+
<show_in_website>1</show_in_website>
|
1147 |
+
<show_in_store>1</show_in_store>
|
1148 |
+
<can_be_empty>1</can_be_empty>
|
1149 |
+
</specificcountry>
|
1150 |
+
</fields>
|
1151 |
+
</payanyway_plastic>
|
1152 |
+
<payanyway_platika translate="label" module="payanyway">
|
1153 |
+
<label>PLATiKA</label>
|
1154 |
+
<frontend_type>text</frontend_type>
|
1155 |
+
<sort_order>214</sort_order>
|
1156 |
+
<show_in_default>1</show_in_default>
|
1157 |
+
<show_in_website>1</show_in_website>
|
1158 |
+
<show_in_store>1</show_in_store>
|
1159 |
+
<fields>
|
1160 |
+
<active translate="label">
|
1161 |
+
<label>Enabled</label>
|
1162 |
+
<frontend_type>select</frontend_type>
|
1163 |
+
<config_path>payment/payanyway_platika/active</config_path>
|
1164 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
1165 |
+
<sort_order>1</sort_order>
|
1166 |
+
<show_in_default>1</show_in_default>
|
1167 |
+
<show_in_website>1</show_in_website>
|
1168 |
+
<show_in_store>1</show_in_store>
|
1169 |
+
</active>
|
1170 |
+
<sort_order translate="label">
|
1171 |
+
<label>Sort Order</label>
|
1172 |
+
<frontend_type>text</frontend_type>
|
1173 |
+
<config_path>payment/payanyway_platika/sort_order</config_path>
|
1174 |
+
<sort_order>3</sort_order>
|
1175 |
+
<show_in_default>1</show_in_default>
|
1176 |
+
<show_in_website>1</show_in_website>
|
1177 |
+
<show_in_store>1</show_in_store>
|
1178 |
+
</sort_order>
|
1179 |
+
<title translate="label">
|
1180 |
+
<label>Title</label>
|
1181 |
+
<frontend_type>text</frontend_type>
|
1182 |
+
<config_path>payment/payanyway_platika/title</config_path>
|
1183 |
+
<sort_order>5</sort_order>
|
1184 |
+
<show_in_default>1</show_in_default>
|
1185 |
+
<show_in_website>1</show_in_website>
|
1186 |
+
<show_in_store>1</show_in_store>
|
1187 |
+
</title>
|
1188 |
+
<unitid translate="label">
|
1189 |
+
<label>unitId</label>
|
1190 |
+
<frontend_type>text</frontend_type>
|
1191 |
+
<config_path>payment/payanyway_platika/unitid</config_path>
|
1192 |
+
<sort_order>6</sort_order>
|
1193 |
+
<show_in_default>1</show_in_default>
|
1194 |
+
<show_in_website>1</show_in_website>
|
1195 |
+
<show_in_store>1</show_in_store>
|
1196 |
+
</unitid>
|
1197 |
+
<logotype translate="label">
|
1198 |
+
<label>Logotype</label>
|
1199 |
+
<frontend_type>text</frontend_type>
|
1200 |
+
<config_path>payment/payanyway_platika/logotype</config_path>
|
1201 |
+
<sort_order>7</sort_order>
|
1202 |
+
<show_in_default>1</show_in_default>
|
1203 |
+
<show_in_website>1</show_in_website>
|
1204 |
+
<show_in_store>1</show_in_store>
|
1205 |
+
</logotype>
|
1206 |
+
<allowspecific translate="label">
|
1207 |
+
<label>Payment from Applicable Countries</label>
|
1208 |
+
<frontend_type>allowspecific</frontend_type>
|
1209 |
+
<config_path>payment/payanyway_platika/allowspecific</config_path>
|
1210 |
+
<sort_order>8</sort_order>
|
1211 |
+
<source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
|
1212 |
+
<show_in_default>1</show_in_default>
|
1213 |
+
<show_in_website>1</show_in_website>
|
1214 |
+
<show_in_store>1</show_in_store>
|
1215 |
+
</allowspecific>
|
1216 |
+
<specificcountry translate="label">
|
1217 |
+
<label>Payment from Specific Countries</label>
|
1218 |
+
<frontend_type>multiselect</frontend_type>
|
1219 |
+
<config_path>payment/payanyway_platika/specificcountry</config_path>
|
1220 |
+
<sort_order>9</sort_order>
|
1221 |
+
<source_model>adminhtml/system_config_source_country</source_model>
|
1222 |
+
<show_in_default>1</show_in_default>
|
1223 |
+
<show_in_website>1</show_in_website>
|
1224 |
+
<show_in_store>1</show_in_store>
|
1225 |
+
<can_be_empty>1</can_be_empty>
|
1226 |
+
</specificcountry>
|
1227 |
+
</fields>
|
1228 |
+
</payanyway_platika>
|
1229 |
+
<payanyway_post translate="label" module="payanyway">
|
1230 |
+
<label>Russian Post Transfer</label>
|
1231 |
+
<frontend_type>text</frontend_type>
|
1232 |
+
<sort_order>215</sort_order>
|
1233 |
+
<show_in_default>1</show_in_default>
|
1234 |
+
<show_in_website>1</show_in_website>
|
1235 |
+
<show_in_store>1</show_in_store>
|
1236 |
+
<fields>
|
1237 |
+
<active translate="label">
|
1238 |
+
<label>Enabled</label>
|
1239 |
+
<frontend_type>select</frontend_type>
|
1240 |
+
<config_path>payment/payanyway_post/active</config_path>
|
1241 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
1242 |
+
<sort_order>1</sort_order>
|
1243 |
+
<show_in_default>1</show_in_default>
|
1244 |
+
<show_in_website>1</show_in_website>
|
1245 |
+
<show_in_store>1</show_in_store>
|
1246 |
+
</active>
|
1247 |
+
<sort_order translate="label">
|
1248 |
+
<label>Sort Order</label>
|
1249 |
+
<frontend_type>text</frontend_type>
|
1250 |
+
<config_path>payment/payanyway_post/sort_order</config_path>
|
1251 |
+
<sort_order>3</sort_order>
|
1252 |
+
<show_in_default>1</show_in_default>
|
1253 |
+
<show_in_website>1</show_in_website>
|
1254 |
+
<show_in_store>1</show_in_store>
|
1255 |
+
</sort_order>
|
1256 |
+
<title translate="label">
|
1257 |
+
<label>Title</label>
|
1258 |
+
<frontend_type>text</frontend_type>
|
1259 |
+
<config_path>payment/payanyway_post/title</config_path>
|
1260 |
+
<sort_order>5</sort_order>
|
1261 |
+
<show_in_default>1</show_in_default>
|
1262 |
+
<show_in_website>1</show_in_website>
|
1263 |
+
<show_in_store>1</show_in_store>
|
1264 |
+
</title>
|
1265 |
+
<unitid translate="label">
|
1266 |
+
<label>unitId</label>
|
1267 |
+
<frontend_type>text</frontend_type>
|
1268 |
+
<config_path>payment/payanyway_post/unitid</config_path>
|
1269 |
+
<sort_order>6</sort_order>
|
1270 |
+
<show_in_default>1</show_in_default>
|
1271 |
+
<show_in_website>1</show_in_website>
|
1272 |
+
<show_in_store>1</show_in_store>
|
1273 |
+
</unitid>
|
1274 |
+
<logotype translate="label">
|
1275 |
+
<label>Logotype</label>
|
1276 |
+
<frontend_type>text</frontend_type>
|
1277 |
+
<config_path>payment/payanyway_post/logotype</config_path>
|
1278 |
+
<sort_order>7</sort_order>
|
1279 |
+
<show_in_default>1</show_in_default>
|
1280 |
+
<show_in_website>1</show_in_website>
|
1281 |
+
<show_in_store>1</show_in_store>
|
1282 |
+
</logotype>
|
1283 |
+
<allowspecific translate="label">
|
1284 |
+
<label>Payment from Applicable Countries</label>
|
1285 |
+
<frontend_type>allowspecific</frontend_type>
|
1286 |
+
<config_path>payment/payanyway_post/allowspecific</config_path>
|
1287 |
+
<sort_order>8</sort_order>
|
1288 |
+
<source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
|
1289 |
+
<show_in_default>1</show_in_default>
|
1290 |
+
<show_in_website>1</show_in_website>
|
1291 |
+
<show_in_store>1</show_in_store>
|
1292 |
+
</allowspecific>
|
1293 |
+
<specificcountry translate="label">
|
1294 |
+
<label>Payment from Specific Countries</label>
|
1295 |
+
<frontend_type>multiselect</frontend_type>
|
1296 |
+
<config_path>payment/payanyway_post/specificcountry</config_path>
|
1297 |
+
<sort_order>9</sort_order>
|
1298 |
+
<source_model>adminhtml/system_config_source_country</source_model>
|
1299 |
+
<show_in_default>1</show_in_default>
|
1300 |
+
<show_in_website>1</show_in_website>
|
1301 |
+
<show_in_store>1</show_in_store>
|
1302 |
+
<can_be_empty>1</can_be_empty>
|
1303 |
+
</specificcountry>
|
1304 |
+
</fields>
|
1305 |
+
</payanyway_post>
|
1306 |
+
<payanyway_wallet translate="label" module="payanyway">
|
1307 |
+
<label>Wallet One</label>
|
1308 |
+
<frontend_type>text</frontend_type>
|
1309 |
+
<sort_order>216</sort_order>
|
1310 |
+
<show_in_default>1</show_in_default>
|
1311 |
+
<show_in_website>1</show_in_website>
|
1312 |
+
<show_in_store>1</show_in_store>
|
1313 |
+
<fields>
|
1314 |
+
<active translate="label">
|
1315 |
+
<label>Enabled</label>
|
1316 |
+
<frontend_type>select</frontend_type>
|
1317 |
+
<config_path>payment/payanyway_wallet/active</config_path>
|
1318 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
1319 |
+
<sort_order>1</sort_order>
|
1320 |
+
<show_in_default>1</show_in_default>
|
1321 |
+
<show_in_website>1</show_in_website>
|
1322 |
+
<show_in_store>1</show_in_store>
|
1323 |
+
</active>
|
1324 |
+
<sort_order translate="label">
|
1325 |
+
<label>Sort Order</label>
|
1326 |
+
<frontend_type>text</frontend_type>
|
1327 |
+
<config_path>payment/payanyway_wallet/sort_order</config_path>
|
1328 |
+
<sort_order>3</sort_order>
|
1329 |
+
<show_in_default>1</show_in_default>
|
1330 |
+
<show_in_website>1</show_in_website>
|
1331 |
+
<show_in_store>1</show_in_store>
|
1332 |
+
</sort_order>
|
1333 |
+
<title translate="label">
|
1334 |
+
<label>Title</label>
|
1335 |
+
<frontend_type>text</frontend_type>
|
1336 |
+
<config_path>payment/payanyway_wallet/title</config_path>
|
1337 |
+
<sort_order>5</sort_order>
|
1338 |
+
<show_in_default>1</show_in_default>
|
1339 |
+
<show_in_website>1</show_in_website>
|
1340 |
+
<show_in_store>1</show_in_store>
|
1341 |
+
</title>
|
1342 |
+
<unitid translate="label">
|
1343 |
+
<label>unitId</label>
|
1344 |
+
<frontend_type>text</frontend_type>
|
1345 |
+
<config_path>payment/payanyway_wallet/unitid</config_path>
|
1346 |
+
<sort_order>6</sort_order>
|
1347 |
+
<show_in_default>1</show_in_default>
|
1348 |
+
<show_in_website>1</show_in_website>
|
1349 |
+
<show_in_store>1</show_in_store>
|
1350 |
+
</unitid>
|
1351 |
+
<logotype translate="label">
|
1352 |
+
<label>Logotype</label>
|
1353 |
+
<frontend_type>text</frontend_type>
|
1354 |
+
<config_path>payment/payanyway_wallet/logotype</config_path>
|
1355 |
+
<sort_order>7</sort_order>
|
1356 |
+
<show_in_default>1</show_in_default>
|
1357 |
+
<show_in_website>1</show_in_website>
|
1358 |
+
<show_in_store>1</show_in_store>
|
1359 |
+
</logotype>
|
1360 |
+
<allowspecific translate="label">
|
1361 |
+
<label>Payment from Applicable Countries</label>
|
1362 |
+
<frontend_type>allowspecific</frontend_type>
|
1363 |
+
<config_path>payment/payanyway_wallet/allowspecific</config_path>
|
1364 |
+
<sort_order>8</sort_order>
|
1365 |
+
<source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
|
1366 |
+
<show_in_default>1</show_in_default>
|
1367 |
+
<show_in_website>1</show_in_website>
|
1368 |
+
<show_in_store>1</show_in_store>
|
1369 |
+
</allowspecific>
|
1370 |
+
<specificcountry translate="label">
|
1371 |
+
<label>Payment from Specific Countries</label>
|
1372 |
+
<frontend_type>multiselect</frontend_type>
|
1373 |
+
<config_path>payment/payanyway_wallet/specificcountry</config_path>
|
1374 |
+
<sort_order>9</sort_order>
|
1375 |
+
<source_model>adminhtml/system_config_source_country</source_model>
|
1376 |
+
<show_in_default>1</show_in_default>
|
1377 |
+
<show_in_website>1</show_in_website>
|
1378 |
+
<show_in_store>1</show_in_store>
|
1379 |
+
<can_be_empty>1</can_be_empty>
|
1380 |
+
</specificcountry>
|
1381 |
+
</fields>
|
1382 |
+
</payanyway_wallet>
|
1383 |
+
<payanyway_webmoney translate="label" module="payanyway">
|
1384 |
+
<label>WebMoney</label>
|
1385 |
+
<frontend_type>text</frontend_type>
|
1386 |
+
<sort_order>217</sort_order>
|
1387 |
+
<show_in_default>1</show_in_default>
|
1388 |
+
<show_in_website>1</show_in_website>
|
1389 |
+
<show_in_store>1</show_in_store>
|
1390 |
+
<fields>
|
1391 |
+
<active translate="label">
|
1392 |
+
<label>Enabled</label>
|
1393 |
+
<frontend_type>select</frontend_type>
|
1394 |
+
<config_path>payment/payanyway_webmoney/active</config_path>
|
1395 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
1396 |
+
<sort_order>1</sort_order>
|
1397 |
+
<show_in_default>1</show_in_default>
|
1398 |
+
<show_in_website>1</show_in_website>
|
1399 |
+
<show_in_store>1</show_in_store>
|
1400 |
+
</active>
|
1401 |
+
<sort_order translate="label">
|
1402 |
+
<label>Sort Order</label>
|
1403 |
+
<frontend_type>text</frontend_type>
|
1404 |
+
<config_path>payment/payanyway_webmoney/sort_order</config_path>
|
1405 |
+
<sort_order>3</sort_order>
|
1406 |
+
<show_in_default>1</show_in_default>
|
1407 |
+
<show_in_website>1</show_in_website>
|
1408 |
+
<show_in_store>1</show_in_store>
|
1409 |
+
</sort_order>
|
1410 |
+
<title translate="label">
|
1411 |
+
<label>Title</label>
|
1412 |
+
<frontend_type>text</frontend_type>
|
1413 |
+
<config_path>payment/payanyway_webmoney/title</config_path>
|
1414 |
+
<sort_order>5</sort_order>
|
1415 |
+
<show_in_default>1</show_in_default>
|
1416 |
+
<show_in_website>1</show_in_website>
|
1417 |
+
<show_in_store>1</show_in_store>
|
1418 |
+
</title>
|
1419 |
+
<unitid translate="label">
|
1420 |
+
<label>unitId</label>
|
1421 |
+
<frontend_type>text</frontend_type>
|
1422 |
+
<config_path>payment/payanyway_webmoney/unitid</config_path>
|
1423 |
+
<sort_order>6</sort_order>
|
1424 |
+
<show_in_default>1</show_in_default>
|
1425 |
+
<show_in_website>1</show_in_website>
|
1426 |
+
<show_in_store>1</show_in_store>
|
1427 |
+
</unitid>
|
1428 |
+
<logotype translate="label">
|
1429 |
+
<label>Logotype</label>
|
1430 |
+
<frontend_type>text</frontend_type>
|
1431 |
+
<config_path>payment/payanyway_webmoney/logotype</config_path>
|
1432 |
+
<sort_order>7</sort_order>
|
1433 |
+
<show_in_default>1</show_in_default>
|
1434 |
+
<show_in_website>1</show_in_website>
|
1435 |
+
<show_in_store>1</show_in_store>
|
1436 |
+
</logotype>
|
1437 |
+
<allowspecific translate="label">
|
1438 |
+
<label>Payment from Applicable Countries</label>
|
1439 |
+
<frontend_type>allowspecific</frontend_type>
|
1440 |
+
<config_path>payment/payanyway_webmoney/allowspecific</config_path>
|
1441 |
+
<sort_order>8</sort_order>
|
1442 |
+
<source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
|
1443 |
+
<show_in_default>1</show_in_default>
|
1444 |
+
<show_in_website>1</show_in_website>
|
1445 |
+
<show_in_store>1</show_in_store>
|
1446 |
+
</allowspecific>
|
1447 |
+
<specificcountry translate="label">
|
1448 |
+
<label>Payment from Specific Countries</label>
|
1449 |
+
<frontend_type>multiselect</frontend_type>
|
1450 |
+
<config_path>payment/payanyway_webmoney/specificcountry</config_path>
|
1451 |
+
<sort_order>9</sort_order>
|
1452 |
+
<source_model>adminhtml/system_config_source_country</source_model>
|
1453 |
+
<show_in_default>1</show_in_default>
|
1454 |
+
<show_in_website>1</show_in_website>
|
1455 |
+
<show_in_store>1</show_in_store>
|
1456 |
+
<can_be_empty>1</can_be_empty>
|
1457 |
+
</specificcountry>
|
1458 |
+
</fields>
|
1459 |
+
</payanyway_webmoney>
|
1460 |
+
<payanyway_yandex translate="label" module="payanyway">
|
1461 |
+
<label>Yandex.Money</label>
|
1462 |
+
<frontend_type>text</frontend_type>
|
1463 |
+
<sort_order>218</sort_order>
|
1464 |
+
<show_in_default>1</show_in_default>
|
1465 |
+
<show_in_website>1</show_in_website>
|
1466 |
+
<show_in_store>1</show_in_store>
|
1467 |
+
<fields>
|
1468 |
+
<active translate="label">
|
1469 |
+
<label>Enabled</label>
|
1470 |
+
<frontend_type>select</frontend_type>
|
1471 |
+
<config_path>payment/payanyway_yandex/active</config_path>
|
1472 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
1473 |
+
<sort_order>1</sort_order>
|
1474 |
+
<show_in_default>1</show_in_default>
|
1475 |
+
<show_in_website>1</show_in_website>
|
1476 |
+
<show_in_store>1</show_in_store>
|
1477 |
+
</active>
|
1478 |
+
<sort_order translate="label">
|
1479 |
+
<label>Sort Order</label>
|
1480 |
+
<frontend_type>text</frontend_type>
|
1481 |
+
<config_path>payment/payanyway_yandex/sort_order</config_path>
|
1482 |
+
<sort_order>3</sort_order>
|
1483 |
+
<show_in_default>1</show_in_default>
|
1484 |
+
<show_in_website>1</show_in_website>
|
1485 |
+
<show_in_store>1</show_in_store>
|
1486 |
+
</sort_order>
|
1487 |
+
<title translate="label">
|
1488 |
+
<label>Title</label>
|
1489 |
+
<frontend_type>text</frontend_type>
|
1490 |
+
<config_path>payment/payanyway_yandex/title</config_path>
|
1491 |
+
<sort_order>5</sort_order>
|
1492 |
+
<show_in_default>1</show_in_default>
|
1493 |
+
<show_in_website>1</show_in_website>
|
1494 |
+
<show_in_store>1</show_in_store>
|
1495 |
+
</title>
|
1496 |
+
<unitid translate="label">
|
1497 |
+
<label>unitId</label>
|
1498 |
+
<frontend_type>text</frontend_type>
|
1499 |
+
<config_path>payment/payanyway_yandex/unitid</config_path>
|
1500 |
+
<sort_order>6</sort_order>
|
1501 |
+
<show_in_default>1</show_in_default>
|
1502 |
+
<show_in_website>1</show_in_website>
|
1503 |
+
<show_in_store>1</show_in_store>
|
1504 |
+
</unitid>
|
1505 |
+
<logotype translate="label">
|
1506 |
+
<label>Logotype</label>
|
1507 |
+
<frontend_type>text</frontend_type>
|
1508 |
+
<config_path>payment/payanyway_yandex/logotype</config_path>
|
1509 |
+
<sort_order>7</sort_order>
|
1510 |
+
<show_in_default>1</show_in_default>
|
1511 |
+
<show_in_website>1</show_in_website>
|
1512 |
+
<show_in_store>1</show_in_store>
|
1513 |
+
</logotype>
|
1514 |
+
<allowspecific translate="label">
|
1515 |
+
<label>Payment from Applicable Countries</label>
|
1516 |
+
<frontend_type>allowspecific</frontend_type>
|
1517 |
+
<config_path>payment/payanyway_yandex/allowspecific</config_path>
|
1518 |
+
<sort_order>8</sort_order>
|
1519 |
+
<source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
|
1520 |
+
<show_in_default>1</show_in_default>
|
1521 |
+
<show_in_website>1</show_in_website>
|
1522 |
+
<show_in_store>1</show_in_store>
|
1523 |
+
</allowspecific>
|
1524 |
+
<specificcountry translate="label">
|
1525 |
+
<label>Payment from Specific Countries</label>
|
1526 |
+
<frontend_type>multiselect</frontend_type>
|
1527 |
+
<config_path>payment/payanyway_yandex/specificcountry</config_path>
|
1528 |
+
<sort_order>9</sort_order>
|
1529 |
+
<source_model>adminhtml/system_config_source_country</source_model>
|
1530 |
+
<show_in_default>1</show_in_default>
|
1531 |
+
<show_in_website>1</show_in_website>
|
1532 |
+
<show_in_store>1</show_in_store>
|
1533 |
+
<can_be_empty>1</can_be_empty>
|
1534 |
+
</specificcountry>
|
1535 |
+
</fields>
|
1536 |
+
</payanyway_yandex>
|
1537 |
+
<payanyway_alfaclick translate="label" module="payanyway">
|
1538 |
+
<label>Internet-bank "Alfa-Click"</label>
|
1539 |
+
<frontend_type>text</frontend_type>
|
1540 |
+
<sort_order>219</sort_order>
|
1541 |
+
<show_in_default>1</show_in_default>
|
1542 |
+
<show_in_website>1</show_in_website>
|
1543 |
+
<show_in_store>1</show_in_store>
|
1544 |
+
<fields>
|
1545 |
+
<active translate="label">
|
1546 |
+
<label>Enabled</label>
|
1547 |
+
<frontend_type>select</frontend_type>
|
1548 |
+
<config_path>payment/payanyway_alfaclick/active</config_path>
|
1549 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
1550 |
+
<sort_order>1</sort_order>
|
1551 |
+
<show_in_default>1</show_in_default>
|
1552 |
+
<show_in_website>1</show_in_website>
|
1553 |
+
<show_in_store>1</show_in_store>
|
1554 |
+
</active>
|
1555 |
+
<sort_order translate="label">
|
1556 |
+
<label>Sort Order</label>
|
1557 |
+
<frontend_type>text</frontend_type>
|
1558 |
+
<config_path>payment/payanyway_alfaclick/sort_order</config_path>
|
1559 |
+
<sort_order>3</sort_order>
|
1560 |
+
<show_in_default>1</show_in_default>
|
1561 |
+
<show_in_website>1</show_in_website>
|
1562 |
+
<show_in_store>1</show_in_store>
|
1563 |
+
</sort_order>
|
1564 |
+
<title translate="label">
|
1565 |
+
<label>Title</label>
|
1566 |
+
<frontend_type>text</frontend_type>
|
1567 |
+
<config_path>payment/payanyway_alfaclick/title</config_path>
|
1568 |
+
<sort_order>5</sort_order>
|
1569 |
+
<show_in_default>1</show_in_default>
|
1570 |
+
<show_in_website>1</show_in_website>
|
1571 |
+
<show_in_store>1</show_in_store>
|
1572 |
+
</title>
|
1573 |
+
<unitid translate="label">
|
1574 |
+
<label>unitId</label>
|
1575 |
+
<frontend_type>text</frontend_type>
|
1576 |
+
<config_path>payment/payanyway_alfaclick/unitid</config_path>
|
1577 |
+
<sort_order>6</sort_order>
|
1578 |
+
<show_in_default>1</show_in_default>
|
1579 |
+
<show_in_website>1</show_in_website>
|
1580 |
+
<show_in_store>1</show_in_store>
|
1581 |
+
</unitid>
|
1582 |
+
<logotype translate="label">
|
1583 |
+
<label>Logotype</label>
|
1584 |
+
<frontend_type>text</frontend_type>
|
1585 |
+
<config_path>payment/payanyway_alfaclick/logotype</config_path>
|
1586 |
+
<sort_order>7</sort_order>
|
1587 |
+
<show_in_default>1</show_in_default>
|
1588 |
+
<show_in_website>1</show_in_website>
|
1589 |
+
<show_in_store>1</show_in_store>
|
1590 |
+
</logotype>
|
1591 |
+
<allowspecific translate="label">
|
1592 |
+
<label>Payment from Applicable Countries</label>
|
1593 |
+
<frontend_type>allowspecific</frontend_type>
|
1594 |
+
<config_path>payment/payanyway_alfaclick/allowspecific</config_path>
|
1595 |
+
<sort_order>8</sort_order>
|
1596 |
+
<source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
|
1597 |
+
<show_in_default>1</show_in_default>
|
1598 |
+
<show_in_website>1</show_in_website>
|
1599 |
+
<show_in_store>1</show_in_store>
|
1600 |
+
</allowspecific>
|
1601 |
+
<specificcountry translate="label">
|
1602 |
+
<label>Payment from Specific Countries</label>
|
1603 |
+
<frontend_type>multiselect</frontend_type>
|
1604 |
+
<config_path>payment/payanyway_alfaclick/specificcountry</config_path>
|
1605 |
+
<sort_order>9</sort_order>
|
1606 |
+
<source_model>adminhtml/system_config_source_country</source_model>
|
1607 |
+
<show_in_default>1</show_in_default>
|
1608 |
+
<show_in_website>1</show_in_website>
|
1609 |
+
<show_in_store>1</show_in_store>
|
1610 |
+
<can_be_empty>1</can_be_empty>
|
1611 |
+
</specificcountry>
|
1612 |
+
</fields>
|
1613 |
+
</payanyway_alfaclick>
|
1614 |
+
<payanyway_dengimail translate="label" module="payanyway">
|
1615 |
+
<label>Money@Mail.Ru</label>
|
1616 |
+
<frontend_type>text</frontend_type>
|
1617 |
+
<sort_order>220</sort_order>
|
1618 |
+
<show_in_default>1</show_in_default>
|
1619 |
+
<show_in_website>1</show_in_website>
|
1620 |
+
<show_in_store>1</show_in_store>
|
1621 |
+
<fields>
|
1622 |
+
<active translate="label">
|
1623 |
+
<label>Enabled</label>
|
1624 |
+
<frontend_type>select</frontend_type>
|
1625 |
+
<config_path>payment/payanyway_dengimail/active</config_path>
|
1626 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
1627 |
+
<sort_order>1</sort_order>
|
1628 |
+
<show_in_default>1</show_in_default>
|
1629 |
+
<show_in_website>1</show_in_website>
|
1630 |
+
<show_in_store>1</show_in_store>
|
1631 |
+
</active>
|
1632 |
+
<sort_order translate="label">
|
1633 |
+
<label>Sort Order</label>
|
1634 |
+
<frontend_type>text</frontend_type>
|
1635 |
+
<config_path>payment/payanyway_dengimail/sort_order</config_path>
|
1636 |
+
<sort_order>3</sort_order>
|
1637 |
+
<show_in_default>1</show_in_default>
|
1638 |
+
<show_in_website>1</show_in_website>
|
1639 |
+
<show_in_store>1</show_in_store>
|
1640 |
+
</sort_order>
|
1641 |
+
<title translate="label">
|
1642 |
+
<label>Title</label>
|
1643 |
+
<frontend_type>text</frontend_type>
|
1644 |
+
<config_path>payment/payanyway_dengimail/title</config_path>
|
1645 |
+
<sort_order>5</sort_order>
|
1646 |
+
<show_in_default>1</show_in_default>
|
1647 |
+
<show_in_website>1</show_in_website>
|
1648 |
+
<show_in_store>1</show_in_store>
|
1649 |
+
</title>
|
1650 |
+
<unitid translate="label">
|
1651 |
+
<label>unitId</label>
|
1652 |
+
<frontend_type>text</frontend_type>
|
1653 |
+
<config_path>payment/payanyway_dengimail/unitid</config_path>
|
1654 |
+
<sort_order>6</sort_order>
|
1655 |
+
<show_in_default>1</show_in_default>
|
1656 |
+
<show_in_website>1</show_in_website>
|
1657 |
+
<show_in_store>1</show_in_store>
|
1658 |
+
</unitid>
|
1659 |
+
<logotype translate="label">
|
1660 |
+
<label>Logotype</label>
|
1661 |
+
<frontend_type>text</frontend_type>
|
1662 |
+
<config_path>payment/payanyway_dengimail/logotype</config_path>
|
1663 |
+
<sort_order>7</sort_order>
|
1664 |
+
<show_in_default>1</show_in_default>
|
1665 |
+
<show_in_website>1</show_in_website>
|
1666 |
+
<show_in_store>1</show_in_store>
|
1667 |
+
</logotype>
|
1668 |
+
<allowspecific translate="label">
|
1669 |
+
<label>Payment from Applicable Countries</label>
|
1670 |
+
<frontend_type>allowspecific</frontend_type>
|
1671 |
+
<config_path>payment/payanyway_dengimail/allowspecific</config_path>
|
1672 |
+
<sort_order>8</sort_order>
|
1673 |
+
<source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
|
1674 |
+
<show_in_default>1</show_in_default>
|
1675 |
+
<show_in_website>1</show_in_website>
|
1676 |
+
<show_in_store>1</show_in_store>
|
1677 |
+
</allowspecific>
|
1678 |
+
<specificcountry translate="label">
|
1679 |
+
<label>Payment from Specific Countries</label>
|
1680 |
+
<frontend_type>multiselect</frontend_type>
|
1681 |
+
<config_path>payment/payanyway_dengimail/specificcountry</config_path>
|
1682 |
+
<sort_order>9</sort_order>
|
1683 |
+
<source_model>adminhtml/system_config_source_country</source_model>
|
1684 |
+
<show_in_default>1</show_in_default>
|
1685 |
+
<show_in_website>1</show_in_website>
|
1686 |
+
<show_in_store>1</show_in_store>
|
1687 |
+
<can_be_empty>1</can_be_empty>
|
1688 |
+
</specificcountry>
|
1689 |
+
</fields>
|
1690 |
+
</payanyway_dengimail>
|
1691 |
+
<payanyway_qiwi translate="label" module="payanyway">
|
1692 |
+
<label>QIWI Wallet</label>
|
1693 |
+
<frontend_type>text</frontend_type>
|
1694 |
+
<sort_order>221</sort_order>
|
1695 |
+
<show_in_default>1</show_in_default>
|
1696 |
+
<show_in_website>1</show_in_website>
|
1697 |
+
<show_in_store>1</show_in_store>
|
1698 |
+
<fields>
|
1699 |
+
<active translate="label">
|
1700 |
+
<label>Enabled</label>
|
1701 |
+
<frontend_type>select</frontend_type>
|
1702 |
+
<config_path>payment/payanyway_qiwi/active</config_path>
|
1703 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
1704 |
+
<sort_order>1</sort_order>
|
1705 |
+
<show_in_default>1</show_in_default>
|
1706 |
+
<show_in_website>1</show_in_website>
|
1707 |
+
<show_in_store>1</show_in_store>
|
1708 |
+
</active>
|
1709 |
+
<sort_order translate="label">
|
1710 |
+
<label>Sort Order</label>
|
1711 |
+
<frontend_type>text</frontend_type>
|
1712 |
+
<config_path>payment/payanyway_qiwi/sort_order</config_path>
|
1713 |
+
<sort_order>3</sort_order>
|
1714 |
+
<show_in_default>1</show_in_default>
|
1715 |
+
<show_in_website>1</show_in_website>
|
1716 |
+
<show_in_store>1</show_in_store>
|
1717 |
+
</sort_order>
|
1718 |
+
<title translate="label">
|
1719 |
+
<label>Title</label>
|
1720 |
+
<frontend_type>text</frontend_type>
|
1721 |
+
<config_path>payment/payanyway_qiwi/title</config_path>
|
1722 |
+
<sort_order>5</sort_order>
|
1723 |
+
<show_in_default>1</show_in_default>
|
1724 |
+
<show_in_website>1</show_in_website>
|
1725 |
+
<show_in_store>1</show_in_store>
|
1726 |
+
</title>
|
1727 |
+
<unitid translate="label">
|
1728 |
+
<label>unitId</label>
|
1729 |
+
<frontend_type>text</frontend_type>
|
1730 |
+
<config_path>payment/payanyway_qiwi/unitid</config_path>
|
1731 |
+
<sort_order>6</sort_order>
|
1732 |
+
<show_in_default>1</show_in_default>
|
1733 |
+
<show_in_website>1</show_in_website>
|
1734 |
+
<show_in_store>1</show_in_store>
|
1735 |
+
</unitid>
|
1736 |
+
<logotype translate="label">
|
1737 |
+
<label>Logotype</label>
|
1738 |
+
<frontend_type>text</frontend_type>
|
1739 |
+
<config_path>payment/payanyway_qiwi/logotype</config_path>
|
1740 |
+
<sort_order>7</sort_order>
|
1741 |
+
<show_in_default>1</show_in_default>
|
1742 |
+
<show_in_website>1</show_in_website>
|
1743 |
+
<show_in_store>1</show_in_store>
|
1744 |
+
</logotype>
|
1745 |
+
<allowspecific translate="label">
|
1746 |
+
<label>Payment from Applicable Countries</label>
|
1747 |
+
<frontend_type>allowspecific</frontend_type>
|
1748 |
+
<config_path>payment/payanyway_qiwi/allowspecific</config_path>
|
1749 |
+
<sort_order>8</sort_order>
|
1750 |
+
<source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
|
1751 |
+
<show_in_default>1</show_in_default>
|
1752 |
+
<show_in_website>1</show_in_website>
|
1753 |
+
<show_in_store>1</show_in_store>
|
1754 |
+
</allowspecific>
|
1755 |
+
<specificcountry translate="label">
|
1756 |
+
<label>Payment from Specific Countries</label>
|
1757 |
+
<frontend_type>multiselect</frontend_type>
|
1758 |
+
<config_path>payment/payanyway_qiwi/specificcountry</config_path>
|
1759 |
+
<sort_order>9</sort_order>
|
1760 |
+
<source_model>adminhtml/system_config_source_country</source_model>
|
1761 |
+
<show_in_default>1</show_in_default>
|
1762 |
+
<show_in_website>1</show_in_website>
|
1763 |
+
<show_in_store>1</show_in_store>
|
1764 |
+
<can_be_empty>1</can_be_empty>
|
1765 |
+
</specificcountry>
|
1766 |
+
</fields>
|
1767 |
+
</payanyway_qiwi>
|
1768 |
+
<payanyway_faktura translate="label" module="payanyway">
|
1769 |
+
<label>Faktura</label>
|
1770 |
+
<frontend_type>text</frontend_type>
|
1771 |
+
<sort_order>222</sort_order>
|
1772 |
+
<show_in_default>1</show_in_default>
|
1773 |
+
<show_in_website>1</show_in_website>
|
1774 |
+
<show_in_store>1</show_in_store>
|
1775 |
+
<fields>
|
1776 |
+
<active translate="label">
|
1777 |
+
<label>Enabled</label>
|
1778 |
+
<frontend_type>select</frontend_type>
|
1779 |
+
<config_path>payment/payanyway_faktura/active</config_path>
|
1780 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
1781 |
+
<sort_order>1</sort_order>
|
1782 |
+
<show_in_default>1</show_in_default>
|
1783 |
+
<show_in_website>1</show_in_website>
|
1784 |
+
<show_in_store>1</show_in_store>
|
1785 |
+
</active>
|
1786 |
+
<sort_order translate="label">
|
1787 |
+
<label>Sort Order</label>
|
1788 |
+
<frontend_type>text</frontend_type>
|
1789 |
+
<config_path>payment/payanyway_faktura/sort_order</config_path>
|
1790 |
+
<sort_order>3</sort_order>
|
1791 |
+
<show_in_default>1</show_in_default>
|
1792 |
+
<show_in_website>1</show_in_website>
|
1793 |
+
<show_in_store>1</show_in_store>
|
1794 |
+
</sort_order>
|
1795 |
+
<title translate="label">
|
1796 |
+
<label>Title</label>
|
1797 |
+
<frontend_type>text</frontend_type>
|
1798 |
+
<config_path>payment/payanyway_faktura/title</config_path>
|
1799 |
+
<sort_order>5</sort_order>
|
1800 |
+
<show_in_default>1</show_in_default>
|
1801 |
+
<show_in_website>1</show_in_website>
|
1802 |
+
<show_in_store>1</show_in_store>
|
1803 |
+
</title>
|
1804 |
+
<unitid translate="label">
|
1805 |
+
<label>unitId</label>
|
1806 |
+
<frontend_type>text</frontend_type>
|
1807 |
+
<config_path>payment/payanyway_faktura/unitid</config_path>
|
1808 |
+
<sort_order>6</sort_order>
|
1809 |
+
<show_in_default>1</show_in_default>
|
1810 |
+
<show_in_website>1</show_in_website>
|
1811 |
+
<show_in_store>1</show_in_store>
|
1812 |
+
</unitid>
|
1813 |
+
<logotype translate="label">
|
1814 |
+
<label>Logotype</label>
|
1815 |
+
<frontend_type>text</frontend_type>
|
1816 |
+
<config_path>payment/payanyway_faktura/logotype</config_path>
|
1817 |
+
<sort_order>7</sort_order>
|
1818 |
+
<show_in_default>1</show_in_default>
|
1819 |
+
<show_in_website>1</show_in_website>
|
1820 |
+
<show_in_store>1</show_in_store>
|
1821 |
+
</logotype>
|
1822 |
+
<allowspecific translate="label">
|
1823 |
+
<label>Payment from Applicable Countries</label>
|
1824 |
+
<frontend_type>allowspecific</frontend_type>
|
1825 |
+
<config_path>payment/payanyway_faktura/allowspecific</config_path>
|
1826 |
+
<sort_order>8</sort_order>
|
1827 |
+
<source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
|
1828 |
+
<show_in_default>1</show_in_default>
|
1829 |
+
<show_in_website>1</show_in_website>
|
1830 |
+
<show_in_store>1</show_in_store>
|
1831 |
+
</allowspecific>
|
1832 |
+
<specificcountry translate="label">
|
1833 |
+
<label>Payment from Specific Countries</label>
|
1834 |
+
<frontend_type>multiselect</frontend_type>
|
1835 |
+
<config_path>payment/payanyway_faktura/specificcountry</config_path>
|
1836 |
+
<sort_order>9</sort_order>
|
1837 |
+
<source_model>adminhtml/system_config_source_country</source_model>
|
1838 |
+
<show_in_default>1</show_in_default>
|
1839 |
+
<show_in_website>1</show_in_website>
|
1840 |
+
<show_in_store>1</show_in_store>
|
1841 |
+
<can_be_empty>1</can_be_empty>
|
1842 |
+
</specificcountry>
|
1843 |
+
</fields>
|
1844 |
+
</payanyway_faktura>
|
1845 |
+
<payanyway_psb translate="label" module="payanyway">
|
1846 |
+
<label>Internet-bank "Promsvyazbank"</label>
|
1847 |
+
<frontend_type>text</frontend_type>
|
1848 |
+
<sort_order>223</sort_order>
|
1849 |
+
<show_in_default>1</show_in_default>
|
1850 |
+
<show_in_website>1</show_in_website>
|
1851 |
+
<show_in_store>1</show_in_store>
|
1852 |
+
<fields>
|
1853 |
+
<active translate="label">
|
1854 |
+
<label>Enabled</label>
|
1855 |
+
<frontend_type>select</frontend_type>
|
1856 |
+
<config_path>payment/payanyway_psb/active</config_path>
|
1857 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
1858 |
+
<sort_order>1</sort_order>
|
1859 |
+
<show_in_default>1</show_in_default>
|
1860 |
+
<show_in_website>1</show_in_website>
|
1861 |
+
<show_in_store>1</show_in_store>
|
1862 |
+
</active>
|
1863 |
+
<sort_order translate="label">
|
1864 |
+
<label>Sort Order</label>
|
1865 |
+
<frontend_type>text</frontend_type>
|
1866 |
+
<config_path>payment/payanyway_psb/sort_order</config_path>
|
1867 |
+
<sort_order>3</sort_order>
|
1868 |
+
<show_in_default>1</show_in_default>
|
1869 |
+
<show_in_website>1</show_in_website>
|
1870 |
+
<show_in_store>1</show_in_store>
|
1871 |
+
</sort_order>
|
1872 |
+
<title translate="label">
|
1873 |
+
<label>Title</label>
|
1874 |
+
<frontend_type>text</frontend_type>
|
1875 |
+
<config_path>payment/payanyway_psb/title</config_path>
|
1876 |
+
<sort_order>5</sort_order>
|
1877 |
+
<show_in_default>1</show_in_default>
|
1878 |
+
<show_in_website>1</show_in_website>
|
1879 |
+
<show_in_store>1</show_in_store>
|
1880 |
+
</title>
|
1881 |
+
<unitid translate="label">
|
1882 |
+
<label>unitId</label>
|
1883 |
+
<frontend_type>text</frontend_type>
|
1884 |
+
<config_path>payment/payanyway_psb/unitid</config_path>
|
1885 |
+
<sort_order>6</sort_order>
|
1886 |
+
<show_in_default>1</show_in_default>
|
1887 |
+
<show_in_website>1</show_in_website>
|
1888 |
+
<show_in_store>1</show_in_store>
|
1889 |
+
</unitid>
|
1890 |
+
<logotype translate="label">
|
1891 |
+
<label>Logotype</label>
|
1892 |
+
<frontend_type>text</frontend_type>
|
1893 |
+
<config_path>payment/payanyway_psb/logotype</config_path>
|
1894 |
+
<sort_order>7</sort_order>
|
1895 |
+
<show_in_default>1</show_in_default>
|
1896 |
+
<show_in_website>1</show_in_website>
|
1897 |
+
<show_in_store>1</show_in_store>
|
1898 |
+
</logotype>
|
1899 |
+
<allowspecific translate="label">
|
1900 |
+
<label>Payment from Applicable Countries</label>
|
1901 |
+
<frontend_type>allowspecific</frontend_type>
|
1902 |
+
<config_path>payment/payanyway_psb/allowspecific</config_path>
|
1903 |
+
<sort_order>8</sort_order>
|
1904 |
+
<source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
|
1905 |
+
<show_in_default>1</show_in_default>
|
1906 |
+
<show_in_website>1</show_in_website>
|
1907 |
+
<show_in_store>1</show_in_store>
|
1908 |
+
</allowspecific>
|
1909 |
+
<specificcountry translate="label">
|
1910 |
+
<label>Payment from Specific Countries</label>
|
1911 |
+
<frontend_type>multiselect</frontend_type>
|
1912 |
+
<config_path>payment/payanyway_psb/specificcountry</config_path>
|
1913 |
+
<sort_order>9</sort_order>
|
1914 |
+
<source_model>adminhtml/system_config_source_country</source_model>
|
1915 |
+
<show_in_default>1</show_in_default>
|
1916 |
+
<show_in_website>1</show_in_website>
|
1917 |
+
<show_in_store>1</show_in_store>
|
1918 |
+
<can_be_empty>1</can_be_empty>
|
1919 |
+
</specificcountry>
|
1920 |
+
</fields>
|
1921 |
+
</payanyway_psb>
|
1922 |
+
<payanyway_sberbank translate="label" module="payanyway">
|
1923 |
+
<label>Sberbank</label>
|
1924 |
+
<frontend_type>text</frontend_type>
|
1925 |
+
<sort_order>224</sort_order>
|
1926 |
+
<show_in_default>1</show_in_default>
|
1927 |
+
<show_in_website>1</show_in_website>
|
1928 |
+
<show_in_store>1</show_in_store>
|
1929 |
+
<fields>
|
1930 |
+
<active translate="label">
|
1931 |
+
<label>Enabled</label>
|
1932 |
+
<frontend_type>select</frontend_type>
|
1933 |
+
<config_path>payment/payanyway_sberbank/active</config_path>
|
1934 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
1935 |
+
<sort_order>1</sort_order>
|
1936 |
+
<show_in_default>1</show_in_default>
|
1937 |
+
<show_in_website>1</show_in_website>
|
1938 |
+
<show_in_store>1</show_in_store>
|
1939 |
+
</active>
|
1940 |
+
<sort_order translate="label">
|
1941 |
+
<label>Sort Order</label>
|
1942 |
+
<frontend_type>text</frontend_type>
|
1943 |
+
<config_path>payment/payanyway_sberbank/sort_order</config_path>
|
1944 |
+
<sort_order>3</sort_order>
|
1945 |
+
<show_in_default>1</show_in_default>
|
1946 |
+
<show_in_website>1</show_in_website>
|
1947 |
+
<show_in_store>1</show_in_store>
|
1948 |
+
</sort_order>
|
1949 |
+
<title translate="label">
|
1950 |
+
<label>Title</label>
|
1951 |
+
<frontend_type>text</frontend_type>
|
1952 |
+
<config_path>payment/payanyway_sberbank/title</config_path>
|
1953 |
+
<sort_order>5</sort_order>
|
1954 |
+
<show_in_default>1</show_in_default>
|
1955 |
+
<show_in_website>1</show_in_website>
|
1956 |
+
<show_in_store>1</show_in_store>
|
1957 |
+
</title>
|
1958 |
+
<unitid translate="label">
|
1959 |
+
<label>unitId</label>
|
1960 |
+
<frontend_type>text</frontend_type>
|
1961 |
+
<config_path>payment/payanyway_sberbank/unitid</config_path>
|
1962 |
+
<sort_order>6</sort_order>
|
1963 |
+
<show_in_default>1</show_in_default>
|
1964 |
+
<show_in_website>1</show_in_website>
|
1965 |
+
<show_in_store>1</show_in_store>
|
1966 |
+
</unitid>
|
1967 |
+
<logotype translate="label">
|
1968 |
+
<label>Logotype</label>
|
1969 |
+
<frontend_type>text</frontend_type>
|
1970 |
+
<config_path>payment/payanyway_sberbank/logotype</config_path>
|
1971 |
+
<sort_order>7</sort_order>
|
1972 |
+
<show_in_default>1</show_in_default>
|
1973 |
+
<show_in_website>1</show_in_website>
|
1974 |
+
<show_in_store>1</show_in_store>
|
1975 |
+
</logotype>
|
1976 |
+
<allowspecific translate="label">
|
1977 |
+
<label>Payment from Applicable Countries</label>
|
1978 |
+
<frontend_type>allowspecific</frontend_type>
|
1979 |
+
<config_path>payment/payanyway_sberbank/allowspecific</config_path>
|
1980 |
+
<sort_order>8</sort_order>
|
1981 |
+
<source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
|
1982 |
+
<show_in_default>1</show_in_default>
|
1983 |
+
<show_in_website>1</show_in_website>
|
1984 |
+
<show_in_store>1</show_in_store>
|
1985 |
+
</allowspecific>
|
1986 |
+
<specificcountry translate="label">
|
1987 |
+
<label>Payment from Specific Countries</label>
|
1988 |
+
<frontend_type>multiselect</frontend_type>
|
1989 |
+
<config_path>payment/payanyway_sberbank/specificcountry</config_path>
|
1990 |
+
<sort_order>9</sort_order>
|
1991 |
+
<source_model>adminhtml/system_config_source_country</source_model>
|
1992 |
+
<show_in_default>1</show_in_default>
|
1993 |
+
<show_in_website>1</show_in_website>
|
1994 |
+
<show_in_store>1</show_in_store>
|
1995 |
+
<can_be_empty>1</can_be_empty>
|
1996 |
+
</specificcountry>
|
1997 |
+
</fields>
|
1998 |
+
</payanyway_sberbank>
|
1999 |
+
</groups>
|
2000 |
+
</payanyway>
|
2001 |
+
</sections>
|
2002 |
+
</config>
|
app/code/community/Paw/Payanyway/sql/payanyway_setup/install-1.0.0.php
DELETED
@@ -1,4 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
$installer = $this;
|
4 |
-
/* @var $installer Mage_Core_Model_Resource_Setup */
|
|
|
|
|
|
|
|
app/code/community/Paw/Payanyway/sql/payanyway_setup/install-1.4.0.php
ADDED
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/** @var $this Mage_Core_Model_Resource_Setup */
|
4 |
+
$installer = $this;
|
5 |
+
|
6 |
+
$connection = $installer->getConnection();
|
7 |
+
$installer->startSetup();
|
8 |
+
|
9 |
+
$data = array(
|
10 |
+
array('pending_payanyway', 'Pending PayAnyWay')
|
11 |
+
);
|
12 |
+
|
13 |
+
// Insert statuses
|
14 |
+
$connection = $installer->getConnection()->insertArray(
|
15 |
+
$installer->getTable('sales/order_status'),
|
16 |
+
array('status', 'label'),
|
17 |
+
$data
|
18 |
+
);
|
19 |
+
$installer->endSetup();
|
app/code/community/Paw/Payanyway/sql/payanyway_setup/mysql4-install-1.4.0.php
ADDED
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/** @var $this Mage_Core_Model_Resource_Setup */
|
4 |
+
$installer = $this;
|
5 |
+
|
6 |
+
$connection = $installer->getConnection();
|
7 |
+
$installer->startSetup();
|
8 |
+
|
9 |
+
$data = array(
|
10 |
+
array('pending_payanyway', 'Pending PayAnyWay')
|
11 |
+
);
|
12 |
+
|
13 |
+
// Insert statuses
|
14 |
+
$connection = $installer->getConnection()->insertArray(
|
15 |
+
$installer->getTable('sales/order_status'),
|
16 |
+
array('status', 'label'),
|
17 |
+
$data
|
18 |
+
);
|
19 |
+
$installer->endSetup();
|
app/code/community/Paw/Payanyway/sql/payanyway_setup/mysql4-upgrade-1.3.1-1.4.0.php
ADDED
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/** @var $this Mage_Core_Model_Resource_Setup */
|
4 |
+
$installer = $this;
|
5 |
+
|
6 |
+
$connection = $installer->getConnection();
|
7 |
+
$installer->startSetup();
|
8 |
+
|
9 |
+
$data = array(
|
10 |
+
array('pending_payanyway', 'Pending PayAnyWay')
|
11 |
+
);
|
12 |
+
|
13 |
+
// Insert statuses
|
14 |
+
$connection = $installer->getConnection()->insertArray(
|
15 |
+
$installer->getTable('sales/order_status'),
|
16 |
+
array('status', 'label'),
|
17 |
+
$data
|
18 |
+
);
|
19 |
+
$installer->endSetup();
|
app/code/community/Paw/Payanyway/sql/payanyway_setup/upgrade-1.3.1-1.4.0.php
ADDED
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/** @var $this Mage_Core_Model_Resource_Setup */
|
4 |
+
$installer = $this;
|
5 |
+
|
6 |
+
$connection = $installer->getConnection();
|
7 |
+
$installer->startSetup();
|
8 |
+
|
9 |
+
$data = array(
|
10 |
+
array('pending_payanyway', 'Pending PayAnyWay')
|
11 |
+
);
|
12 |
+
|
13 |
+
// Insert statuses
|
14 |
+
$connection = $installer->getConnection()->insertArray(
|
15 |
+
$installer->getTable('sales/order_status'),
|
16 |
+
array('status', 'label'),
|
17 |
+
$data
|
18 |
+
);
|
19 |
+
$installer->endSetup();
|
package.xml
CHANGED
@@ -1,18 +1,18 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Paw_Payanyway</name>
|
4 |
-
<version>1.
|
5 |
<stability>stable</stability>
|
6 |
<license>GNU General Public License ( GPL )</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
<summary>Официальный модуль оплаты PayAnyWay</summary>
|
10 |
<description>Официальный модуль оплаты PayAnyWay</description>
|
11 |
-
<notes>- &#
|
12 |
<authors><author><name>PayAnyWay</name><user>techsupport</user><email>tech.support@moneta.ru</email></author></authors>
|
13 |
-
<date>2015-
|
14 |
-
<time>
|
15 |
-
<contents><target name="magecommunity"><dir name="Paw"><dir name="Payanyway"><dir name="Block"><file name="Form.php" hash="
|
16 |
<compatible/>
|
17 |
<dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php><extension><name>soap</name><min></min><max></max></extension><extension><name>libxml</name><min></min><max></max></extension></required></dependencies>
|
18 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Paw_Payanyway</name>
|
4 |
+
<version>1.4.0</version>
|
5 |
<stability>stable</stability>
|
6 |
<license>GNU General Public License ( GPL )</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
<summary>Официальный модуль оплаты PayAnyWay</summary>
|
10 |
<description>Официальный модуль оплаты PayAnyWay</description>
|
11 |
+
<notes>- добавлен специальный статус оплаты для PayAnyWay</notes>
|
12 |
<authors><author><name>PayAnyWay</name><user>techsupport</user><email>tech.support@moneta.ru</email></author></authors>
|
13 |
+
<date>2015-07-21</date>
|
14 |
+
<time>11:27:28</time>
|
15 |
+
<contents><target name="magecommunity"><dir name="Paw"><dir name="Payanyway"><dir name="Block"><file name="Form.php" hash="df76f48208bd735a804e917ee64117d8"/><file name="Info.php" hash="2b628e593b9ca16fc10f2ae586411aee"/><file name="Invoice.php" hash="e9407f01e8656aed7df40bfb534005a9"/><file name="Payment.php" hash="d0a0bd19bf4c56f50eaa076b7f822259"/><file name="Redirect.php" hash="370cc2a41a09a266e77e1fe1e83074d8"/></dir><dir name="Helper"><file name="Data.php" hash="7f52c8d342bb06c56e86fd2f9c99b164"/></dir><dir name="Model"><file name="Abstract.php" hash="238a69829985dbe8c369e42520c92d42"/><file name="Alfaclick.php" hash="61b1294a2e5fc4118656bc0802779ca1"/><file name="Banktransfer.php" hash="e6caf63d43db8d28c3fde916290e96c0"/><file name="Ciberpay.php" hash="77e12ec55721c4e107093aeae44346e6"/><file name="Comepay.php" hash="e01055197ee66ce7343d8055cb513a4a"/><file name="Contact.php" hash="41eb628aec1f6e40695fe531818d91db"/><file name="Dengimail.php" hash="920ad0fc40ceb855394a73be0764e6f3"/><file name="Elecsnet.php" hash="baedd0e11c8cbf6a08fdb4c224c1f40f"/><file name="Euroset.php" hash="eb6ef22a6f749c48c29a12215a5ff0fb"/><file name="Event.php" hash="45f8a749615e97ee25b85bc0740c9092"/><file name="Faktura.php" hash="726180dc969f9a557f1245b52240dee7"/><file name="Forward.php" hash="9711861ca7d4c0f89da93574ac7153a3"/><file name="Gorod.php" hash="6d528bf8774a8e6abdf2a5f7198f8d10"/><file name="Mcb.php" hash="7066b052d64ab94b03c7d2f2848056c1"/><file name="Moneta.php" hash="71fa31664795dd504d4a2e9030486177"/><file name="Moneymail.php" hash="720047a03d5bfd0ee99a4ebb8bbfc5de"/><file name="Novoplat.php" hash="cb64858508b8def485a7a1419f92e7cc"/><file name="Payanyway.php" hash="e29545fc97ae345599226b44ea3fdb61"/><file name="Paymentaction.php" hash="c4b105a85c2e790d83a37da218c62c53"/><file name="Plastic.php" hash="0754fff16b17be7d08425a3006df6213"/><file name="Platika.php" hash="6572b6fef59d29f6a219c26b4b4b9ad7"/><file name="Post.php" hash="e0a6e296c2202c9bae9f9e9b2a19e64f"/><file name="Psb.php" hash="6792f51fcfec041984b37cfa08997090"/><file name="Qiwi.php" hash="7cdf37fcd4584d5bd1df18a1c5804f4d"/><dir name="Resource"><file name="Setup.php" hash="fb9c547c572a3bf98c2fffa0d306e748"/></dir><file name="Sberbank.php" hash="53d31bdd1a3d05f4d0910ebd98889372"/><file name="Walletone.php" hash="797645a533310198a93196ce33df8c5d"/><file name="Webmoney.php" hash="c33d780265d4b6fd998af5d6f33ccb4a"/><file name="Yandex.php" hash="372eb0c87de10638e154821444c389eb"/><file name="event.log" hash="faf92ff9106f89abd1b7e7eff2d2838b"/></dir><dir name="controllers"><dir name="Moneta"><file name="MonetaDataTypes.php" hash="cf0857dbf8a4c74eff98017d0da40dd2"/><file name="MonetaWebService.php" hash="889c253a430e5956ca55b3b9d9687da0"/><file name="MonetaWebServiceConnector.php" hash="c9985f8e9d3984741c8c52ce93a32d35"/></dir><file name="PayanywayController.php" hash="b5344b45c00b7959d1b730cabf88980d"/><file name="ProcessingController.php" hash="6d6be4b132545c39510b34f5bc2c0ca7"/></dir><dir name="etc"><file name="config.xml" hash="b7a15be7eac2a1afa1dd0c8e5d749969"/><file name="system.xml" hash="a901eb72e22a183a1e2c46d24ba9ec35"/></dir><dir name="sql"><dir name="payanyway_setup"><file name="install-1.4.0.php" hash="2d9aff30f516dfd75eaf970121c073ba"/><file name="mysql4-install-1.4.0.php" hash="2d9aff30f516dfd75eaf970121c073ba"/><file name="mysql4-upgrade-1.3.1-1.4.0.php" hash="2d9aff30f516dfd75eaf970121c073ba"/><file name="upgrade-1.3.1-1.4.0.php" hash="2d9aff30f516dfd75eaf970121c073ba"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="payanyway"><file name="info.phtml" hash="c48c99aed4b3b380a218de0b6b789ff1"/><dir><dir name="pdf"><file name="info.phtml" hash="038b5fa410fda60e2f9d765e7735bb95"/></dir></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="payanyway.xml" hash="eb7cddd45a95c4cb27da25f7121aa33e"/></dir><dir name="template"><dir name="payanyway"><file name="blank.phtml" hash="059e182dbeaf095d98bcb006a439ad0d"/><file name="form.phtml" hash="0593bde4476cd4fab8e89a79a1e266ee"/><file name="info.phtml" hash="df0acb6ca5ae526dd11eebf4da44bca8"/><file name="invoice.phtml" hash="fcb4f6107e161d3d76a6787c05e95b95"/><file name="payment.phtml" hash="2f60c9c74e7c8f32365255dcd6be5cf6"/><file name="redirect.phtml" hash="40f203f38c6ad1bbece983a97f18c4e2"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Paw_Payanyway.xml" hash="0b731b00ee8499f8f93abb5d9bf2b78c"/></dir></target><target name="magelocale"><dir><dir name="en_US"><file name="Paw_Payanyway.csv" hash="0645c30bbff8eac86596a4001c48ccee"/></dir><dir name="ru_RU"><file name="Paw_Payanyway.csv" hash="fba28da47602041f5507db193b0f0f8c"/></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="js"><file name="validation.js" hash="293529e124da8adc972c460dc37ec2ae"/></dir><dir name="images"><dir name="payanyway"><file name="alfaclick.jpg" hash="8096aeebb56a00079dbc492e7a622268"/><file name="banktransfer.jpg" hash="e3b59a2f0f1b47c58986478d5433fa05"/><file name="contact.jpg" hash="9c0007046efca8f14434d68b054f73a0"/><file name="elecsnet.jpg" hash="31a033c33e4700b9e8b26dd379a2d7ca"/><file name="euroset.png" hash="752141fa3dbddc06c60b7e9840060f0f"/><file name="forward.jpg" hash="b478da4ece530cec110fba0aaa6c82d3"/><file name="gorod.jpg" hash="aea243c9c807bb94eadb33b8682ddfca"/><file name="mastercard.png" hash="a633a924323e8d70f91dbfc08f647949"/><file name="mcb.jpg" hash="84a7eea77c55822924e2f286789a1bba"/><file name="moneta.jpg" hash="54ffcd3b80e499b9869650cbef369073"/><file name="payanyway.jpg" hash="1574f46268f3dcf2d9b87dbcbda49a2d"/><file name="post.jpg" hash="dac7a7e4c895599ae4dbd495638b76c2"/><file name="psb.jpg" hash="75713bfc990daa9821ad4be5e4ea6caa"/><file name="sberbank.jpg" hash="3fadf12cc4606b433c461a55eba0e667"/><file name="visa.jpg" hash="fdff0c54b639e7aa5037f9c80ef27cfc"/><file name="webmoney.jpg" hash="e301edd858914b9aad72acfb2a1a595f"/><file name="yandex.jpg" hash="d42c6a9f942cb9d2efbcef6170d95c1b"/></dir></dir></dir></dir></dir></target></contents>
|
16 |
<compatible/>
|
17 |
<dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php><extension><name>soap</name><min></min><max></max></extension><extension><name>libxml</name><min></min><max></max></extension></required></dependencies>
|
18 |
</package>
|
skin/frontend/base/default/images/payanyway/alfaclick.jpg
CHANGED
Binary file
|
skin/frontend/base/default/images/payanyway/banktransfer.jpg
CHANGED
Binary file
|
skin/frontend/base/default/images/payanyway/contact.jpg
CHANGED
Binary file
|
skin/frontend/base/default/images/payanyway/elecsnet.jpg
CHANGED
Binary file
|
skin/frontend/base/default/images/payanyway/euroset.png
CHANGED
Binary file
|
skin/frontend/base/default/images/payanyway/forward.jpg
CHANGED
Binary file
|
skin/frontend/base/default/images/payanyway/gorod.jpg
CHANGED
Binary file
|
skin/frontend/base/default/images/payanyway/mastercard.png
CHANGED
Binary file
|
skin/frontend/base/default/images/payanyway/mcb.jpg
CHANGED
Binary file
|
skin/frontend/base/default/images/payanyway/moneta.jpg
CHANGED
Binary file
|
skin/frontend/base/default/images/payanyway/payanyway.jpg
CHANGED
Binary file
|
skin/frontend/base/default/images/payanyway/post.jpg
CHANGED
Binary file
|
skin/frontend/base/default/images/payanyway/psb.jpg
CHANGED
Binary file
|
skin/frontend/base/default/images/payanyway/sberbank.jpg
CHANGED
Binary file
|
skin/frontend/base/default/images/payanyway/visa.jpg
CHANGED
Binary file
|
skin/frontend/base/default/images/payanyway/webmoney.jpg
CHANGED
Binary file
|
skin/frontend/base/default/images/payanyway/yandex.jpg
CHANGED
Binary file
|