| Total Complexity | 5 |
| Total Lines | 47 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 9 | final class ReturnUrls |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @var string |
||
| 13 | * @SerializedName("Success") |
||
| 14 | */ |
||
| 15 | private $success; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @var string |
||
| 19 | * @SerializedName("Fail") |
||
| 20 | */ |
||
| 21 | private $fail; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @var string|null |
||
| 25 | * @SerializedName("Abort") |
||
| 26 | */ |
||
| 27 | private $abort; |
||
| 28 | |||
| 29 | public function __construct(string $success, string $fail, string $abort = null) |
||
| 30 | { |
||
| 31 | $this->success = $success; |
||
| 32 | $this->fail = $fail; |
||
| 33 | $this->abort = $abort; |
||
| 34 | } |
||
| 35 | |||
| 36 | public function getSuccess(): string |
||
| 37 | { |
||
| 38 | return $this->success; |
||
| 39 | } |
||
| 40 | |||
| 41 | public function getFail(): string |
||
| 42 | { |
||
| 43 | return $this->fail; |
||
| 44 | } |
||
| 45 | |||
| 46 | public function getAbort(): ?string |
||
| 47 | { |
||
| 48 | return $this->abort; |
||
| 49 | } |
||
| 50 | |||
| 51 | public function setAbort(?string $abort): self |
||
| 56 | } |
||
| 57 | } |
||
| 58 |