Total Complexity | 6 |
Total Lines | 34 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
16 | class PartyLegalEntity extends BaseComponent { |
||
17 | |||
18 | protected $RegistrationName; |
||
19 | |||
20 | /** @var RegistrationAddress */ |
||
21 | protected $RegistrationAddress; |
||
22 | |||
23 | function xmlSerialize(Writer $writer) { |
||
24 | $writer->write([ |
||
25 | SchemaNS::CBC . 'RegistrationName' => new Cdata($this->RegistrationName) |
||
26 | ]); |
||
27 | if ($this->RegistrationAddress) { |
||
28 | $writer->write([ |
||
29 | SchemaNS::CAC . 'RegistrationAddress' => $this->RegistrationAddress |
||
30 | ]); |
||
31 | } |
||
32 | } |
||
33 | |||
34 | public function getRegistrationName() { |
||
36 | } |
||
37 | |||
38 | public function setRegistrationName($RegistrationName) { |
||
41 | } |
||
42 | |||
43 | public function getRegistrationAddress() { |
||
44 | return $this->RegistrationAddress; |
||
45 | } |
||
46 | |||
47 | public function setRegistrationAddress(RegistrationAddress $RegistrationAddress) { |
||
50 | } |
||
51 | |||
52 | } |
||
53 |