Class OutboundPaymentCreateParams.Builder
java.lang.Object
com.stripe.param.v2.moneymanagement.OutboundPaymentCreateParams.Builder
- Enclosing class:
- OutboundPaymentCreateParams
-
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 requested amount and currency for the OutboundPayment.setDescription(String description) An arbitrary string attached to the OutboundPayment.Required. From which FinancialAccount and BalanceType to pull funds from.setRecipientNotification(OutboundPaymentCreateParams.RecipientNotification recipientNotification) Details about the notification settings for the OutboundPayment recipient.setRecipientVerification(String recipientVerification) The ID of the RecipientVerification for this OutboundPayment.setStatementDescriptor(String statementDescriptor) The description that appears on the receiving end for an OutboundPayment (for example, on a bank statement).Required. To which payout method to send the OutboundPayment.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setAmount
Required. The requested amount and currency for the OutboundPayment. -
setDescription
An arbitrary string attached to the OutboundPayment. 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. SeeOutboundPaymentCreateParams.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. SeeOutboundPaymentCreateParams.extraParamsfor the field documentation. -
setFrom
Required. From which FinancialAccount and BalanceType to pull funds 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. SeeOutboundPaymentCreateParams.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. SeeOutboundPaymentCreateParams.metadatafor the field documentation. -
setRecipientNotification
public OutboundPaymentCreateParams.Builder setRecipientNotification(OutboundPaymentCreateParams.RecipientNotification recipientNotification) Details about the notification settings for the OutboundPayment recipient. -
setRecipientVerification
The ID of the RecipientVerification for this OutboundPayment. Required where recipient-name verification is mandated before creating an OutboundPayment. -
setStatementDescriptor
The description that appears on the receiving end for an OutboundPayment (for example, on a bank statement). Must be between 3 and 22 characters long for most destinations (500 for FinancialAccount destinations), and not contain profanity. -
setTo
Required. To which payout method to send the OutboundPayment.
-