Class OutboundPaymentCreateParams.To.Builder

java.lang.Object
com.stripe.param.v2.moneymanagement.OutboundPaymentCreateParams.To.Builder
Enclosing class:
OutboundPaymentCreateParams.To

public static class OutboundPaymentCreateParams.To.Builder extends Object
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • build

      Finalize and obtain parameter instance from this builder.
    • setCurrency

      public OutboundPaymentCreateParams.To.Builder setCurrency(String currency)
      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

      public OutboundPaymentCreateParams.To.Builder putExtraParam(String key, Object value)
      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. See OutboundPaymentCreateParams.To.extraParams for the field documentation.
    • putAllExtraParam

      public OutboundPaymentCreateParams.To.Builder putAllExtraParam(Map<String,Object> map)
      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. See OutboundPaymentCreateParams.To.extraParams for the field documentation.
    • setPayoutMethod

      public OutboundPaymentCreateParams.To.Builder setPayoutMethod(String payoutMethod)
      The payout method which the OutboundPayment uses to send payout.
    • setRecipient

      public OutboundPaymentCreateParams.To.Builder setRecipient(String recipient)
      Required. To which account the OutboundPayment is sent.