| 1 |
<?php |
| 2 |
|
| 3 |
/** |
| 4 |
* Description of ExternalOrderShippingAddress |
| 5 |
* |
| 6 |
* @author Ali2Woo Team |
| 7 |
*/ |
| 8 |
|
| 9 |
namespace AliNext_Lite;; |
| 10 |
|
| 11 |
class ExternalOrderShippingAddress |
| 12 |
{ |
| 13 |
function __construct( |
| 14 |
private ?string $customerName = null, |
| 15 |
private ?string $phone = null, |
| 16 |
private ?string $phoneCode = null, |
| 17 |
private ?string $country = null, |
| 18 |
private ?string $countryCode = null, |
| 19 |
private ?string $state = null, |
| 20 |
private ?string $stateCode = null, |
| 21 |
private ?string $city = null, |
| 22 |
private ?string $address1 = null, |
| 23 |
private ?string $postcode = null, |
| 24 |
private ?string $address2 = null, |
| 25 |
private ?string $cpf = null, |
| 26 |
private ?string $rutNumber = null, |
| 27 |
private ?string $passportNumber = null, |
| 28 |
private ?string $passportExpiryDate = null, |
| 29 |
private ?string $passportIssuingAgency = null, |
| 30 |
private ?string $taxNumber = null, |
| 31 |
private ?string $foreignerPassportNumber = null, |
| 32 |
private ?bool $isForeigner = null, |
| 33 |
private ?string $vatTaxNumber = null, |
| 34 |
private ?string $taxCompany = null, |
| 35 |
private ?string $locationTreeAddressId = null, |
| 36 |
private ?string $locale = null, |
| 37 |
) { |
| 38 |
|
| 39 |
} |
| 40 |
|
| 41 |
public function getCustomerName(): ?string |
| 42 |
{ |
| 43 |
return $this->customerName; |
| 44 |
} |
| 45 |
|
| 46 |
public function setCustomerName(?string $customerName): self |
| 47 |
{ |
| 48 |
$this->customerName = $customerName; |
| 49 |
|
| 50 |
return $this; |
| 51 |
} |
| 52 |
|
| 53 |
public function getPhone(): ?string |
| 54 |
{ |
| 55 |
return $this->phone; |
| 56 |
} |
| 57 |
|
| 58 |
public function setPhone(?string $phone): self |
| 59 |
{ |
| 60 |
$this->phone = $phone; |
| 61 |
|
| 62 |
return $this; |
| 63 |
} |
| 64 |
|
| 65 |
public function getPhoneCode(): ?string |
| 66 |
{ |
| 67 |
return $this->phoneCode; |
| 68 |
} |
| 69 |
|
| 70 |
public function setPhoneCode(?string $phoneCode): self |
| 71 |
{ |
| 72 |
$this->phoneCode = $phoneCode; |
| 73 |
|
| 74 |
return $this; |
| 75 |
} |
| 76 |
|
| 77 |
public function getCountry(): ?string |
| 78 |
{ |
| 79 |
return $this->country; |
| 80 |
} |
| 81 |
|
| 82 |
public function setCountry(?string $country): self |
| 83 |
{ |
| 84 |
$this->country = $country; |
| 85 |
|
| 86 |
return $this; |
| 87 |
} |
| 88 |
|
| 89 |
public function getCountryCode(): ?string |
| 90 |
{ |
| 91 |
return $this->countryCode; |
| 92 |
} |
| 93 |
|
| 94 |
public function setCountryCode(?string $countryCode): self |
| 95 |
{ |
| 96 |
$this->countryCode = $countryCode; |
| 97 |
|
| 98 |
return $this; |
| 99 |
} |
| 100 |
|
| 101 |
public function getState(): ?string |
| 102 |
{ |
| 103 |
return $this->state; |
| 104 |
} |
| 105 |
|
| 106 |
public function setState(?string $state): self |
| 107 |
{ |
| 108 |
$this->state = $state; |
| 109 |
|
| 110 |
return $this; |
| 111 |
} |
| 112 |
|
| 113 |
public function getStateCode(): ?string |
| 114 |
{ |
| 115 |
return $this->stateCode; |
| 116 |
} |
| 117 |
|
| 118 |
public function setStateCode(?string $stateCode): self |
| 119 |
{ |
| 120 |
$this->stateCode = $stateCode; |
| 121 |
|
| 122 |
return $this; |
| 123 |
} |
| 124 |
|
| 125 |
public function getCity(): ?string |
| 126 |
{ |
| 127 |
return $this->city; |
| 128 |
} |
| 129 |
|
| 130 |
public function setCity(?string $city): self |
| 131 |
{ |
| 132 |
$this->city = $city; |
| 133 |
|
| 134 |
return $this; |
| 135 |
} |
| 136 |
|
| 137 |
public function getAddress1(): ?string |
| 138 |
{ |
| 139 |
return $this->address1; |
| 140 |
} |
| 141 |
|
| 142 |
public function setAddress1(?string $address1): self |
| 143 |
{ |
| 144 |
$this->address1 = $address1; |
| 145 |
|
| 146 |
return $this; |
| 147 |
} |
| 148 |
|
| 149 |
public function getPostcode(): ?string |
| 150 |
{ |
| 151 |
return $this->postcode; |
| 152 |
} |
| 153 |
|
| 154 |
public function setPostcode(?string $postcode): self |
| 155 |
{ |
| 156 |
$this->postcode = $postcode; |
| 157 |
|
| 158 |
return $this; |
| 159 |
} |
| 160 |
|
| 161 |
public function getAddress2(): ?string |
| 162 |
{ |
| 163 |
return $this->address2; |
| 164 |
} |
| 165 |
|
| 166 |
public function setAddress2(?string $address2): self |
| 167 |
{ |
| 168 |
$this->address2 = $address2; |
| 169 |
|
| 170 |
return $this; |
| 171 |
} |
| 172 |
|
| 173 |
public function getCpf(): ?string |
| 174 |
{ |
| 175 |
return $this->cpf; |
| 176 |
} |
| 177 |
|
| 178 |
public function setCpf(?string $cpf): self |
| 179 |
{ |
| 180 |
$this->cpf = $cpf; |
| 181 |
|
| 182 |
return $this; |
| 183 |
} |
| 184 |
|
| 185 |
public function getRutNumber(): ?string |
| 186 |
{ |
| 187 |
return $this->rutNumber; |
| 188 |
} |
| 189 |
|
| 190 |
public function setRutNumber(?string $rutNumber): self |
| 191 |
{ |
| 192 |
$this->rutNumber = $rutNumber; |
| 193 |
|
| 194 |
return $this; |
| 195 |
} |
| 196 |
|
| 197 |
public function getPassportNumber(): ?string |
| 198 |
{ |
| 199 |
return $this->passportNumber; |
| 200 |
} |
| 201 |
|
| 202 |
public function setPassportNumber(?string $passportNumber): self |
| 203 |
{ |
| 204 |
$this->passportNumber = $passportNumber; |
| 205 |
|
| 206 |
return $this; |
| 207 |
} |
| 208 |
|
| 209 |
public function getPassportExpiryDate(): ?string |
| 210 |
{ |
| 211 |
return $this->passportExpiryDate; |
| 212 |
} |
| 213 |
|
| 214 |
public function setPassportExpiryDate(?string $passportExpiryDate): self |
| 215 |
{ |
| 216 |
$this->passportExpiryDate = $passportExpiryDate; |
| 217 |
|
| 218 |
return $this; |
| 219 |
} |
| 220 |
|
| 221 |
public function getPassportIssuingAgency(): ?string |
| 222 |
{ |
| 223 |
return $this->passportIssuingAgency; |
| 224 |
} |
| 225 |
|
| 226 |
public function setPassportIssuingAgency(?string $passportIssuingAgency): self |
| 227 |
{ |
| 228 |
$this->passportIssuingAgency = $passportIssuingAgency; |
| 229 |
|
| 230 |
return $this; |
| 231 |
} |
| 232 |
|
| 233 |
public function getTaxNumber(): ?string |
| 234 |
{ |
| 235 |
return $this->taxNumber; |
| 236 |
} |
| 237 |
|
| 238 |
public function setTaxNumber(?string $taxNumber): self |
| 239 |
{ |
| 240 |
$this->taxNumber = $taxNumber; |
| 241 |
|
| 242 |
return $this; |
| 243 |
} |
| 244 |
|
| 245 |
public function getForeignerPassportNumber(): ?string |
| 246 |
{ |
| 247 |
return $this->foreignerPassportNumber; |
| 248 |
} |
| 249 |
|
| 250 |
public function setForeignerPassportNumber(?string $foreignerPassportNumber): self |
| 251 |
{ |
| 252 |
$this->foreignerPassportNumber = $foreignerPassportNumber; |
| 253 |
|
| 254 |
return $this; |
| 255 |
} |
| 256 |
|
| 257 |
public function getIsForeigner(): ?bool |
| 258 |
{ |
| 259 |
return $this->isForeigner; |
| 260 |
} |
| 261 |
|
| 262 |
public function setIsForeigner(?bool $isForeigner): self |
| 263 |
{ |
| 264 |
$this->isForeigner = $isForeigner; |
| 265 |
|
| 266 |
return $this; |
| 267 |
} |
| 268 |
|
| 269 |
public function getVatTaxNumber(): ?string |
| 270 |
{ |
| 271 |
return $this->vatTaxNumber; |
| 272 |
} |
| 273 |
|
| 274 |
public function setVatTaxNumber(?string $vatTaxNumber): self |
| 275 |
{ |
| 276 |
$this->vatTaxNumber = $vatTaxNumber; |
| 277 |
|
| 278 |
return $this; |
| 279 |
} |
| 280 |
|
| 281 |
public function getTaxCompany(): ?string |
| 282 |
{ |
| 283 |
return $this->taxCompany; |
| 284 |
} |
| 285 |
|
| 286 |
public function setTaxCompany(?string $taxCompany): self |
| 287 |
{ |
| 288 |
$this->taxCompany = $taxCompany; |
| 289 |
|
| 290 |
return $this; |
| 291 |
} |
| 292 |
|
| 293 |
public function getLocationTreeAddressId(): ?string |
| 294 |
{ |
| 295 |
return $this->locationTreeAddressId; |
| 296 |
} |
| 297 |
|
| 298 |
public function setLocationTreeAddressId(?string $locationTreeAddressId): self |
| 299 |
{ |
| 300 |
$this->locationTreeAddressId = $locationTreeAddressId; |
| 301 |
|
| 302 |
return $this; |
| 303 |
} |
| 304 |
//@description 'en_US' |
| 305 |
public function getLocale(): ?string |
| 306 |
{ |
| 307 |
return $this->locale; |
| 308 |
} |
| 309 |
|
| 310 |
public function setLocale(?string $locale): self |
| 311 |
{ |
| 312 |
$this->locale = $locale; |
| 313 |
|
| 314 |
return $this; |
| 315 |
} |
| 316 |
|
| 317 |
} |
| 318 |
|