@@ 380-393 (lines=14) @@ | ||
377 | return $this; |
|
378 | } |
|
379 | ||
380 | public function getAddress(&$values, $addressId = 0) |
|
381 | { |
|
382 | $values['types'] = $this->getAddressTypes($addressId); |
|
383 | $values['primary'] = $this->getAddressPrimary($addressId); |
|
384 | $values['firstName'] = $this->getAddressFirstName($addressId); |
|
385 | $values['lastName'] = $this->getAddressLastName($addressId); |
|
386 | $values['street'] = $this->getAddressStreet($addressId); |
|
387 | $values['city'] = $this->getAddressCity($addressId); |
|
388 | $values['postalCode'] = $this->getAddressPostalCode($addressId); |
|
389 | $values['country'] = $this->getAddressCountry($addressId); |
|
390 | $values['region'] = $this->getAddressRegion($addressId); |
|
391 | ||
392 | return $this; |
|
393 | } |
|
394 | ||
395 | public function setAssignedTo($assignedTo) |
|
396 | { |
@@ 440-452 (lines=13) @@ | ||
437 | return $this; |
|
438 | } |
|
439 | ||
440 | public function getAddress(&$values, $addressId = 0) |
|
441 | { |
|
442 | $values['primary'] = $this->getAddressPrimary($addressId); |
|
443 | $values['firstName'] = $this->getAddressFirstName($addressId); |
|
444 | $values['lastName'] = $this->getAddressLastName($addressId); |
|
445 | $values['street'] = $this->getAddressStreet($addressId); |
|
446 | $values['city'] = $this->getAddressCity($addressId); |
|
447 | $values['postalCode'] = $this->getAddressPostalCode($addressId); |
|
448 | $values['country'] = $this->getAddressCountry($addressId); |
|
449 | $values['region'] = $this->getAddressRegion($addressId); |
|
450 | ||
451 | return $this; |
|
452 | } |
|
453 | ||
454 | public function checkStatus($status) |
|
455 | { |