orderId; } public function setOrderId($orderId) { $this->orderId = $orderId; $this->apiParams["orderId"] = $orderId; } public function getOrderItemIds() { return $this->orderItemIds; } public function setOrderItemIds($orderItemIds) { $this->orderItemIds = $orderItemIds; $arr = array(); foreach ($orderItemIds as $temp){ array_push($arr,$temp->getApiParams()); } $this->apiParams["orderItemIds"] = $arr; } public function getApiMethodName(){ return 'suning.govbus.servicerates.get'; } public function getApiParams(){ return $this->apiParams; } public function check(){ //非空校验 RequestCheckUtil::checkNotNull($this->orderId, 'orderId'); } public function getBizName(){ return "getServicerates"; } } class OrderItemIds { private $apiParams = array(); private $orderItemId; public function getOrderItemId() { return $this->orderItemId; } public function setOrderItemId($orderItemId) { $this->orderItemId = $orderItemId; $this->apiParams["orderItemId"] = $orderItemId; } public function getApiParams(){ return $this->apiParams; } } ?>