@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class InvoiceItemOpenModel extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
InvoiceItemOpenModel.CustomTypeAdapterFactory |
| 限定符和类型 | 字段和说明 |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_ITEM_EX_TAX_AMOUNT |
static String |
SERIALIZED_NAME_ITEM_NAME |
static String |
SERIALIZED_NAME_ITEM_NO |
static String |
SERIALIZED_NAME_ITEM_QUANTITY |
static String |
SERIALIZED_NAME_ITEM_SPEC |
static String |
SERIALIZED_NAME_ITEM_SUM_AMOUNT |
static String |
SERIALIZED_NAME_ITEM_TAX_AMOUNT |
static String |
SERIALIZED_NAME_ITEM_TAX_RATE |
static String |
SERIALIZED_NAME_ITEM_UNIT |
static String |
SERIALIZED_NAME_ITEM_UNIT_PRICE |
static String |
SERIALIZED_NAME_ROW_TYPE |
| 构造器和说明 |
|---|
InvoiceItemOpenModel() |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(Object o) |
static InvoiceItemOpenModel |
fromJson(String jsonString)
Create an instance of InvoiceItemOpenModel given an JSON string
|
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
String |
getItemExTaxAmount()
明细行不含税金额,单位元,保留两位小数
|
String |
getItemName()
开票项目:货物或应税劳务、服务名称
|
String |
getItemNo()
国税局制定的商品税收编码,必须是最末级
|
Integer |
getItemQuantity()
数量; 1.当row_type=0或2且item_unit_price为空,可空; 2.可精确到小数点后6位
|
String |
getItemSpec()
规格型号
|
String |
getItemSumAmount()
明细行价税合计,单位元,必须保证item_sum_amount=item_ex_tax_amount+item_tax_amount。
|
String |
getItemTaxAmount()
明细行税额,单位元,保留两位小数,无税或者免税情况下输入:0.00。
|
String |
getItemTaxRate()
明细行税率,无税或者免税情况下输入:0.00。
|
String |
getItemUnit()
单位
|
String |
getItemUnitPrice()
不含税单价(元); 1.当row_type=0或2且item_quantity为空,可空 2.可精确到小数点后8位;
|
String |
getRowType()
发票行性质:0表示正常行,1表示折扣行,2表示被折扣行。
|
int |
hashCode() |
InvoiceItemOpenModel |
itemExTaxAmount(String itemExTaxAmount) |
InvoiceItemOpenModel |
itemName(String itemName) |
InvoiceItemOpenModel |
itemNo(String itemNo) |
InvoiceItemOpenModel |
itemQuantity(Integer itemQuantity) |
InvoiceItemOpenModel |
itemSpec(String itemSpec) |
InvoiceItemOpenModel |
itemSumAmount(String itemSumAmount) |
InvoiceItemOpenModel |
itemTaxAmount(String itemTaxAmount) |
InvoiceItemOpenModel |
itemTaxRate(String itemTaxRate) |
InvoiceItemOpenModel |
itemUnit(String itemUnit) |
InvoiceItemOpenModel |
itemUnitPrice(String itemUnitPrice) |
InvoiceItemOpenModel |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
InvoiceItemOpenModel |
rowType(String rowType) |
void |
setItemExTaxAmount(String itemExTaxAmount) |
void |
setItemName(String itemName) |
void |
setItemNo(String itemNo) |
void |
setItemQuantity(Integer itemQuantity) |
void |
setItemSpec(String itemSpec) |
void |
setItemSumAmount(String itemSumAmount) |
void |
setItemTaxAmount(String itemTaxAmount) |
void |
setItemTaxRate(String itemTaxRate) |
void |
setItemUnit(String itemUnit) |
void |
setItemUnitPrice(String itemUnitPrice) |
void |
setRowType(String rowType) |
String |
toJson()
Convert an instance of InvoiceItemOpenModel to an JSON string
|
String |
toString() |
static void |
validateJsonObject(com.google.gson.JsonObject jsonObj)
Validates the JSON Object and throws an exception if issues found
|
public static final String SERIALIZED_NAME_ITEM_EX_TAX_AMOUNT
public static final String SERIALIZED_NAME_ITEM_SUM_AMOUNT
public static final String SERIALIZED_NAME_ITEM_TAX_AMOUNT
public static final String SERIALIZED_NAME_ITEM_UNIT_PRICE
public InvoiceItemOpenModel itemExTaxAmount(String itemExTaxAmount)
@Nullable public String getItemExTaxAmount()
public void setItemExTaxAmount(String itemExTaxAmount)
public InvoiceItemOpenModel itemName(String itemName)
public void setItemName(String itemName)
public InvoiceItemOpenModel itemNo(String itemNo)
public void setItemNo(String itemNo)
public InvoiceItemOpenModel itemQuantity(Integer itemQuantity)
@Nullable public Integer getItemQuantity()
public void setItemQuantity(Integer itemQuantity)
public InvoiceItemOpenModel itemSpec(String itemSpec)
public void setItemSpec(String itemSpec)
public InvoiceItemOpenModel itemSumAmount(String itemSumAmount)
@Nullable public String getItemSumAmount()
public void setItemSumAmount(String itemSumAmount)
public InvoiceItemOpenModel itemTaxAmount(String itemTaxAmount)
@Nullable public String getItemTaxAmount()
public void setItemTaxAmount(String itemTaxAmount)
public InvoiceItemOpenModel itemTaxRate(String itemTaxRate)
public void setItemTaxRate(String itemTaxRate)
public InvoiceItemOpenModel itemUnit(String itemUnit)
public void setItemUnit(String itemUnit)
public InvoiceItemOpenModel itemUnitPrice(String itemUnitPrice)
@Nullable public String getItemUnitPrice()
public void setItemUnitPrice(String itemUnitPrice)
public InvoiceItemOpenModel rowType(String rowType)
public void setRowType(String rowType)
public InvoiceItemOpenModel putAdditionalProperty(String key, Object value)
key - name of the propertyvalue - value of the propertypublic Map<String,Object> getAdditionalProperties()
public Object getAdditionalProperty(String key)
key - name of the propertypublic static void validateJsonObject(com.google.gson.JsonObject jsonObj)
throws IOException
jsonObj - JSON ObjectIOException - if the JSON Object is invalid with respect to InvoiceItemOpenModelpublic static InvoiceItemOpenModel fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to InvoiceItemOpenModelpublic String toJson()
Copyright © 2024. All rights reserved.