@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class InvoiceSendOpenModel extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
InvoiceSendOpenModel.CustomTypeAdapterFactory |
| 构造器和说明 |
|---|
InvoiceSendOpenModel() |
| 限定符和类型 | 方法和说明 |
|---|---|
InvoiceSendOpenModel |
addInvoiceContentItem(InvoiceItemOpenModel invoiceContentItem) |
InvoiceSendOpenModel |
addTradeListItem(EinvTrade tradeListItem) |
InvoiceSendOpenModel |
applyId(String applyId) |
InvoiceSendOpenModel |
checkCode(String checkCode) |
InvoiceSendOpenModel |
checker(String checker) |
InvoiceSendOpenModel |
clerk(String clerk) |
boolean |
equals(Object o) |
InvoiceSendOpenModel |
exTaxAmount(String exTaxAmount) |
InvoiceSendOpenModel |
extendFields(String extendFields) |
InvoiceSendOpenModel |
fileDownloadType(String fileDownloadType) |
InvoiceSendOpenModel |
fileDownloadUrl(String fileDownloadUrl) |
InvoiceSendOpenModel |
financialElectronicType(String financialElectronicType) |
static InvoiceSendOpenModel |
fromJson(String jsonString)
Create an instance of InvoiceSendOpenModel 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 |
getApplyId()
支付宝端的申请id。
|
String |
getCheckCode()
票面上的校验码信息。
|
String |
getChecker()
票面上复核人信息。
|
String |
getClerk()
票面上开票员信息。
|
String |
getExTaxAmount()
不含税金额,票面上的不含税金额,单位(元),保留两位小数。
|
String |
getExtendFields()
预留的扩展字段,格式如:key1=value1\\nkey2=value2\\nkey3=value3,字段之间以\\n分隔。
|
String |
getFileDownloadType()
下载版式文件类型,需要回传文件下载链接的情况下必传, 取值范围:PDF,JPG,OFD
|
String |
getFileDownloadUrl()
发票版式文件下载地址。
|
String |
getFinancialElectronicType()
财政电子票据子类型,当tax_type=FINANCIAL_ELECTRONIC_BILL时要求必填 可选值如下: 01:非税收入通用票据 02:非税收入专用票据 03:非税收入一般缴款书 04:资金往来结算票据 05:公益事业捐赠票据 06:医疗收费票据 07:社会团体会费票据 08:社会保险基金票据 09:工会经费收入票据 99:其他财政票据
|
String |
getInvoiceCode()
发票代码,该字段与invoice_no构成一张发票的唯一标识。
|
List<InvoiceItemOpenModel> |
getInvoiceContent()
发票明细项。
|
String |
getInvoiceDate()
开票日期,格式如:YYYY-MM-DD。
|
String |
getInvoiceKind()
标识发票的类型, PLAIN:增值税电子普通发票; SPECIAL:增值税专用发票; ALL_ELECTRONIC_GENERAL:电子发票(普通发票); ALL_ELECTRONIC_SPECIAL:电子发票(增值税专用发票); PLAIN_INVOICE:增值税普通发票; FINANCIAL_ELECTRONIC_BILL:财政电子票据;
|
String |
getInvoiceMemo()
票面上备注信息。
|
String |
getInvoiceNo()
发票号码,该字段与invoice_code构成一张发票的唯一标识。
|
InvoiceTitleOpenModel |
getInvoiceTitle()
Get invoiceTitle
|
String |
getInvoiceType()
标识是红票还是蓝票,RED:红票;BLUE:蓝票。
|
String |
getOpenId()
支付宝用户userId,当发送红字发票时,即invoice_type=RED时,可选填;或者apply_id不为空的时候,可选填;其他情况必填。
|
String |
getOriBlueInvCode()
红票情况下,必须填入原始蓝票的发票代码(全电票时为空)。
|
String |
getOriBlueInvNo()
红票情况下,必须填入原始蓝票的发票号码。
|
String |
getOutInvoiceId()
外部发票id,isv生成发票之后所生成的发票流水号,主要用做存储。
|
String |
getOutTradeNo()
该发票基于的实际交易流水号。
|
String |
getPayee()
票面上收款人信息。
|
String |
getPayeeAddressTel()
票面上销售方地址、电话信息。
|
String |
getPayeeBankNameAccount()
票面上销售方开户行及账号。
|
String |
getPayeeRegisterName()
票面上销售方企业名称。
|
String |
getPayeeRegisterNo()
票面上销售方税号信息。
|
String |
getSumAmount()
价税合计,票面上的总开票金额,单位(元),保留两位小数,sum_amount=ex_tax_amount+tax_amount。
|
String |
getTaxAmount()
合计税额,票面上的合计税额,单位(元),保留两位小数。
|
List<EinvTrade> |
getTradeList()
交易内容,非必填但是不可以传空值,如果无需回传trade_list则不需要传该对象
|
String |
getUserId()
支付宝用户userId,当发送红字发票时,即invoice_type=RED时,可选填;或者apply_id不为空的时候,可选填;其他情况必填。
|
int |
hashCode() |
InvoiceSendOpenModel |
invoiceCode(String invoiceCode) |
InvoiceSendOpenModel |
invoiceContent(List<InvoiceItemOpenModel> invoiceContent) |
InvoiceSendOpenModel |
invoiceDate(String invoiceDate) |
InvoiceSendOpenModel |
invoiceKind(String invoiceKind) |
InvoiceSendOpenModel |
invoiceMemo(String invoiceMemo) |
InvoiceSendOpenModel |
invoiceNo(String invoiceNo) |
InvoiceSendOpenModel |
invoiceTitle(InvoiceTitleOpenModel invoiceTitle) |
InvoiceSendOpenModel |
invoiceType(String invoiceType) |
InvoiceSendOpenModel |
openId(String openId) |
InvoiceSendOpenModel |
oriBlueInvCode(String oriBlueInvCode) |
InvoiceSendOpenModel |
oriBlueInvNo(String oriBlueInvNo) |
InvoiceSendOpenModel |
outInvoiceId(String outInvoiceId) |
InvoiceSendOpenModel |
outTradeNo(String outTradeNo) |
InvoiceSendOpenModel |
payee(String payee) |
InvoiceSendOpenModel |
payeeAddressTel(String payeeAddressTel) |
InvoiceSendOpenModel |
payeeBankNameAccount(String payeeBankNameAccount) |
InvoiceSendOpenModel |
payeeRegisterName(String payeeRegisterName) |
InvoiceSendOpenModel |
payeeRegisterNo(String payeeRegisterNo) |
InvoiceSendOpenModel |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setApplyId(String applyId) |
void |
setCheckCode(String checkCode) |
void |
setChecker(String checker) |
void |
setClerk(String clerk) |
void |
setExTaxAmount(String exTaxAmount) |
void |
setExtendFields(String extendFields) |
void |
setFileDownloadType(String fileDownloadType) |
void |
setFileDownloadUrl(String fileDownloadUrl) |
void |
setFinancialElectronicType(String financialElectronicType) |
void |
setInvoiceCode(String invoiceCode) |
void |
setInvoiceContent(List<InvoiceItemOpenModel> invoiceContent) |
void |
setInvoiceDate(String invoiceDate) |
void |
setInvoiceKind(String invoiceKind) |
void |
setInvoiceMemo(String invoiceMemo) |
void |
setInvoiceNo(String invoiceNo) |
void |
setInvoiceTitle(InvoiceTitleOpenModel invoiceTitle) |
void |
setInvoiceType(String invoiceType) |
void |
setOpenId(String openId) |
void |
setOriBlueInvCode(String oriBlueInvCode) |
void |
setOriBlueInvNo(String oriBlueInvNo) |
void |
setOutInvoiceId(String outInvoiceId) |
void |
setOutTradeNo(String outTradeNo) |
void |
setPayee(String payee) |
void |
setPayeeAddressTel(String payeeAddressTel) |
void |
setPayeeBankNameAccount(String payeeBankNameAccount) |
void |
setPayeeRegisterName(String payeeRegisterName) |
void |
setPayeeRegisterNo(String payeeRegisterNo) |
void |
setSumAmount(String sumAmount) |
void |
setTaxAmount(String taxAmount) |
void |
setTradeList(List<EinvTrade> tradeList) |
void |
setUserId(String userId) |
InvoiceSendOpenModel |
sumAmount(String sumAmount) |
InvoiceSendOpenModel |
taxAmount(String taxAmount) |
String |
toJson()
Convert an instance of InvoiceSendOpenModel to an JSON string
|
String |
toString() |
InvoiceSendOpenModel |
tradeList(List<EinvTrade> tradeList) |
InvoiceSendOpenModel |
userId(String userId) |
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_FILE_DOWNLOAD_TYPE
public static final String SERIALIZED_NAME_FILE_DOWNLOAD_URL
public static final String SERIALIZED_NAME_FINANCIAL_ELECTRONIC_TYPE
public static final String SERIALIZED_NAME_INVOICE_CONTENT
public static final String SERIALIZED_NAME_ORI_BLUE_INV_CODE
public static final String SERIALIZED_NAME_ORI_BLUE_INV_NO
public static final String SERIALIZED_NAME_OUT_INVOICE_ID
public static final String SERIALIZED_NAME_PAYEE_ADDRESS_TEL
public static final String SERIALIZED_NAME_PAYEE_BANK_NAME_ACCOUNT
public static final String SERIALIZED_NAME_PAYEE_REGISTER_NAME
public static final String SERIALIZED_NAME_PAYEE_REGISTER_NO
public InvoiceSendOpenModel applyId(String applyId)
@Nullable public String getApplyId()
public void setApplyId(String applyId)
public InvoiceSendOpenModel checkCode(String checkCode)
public void setCheckCode(String checkCode)
public InvoiceSendOpenModel checker(String checker)
public void setChecker(String checker)
public InvoiceSendOpenModel clerk(String clerk)
public void setClerk(String clerk)
public InvoiceSendOpenModel exTaxAmount(String exTaxAmount)
@Nullable public String getExTaxAmount()
public void setExTaxAmount(String exTaxAmount)
public InvoiceSendOpenModel extendFields(String extendFields)
@Nullable public String getExtendFields()
public void setExtendFields(String extendFields)
public InvoiceSendOpenModel fileDownloadType(String fileDownloadType)
@Nullable public String getFileDownloadType()
public void setFileDownloadType(String fileDownloadType)
public InvoiceSendOpenModel fileDownloadUrl(String fileDownloadUrl)
public void setFileDownloadUrl(String fileDownloadUrl)
public InvoiceSendOpenModel financialElectronicType(String financialElectronicType)
@Nullable public String getFinancialElectronicType()
public void setFinancialElectronicType(String financialElectronicType)
public InvoiceSendOpenModel invoiceCode(String invoiceCode)
@Nullable public String getInvoiceCode()
public void setInvoiceCode(String invoiceCode)
public InvoiceSendOpenModel invoiceContent(List<InvoiceItemOpenModel> invoiceContent)
public InvoiceSendOpenModel addInvoiceContentItem(InvoiceItemOpenModel invoiceContentItem)
@Nullable public List<InvoiceItemOpenModel> getInvoiceContent()
public void setInvoiceContent(List<InvoiceItemOpenModel> invoiceContent)
public InvoiceSendOpenModel invoiceDate(String invoiceDate)
public void setInvoiceDate(String invoiceDate)
public InvoiceSendOpenModel invoiceKind(String invoiceKind)
@Nullable public String getInvoiceKind()
public void setInvoiceKind(String invoiceKind)
public InvoiceSendOpenModel invoiceMemo(String invoiceMemo)
public void setInvoiceMemo(String invoiceMemo)
public InvoiceSendOpenModel invoiceNo(String invoiceNo)
public void setInvoiceNo(String invoiceNo)
public InvoiceSendOpenModel invoiceTitle(InvoiceTitleOpenModel invoiceTitle)
@Nullable public InvoiceTitleOpenModel getInvoiceTitle()
public void setInvoiceTitle(InvoiceTitleOpenModel invoiceTitle)
public InvoiceSendOpenModel invoiceType(String invoiceType)
public void setInvoiceType(String invoiceType)
public InvoiceSendOpenModel openId(String openId)
@Nullable public String getOpenId()
public void setOpenId(String openId)
public InvoiceSendOpenModel oriBlueInvCode(String oriBlueInvCode)
@Nullable public String getOriBlueInvCode()
public void setOriBlueInvCode(String oriBlueInvCode)
public InvoiceSendOpenModel oriBlueInvNo(String oriBlueInvNo)
public void setOriBlueInvNo(String oriBlueInvNo)
public InvoiceSendOpenModel outInvoiceId(String outInvoiceId)
@Nullable public String getOutInvoiceId()
public void setOutInvoiceId(String outInvoiceId)
public InvoiceSendOpenModel outTradeNo(String outTradeNo)
public void setOutTradeNo(String outTradeNo)
public InvoiceSendOpenModel payee(String payee)
public void setPayee(String payee)
public InvoiceSendOpenModel payeeAddressTel(String payeeAddressTel)
public void setPayeeAddressTel(String payeeAddressTel)
public InvoiceSendOpenModel payeeBankNameAccount(String payeeBankNameAccount)
@Nullable public String getPayeeBankNameAccount()
public void setPayeeBankNameAccount(String payeeBankNameAccount)
public InvoiceSendOpenModel payeeRegisterName(String payeeRegisterName)
@Nullable public String getPayeeRegisterName()
public void setPayeeRegisterName(String payeeRegisterName)
public InvoiceSendOpenModel payeeRegisterNo(String payeeRegisterNo)
public void setPayeeRegisterNo(String payeeRegisterNo)
public InvoiceSendOpenModel sumAmount(String sumAmount)
@Nullable public String getSumAmount()
public void setSumAmount(String sumAmount)
public InvoiceSendOpenModel taxAmount(String taxAmount)
public void setTaxAmount(String taxAmount)
public InvoiceSendOpenModel tradeList(List<EinvTrade> tradeList)
public InvoiceSendOpenModel addTradeListItem(EinvTrade tradeListItem)
@Nullable public List<EinvTrade> getTradeList()
public InvoiceSendOpenModel userId(String userId)
@Nullable public String getUserId()
public void setUserId(String userId)
public InvoiceSendOpenModel 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 InvoiceSendOpenModelpublic static InvoiceSendOpenModel fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to InvoiceSendOpenModelpublic String toJson()
Copyright © 2024. All rights reserved.