invAddrId = $invAddrId; $this->apiParams["invAddrId"] = $invAddrId; } public function getInvAddrId() { return $this->invAddrId; } public function setInvAddrProp($invAddrProp) { $this->invAddrProp = $invAddrProp; $this->apiParams["invAddrProp"] = $invAddrProp; } public function getInvAddrProp() { return $this->invAddrProp; } public function getApiMethodName() { return 'suning.custom.invaddress.set'; } public function getApiParams() { return $this->apiParams; } public function check() { RequestCheckUtil::checkNotNull($this->invAddrId, 'invAddrId'); RequestCheckUtil::checkNotNull($this->invAddrProp, 'invAddrProp'); RequestCheckUtil::checkValueInItemList($this->invAddrProp, array(0, 1, 2, 3), 'invAddrProp'); } public function getBizName(){ return "invaddress"; } } ?>