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 "presentment amount" to be sent to the recipient.setDeliveryOptions
(OutboundPaymentCreateParams.DeliveryOptions deliveryOptions) Delivery options to be used to send the OutboundPayment.setDescription
(String description) An arbitrary string attached to the OutboundPayment.Required. From which FinancialAccount and BalanceType to pull funds from.setOutboundPaymentQuote
(String outboundPaymentQuote) The quote for this OutboundPayment.setRecipientNotification
(OutboundPaymentCreateParams.RecipientNotification recipientNotification) Details about the notification settings for the OutboundPayment recipient.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 "presentment amount" to be sent to the recipient. -
setDeliveryOptions
public OutboundPaymentCreateParams.Builder setDeliveryOptions(OutboundPaymentCreateParams.DeliveryOptions deliveryOptions) Delivery options to be used to send 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.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. SeeOutboundPaymentCreateParams.extraParams
for 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.metadata
for 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.metadata
for the field documentation. -
setOutboundPaymentQuote
The quote for this OutboundPayment. Only required for countries with regulatory mandates to display fee estimates before OutboundPayment creation. -
setRecipientNotification
public OutboundPaymentCreateParams.Builder setRecipientNotification(OutboundPaymentCreateParams.RecipientNotification recipientNotification) Details about the notification settings for the OutboundPayment recipient. -
setTo
Required. To which payout method to send the OutboundPayment.
-