| Total Complexity | 6 |
| Total Lines | 52 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 9 | final class Marketplace |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @var string |
||
| 13 | * @SerializedName("SubmerchantId") |
||
| 14 | */ |
||
| 15 | private $submerchantId; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @var Amount|null |
||
| 19 | * @SerializedName("Fee") |
||
| 20 | */ |
||
| 21 | private $fee; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @var Amount|null |
||
| 25 | * @SerializedName("FeeRefund") |
||
| 26 | */ |
||
| 27 | private $feeRefund; |
||
| 28 | |||
| 29 | public function __construct(string $submerchantId) |
||
| 32 | } |
||
| 33 | |||
| 34 | public function getSubmerchantId(): string |
||
| 37 | } |
||
| 38 | |||
| 39 | public function getFee(): ?Amount |
||
| 40 | { |
||
| 41 | return $this->fee; |
||
| 42 | } |
||
| 43 | |||
| 44 | public function setFee(?Amount $fee): self |
||
| 45 | { |
||
| 46 | $this->fee = $fee; |
||
| 47 | |||
| 48 | return $this; |
||
| 49 | } |
||
| 50 | |||
| 51 | public function getFeeRefund(): ?Amount |
||
| 52 | { |
||
| 53 | return $this->feeRefund; |
||
| 54 | } |
||
| 55 | |||
| 56 | public function setFeeRefund(?Amount $feeRefund): self |
||
| 61 | } |
||
| 62 | } |
||
| 63 |