Class CreateCodeBatchRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.trp.v20210515.models.CreateCodeBatchRequest
-
public class CreateCodeBatchRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description CreateCodeBatchRequest()
CreateCodeBatchRequest(CreateCodeBatchRequest source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getBatchCode()
Get 批次编号,业务字段不判断唯一性String
getBatchId()
Get 批次ID,留空时系统自动生成Long
getBatchType()
Get 批次类型 0:溯源 1:营销String
getCloneId()
Get 克隆批次ID,同时会复制溯源信息Long
getCorpId()
Get 企业IDString
getMerchantId()
Get 商户IDString
getMpTpl()
Get 模版ID,或者活动IDString
getProductId()
Get 产品IDString
getProductionDate()
Get 生产日期String
getRemark()
Get 备注String
getValidDate()
Get 有效期void
setBatchCode(String BatchCode)
Set 批次编号,业务字段不判断唯一性void
setBatchId(String BatchId)
Set 批次ID,留空时系统自动生成void
setBatchType(Long BatchType)
Set 批次类型 0:溯源 1:营销void
setCloneId(String CloneId)
Set 克隆批次ID,同时会复制溯源信息void
setCorpId(Long CorpId)
Set 企业IDvoid
setMerchantId(String MerchantId)
Set 商户IDvoid
setMpTpl(String MpTpl)
Set 模版ID,或者活动IDvoid
setProductId(String ProductId)
Set 产品IDvoid
setProductionDate(String ProductionDate)
Set 生产日期void
setRemark(String Remark)
Set 备注void
setValidDate(String ValidDate)
Set 有效期void
toMap(HashMap<String,String> map, String prefix)
Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
CreateCodeBatchRequest
public CreateCodeBatchRequest()
-
CreateCodeBatchRequest
public CreateCodeBatchRequest(CreateCodeBatchRequest source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
-
-
Method Detail
-
getCorpId
public Long getCorpId()
Get 企业ID- Returns:
- CorpId 企业ID
-
setCorpId
public void setCorpId(Long CorpId)
Set 企业ID- Parameters:
CorpId
- 企业ID
-
getMerchantId
public String getMerchantId()
Get 商户ID- Returns:
- MerchantId 商户ID
-
setMerchantId
public void setMerchantId(String MerchantId)
Set 商户ID- Parameters:
MerchantId
- 商户ID
-
getProductId
public String getProductId()
Get 产品ID- Returns:
- ProductId 产品ID
-
setProductId
public void setProductId(String ProductId)
Set 产品ID- Parameters:
ProductId
- 产品ID
-
getBatchType
public Long getBatchType()
Get 批次类型 0:溯源 1:营销- Returns:
- BatchType 批次类型 0:溯源 1:营销
-
setBatchType
public void setBatchType(Long BatchType)
Set 批次类型 0:溯源 1:营销- Parameters:
BatchType
- 批次类型 0:溯源 1:营销
-
getBatchId
public String getBatchId()
Get 批次ID,留空时系统自动生成- Returns:
- BatchId 批次ID,留空时系统自动生成
-
setBatchId
public void setBatchId(String BatchId)
Set 批次ID,留空时系统自动生成- Parameters:
BatchId
- 批次ID,留空时系统自动生成
-
getRemark
public String getRemark()
Get 备注- Returns:
- Remark 备注
-
setRemark
public void setRemark(String Remark)
Set 备注- Parameters:
Remark
- 备注
-
getMpTpl
public String getMpTpl()
Get 模版ID,或者活动ID- Returns:
- MpTpl 模版ID,或者活动ID
-
setMpTpl
public void setMpTpl(String MpTpl)
Set 模版ID,或者活动ID- Parameters:
MpTpl
- 模版ID,或者活动ID
-
getCloneId
public String getCloneId()
Get 克隆批次ID,同时会复制溯源信息- Returns:
- CloneId 克隆批次ID,同时会复制溯源信息
-
setCloneId
public void setCloneId(String CloneId)
Set 克隆批次ID,同时会复制溯源信息- Parameters:
CloneId
- 克隆批次ID,同时会复制溯源信息
-
getBatchCode
public String getBatchCode()
Get 批次编号,业务字段不判断唯一性- Returns:
- BatchCode 批次编号,业务字段不判断唯一性
-
setBatchCode
public void setBatchCode(String BatchCode)
Set 批次编号,业务字段不判断唯一性- Parameters:
BatchCode
- 批次编号,业务字段不判断唯一性
-
getValidDate
public String getValidDate()
Get 有效期- Returns:
- ValidDate 有效期
-
setValidDate
public void setValidDate(String ValidDate)
Set 有效期- Parameters:
ValidDate
- 有效期
-
getProductionDate
public String getProductionDate()
Get 生产日期- Returns:
- ProductionDate 生产日期
-
setProductionDate
public void setProductionDate(String ProductionDate)
Set 生产日期- Parameters:
ProductionDate
- 生产日期
-
-