GetTradingFeeRateRequest   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 24
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 5
dl 0
loc 24
rs 10
c 0
b 0
f 0
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A setSymbol() 0 4 1
A getSymbol() 0 3 1
1
<?php
2
3
namespace Carpenstar\ByBitAPI\Derivatives\Contract\Account\GetTradingFeeRate\Request;
4
5
use Carpenstar\ByBitAPI\Core\Objects\AbstractParameters;
6
use Carpenstar\ByBitAPI\Derivatives\Contract\Account\GetTradingFeeRate\Interfaces\IGetTradingFeeRateRequestInterface;
7
8
class GetTradingFeeRateRequest extends AbstractParameters implements IGetTradingFeeRateRequestInterface
9
{
10
    /**
11
     * Symbol name
12
     * @var string $symbol
13
     */
14
    protected string $symbol;
15
16
    /**
17
     * @return string
18
     */
19
    public function getSymbol(): string
20
    {
21
        return $this->symbol;
22
    }
23
24
    /**
25
     * @param string $symbol
26
     * @return GetTradingFeeRateRequest
27
     */
28
    public function setSymbol(string $symbol): self
29
    {
30
        $this->symbol = $symbol;
31
        return $this;
32
    }
33
}
34