orderData['travelFees'] = array(); //团款明细 $this->orderData['replaceCollections'] = array(); //代收明细 $this->orderData['replacePays'] = array(); //代付明细 $this->orderData['scheduleDetails'] = array(); //行程详细,数组类型,按照第一天往后有序排列 $this->orderData['customers'] = array(); //游客信息 } public function getBizContent() { if(!empty($this->orderData)){ $this->bizContentarr['orderData'] = $this->orderData; $this->bizContent = json_encode($this->bizContentarr); } return $this->bizContent; } public function setUserId($userId) { $this->userId = $userId; $this->bizContentarr['userId'] = $userId; return $this; } public function setKey($Key) { $this->key = $Key; $this->bizContentarr['key'] = $Key; return $this; } /** 订单基本信息 */ public function setOrderId($orderId) { $this->orderData['orderId'] = $orderId; return $this; } public function setModifyLogInfo($modifyLogInfo) { $this->orderData['modifyLogInfo'] = $modifyLogInfo; return $this; } public function setOrderType($orderType) { $this->orderData['orderType'] = $orderType; return $this; } public function setRouteName($routeName) { $this->orderData['routeName'] = $routeName; return $this; } public function setRouteType($routeType) { $this->orderData['routeType'] = $routeType; return $this; } public function setAgcOrderNo($agcOrderNo) { $this->orderData['agcOrderNo'] = $agcOrderNo; return $this; } public function setAdultNum($adultNum) { $this->orderData['adultNum'] = $adultNum; return $this; } public function setChildNum($childNum) { $this->orderData['childNum'] = $childNum; return $this; } public function setGuiderNum($guiderNum) { $this->orderData['guiderNum'] = $guiderNum; return $this; } public function setGuiderInfo($guiderInfo) { $this->orderData['guiderInfo'] = $guiderInfo; return $this; } public function setToTraffic($toTraffic) { $this->orderData['toTraffic'] = $toTraffic; return $this; } public function setBackTraffic($backTraffic) { $this->orderData['backTraffic'] = $backTraffic; return $this; } public function setRoomStandard($roomStandard) { $this->orderData['roomStandard'] = $roomStandard; return $this; } public function setOrderRemark($orderRemark) { $this->orderData['orderRemark'] = $orderRemark; return $this; } public function setRouteStandard($routeStandard) { $this->orderData['routeStandard'] = $routeStandard; return $this; } public function setDestination($destination) { $this->orderData['destination'] = $destination; return $this; } public function setTravelDate($travelDate) { $this->orderData['travelDate'] = $travelDate; return $this; } public function setLeavedDate($leavedDate) { $this->orderData['leavedDate'] = $leavedDate; return $this; } /** 团款数组 */ public function setTravelFeesType($index, $type) { $this->orderData['travelFees'][$index]['type'] = $type; return $this; } public function setTravelFeesMoney($index, $money) { $this->orderData['travelFees'][$index]['money'] = $money; return $this; } public function setTravelFeesNum($index, $num) { $this->orderData['travelFees'][$index]['num'] = $num; return $this; } public function setTravelFeesUnit($index, $unit) { $this->orderData['travelFees'][$index]['unit'] = $unit; return $this; } public function setTravelFeesSumMoney($index, $sumMoney) { $this->orderData['travelFees'][$index]['sumMoney'] = $sumMoney; return $this; } public function setTravelFeesRemark($index, $remark) { $this->orderData['travelFees'][$index]['remark'] = $remark; return $this; } /** 代付数组 */ public function setReplacePaysType($index, $type) { $this->orderData['replacePays'][$index]['type'] = $type; return $this; } public function setReplacePaysMoney($index, $money) { $this->orderData['replacePays'][$index]['money'] = $money; return $this; } public function setReplacePaysRemark($index, $remark) { $this->orderData['replacePays'][$index]['remark'] = $remark; return $this; } /** 代收数组 */ public function setReplaceCollectionsType($index, $type) { $this->orderData['replaceCollections'][$index]['type'] = $type; return $this; } public function setReplaceCollectionsMoney($index, $money) { $this->orderData['replaceCollections'][$index]['money'] = $money; return $this; } public function setReplaceCollectionsRemark($index, $remark) { $this->orderData['replaceCollections'][$index]['remark'] = $remark; return $this; } /** 行程详细数组 */ public function setScheduleDetailsTitle($index, $title) { $this->orderData['scheduleDetails'][$index]['title'] = $title; return $this; } public function setScheduleDetailsContent($index, $content) { $this->orderData['scheduleDetails'][$index]['content'] = $content; return $this; } public function setScheduleDetailsTraffic($index, $traffic) { $this->orderData['scheduleDetails'][$index]['traffic'] = $traffic; return $this; } public function setScheduleDetailsAccommodation($index, $accommodation) { $this->orderData['scheduleDetails'][$index]['accommodation'] = $accommodation; return $this; } public function setScheduleDetailsBreakFirst($index, $breakFirst) { $this->orderData['scheduleDetails'][$index]['breakFirst'] = $breakFirst; return $this; } public function setScheduleDetailsDinner($index, $dinner) { $this->orderData['scheduleDetails'][$index]['dinner'] = $dinner; return $this; } public function setScheduleDetailsLunch($index, $lunch) { $this->orderData['scheduleDetails'][$index]['lunch'] = $lunch; return $this; } /** 游客信息数组 */ public function setCustomersName($index, $name) { $this->orderData['customers'][$index]['name'] = $name; return $this; } public function setCustomersPeopleType($index, $peopleType) { $this->orderData['customers'][$index]['peopleType'] = $peopleType; return $this; } public function setCustomersDocumentType($index, $documentType) { $this->orderData['customers'][$index]['documentType'] = $documentType; return $this; } public function setCustomersDocumentNo($index, $documentNo) { $this->orderData['customers'][$index]['documentNo'] = $documentNo; return $this; } public function setCustomersPhoneNo($index, $phoneNo) { $this->orderData['customers'][$index]['phoneNo'] = $phoneNo; return $this; } public function setCustomersOtherInfo($index, $otherInfo) { $this->orderData['customers'][$index]['otherInfo'] = $otherInfo; return $this; } } ?>