billCode = $billCode; $this->apiParas["bill_code"] = $billCode; } public function getBillCode() { return $this->billCode; } public function setBillTime($billTime) { $this->billTime = $billTime; $this->apiParas["bill_time"] = $billTime; } public function getBillTime() { return $this->billTime; } public function setBillType($billType) { $this->billType = $billType; $this->apiParas["bill_type"] = $billType; } public function getBillType() { return $this->billType; } public function setCustomerId($customerId) { $this->customerId = $customerId; $this->apiParas["customer_id"] = $customerId; } public function getCustomerId() { return $this->customerId; } public function setCustomerIdType($customerIdType) { $this->customerIdType = $customerIdType; $this->apiParas["customer_id_type"] = $customerIdType; } public function getCustomerIdType() { return $this->customerIdType; } public function setFromUserId($fromUserId) { $this->fromUserId = $fromUserId; $this->apiParas["from_user_id"] = $fromUserId; } public function getFromUserId() { return $this->fromUserId; } public function setIgnorePartSuccessFlag($ignorePartSuccessFlag) { $this->ignorePartSuccessFlag = $ignorePartSuccessFlag; $this->apiParas["ignore_part_success_flag"] = $ignorePartSuccessFlag; } public function getIgnorePartSuccessFlag() { return $this->ignorePartSuccessFlag; } public function setMedicDispenser($medicDispenser) { $this->medicDispenser = $medicDispenser; $this->apiParas["medic_dispenser"] = $medicDispenser; } public function getMedicDispenser() { return $this->medicDispenser; } public function setMedicDoctor($medicDoctor) { $this->medicDoctor = $medicDoctor; $this->apiParas["medic_doctor"] = $medicDoctor; } public function getMedicDoctor() { return $this->medicDoctor; } public function setNetworkBillFlag($networkBillFlag) { $this->networkBillFlag = $networkBillFlag; $this->apiParas["network_bill_flag"] = $networkBillFlag; } public function getNetworkBillFlag() { return $this->networkBillFlag; } public function setOperIcCode($operIcCode) { $this->operIcCode = $operIcCode; $this->apiParas["oper_ic_code"] = $operIcCode; } public function getOperIcCode() { return $this->operIcCode; } public function setOperIcName($operIcName) { $this->operIcName = $operIcName; $this->apiParas["oper_ic_name"] = $operIcName; } public function getOperIcName() { return $this->operIcName; } public function setPhysicType($physicType) { $this->physicType = $physicType; $this->apiParas["physic_type"] = $physicType; } public function getPhysicType() { return $this->physicType; } public function setRefUserId($refUserId) { $this->refUserId = $refUserId; $this->apiParas["ref_user_id"] = $refUserId; } public function getRefUserId() { return $this->refUserId; } public function setRemarks($remarks) { $this->remarks = $remarks; $this->apiParas["remarks"] = $remarks; } public function getRemarks() { return $this->remarks; } public function setTraceCodes($traceCodes) { $this->traceCodes = $traceCodes; $this->apiParas["trace_codes"] = $traceCodes; } public function getTraceCodes() { return $this->traceCodes; } public function setUserAgent($userAgent) { $this->userAgent = $userAgent; $this->apiParas["user_agent"] = $userAgent; } public function getUserAgent() { return $this->userAgent; } public function setUserName($userName) { $this->userName = $userName; $this->apiParas["user_name"] = $userName; } public function getUserName() { return $this->userName; } public function setUserTel($userTel) { $this->userTel = $userTel; $this->apiParas["user_tel"] = $userTel; } public function getUserTel() { return $this->userTel; } public function getApiMethodName() { return "alibaba.alihealth.drugtrace.top.yljg.uploadretail"; } public function getApiParas() { return $this->apiParas; } public function check() { RequestCheckUtil::checkNotNull($this->billCode,"billCode"); RequestCheckUtil::checkNotNull($this->billTime,"billTime"); RequestCheckUtil::checkNotNull($this->billType,"billType"); RequestCheckUtil::checkNotNull($this->refUserId,"refUserId"); RequestCheckUtil::checkNotNull($this->traceCodes,"traceCodes"); RequestCheckUtil::checkMaxListSize($this->traceCodes,3500,"traceCodes"); } public function putOtherTextParam($key, $value) { $this->apiParas[$key] = $value; $this->$key = $value; } }