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