confirmType; } public function setConfirmType($confirmType) { $this->confirmType = $confirmType; $this->apiParams["confirmType"] = $confirmType; } public function getDetail() { return $this->detail; } public function setDetail($detail) { $this->detail = $detail; $arr = array(); foreach ($detail as $temp){ array_push($arr,$temp->getApiParams()); } $this->apiParams["detail"] = $arr; } public function getDiffReason() { return $this->diffReason; } public function setDiffReason($diffReason) { $this->diffReason = $diffReason; $this->apiParams["diffReason"] = $diffReason; } public function getFeeOrderNo() { return $this->feeOrderNo; } public function setFeeOrderNo($feeOrderNo) { $this->feeOrderNo = $feeOrderNo; $this->apiParams["feeOrderNo"] = $feeOrderNo; } public function getPayDate() { return $this->payDate; } public function setPayDate($payDate) { $this->payDate = $payDate; $this->apiParams["payDate"] = $payDate; } public function getPdfFile() { return $this->pdfFile; } public function setPdfFile($pdfFile) { $this->pdfFile = $pdfFile; $this->apiParams["pdfFile"] = $pdfFile; } public function getSettleType() { return $this->settleType; } public function setSettleType($settleType) { $this->settleType = $settleType; $this->apiParams["settleType"] = $settleType; } public function getSupplierCode() { return $this->supplierCode; } public function setSupplierCode($supplierCode) { $this->supplierCode = $supplierCode; $this->apiParams["supplierCode"] = $supplierCode; } public function getApiMethodName(){ return 'suning.selfmarket.expenseaccount.confirm'; } public function getApiParams(){ return $this->apiParams; } public function check(){ //非空校验 RequestCheckUtil::checkNotNull($this->confirmType, 'confirmType'); RequestCheckUtil::checkNotNull($this->feeOrderNo, 'feeOrderNo'); RequestCheckUtil::checkNotNull($this->payDate, 'payDate'); RequestCheckUtil::checkNotNull($this->settleType, 'settleType'); RequestCheckUtil::checkNotNull($this->supplierCode, 'supplierCode'); } public function getBizName(){ return "confirmExpenseaccount"; } } class Detail { private $apiParams = array(); private $confirmAmount; private $resultOrderNo; public function getConfirmAmount() { return $this->confirmAmount; } public function setConfirmAmount($confirmAmount) { $this->confirmAmount = $confirmAmount; $this->apiParams["confirmAmount"] = $confirmAmount; } public function getResultOrderNo() { return $this->resultOrderNo; } public function setResultOrderNo($resultOrderNo) { $this->resultOrderNo = $resultOrderNo; $this->apiParams["resultOrderNo"] = $resultOrderNo; } public function getApiParams(){ return $this->apiParams; } } ?>