@@ 759-767 (lines=9) @@ | ||
756 | * |
|
757 | * @return $this |
|
758 | */ |
|
759 | public function setCompanyTaxDocument($documentNumber) |
|
760 | { |
|
761 | $this->initializeCompany(); |
|
762 | $this->data->company->taxDocument = new stdClass(); |
|
763 | $this->data->company->taxDocument->type = self::COMPANY_TAX_DOCUMENT; |
|
764 | $this->data->company->taxDocument->number = $documentNumber; |
|
765 | ||
766 | return $this; |
|
767 | } |
|
768 | ||
769 | /** |
|
770 | * Set company tax document. |
|
@@ 776-784 (lines=9) @@ | ||
773 | * |
|
774 | * @return $this |
|
775 | */ |
|
776 | public function setCompanyMainActivity($cnae, $description) |
|
777 | { |
|
778 | $this->initializeCompany(); |
|
779 | $this->data->company->mainActivity = new stdClass(); |
|
780 | $this->data->company->mainActivity->cnae = $cnae; |
|
781 | $this->data->company->mainActivity->description = $description; |
|
782 | ||
783 | return $this; |
|
784 | } |
|
785 | ||
786 | /** |
|
787 | * Set address to company. |