@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class Invoice extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
Invoice.CustomTypeAdapterFactory |
| 限定符和类型 | 字段和说明 |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_EMAIL |
static String |
SERIALIZED_NAME_INVOICE_CONTENT |
static String |
SERIALIZED_NAME_INVOICE_FEE |
static String |
SERIALIZED_NAME_INVOICE_TITLE |
static String |
SERIALIZED_NAME_INVOICE_TYPE |
static String |
SERIALIZED_NAME_PHONE |
static String |
SERIALIZED_NAME_RECEIVER |
static String |
SERIALIZED_NAME_TAX_NUMBER |
static String |
SERIALIZED_NAME_TITLE_TYPE |
| 构造器和说明 |
|---|
Invoice() |
| 限定符和类型 | 方法和说明 |
|---|---|
Invoice |
email(String email) |
boolean |
equals(Object o) |
static Invoice |
fromJson(String jsonString)
Create an instance of Invoice 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 |
getEmail()
邮箱地址
|
String |
getInvoiceContent()
发票内容,配送服务费
|
String |
getInvoiceFee()
发票金额
|
String |
getInvoiceTitle()
发票抬头,如支付宝(杭州)信息技术有限公司
|
Integer |
getInvoiceType()
发票类型,0:默认电子发票
|
String |
getPhone()
手机号码
|
String |
getReceiver()
收件人姓名
|
String |
getTaxNumber()
税号
|
Integer |
getTitleType()
抬头类型,0:企业单位,1:个人/非企业
|
int |
hashCode() |
Invoice |
invoiceContent(String invoiceContent) |
Invoice |
invoiceFee(String invoiceFee) |
Invoice |
invoiceTitle(String invoiceTitle) |
Invoice |
invoiceType(Integer invoiceType) |
Invoice |
phone(String phone) |
Invoice |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
Invoice |
receiver(String receiver) |
void |
setEmail(String email) |
void |
setInvoiceContent(String invoiceContent) |
void |
setInvoiceFee(String invoiceFee) |
void |
setInvoiceTitle(String invoiceTitle) |
void |
setInvoiceType(Integer invoiceType) |
void |
setPhone(String phone) |
void |
setReceiver(String receiver) |
void |
setTaxNumber(String taxNumber) |
void |
setTitleType(Integer titleType) |
Invoice |
taxNumber(String taxNumber) |
Invoice |
titleType(Integer titleType) |
String |
toJson()
Convert an instance of Invoice 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_INVOICE_CONTENT
public void setEmail(String email)
public void setInvoiceContent(String invoiceContent)
public void setInvoiceFee(String invoiceFee)
public void setInvoiceTitle(String invoiceTitle)
public void setInvoiceType(Integer invoiceType)
public void setPhone(String phone)
public void setReceiver(String receiver)
public void setTaxNumber(String taxNumber)
public void setTitleType(Integer titleType)
public Invoice 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 Invoicepublic static Invoice fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to Invoicepublic String toJson()
Copyright © 2024. All rights reserved.