Class OutboundPaymentCreateParams.To.Builder
java.lang.Object
com.stripe.param.v2.moneymanagement.OutboundPaymentCreateParams.To.Builder
- Enclosing class:
- OutboundPaymentCreateParams.To
-
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.setCurrency
(String currency) Describes the currency to send to the recipient.setPayoutMethod
(String payoutMethod) The payout method which the OutboundPayment uses to send payout.setRecipient
(String recipient) Required. To which account the OutboundPayment is sent.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setCurrency
Describes the currency to send to the recipient. If included, this currency must match a currency supported by the destination. Can be omitted in the following cases: - destination only supports one currency - destination supports multiple currencies and one of the currencies matches the FA currency - destination supports multiple currencies and one of the currencies matches the presentment currency Note - when both FA currency and presentment currency are supported, we pick the FA currency to minimize FX. -
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.To.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.To.extraParams
for the field documentation. -
setPayoutMethod
The payout method which the OutboundPayment uses to send payout. -
setRecipient
Required. To which account the OutboundPayment is sent.
-