Class OrderItem
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.cpdp.v20190820.models.OrderItem
-
public class OrderItem extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FloatgetAmountHasTax()Get 明细金额 注意:此字段可能返回 null,表示取不到有效值。FloatgetDiscount()Get 优惠金额 注意:此字段可能返回 null,表示取不到有效值。StringgetModels()Get 型号 注意:此字段可能返回 null,表示取不到有效值。StringgetName()Get 商品名称 注意:此字段可能返回 null,表示取不到有效值。FloatgetPrice()Get 单价 注意:此字段可能返回 null,表示取不到有效值。StringgetStatus()Get 默认“0” 注意:此字段可能返回 null,表示取不到有效值。StringgetTaxCode()Get 商品编码 注意:此字段可能返回 null,表示取不到有效值。LonggetTotal()Get 数量 注意:此字段可能返回 null,表示取不到有效值。StringgetUnit()Get 数量单位 注意:此字段可能返回 null,表示取不到有效值。voidsetAmountHasTax(Float AmountHasTax)Set 明细金额 注意:此字段可能返回 null,表示取不到有效值。voidsetDiscount(Float Discount)Set 优惠金额 注意:此字段可能返回 null,表示取不到有效值。voidsetModels(String Models)Set 型号 注意:此字段可能返回 null,表示取不到有效值。voidsetName(String Name)Set 商品名称 注意:此字段可能返回 null,表示取不到有效值。voidsetPrice(Float Price)Set 单价 注意:此字段可能返回 null,表示取不到有效值。voidsetStatus(String Status)Set 默认“0” 注意:此字段可能返回 null,表示取不到有效值。voidsetTaxCode(String TaxCode)Set 商品编码 注意:此字段可能返回 null,表示取不到有效值。voidsetTotal(Long Total)Set 数量 注意:此字段可能返回 null,表示取不到有效值。voidsetUnit(String Unit)Set 数量单位 注意:此字段可能返回 null,表示取不到有效值。voidtoMap(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
-
OrderItem
public OrderItem()
-
OrderItem
public OrderItem(OrderItem 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
-
getAmountHasTax
public Float getAmountHasTax()
Get 明细金额 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- AmountHasTax 明细金额 注意:此字段可能返回 null,表示取不到有效值。
-
setAmountHasTax
public void setAmountHasTax(Float AmountHasTax)
Set 明细金额 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
AmountHasTax- 明细金额 注意:此字段可能返回 null,表示取不到有效值。
-
getDiscount
public Float getDiscount()
Get 优惠金额 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Discount 优惠金额 注意:此字段可能返回 null,表示取不到有效值。
-
setDiscount
public void setDiscount(Float Discount)
Set 优惠金额 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Discount- 优惠金额 注意:此字段可能返回 null,表示取不到有效值。
-
getName
public String getName()
Get 商品名称 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Name 商品名称 注意:此字段可能返回 null,表示取不到有效值。
-
setName
public void setName(String Name)
Set 商品名称 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Name- 商品名称 注意:此字段可能返回 null,表示取不到有效值。
-
getModels
public String getModels()
Get 型号 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Models 型号 注意:此字段可能返回 null,表示取不到有效值。
-
setModels
public void setModels(String Models)
Set 型号 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Models- 型号 注意:此字段可能返回 null,表示取不到有效值。
-
getTotal
public Long getTotal()
Get 数量 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Total 数量 注意:此字段可能返回 null,表示取不到有效值。
-
setTotal
public void setTotal(Long Total)
Set 数量 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Total- 数量 注意:此字段可能返回 null,表示取不到有效值。
-
getUnit
public String getUnit()
Get 数量单位 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Unit 数量单位 注意:此字段可能返回 null,表示取不到有效值。
-
setUnit
public void setUnit(String Unit)
Set 数量单位 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Unit- 数量单位 注意:此字段可能返回 null,表示取不到有效值。
-
getStatus
public String getStatus()
Get 默认“0” 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Status 默认“0” 注意:此字段可能返回 null,表示取不到有效值。
-
setStatus
public void setStatus(String Status)
Set 默认“0” 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Status- 默认“0” 注意:此字段可能返回 null,表示取不到有效值。
-
getPrice
public Float getPrice()
Get 单价 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Price 单价 注意:此字段可能返回 null,表示取不到有效值。
-
setPrice
public void setPrice(Float Price)
Set 单价 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Price- 单价 注意:此字段可能返回 null,表示取不到有效值。
-
getTaxCode
public String getTaxCode()
Get 商品编码 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- TaxCode 商品编码 注意:此字段可能返回 null,表示取不到有效值。
-
setTaxCode
public void setTaxCode(String TaxCode)
Set 商品编码 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
TaxCode- 商品编码 注意:此字段可能返回 null,表示取不到有效值。
-
-