| Total Complexity | 3 |
| Total Lines | 42 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 11 | class AddOrderResponse implements ResponseInterface |
||
| 12 | { |
||
| 13 | |||
| 14 | /** |
||
| 15 | * order description info |
||
| 16 | * |
||
| 17 | * @var array |
||
| 18 | */ |
||
| 19 | private $descr; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * Transaction id |
||
| 23 | * |
||
| 24 | * @var string |
||
| 25 | */ |
||
| 26 | private $txid; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * AddOrderResponse constructor. |
||
| 30 | * @param array $descr |
||
| 31 | * @param string $txid |
||
| 32 | */ |
||
| 33 | public function __construct(array $descr, $txid) |
||
| 34 | { |
||
| 35 | $this->descr = $descr; |
||
| 36 | $this->txid = $txid; |
||
| 37 | } |
||
| 38 | |||
| 39 | /** |
||
| 40 | * @return array |
||
| 41 | */ |
||
| 42 | public function getDescr() |
||
| 43 | { |
||
| 44 | return $this->descr; |
||
| 45 | } |
||
| 46 | |||
| 47 | /** |
||
| 48 | * @return string |
||
| 49 | */ |
||
| 50 | public function getTxid() |
||
| 53 | } |
||
| 54 | } |
||
| 55 |