public function createAddress(Identity $identity, AddressParamsHolder $params)
 {
     $this->address = new Address($identity, $params->line1(), $params->number(), $params->zipPostCode());
     $this->address->setFloor($params->floor())->setDoor($params->door());
     return $this;
 }
Ejemplo n.º 2
0
 public function __construct(Identity $id, $line1, $number, $zipPostCode)
 {
     parent::__construct($id, $line1, $number, $zipPostCode);
 }