clearanceFlag; } public function setClearanceFlag($clearanceFlag) { $this->clearanceFlag = $clearanceFlag; $this->apiParams["clearanceFlag"] = $clearanceFlag; } public function getCustomsReceipt() { return $this->customsReceipt; } public function setCustomsReceipt($customsReceipt) { $this->customsReceipt = $customsReceipt; $this->apiParams["customsReceipt"] = $customsReceipt; } public function getFailCode() { return $this->failCode; } public function setFailCode($failCode) { $this->failCode = $failCode; $this->apiParams["failCode"] = $failCode; } public function getPackageOrderId() { return $this->packageOrderId; } public function setPackageOrderId($packageOrderId) { $this->packageOrderId = $packageOrderId; $this->apiParams["packageOrderId"] = $packageOrderId; } public function getApiMethodName(){ return 'suning.selfmarket.clearance.add'; } public function getApiParams(){ return $this->apiParams; } public function check(){ //非空校验 RequestCheckUtil::checkNotNull($this->clearanceFlag, 'clearanceFlag'); RequestCheckUtil::checkNotNull($this->packageOrderId, 'packageOrderId'); } public function getBizName(){ return "addClearance"; } } ?>