/** * Call the function * * @access public * @return void */ public function call() { parent::call(); $params = array('proposalEnquiryData' => $this->data_array); $this->debug($params, 'Soap Params'); $this->create_client(); $this->call_result = $this->soap_client->proposalEnquiry($params); $this->after_call(); }
/** * Call the function * * @access public * @return void */ public function call() { parent::call(); $notifications = array(); foreach ($this->build_notifications as $notification) { $array = array('ProposalID' => $notification['ProposalID'], 'AgreementNumber' => $notification['AgreementNumber'], 'ClientReference' => $notification['ClientReference'], 'BalanceToFinance' => $notification['BalanceToFinance']); $notifications[] = $array; } $this->add_data('NotificationBatch', array('BatchReference' => $this->build_batch_reference, 'Notification' => $notifications)); $params = array('notificationData' => $this->data_array); $this->debug($params, 'Soap Params'); $this->create_client(); $this->call_result = $this->soap_client->submitNotificationBatch($params); $this->after_call(); }
/** * Call the function * * @access public * @return void */ public function call() { parent::call(); $this->add_data('Proposal', $this->build_proposal); $all_goods = array(); foreach ($this->build_goods as $goods) { $array = array('Description' => $goods['desc'], 'Quantity' => $goods['qty'], 'Type' => $goods['type']); $all_goods[] = $array; } $this->add_data('Goods', $all_goods); $this->add_data('Customer', $this->build_customer); $this->add_data('Address', $this->build_address); $params = array('newApplicationData' => $this->data_array); $this->debug($params, 'Soap Params'); $this->create_client(); $this->call_result = $this->soap_client->submitNewApplication($params); $this->after_call(); }
/** * Call the function * * @access public * @return void */ public function call() { parent::call(); $this->add_data('Customer', $this->build_customer); $this->add_data('Agreement', $this->build_agreement); $params = array('cancelAgreementData' => $this->data_array); $this->debug($params, 'Soap Params'); $this->create_client(); $this->call_result = $this->soap_client->CancelAgreement($params); $this->after_call(); }