| Total Complexity | 4 |
| Total Lines | 48 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 8 | class BatchCancelOrderByIdRequest extends AbstractParameters implements IBatchCancelOrderByIdRequestInterface |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * Order ID, use commas to indicate multiple orderIds. Maximum of 100 ids. |
||
| 12 | * @var string $orderIds |
||
| 13 | */ |
||
| 14 | protected string $orderIds; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * Order category. 0:normal order by default; 1:TP/SL order, Required for TP/SL order. |
||
| 18 | * @var int $orderCategory |
||
| 19 | */ |
||
| 20 | protected int $orderCategory; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @param string $orderIds |
||
| 24 | * @return BatchCancelOrderByIdRequest |
||
| 25 | */ |
||
| 26 | public function setOrderIds(string $orderIds): self |
||
| 27 | { |
||
| 28 | $this->orderIds = $orderIds; |
||
| 29 | return $this; |
||
| 30 | } |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @return string |
||
| 34 | */ |
||
| 35 | public function getOrderIds(): string |
||
| 36 | { |
||
| 37 | return $this->orderIds; |
||
| 38 | } |
||
| 39 | |||
| 40 | /** |
||
| 41 | * @param int $orderCategory |
||
| 42 | * @return BatchCancelOrderByIdRequest |
||
| 43 | */ |
||
| 44 | public function setOrderCategory(int $orderCategory): self |
||
| 45 | { |
||
| 46 | $this->orderCategory = $orderCategory; |
||
| 47 | return $this; |
||
| 48 | } |
||
| 49 | |||
| 50 | /** |
||
| 51 | * @return int |
||
| 52 | */ |
||
| 53 | public function getOrderCategory(): int |
||
| 56 | } |
||
| 57 | } |
||
| 58 |