@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class InvoiceContentInfo extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
InvoiceContentInfo.CustomTypeAdapterFactory |
| 限定符和类型 | 字段和说明 |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_AMOUNT |
static String |
SERIALIZED_NAME_ITEM_NAME |
static String |
SERIALIZED_NAME_ITEM_NO |
static String |
SERIALIZED_NAME_ITEM_UNIT |
static String |
SERIALIZED_NAME_PRICE |
static String |
SERIALIZED_NAME_QUANTITY |
static String |
SERIALIZED_NAME_ROW_TYPE |
static String |
SERIALIZED_NAME_SPECIFICATION |
static String |
SERIALIZED_NAME_SUM_PRICE |
static String |
SERIALIZED_NAME_TAX |
static String |
SERIALIZED_NAME_TAX_RATE |
static String |
SERIALIZED_NAME_ZERO_RATE_FLAG |
| 构造器和说明 |
|---|
InvoiceContentInfo() |
| 限定符和类型 | 方法和说明 |
|---|---|
InvoiceContentInfo |
amount(String amount) |
boolean |
equals(Object o) |
static InvoiceContentInfo |
fromJson(String jsonString)
Create an instance of InvoiceContentInfo 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 |
getAmount()
含税金额(元)
|
String |
getItemName()
发票项目名称/货物名称
|
String |
getItemNo()
商品编码/税收分类编码
|
String |
getItemUnit()
单位
|
String |
getPrice()
单价(元)
|
String |
getQuantity()
商品数量
|
String |
getRowType()
发票行性质。
|
String |
getSpecification()
规格型号
|
String |
getSumPrice()
不含税金额(元)
|
String |
getTax()
税额
|
String |
getTaxRate()
税率
|
String |
getZeroRateFlag()
税率标识,只有税率为0的情况才有值,0=出口零税率,1=免税,2=不征收,3=普通零税率
|
int |
hashCode() |
InvoiceContentInfo |
itemName(String itemName) |
InvoiceContentInfo |
itemNo(String itemNo) |
InvoiceContentInfo |
itemUnit(String itemUnit) |
InvoiceContentInfo |
price(String price) |
InvoiceContentInfo |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
InvoiceContentInfo |
quantity(String quantity) |
InvoiceContentInfo |
rowType(String rowType) |
void |
setAmount(String amount) |
void |
setItemName(String itemName) |
void |
setItemNo(String itemNo) |
void |
setItemUnit(String itemUnit) |
void |
setPrice(String price) |
void |
setQuantity(String quantity) |
void |
setRowType(String rowType) |
void |
setSpecification(String specification) |
void |
setSumPrice(String sumPrice) |
void |
setTax(String tax) |
void |
setTaxRate(String taxRate) |
void |
setZeroRateFlag(String zeroRateFlag) |
InvoiceContentInfo |
specification(String specification) |
InvoiceContentInfo |
sumPrice(String sumPrice) |
InvoiceContentInfo |
tax(String tax) |
InvoiceContentInfo |
taxRate(String taxRate) |
String |
toJson()
Convert an instance of InvoiceContentInfo 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
|
InvoiceContentInfo |
zeroRateFlag(String zeroRateFlag) |
public static final String SERIALIZED_NAME_ZERO_RATE_FLAG
public InvoiceContentInfo amount(String amount)
public void setAmount(String amount)
public InvoiceContentInfo itemName(String itemName)
public void setItemName(String itemName)
public InvoiceContentInfo itemNo(String itemNo)
public void setItemNo(String itemNo)
public InvoiceContentInfo itemUnit(String itemUnit)
public void setItemUnit(String itemUnit)
public InvoiceContentInfo price(String price)
public void setPrice(String price)
public InvoiceContentInfo quantity(String quantity)
public void setQuantity(String quantity)
public InvoiceContentInfo rowType(String rowType)
public void setRowType(String rowType)
public InvoiceContentInfo specification(String specification)
public void setSpecification(String specification)
public InvoiceContentInfo sumPrice(String sumPrice)
public void setSumPrice(String sumPrice)
public InvoiceContentInfo tax(String tax)
public void setTax(String tax)
public InvoiceContentInfo taxRate(String taxRate)
public void setTaxRate(String taxRate)
public InvoiceContentInfo zeroRateFlag(String zeroRateFlag)
@Nullable public String getZeroRateFlag()
public void setZeroRateFlag(String zeroRateFlag)
public InvoiceContentInfo 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 InvoiceContentInfopublic static InvoiceContentInfo fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to InvoiceContentInfopublic String toJson()
Copyright © 2024. All rights reserved.