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