/** * Check for the fields needed for this call * * @access public * @return void */ public function check_data() { parent::check_data(); if (empty($this->build_goods)) { throw new exception('<strong>Data missing: Goods</strong>'); } }
/** * Check for the fields needed for this call * * @access public * @return void */ public function check_data() { parent::check_data(); if (!array_key_exists('ClientReference', $this->data_array)) { throw new exception('<strong>Data missing: ClientReference</strong>'); } if (!array_key_exists('ProposalID', $this->data_array)) { throw new exception('<strong>Data missing: ProposalID</strong>'); } }
/** * Check for the fields needed for this call * * @access public * @return void */ public function check_data() { parent::check_data(); if (empty($this->build_notifications)) { throw new exception('<strong>Data missing: Notifications</strong>'); } if (empty($this->build_batch_reference)) { throw new exception('<strong>Data missing: Batch References</strong>'); } }
/** * Check for the fields needed for this call * * @access public * @return void */ public function check_data() { parent::check_data(); if (!array_key_exists('BatchID', $this->data_array)) { throw new exception('<strong>Data missing: BatchID</strong>'); } if (!array_key_exists('Reference', $this->data_array)) { throw new exception('<strong>Data missing: Reference</strong>'); } }
/** * Check for the fields needed for this call * * @access public * @return void */ public function check_data() { parent::check_data(); }