Class PayoutIntentCreateParams.Builder
java.lang.Object
com.stripe.param.v2.moneymanagement.PayoutIntentCreateParams.Builder
- Enclosing class:
- PayoutIntentCreateParams
-
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.putAllMetadata(Map<String, String> map) Add all map key/value pairs to `metadata` map.putExtraParam(String key, Object value) Add a key/value pair to `extraParams` map.putMetadata(String key, String value) Add a key/value pair to `metadata` map.Required. The monetary amount to be sent.setConfirmationMethod(PayoutIntentCreateParams.ConfirmationMethod confirmationMethod) Controls whether the PayoutIntent requires explicit confirmation before transitioning topending.setDescription(String description) An arbitrary string attached to the PayoutIntent.Required. The FinancialAccount that funds are pulled from.setRecipientNotification(PayoutIntentCreateParams.RecipientNotification recipientNotification) Recipient notification settings for the PayoutIntent.setScheduleOptions(PayoutIntentCreateParams.ScheduleOptions scheduleOptions) Scheduling options for the payout.setStatementDescriptor(String statementDescriptor) The description that appears on the receiving end for the payout (for example, on a bank statement).Required. To which payout method the payout is sent.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setAmount
Required. The monetary amount to be sent. -
setConfirmationMethod
public PayoutIntentCreateParams.Builder setConfirmationMethod(PayoutIntentCreateParams.ConfirmationMethod confirmationMethod) Controls whether the PayoutIntent requires explicit confirmation before transitioning topending. Defaults toautomatic, but regulatory requirements may still require confirmation. See Send money with Global Payouts for details. -
setDescription
An arbitrary string attached to the PayoutIntent. Often useful for displaying to users. -
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. SeePayoutIntentCreateParams.extraParamsfor 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. SeePayoutIntentCreateParams.extraParamsfor the field documentation. -
setFrom
Required. The FinancialAccount that funds are pulled from. -
putMetadata
Add a key/value pair to `metadata` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. SeePayoutIntentCreateParams.metadatafor the field documentation. -
putAllMetadata
Add all map key/value pairs to `metadata` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. SeePayoutIntentCreateParams.metadatafor the field documentation. -
setRecipientNotification
public PayoutIntentCreateParams.Builder setRecipientNotification(PayoutIntentCreateParams.RecipientNotification recipientNotification) Recipient notification settings for the PayoutIntent. Only applicable when the PayoutIntent creates an OutboundPayment. -
setScheduleOptions
public PayoutIntentCreateParams.Builder setScheduleOptions(PayoutIntentCreateParams.ScheduleOptions scheduleOptions) Scheduling options for the payout. If omitted, the payout is scheduled for immediate execution. -
setStatementDescriptor
The description that appears on the receiving end for the payout (for example, on a bank statement). -
setTo
Required. To which payout method the payout is sent.
-