Package com.stripe.param
Class FileCreateParams
- java.lang.Object
-
- com.stripe.net.ApiRequestParams
-
- com.stripe.param.FileCreateParams
-
public class FileCreateParams extends ApiRequestParams
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FileCreateParams.Builder
static class
FileCreateParams.FileLinkData
static class
FileCreateParams.Purpose
Add all map key/value pairs to `metadata` map.-
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 Type Method Description static FileCreateParams.Builder
builder()
java.util.Map<java.lang.String,java.lang.Object>
toMap()
Returns untyped parameters for file creation.
-
-
-
Method Detail
-
builder
public static FileCreateParams.Builder builder()
-
toMap
public java.util.Map<java.lang.String,java.lang.Object> toMap()
Returns untyped parameters for file creation. Map value for"file"
is the same instance of value set inFileCreateParams.Builder.setFile(File)
orFileCreateParams.Builder.setFile(java.io.FileInputStream)
; the file is not transformed or serialized at this level.- Overrides:
toMap
in classApiRequestParams
- Returns:
- Untyped parameters containing file object set in the builder.
-
-