示例#1
0
 /**
  * @return Registration
  */
 protected function createRegistration()
 {
     $registration = new Registration();
     $registration->setBillingAddress($this->createBillingAddress());
     $registration->addParticipant($this->createFullParticipant());
     $registration->addParticipant($this->createParticipant());
     return $registration;
 }
示例#2
0
 /**
  * @param \T3DD\Backend\Domain\Model\Registration\BillingAddress $billingAddress
  */
 public function setBillingAddress(\T3DD\Backend\Domain\Model\Registration\BillingAddress $billingAddress)
 {
     $this->payload->setBillingAddress($billingAddress);
 }