cancelId = $cancelId; $this->apiParas["cancel_id"] = $cancelId; } public function getCancelId() { return $this->cancelId; } public function setDeliveryMobile($deliveryMobile) { $this->deliveryMobile = $deliveryMobile; $this->apiParas["delivery_mobile"] = $deliveryMobile; } public function getDeliveryMobile() { return $this->deliveryMobile; } public function setDeliveryName($deliveryName) { $this->deliveryName = $deliveryName; $this->apiParas["delivery_name"] = $deliveryName; } public function getDeliveryName() { return $this->deliveryName; } public function setFeature($feature) { $this->feature = $feature; $this->apiParas["feature"] = $feature; } public function getFeature() { return $this->feature; } public function setMode($mode) { $this->mode = $mode; $this->apiParas["mode"] = $mode; } public function getMode() { return $this->mode; } public function setSenderId($senderId) { $this->senderId = $senderId; $this->apiParas["sender_id"] = $senderId; } public function getSenderId() { return $this->senderId; } public function setSubTid($subTid) { $this->subTid = $subTid; $this->apiParas["sub_tid"] = $subTid; } public function getSubTid() { return $this->subTid; } public function setTid($tid) { $this->tid = $tid; $this->apiParas["tid"] = $tid; } public function getTid() { return $this->tid; } public function getApiMethodName() { return "alibaba.ascp.logistics.seller.send"; } public function getApiParas() { return $this->apiParas; } public function check() { RequestCheckUtil::checkNotNull($this->deliveryMobile,"deliveryMobile"); RequestCheckUtil::checkNotNull($this->deliveryName,"deliveryName"); RequestCheckUtil::checkNotNull($this->tid,"tid"); } public function putOtherTextParam($key, $value) { $this->apiParas[$key] = $value; $this->$key = $value; } }