actionType = $actionType; $this->apiParas["actionType"] = $actionType; } public function getActionType() { return $this->actionType; } public function setExtendProps($extendProps) { $this->extendProps = $extendProps; $this->apiParas["extendProps"] = $extendProps; } public function getExtendProps() { return $this->extendProps; } public function setOrderCode($orderCode) { $this->orderCode = $orderCode; $this->apiParas["orderCode"] = $orderCode; } public function getOrderCode() { return $this->orderCode; } public function setOrderId($orderId) { $this->orderId = $orderId; $this->apiParas["orderId"] = $orderId; } public function getOrderId() { return $this->orderId; } public function setOrderType($orderType) { $this->orderType = $orderType; $this->apiParas["orderType"] = $orderType; } public function getOrderType() { return $this->orderType; } public function setOwnerCode($ownerCode) { $this->ownerCode = $ownerCode; $this->apiParas["ownerCode"] = $ownerCode; } public function getOwnerCode() { return $this->ownerCode; } public function setReason($reason) { $this->reason = $reason; $this->apiParas["reason"] = $reason; } public function getReason() { return $this->reason; } public function setWarehouseCode($warehouseCode) { $this->warehouseCode = $warehouseCode; $this->apiParas["warehouseCode"] = $warehouseCode; } public function getWarehouseCode() { return $this->warehouseCode; } public function getApiMethodName() { return "taobao.qimen.order.pending"; } public function getApiParas() { return $this->apiParas; } public function check() { RequestCheckUtil::checkNotNull($this->actionType,"actionType"); RequestCheckUtil::checkMaxLength($this->actionType,50,"actionType"); RequestCheckUtil::checkNotNull($this->orderCode,"orderCode"); RequestCheckUtil::checkMaxLength($this->orderCode,50,"orderCode"); RequestCheckUtil::checkMaxLength($this->orderId,50,"orderId"); RequestCheckUtil::checkMaxLength($this->orderType,50,"orderType"); RequestCheckUtil::checkMaxLength($this->ownerCode,50,"ownerCode"); RequestCheckUtil::checkMaxLength($this->reason,500,"reason"); RequestCheckUtil::checkNotNull($this->warehouseCode,"warehouseCode"); RequestCheckUtil::checkMaxLength($this->warehouseCode,50,"warehouseCode"); } public function putOtherTextParam($key, $value) { $this->apiParas[$key] = $value; $this->$key = $value; } }