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