Esempio n. 1
0
 /**
  * Initializes the Participant.
  *
  * @param ParticipantBuilder $participantBuilder
  */
 public function __construct(ParticipantBuilder $participantBuilder)
 {
     $this->name = $participantBuilder->getName();
     $this->street = $participantBuilder->getStreet();
     $this->houseNumber = $participantBuilder->getHouseNumber();
     $this->city = $participantBuilder->getCity();
     $this->zip = $participantBuilder->getZip();
     $this->in = $participantBuilder->getIn();
     $this->tin = $participantBuilder->getTin();
     $this->accountNumber = $participantBuilder->getAccountNumber();
 }
Esempio n. 2
0
 /**
  * Initializes the Participant.
  *
  * @param ParticipantBuilder $participantBuilder
  */
 public function __construct(ParticipantBuilder $participantBuilder)
 {
     $this->name = $participantBuilder->getName();
     $this->street = $participantBuilder->getStreet();
     $this->houseNumber = $participantBuilder->getHouseNumber();
     $this->city = $participantBuilder->getCity();
     $this->zip = $participantBuilder->getZip();
     $this->in = $participantBuilder->getIn();
     $this->tin = $participantBuilder->getTin();
     $this->accountNumber = $participantBuilder->getAccountNumber();
     $this->bankName = $participantBuilder->getBankName();
     $this->payment = $participantBuilder->getPayment();
     $this->registration = $participantBuilder->getRegistration();
     $this->vatPayer = $participantBuilder->getVatPayer();
     $this->order = $participantBuilder->getOrder();
     $this->contacts = $participantBuilder->getContacts();
 }