@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class InvoicePDFSynModel extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
InvoicePDFSynModel.CustomTypeAdapterFactory |
| 限定符和类型 | 字段和说明 |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_APPLY_ID |
static String |
SERIALIZED_NAME_EXTEND_FIELDS |
static String |
SERIALIZED_NAME_FILE_BASE |
static String |
SERIALIZED_NAME_FILE_DOWNLOAD_TYPE |
static String |
SERIALIZED_NAME_FILE_DOWNLOAD_URL |
static String |
SERIALIZED_NAME_LOGIN_ID |
static String |
SERIALIZED_NAME_OPEN_ID |
static String |
SERIALIZED_NAME_OUT_INVOICE_ID |
static String |
SERIALIZED_NAME_USER_ID |
static String |
SERIALIZED_NAME_ZIP |
| 构造器和说明 |
|---|
InvoicePDFSynModel() |
| 限定符和类型 | 方法和说明 |
|---|---|
InvoicePDFSynModel |
applyId(String applyId) |
boolean |
equals(Object o) |
InvoicePDFSynModel |
extendFields(String extendFields) |
InvoicePDFSynModel |
fileBase(String fileBase) |
InvoicePDFSynModel |
fileDownloadType(String fileDownloadType) |
InvoicePDFSynModel |
fileDownloadUrl(String fileDownloadUrl) |
static InvoicePDFSynModel |
fromJson(String jsonString)
Create an instance of InvoicePDFSynModel 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 |
getExtendFields()
预留的扩展字段,格式如:key1=value1\\nkey2=value2\\nkey3=value3,字段之间以\\n(换行符)分隔。
|
String |
getFileBase()
base64化的字符串,与file_download_url不可同时为空。
|
String |
getFileDownloadType()
文件类型,必填。
|
String |
getFileDownloadUrl()
发票文件下载地址,和file_base不可同时为空。
|
String |
getLoginId()
支付宝登录账号
|
String |
getOpenId()
支付宝用户id,当apply_id为空时,open_id必填
|
String |
getOutInvoiceId()
外部ISV的唯一发票标识
|
String |
getUserId()
支付宝用户userId
|
String |
getZip()
压缩方式
|
int |
hashCode() |
InvoicePDFSynModel |
loginId(String loginId) |
InvoicePDFSynModel |
openId(String openId) |
InvoicePDFSynModel |
outInvoiceId(String outInvoiceId) |
InvoicePDFSynModel |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setApplyId(String applyId) |
void |
setExtendFields(String extendFields) |
void |
setFileBase(String fileBase) |
void |
setFileDownloadType(String fileDownloadType) |
void |
setFileDownloadUrl(String fileDownloadUrl) |
void |
setLoginId(String loginId) |
void |
setOpenId(String openId) |
void |
setOutInvoiceId(String outInvoiceId) |
void |
setUserId(String userId) |
void |
setZip(String zip) |
String |
toJson()
Convert an instance of InvoicePDFSynModel to an JSON string
|
String |
toString() |
InvoicePDFSynModel |
userId(String userId) |
static void |
validateJsonObject(com.google.gson.JsonObject jsonObj)
Validates the JSON Object and throws an exception if issues found
|
InvoicePDFSynModel |
zip(String zip) |
public static final String SERIALIZED_NAME_FILE_DOWNLOAD_TYPE
public static final String SERIALIZED_NAME_FILE_DOWNLOAD_URL
public static final String SERIALIZED_NAME_OUT_INVOICE_ID
public InvoicePDFSynModel applyId(String applyId)
public void setApplyId(String applyId)
public InvoicePDFSynModel extendFields(String extendFields)
@Nullable public String getExtendFields()
public void setExtendFields(String extendFields)
public InvoicePDFSynModel fileBase(String fileBase)
@Nullable public String getFileBase()
public void setFileBase(String fileBase)
public InvoicePDFSynModel fileDownloadType(String fileDownloadType)
@Nullable public String getFileDownloadType()
public void setFileDownloadType(String fileDownloadType)
public InvoicePDFSynModel fileDownloadUrl(String fileDownloadUrl)
@Nullable public String getFileDownloadUrl()
public void setFileDownloadUrl(String fileDownloadUrl)
public InvoicePDFSynModel loginId(String loginId)
public void setLoginId(String loginId)
public InvoicePDFSynModel openId(String openId)
public void setOpenId(String openId)
public InvoicePDFSynModel outInvoiceId(String outInvoiceId)
public void setOutInvoiceId(String outInvoiceId)
public InvoicePDFSynModel userId(String userId)
public void setUserId(String userId)
public InvoicePDFSynModel zip(String zip)
public void setZip(String zip)
public InvoicePDFSynModel 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 InvoicePDFSynModelpublic static InvoicePDFSynModel fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to InvoicePDFSynModelpublic String toJson()
Copyright © 2024. All rights reserved.