Class OutboundSetupIntentCreateParams.Builder
java.lang.Object
com.stripe.param.v2.moneymanagement.OutboundSetupIntentCreateParams.Builder
- Enclosing class:
- OutboundSetupIntentCreateParams
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Finalize and obtain parameter instance from this builder.putAllExtraParam
(Map<String, Object> map) Add all map key/value pairs to `extraParams` map.putExtraParam
(String key, Object value) Add a key/value pair to `extraParams` map.setPayoutMethod
(String payoutMethod) If provided, the existing payout method resource to link to this setup intent.setPayoutMethodData
(OutboundSetupIntentCreateParams.PayoutMethodData payoutMethodData) If no payout_method provided, used to create the underlying credential that is set up for outbound money movement.Specify which type of outbound money movement this credential should be set up for (payment | transfer).
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
putExtraParam
Add a key/value pair to `extraParams` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. SeeOutboundSetupIntentCreateParams.extraParams
for the field documentation. -
putAllExtraParam
Add all map key/value pairs to `extraParams` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. SeeOutboundSetupIntentCreateParams.extraParams
for the field documentation. -
setPayoutMethod
If provided, the existing payout method resource to link to this setup intent. Any payout_method_data provided is used to update information on this linked payout method resource. -
setPayoutMethodData
public OutboundSetupIntentCreateParams.Builder setPayoutMethodData(OutboundSetupIntentCreateParams.PayoutMethodData payoutMethodData) If no payout_method provided, used to create the underlying credential that is set up for outbound money movement. If a payout_method provided, used to update data on the credential linked to this setup intent. -
setUsageIntent
public OutboundSetupIntentCreateParams.Builder setUsageIntent(OutboundSetupIntentCreateParams.UsageIntent usageIntent) Specify which type of outbound money movement this credential should be set up for (payment | transfer). If not provided, defaults to payment.
-