Total Complexity | 5 |
Total Lines | 63 |
Duplicated Lines | 0 % |
Changes | 3 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
12 | final class CaptureResponse extends Response |
||
13 | { |
||
14 | public const STATUS_PENDING = 'PENDING'; |
||
15 | public const STATUS_CAPTURED = 'CAPTURED'; |
||
16 | |||
17 | /** |
||
18 | * @var string|null |
||
19 | * @SerializedName("TransactionId") |
||
20 | * @Type("string") |
||
21 | */ |
||
22 | private $transactionId; |
||
23 | |||
24 | /** |
||
25 | * @var string|null |
||
26 | * @SerializedName("CaptureId") |
||
27 | * @Type("string") |
||
28 | */ |
||
29 | private $captureId; |
||
30 | |||
31 | /** |
||
32 | * @var string|null |
||
33 | * @SerializedName("Status") |
||
34 | * @Type("string") |
||
35 | */ |
||
36 | private $status; |
||
37 | |||
38 | /** |
||
39 | * @var string|null |
||
40 | * @SerializedName("Date") |
||
41 | * @Type("string") |
||
42 | */ |
||
43 | private $date; |
||
44 | |||
45 | /** |
||
46 | * @var Invoice|null |
||
47 | * @SerializedName("Invoice") |
||
48 | * @Type("Ticketpark\SaferpayJson\Response\Container\Invoice") |
||
49 | */ |
||
50 | private $invoice; |
||
51 | |||
52 | public function getTransactionId(): ?string |
||
53 | { |
||
54 | return $this->transactionId; |
||
55 | } |
||
56 | |||
57 | public function getCaptureId(): ?string |
||
58 | { |
||
59 | return $this->captureId; |
||
60 | } |
||
61 | |||
62 | public function getStatus(): ?string |
||
63 | { |
||
64 | return $this->status; |
||
65 | } |
||
66 | |||
67 | public function getDate(): ?string |
||
68 | { |
||
69 | return $this->date; |
||
70 | } |
||
71 | |||
72 | public function getInvoice(): ?Invoice |
||
75 | } |
||
76 | } |
||
77 |