| Total Complexity | 5 |
| Total Lines | 44 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 8 | class RiskLimitsRequest extends AbstractParameters implements IRiskLimitsRequestInterface |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * Product type. linear |
||
| 12 | * Only linear support, now |
||
| 13 | * @var string $category |
||
| 14 | */ |
||
| 15 | protected string $category = "linear"; |
||
| 16 | |||
| 17 | protected string $symbol; |
||
| 18 | |||
| 19 | protected ?string $cursor; |
||
| 20 | |||
| 21 | public function setSymbol(string $symbol): self |
||
| 22 | { |
||
| 23 | $this->symbol = $symbol; |
||
| 24 | return $this; |
||
| 25 | } |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @return string |
||
| 29 | */ |
||
| 30 | public function getSymbol(): string |
||
| 31 | { |
||
| 32 | return $this->symbol; |
||
| 33 | } |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @return string |
||
| 37 | */ |
||
| 38 | public function getCategory(): string |
||
| 39 | { |
||
| 40 | return $this->category; |
||
| 41 | } |
||
| 42 | |||
| 43 | public function setCursor(string $cursor): self |
||
| 47 | } |
||
| 48 | |||
| 49 | public function getCursor(): string |
||
| 50 | { |
||
| 54 |