Total Complexity | 2 |
Total Lines | 31 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
20 | class StatusRequest extends Request { |
||
21 | /** |
||
22 | * Constructs status request object. |
||
23 | * |
||
24 | * @param string $transaction_id Transaction ID. |
||
25 | * @param string $merchant_id Merchant ID. |
||
26 | * @param string|null $shop_id Shop ID. |
||
27 | */ |
||
28 | 1 | public function __construct( $transaction_id, $merchant_id, $shop_id = null ) { |
|
29 | 1 | parent::__construct( $merchant_id, $shop_id ); |
|
30 | |||
31 | 1 | $this->set_parameter( 'trxid', $transaction_id ); |
|
32 | 1 | } |
|
33 | |||
34 | /** |
||
35 | * Get signature data. |
||
36 | * |
||
37 | * @return array<int,int|string|null> |
||
38 | */ |
||
39 | 1 | public function get_signature_data() { |
|
51 | ); |
||
52 | } |
||
54 |