@@ 121-133 (lines=13) @@ | ||
118 | * @param $city |
|
119 | * @param string $country |
|
120 | */ |
|
121 | public function __construct( |
|
122 | string $name, |
|
123 | string $mobile, |
|
124 | string $addressLine1, |
|
125 | string $city, |
|
126 | string $country = 'KSA' |
|
127 | ) { |
|
128 | $this->name = $name; |
|
129 | $this->mobile = $mobile; |
|
130 | $this->addressLine1 = $addressLine1; |
|
131 | $this->city = $city; |
|
132 | $this->country = $country; |
|
133 | } |
|
134 | ||
135 | /** |
|
136 | * Add customer details to the shipment object. |
@@ 86-100 (lines=15) @@ | ||
83 | * @param string $country |
|
84 | * @param string $phone |
|
85 | */ |
|
86 | public function __construct( |
|
87 | string $name, |
|
88 | string $contactName, |
|
89 | string $addressLine1, |
|
90 | string $city, |
|
91 | string $country, |
|
92 | string $phone |
|
93 | ) { |
|
94 | $this->name = $name; |
|
95 | $this->contactName = $contactName; |
|
96 | $this->addressLine1 = $addressLine1; |
|
97 | $this->city = $city; |
|
98 | $this->country = $country; |
|
99 | $this->phone = $phone; |
|
100 | } |
|
101 | ||
102 | /** |
|
103 | * Add customer details to the shipment object. |