/**
  * CHeck if user have rights to use this address in order creation
  * @param Address $address
  * @param User $user
  *
  * @return bool true if user can use that address at order creation
  */
 public function validateAddress(Address $address, User $user)
 {
     // check if it is global delivery point and then check if this option is enabled in admin
     if ($address->getIsGlobalDeliveryPoint()) {
         return $this->addr_handling_case === AddressHelper::CASE_1_2_3;
     }
     if ($address->getUser() === $user) {
         if (!$address->getIsMainAddress()) {
             return $this->addr_handling_case === AddressHelper::CASE_1_2;
         }
         return true;
     }
     return false;
 }
 /**
  * {@inheritDoc}
  */
 public function setStreet($street)
 {
     $this->__initializer__ && $this->__initializer__->__invoke($this, 'setStreet', array($street));
     return parent::setStreet($street);
 }