Total Complexity | 7 |
Total Lines | 60 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
10 | final class Refund |
||
11 | { |
||
12 | /** |
||
13 | * @var Amount|null |
||
14 | * @SerializedName("Amount") |
||
15 | * @Type("Ticketpark\SaferpayJson\Request\Container\Amount") |
||
16 | */ |
||
17 | private $amount; |
||
18 | |||
19 | /** |
||
20 | * @var string|null |
||
21 | * @SerializedName("OrderId") |
||
22 | */ |
||
23 | private $orderId; |
||
24 | |||
25 | /** |
||
26 | * @var string|null |
||
27 | * @SerializedName("Description") |
||
28 | */ |
||
29 | private $description; |
||
30 | |||
31 | public function __construct(?Amount $amount) |
||
32 | { |
||
33 | $this->amount = $amount; |
||
34 | } |
||
35 | |||
36 | public function getAmount(): ?Amount |
||
37 | { |
||
38 | return $this->amount; |
||
39 | } |
||
40 | |||
41 | public function setAmount(?Amount $amount): self |
||
42 | { |
||
43 | $this->amount = $amount; |
||
44 | |||
45 | return $this; |
||
46 | } |
||
47 | |||
48 | public function getOrderId(): ?string |
||
49 | { |
||
50 | return $this->orderId; |
||
51 | } |
||
52 | |||
53 | public function setOrderId(?string $orderId): self |
||
54 | { |
||
55 | $this->orderId = $orderId; |
||
56 | |||
57 | return $this; |
||
58 | } |
||
59 | |||
60 | public function getDescription(): ?string |
||
61 | { |
||
62 | return $this->description; |
||
63 | } |
||
64 | |||
65 | public function setDescription(?string $description): self |
||
70 | } |
||
71 | } |
||
72 |