Total Complexity | 8 |
Total Lines | 72 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
9 | final class CaptureReference |
||
10 | { |
||
11 | /** |
||
12 | * @var string|null |
||
13 | * @SerializedName("CaptureId") |
||
14 | */ |
||
15 | private $captureId; |
||
16 | |||
17 | /** |
||
18 | * @var string|null |
||
19 | * @SerializedName("TransactionId") |
||
20 | */ |
||
21 | private $transactionId; |
||
22 | |||
23 | /** |
||
24 | * @var string|null |
||
25 | * @SerializedName("OrderId") |
||
26 | */ |
||
27 | private $orderId; |
||
28 | |||
29 | /** |
||
30 | * @var string|null |
||
31 | * @SerializedName("OrderPartId") |
||
32 | */ |
||
33 | private $orderPartId; |
||
34 | |||
35 | public function getCaptureId(): ?string |
||
36 | { |
||
37 | return $this->captureId; |
||
38 | } |
||
39 | |||
40 | public function setCaptureId(?string $captureId): self |
||
41 | { |
||
42 | $this->captureId = $captureId; |
||
43 | |||
44 | return $this; |
||
45 | } |
||
46 | |||
47 | public function getTransactionId(): ?string |
||
48 | { |
||
49 | return $this->transactionId; |
||
50 | } |
||
51 | |||
52 | public function setTransactionId(?string $transactionId): self |
||
53 | { |
||
54 | $this->transactionId = $transactionId; |
||
55 | |||
56 | return $this; |
||
57 | } |
||
58 | |||
59 | public function getOrderId(): ?string |
||
62 | } |
||
63 | |||
64 | public function setOrderId(?string $orderId): self |
||
69 | } |
||
70 | |||
71 | public function getOrderPartId(): ?string |
||
72 | { |
||
73 | return $this->orderPartId; |
||
74 | } |
||
75 | |||
76 | public function setOrderPartId(?string $orderPartId): self |
||
81 | } |
||
82 | } |
||
83 |