Total Complexity | 6 |
Total Lines | 60 |
Duplicated Lines | 0 % |
Changes | 5 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
10 | final class RiskFactors |
||
11 | { |
||
12 | public const DELIVERY_TYPE_EMAIL = "EMAIL"; |
||
13 | public const DELIVERY_TYPE_SHOP = "SHOP"; |
||
14 | public const DELIVERY_TYPE_HOMEDELIVERY = "HOMEDELIVERY"; |
||
15 | public const DELIVERY_TYPE_PICKUP = "PICKUP"; |
||
16 | public const DELIVERY_TYPE_HQ = "HQ"; |
||
17 | |||
18 | /** |
||
19 | * @var string|null |
||
20 | * @SerializedName("DeliveryType") |
||
21 | */ |
||
22 | private $deliveryType; |
||
23 | |||
24 | /** |
||
25 | * @var PayerProfile|null |
||
26 | * @SerializedName("PayerProfile") |
||
27 | */ |
||
28 | private $payerProfile; |
||
29 | |||
30 | /** |
||
31 | * @var Order|null |
||
32 | * @SerializedName("Order") |
||
33 | */ |
||
34 | private $order; |
||
35 | |||
36 | public function getDeliveryType(): ?string |
||
37 | { |
||
38 | return $this->deliveryType; |
||
39 | } |
||
40 | |||
41 | public function setDeliveryType(?string $deliveryType): self |
||
46 | } |
||
47 | |||
48 | public function getPayerProfile(): ?PayerProfile |
||
49 | { |
||
50 | return $this->payerProfile; |
||
51 | } |
||
52 | |||
53 | public function setPayerProfile(?PayerProfile $payerProfile): self |
||
58 | } |
||
59 | |||
60 | public function getOrder(): ?Order |
||
63 | } |
||
64 | |||
65 | public function setOrder(?Order $order): self |
||
70 | } |
||
71 | } |
||
72 |