public function __construct1(array $data) { parent::__construct1($data); $supplierInvoiceAccrualRows = []; foreach ($this->SupplierInvoiceAccrualRows as $row) { $supplierInvoiceAccrualRows[] = new SupplierInvoiceAccrualRow($row); } $this->SupplierInvoiceAccrualRows = $supplierInvoiceAccrualRows; }
public function __construct1(array $data) { parent::__construct1($data); $files = []; foreach ($this->Files as $file) { $files = new Folder($file); } $this->Files = $files; $folders = []; foreach ($this->Folders as $folder) { $folders = new Folder($folder); } $this->Folders = $folders; }
public function __construct1(array $data) { parent::__construct1($data); $this->EmailInformation = new EmailInformation($this->EmailInformation); $orderRows = []; foreach ($this->OrderRows as $row) { $orderRows[] = new OrderRow($row); } $this->OrderRows = $orderRows; $rows = []; foreach ($this->Rows as $row) { $rows = new OrderRow($row); } $this->Rows = $rows; }
public function __construct1(array $data) { parent::__construct1($data); if ($this->DefaultDeliveryTypes) { $this->DefaultDeliveryTypes = new DefaultDeliveryTypes($this->DefaultDeliveryTypes); } if ($this->DefaultTemplates) { $this->DefaultTemplates = new DefaultTemplates($this->DefaultTemplates); } }
public function __construct1(array $data) { parent::__construct1($data); if (is_array($this->InvoiceRows) && !empty($this->InvoiceRows)) { $invoiceRows = []; foreach ($this->InvoiceRows as $row) { $invoiceRows[] = new InvoiceRow($row); } $this->InvoiceRows = $invoiceRows; } $this->EDIInformation = new EDIInformation($this->EDIInformation); $this->EmailInformation = new EmailInformation($this->EmailInformation); }