Package com.stripe.param
Class SourceCreateParams
java.lang.Object
com.stripe.net.ApiRequestParams
com.stripe.param.SourceCreateParams
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static enum
State, county, province, or region.static class
static class
static class
State, county, province, or region.static class
static class
Required. The URL you provide to redirect the customer back to you after they authenticated their payment.static enum
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 SourceCreateParams.Builder
builder()
Amount associated with the source.Three-letter ISO code for the currency associated with the source.TheCustomer
to whom the original source is attached to.Specifies which fields in the response should be expanded.Map of extra parameters for custom features not available in this client library.getFlow()
The authenticationflow
of the source to create.Information about a mandate possibility attached to a source object (generally for bank debits) as well as its acceptance status.The source to share.getOwner()
Information about the owner of the payment instrument that may be used or required by particular source types.Optional parameters for the receiver flow.Parameters required for the redirect flow.Information about the items and shipping associated with the source.An arbitrary string to be displayed on your customer's statement.getToken()
An optional token used to create the source.getType()
Thetype
of the source to create.getUsage()
Methods inherited from class com.stripe.net.ApiRequestParams
paramsToMap, toMap
-
Method Details
-
builder
-
getAmount
Amount associated with the source. This is the amount for which the source will be chargeable once ready. Required forsingle_use
sources. Not supported forreceiver
type sources, where charge amount may not be specified until funds land. -
getCurrency
Three-letter ISO code for the currency associated with the source. This is the currency for which the source will be chargeable once ready. -
getCustomer
TheCustomer
to whom the original source is attached to. Must be set when the original source is not aSource
(e.g.,Card
). -
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. -
getFlow
The authenticationflow
of the source to create.flow
is one ofredirect
,receiver
,code_verification
,none
. It is generally inferred unless a type supports multiple flows. -
getMandate
Information about a mandate possibility attached to a source object (generally for bank debits) as well as its acceptance status. -
getMetadata
-
getOriginalSource
The source to share. -
getOwner
Information about the owner of the payment instrument that may be used or required by particular source types. -
getReceiver
Optional parameters for the receiver flow. Can be set only if the source is a receiver (flow
isreceiver
). -
getRedirect
Parameters required for the redirect flow. Required if the source is authenticated by a redirect (flow
isredirect
). -
getSourceOrder
Information about the items and shipping associated with the source. Required for transactional credit (for example Klarna) sources before you can charge it. -
getStatementDescriptor
An arbitrary string to be displayed on your customer's statement. As an example, if your website isRunClub
and the item you're charging for is a race ticket, you may want to specify astatement_descriptor
ofRunClub 5K race ticket.
While many payment types will display this information, some may not display it at all. -
getToken
An optional token used to create the source. When passed, token properties will override source parameters. -
getType
Thetype
of the source to create. Required unlesscustomer
andoriginal_source
are specified (see the Cloning card Sources guide) -
getUsage
-