@@ -2,15 +2,10 @@ |
||
2 | 2 | |
3 | 3 | namespace hiqdev\php\merchant\merchants\epayservice; |
4 | 4 | |
5 | -use hiqdev\php\merchant\credentials\CredentialsInterface; |
|
6 | -use hiqdev\php\merchant\factories\GatewayFactoryInterface; |
|
7 | 5 | use hiqdev\php\merchant\InvoiceInterface; |
8 | 6 | use hiqdev\php\merchant\merchants\AbstractMerchant; |
9 | -use hiqdev\php\merchant\merchants\MerchantInterface; |
|
10 | 7 | use hiqdev\php\merchant\response\CompletePurchaseResponse; |
11 | 8 | use hiqdev\php\merchant\response\RedirectPurchaseResponse; |
12 | -use Money\MoneyFormatter; |
|
13 | -use Money\MoneyParser; |
|
14 | 9 | use Omnipay\Common\GatewayInterface; |
15 | 10 | |
16 | 11 | /** |
@@ -2,18 +2,10 @@ |
||
2 | 2 | |
3 | 3 | namespace hiqdev\php\merchant\merchants\interkassa; |
4 | 4 | |
5 | -use hiqdev\php\merchant\credentials\CredentialsInterface; |
|
6 | -use hiqdev\php\merchant\factories\GatewayFactoryInterface; |
|
7 | 5 | use hiqdev\php\merchant\InvoiceInterface; |
8 | 6 | use hiqdev\php\merchant\merchants\AbstractMerchant; |
9 | -use hiqdev\php\merchant\merchants\MerchantInterface; |
|
10 | 7 | use hiqdev\php\merchant\response\CompletePurchaseResponse; |
11 | 8 | use hiqdev\php\merchant\response\RedirectPurchaseResponse; |
12 | -use Money\Currency; |
|
13 | -use Money\Money; |
|
14 | -use Money\MoneyFormatter; |
|
15 | -use Money\MoneyParser; |
|
16 | -use Omnipay\Common\AbstractGateway; |
|
17 | 9 | use Omnipay\WebMoney\Gateway; |
18 | 10 | |
19 | 11 | /** |
@@ -2,15 +2,10 @@ |
||
2 | 2 | |
3 | 3 | namespace hiqdev\php\merchant\merchants\okpay; |
4 | 4 | |
5 | -use hiqdev\php\merchant\credentials\CredentialsInterface; |
|
6 | -use hiqdev\php\merchant\factories\GatewayFactoryInterface; |
|
7 | 5 | use hiqdev\php\merchant\InvoiceInterface; |
8 | 6 | use hiqdev\php\merchant\merchants\AbstractMerchant; |
9 | -use hiqdev\php\merchant\merchants\MerchantInterface; |
|
10 | 7 | use hiqdev\php\merchant\response\CompletePurchaseResponse; |
11 | 8 | use hiqdev\php\merchant\response\RedirectPurchaseResponse; |
12 | -use Money\MoneyFormatter; |
|
13 | -use Money\MoneyParser; |
|
14 | 9 | |
15 | 10 | /** |
16 | 11 | * Class OkpayMerchant |
@@ -2,17 +2,10 @@ |
||
2 | 2 | |
3 | 3 | namespace hiqdev\php\merchant\merchants\paxum; |
4 | 4 | |
5 | -use hiqdev\php\merchant\credentials\CredentialsInterface; |
|
6 | -use hiqdev\php\merchant\factories\GatewayFactoryInterface; |
|
7 | 5 | use hiqdev\php\merchant\InvoiceInterface; |
8 | 6 | use hiqdev\php\merchant\merchants\AbstractMerchant; |
9 | -use hiqdev\php\merchant\merchants\MerchantInterface; |
|
10 | 7 | use hiqdev\php\merchant\response\CompletePurchaseResponse; |
11 | 8 | use hiqdev\php\merchant\response\RedirectPurchaseResponse; |
12 | -use Money\Currency; |
|
13 | -use Money\Money; |
|
14 | -use Money\MoneyFormatter; |
|
15 | -use Money\MoneyParser; |
|
16 | 9 | use Omnipay\WebMoney\Gateway; |
17 | 10 | |
18 | 11 | /** |
@@ -2,17 +2,10 @@ |
||
2 | 2 | |
3 | 3 | namespace hiqdev\php\merchant\merchants\paypal; |
4 | 4 | |
5 | -use hiqdev\php\merchant\credentials\CredentialsInterface; |
|
6 | -use hiqdev\php\merchant\factories\GatewayFactoryInterface; |
|
7 | 5 | use hiqdev\php\merchant\InvoiceInterface; |
8 | 6 | use hiqdev\php\merchant\merchants\AbstractMerchant; |
9 | -use hiqdev\php\merchant\merchants\MerchantInterface; |
|
10 | 7 | use hiqdev\php\merchant\response\CompletePurchaseResponse; |
11 | 8 | use hiqdev\php\merchant\response\RedirectPurchaseResponse; |
12 | -use Money\Currency; |
|
13 | -use Money\Money; |
|
14 | -use Money\MoneyFormatter; |
|
15 | -use Money\MoneyParser; |
|
16 | 9 | use Omnipay\PayPal\Gateway; |
17 | 10 | |
18 | 11 | /** |
@@ -184,7 +184,7 @@ |
||
184 | 184 | } |
185 | 185 | |
186 | 186 | /** |
187 | - * @return string |
|
187 | + * @return boolean |
|
188 | 188 | */ |
189 | 189 | public function getIsSuccessful() |
190 | 190 | { |
@@ -93,7 +93,7 @@ |
||
93 | 93 | */ |
94 | 94 | public function setTestMode($value) |
95 | 95 | { |
96 | - $this->isTestMode = (bool)$value; |
|
96 | + $this->isTestMode = (bool) $value; |
|
97 | 97 | |
98 | 98 | return $this; |
99 | 99 | } |
@@ -40,7 +40,7 @@ discard block |
||
40 | 40 | */ |
41 | 41 | public function setId($id) |
42 | 42 | { |
43 | - $this->id = (string)$id; |
|
43 | + $this->id = (string) $id; |
|
44 | 44 | |
45 | 45 | return $this; |
46 | 46 | } |
@@ -52,7 +52,7 @@ discard block |
||
52 | 52 | |
53 | 53 | public function setClient($client) |
54 | 54 | { |
55 | - $this->client = (string)$client; |
|
55 | + $this->client = (string) $client; |
|
56 | 56 | |
57 | 57 | return $this; |
58 | 58 | } |
@@ -77,7 +77,7 @@ discard block |
||
77 | 77 | |
78 | 78 | public function setDescription($description) |
79 | 79 | { |
80 | - $this->description = (string)$description; |
|
80 | + $this->description = (string) $description; |
|
81 | 81 | |
82 | 82 | return $this; |
83 | 83 | } |