Package model
Class CreateFileRequest
java.lang.Object
model.CreateFileRequest
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-06-24T13:03:18.088665-07:00[America/Los_Angeles]")
public class CreateFileRequest
extends Object
CreateFileRequest
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumThe type of document. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondisplayName(String displayName) booleanstatic CreateFileRequestCreate an instance of CreateFileRequest given an JSON stringThe name of the `File` you'll create.The resource ID that you want linked to the `File` (e.g.getTags()Key value pair for annotating custom meta data (e.g.getType()The type of document.inthashCode()putTagsItem(String key, String tagsItem) voidsetDisplayName(String displayName) voidsetLinkedTo(String linkedTo) voidvoidtoJson()Convert an instance of CreateFileRequest to an JSON stringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj) Validates the JSON Object and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_DISPLAY_NAME
- See Also:
-
SERIALIZED_NAME_LINKED_TO
- See Also:
-
SERIALIZED_NAME_TYPE
- See Also:
-
SERIALIZED_NAME_TAGS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
CreateFileRequest
public CreateFileRequest()
-
-
Method Details
-
displayName
-
getDisplayName
The name of the `File` you'll create.- Returns:
- displayName
-
setDisplayName
-
linkedTo
-
getLinkedTo
The resource ID that you want linked to the `File` (e.g. Merchant ID).- Returns:
- linkedTo
-
setLinkedTo
-
type
-
getType
The type of document. | Available values include: <br>Identity Verification<ul><li> **DRIVERS\\_LICENSE\\_FRONT**<li>**DRIVERS\\_LICENSE\\_BACK**<li>**IDENTIFICATION\\_CARD\\_FRONT**<li>**IDENTIFICATION\\_CARD\\_BACK**</ul>Bank account validation<ul><li>**BANK\\_STATEMENT**</ul>Business Verification<ul><li>**TAX\\_DOCUMENT**<li>**BUSINESS\\_REGISTRATION**<li>**BUSINESS\\_ADDRESS\\_VERIFICATION**</ul>Additional<ul><li>**OTHER**<li>**PCI\\_DOCUMENT**<li>**PASSPORT**<ul>- Returns:
- type
-
setType
-
tags
-
putTagsItem
-
getTags
Key value pair for annotating custom meta data (e.g. order numbers).- Returns:
- tags
-
setTags
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonObject
Validates the JSON Object and throws an exception if issues found- Parameters:
jsonObj- JSON Object- Throws:
IOException- if the JSON Object is invalid with respect to CreateFileRequest
-
fromJson
Create an instance of CreateFileRequest given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of CreateFileRequest
- Throws:
IOException- if the JSON string is invalid with respect to CreateFileRequest
-
toJson
Convert an instance of CreateFileRequest to an JSON string- Returns:
- JSON string
-