Total Complexity | 1 |
Total Lines | 40 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
17 | class Signature { |
||
18 | public $account; |
||
19 | |||
20 | public $site_id; |
||
21 | |||
22 | public $site_secure_code; |
||
23 | |||
24 | public $notification_url; |
||
25 | |||
26 | public $redirect_url; |
||
27 | |||
28 | public $cancel_url; |
||
29 | |||
30 | public $close_window; |
||
31 | |||
32 | /** |
||
33 | * Constructs and initialize an MultiSafepay Connect merchant object |
||
34 | * |
||
35 | * @param $amount string |
||
36 | * @param $currency string |
||
37 | * @param $account string |
||
38 | * @param $site_id string |
||
39 | * @param $transaction_id string |
||
40 | * |
||
41 | * @return string |
||
42 | */ |
||
43 | 2 | public static function generate( $amount, $currency, $account, $site_id, $transaction_id ) { |
|
59 |