| Total Complexity | 4 |
| Total Lines | 42 |
| Duplicated Lines | 0 % |
| Changes | 3 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php declare(strict_types=1); |
||
| 8 | final class RiskFactors |
||
| 9 | { |
||
| 10 | const DELIVERY_TYPE_EMAIL = "EMAIL"; |
||
| 11 | const DELIVERY_TYPE_SHOP = "SHOP"; |
||
| 12 | const DELIVERY_TYPE_HOMEDELIVERY = "HOMEDELIVERY"; |
||
| 13 | const DELIVERY_TYPE_PICKUP = "PICKUP"; |
||
| 14 | const DELIVERY_TYPE_HQ = "HQ"; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @var string|null |
||
| 18 | * @SerializedName("DeliveryType") |
||
| 19 | */ |
||
| 20 | private $deliveryType; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @var PayerProfile|null |
||
| 24 | * @SerializedName("PayerProfile") |
||
| 25 | */ |
||
| 26 | private $payerProfile; |
||
| 27 | |||
| 28 | public function getDeliveryType(): ?string |
||
| 29 | { |
||
| 30 | return $this->deliveryType; |
||
| 31 | } |
||
| 32 | |||
| 33 | public function setDeliveryType(?string $deliveryType): self |
||
| 34 | { |
||
| 35 | $this->deliveryType = $deliveryType; |
||
| 36 | |||
| 37 | return $this; |
||
| 38 | } |
||
| 39 | |||
| 40 | public function getPayerProfile(): ?PayerProfile |
||
| 41 | { |
||
| 42 | return $this->payerProfile; |
||
| 43 | } |
||
| 44 | |||
| 45 | public function setPayerProfile(?PayerProfile $payerProfile): self |
||
| 50 | } |
||
| 51 | } |
||
| 52 |