Example #1
0
 public function __construct1(array $data)
 {
     parent::__construct1($data);
     $supplierInvoiceAccrualRows = [];
     foreach ($this->SupplierInvoiceAccrualRows as $row) {
         $supplierInvoiceAccrualRows[] = new SupplierInvoiceAccrualRow($row);
     }
     $this->SupplierInvoiceAccrualRows = $supplierInvoiceAccrualRows;
 }
Example #2
0
 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;
 }
Example #3
0
 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;
 }
Example #4
0
 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);
     }
 }
Example #5
0
 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);
 }