goodsNames = $goodsNames; $this->apiParas["goods_names"] = $goodsNames; } public function getGoodsNames() { return $this->goodsNames; } public function setGoodsQuantities($goodsQuantities) { $this->goodsQuantities = $goodsQuantities; $this->apiParas["goods_quantities"] = $goodsQuantities; } public function getGoodsQuantities() { return $this->goodsQuantities; } public function setIsConsign($isConsign) { $this->isConsign = $isConsign; $this->apiParas["is_consign"] = $isConsign; } public function getIsConsign() { return $this->isConsign; } public function setItemValues($itemValues) { $this->itemValues = $itemValues; $this->apiParas["item_values"] = $itemValues; } public function getItemValues() { return $this->itemValues; } public function setLogisCompanyCode($logisCompanyCode) { $this->logisCompanyCode = $logisCompanyCode; $this->apiParas["logis_company_code"] = $logisCompanyCode; } public function getLogisCompanyCode() { return $this->logisCompanyCode; } public function setLogisType($logisType) { $this->logisType = $logisType; $this->apiParas["logis_type"] = $logisType; } public function getLogisType() { return $this->logisType; } public function setMailNo($mailNo) { $this->mailNo = $mailNo; $this->apiParas["mail_no"] = $mailNo; } public function getMailNo() { return $this->mailNo; } public function setOrderType($orderType) { $this->orderType = $orderType; $this->apiParas["order_type"] = $orderType; } public function getOrderType() { return $this->orderType; } public function setSellerWangwangId($sellerWangwangId) { $this->sellerWangwangId = $sellerWangwangId; $this->apiParas["seller_wangwang_id"] = $sellerWangwangId; } public function getSellerWangwangId() { return $this->sellerWangwangId; } public function setShipping($shipping) { $this->shipping = $shipping; $this->apiParas["shipping"] = $shipping; } public function getShipping() { return $this->shipping; } public function setTradeId($tradeId) { $this->tradeId = $tradeId; $this->apiParas["trade_id"] = $tradeId; } public function getTradeId() { return $this->tradeId; } public function getApiMethodName() { return "taobao.logistics.order.create"; } public function getApiParas() { return $this->apiParas; } public function check() { RequestCheckUtil::checkNotNull($this->goodsNames,"goodsNames"); RequestCheckUtil::checkNotNull($this->goodsQuantities,"goodsQuantities"); RequestCheckUtil::checkNotNull($this->itemValues,"itemValues"); RequestCheckUtil::checkNotNull($this->sellerWangwangId,"sellerWangwangId"); } public function putOtherTextParam($key, $value) { $this->apiParas[$key] = $value; $this->$key = $value; } }