Class KycDocument.Builder
-
- All Implemented Interfaces:
public final class KycDocument.BuilderA builder for KycDocument.
-
-
Method Summary
-
-
Method Detail
-
id
final KycDocument.Builder id(String id)
ID of the document.
-
id
final KycDocument.Builder id(JsonField<String> id)
Sets Builder.id to an arbitrary JSON value.
You should usually call Builder.id with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
documentType
final KycDocument.Builder documentType(KycDocumentType documentType)
Type of document.
-
documentType
final KycDocument.Builder documentType(JsonField<KycDocumentType> documentType)
Sets Builder.documentType to an arbitrary JSON value.
You should usually call Builder.documentType with a well-typed KycDocumentType value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
filename
final KycDocument.Builder filename(String filename)
Filename of document.
-
filename
final KycDocument.Builder filename(JsonField<String> filename)
Sets Builder.filename to an arbitrary JSON value.
You should usually call Builder.filename with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
url
final KycDocument.Builder url(String url)
Temporary URL to access the document. Expires in 1 hour.
-
url
final KycDocument.Builder url(JsonField<String> url)
Sets Builder.url to an arbitrary JSON value.
You should usually call Builder.url with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final KycDocument.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final KycDocument.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final KycDocument.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final KycDocument.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final KycDocument.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final KycDocument build()
Returns an immutable instance of KycDocument.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.id() .documentType() .filename() .url()
-
-
-
-