Total Complexity | 6 |
Total Lines | 72 |
Duplicated Lines | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
8 | class CancelAllOrderRequest extends AbstractParameters implements ICancelAllOrderRequestInterface |
||
9 | { |
||
10 | /** |
||
11 | * Symbol name |
||
12 | * @var string $symbol |
||
13 | */ |
||
14 | protected string $symbol; |
||
15 | |||
16 | /** |
||
17 | * Cancel all open orders by base coin |
||
18 | * @var string $baseCoin |
||
19 | */ |
||
20 | protected string $baseCoin; |
||
21 | |||
22 | /** |
||
23 | * Cancel all open orders by settle coin |
||
24 | * @var string $settleCoin |
||
25 | */ |
||
26 | protected string $settleCoin; |
||
27 | |||
28 | /** |
||
29 | * @return string |
||
30 | */ |
||
31 | public function getSymbol(): string |
||
34 | } |
||
35 | |||
36 | /** |
||
37 | * @param string $symbol |
||
38 | * @return CancelAllOrderRequest |
||
39 | */ |
||
40 | public function setSymbol(string $symbol): self |
||
41 | { |
||
42 | $this->symbol = $symbol; |
||
43 | return $this; |
||
44 | } |
||
45 | |||
46 | /** |
||
47 | * @return string |
||
48 | */ |
||
49 | public function getBaseCoin(): string |
||
50 | { |
||
51 | return $this->baseCoin; |
||
52 | } |
||
53 | |||
54 | /** |
||
55 | * @param string $baseCoin |
||
56 | * @return CancelAllOrderRequest |
||
57 | */ |
||
58 | public function setBaseCoin(string $baseCoin): self |
||
62 | } |
||
63 | |||
64 | /** |
||
65 | * @return string |
||
66 | */ |
||
67 | public function getSettleCoin(): string |
||
68 | { |
||
69 | return $this->settleCoin; |
||
70 | } |
||
71 | |||
72 | /** |
||
73 | * @param string $settleCoin |
||
74 | * @return CancelAllOrderRequest |
||
75 | */ |
||
76 | public function setSettleCoin(string $settleCoin): self |
||
80 | } |
||
81 | } |
||
82 |