Package com.stripe.param
Class SourceCreateParams
java.lang.Object
com.stripe.net.ApiRequestParams
com.stripe.param.SourceCreateParams
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumState, county, province, or region.static classstatic classstatic classState, county, province, or region.static classstatic classRequired. The URL you provide to redirect the customer back to you after they authenticated their payment.static enumNested 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.Builderbuilder()protected booleanbooleanAmount associated with the source.Three-letter ISO code for the currency associated with the source.TheCustomerto 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 authenticationflowof 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()Thetypeof the source to create.getUsage()inthashCode()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_usesources. Not supported forreceivertype 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
TheCustomerto 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@SerializedNamevalue. 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 authenticationflowof the source to create.flowis 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 (flowisreceiver). -
getRedirect
Parameters required for the redirect flow. Required if the source is authenticated by a redirect (flowisredirect). -
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 isRunCluband the item you're charging for is a race ticket, you may want to specify astatement_descriptorofRunClub 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
Thetypeof the source to create. Required unlesscustomerandoriginal_sourceare specified (see the Cloning card Sources guide) -
getUsage
-
equals
-
canEqual
-
hashCode
public int hashCode()
-