Package com.stripe.param
Class FileCreateParams
java.lang.Object
com.stripe.net.ApiRequestParams
com.stripe.param.FileCreateParams
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static enum
Set of key-value pairs that you can attach to an object.Nested classes/interfaces inherited from class com.stripe.net.ApiRequestParams
ApiRequestParams.EnumParam
-
Field Summary
Fields inherited from class com.stripe.net.ApiRequestParams
EXTRA_PARAMS_KEY
-
Method Summary
Modifier and TypeMethodDescriptionstatic FileCreateParams.Builder
builder()
Specifies which fields in the response should be expanded.Map of extra parameters for custom features not available in this client library.getFile()
Required. A file to upload.Optional parameters that automatically create a file link for the newly created file.Required. The purpose of the uploaded file.toMap()
Convert `this` api request params to an untyped map.Methods inherited from class com.stripe.net.ApiRequestParams
paramsToMap
-
Method Details
-
builder
-
toMap
Description copied from class:ApiRequestParams
Convert `this` api request params to an untyped map. The conversion is specific to api request params object. Please see documentation inApiRequestParamsConverter.convert(ApiRequestParams)
.- Overrides:
toMap
in classApiRequestParams
-
getExpand
Specifies which fields in the response should be expanded. -
getExtraParams
Map of extra parameters for custom features not available in this client library. The content in this map is not serialized under this field's@SerializedName
value. Instead, each key/value pair is serialized as if the key is a root-level field (serialized) name in this param object. Effectively, this map is flattened to its parent instance. -
getFile
Required. A file to upload. Make sure that the specifications follow RFC 2388, which defines file transfers for themultipart/form-data
protocol. -
getFileLinkData
Optional parameters that automatically create a file link for the newly created file. -
getPurpose
Required. The purpose of the uploaded file.
-