Class OutboundPaymentCreateParams.Builder

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

public static class OutboundPaymentCreateParams.Builder extends Object
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • build

      Finalize and obtain parameter instance from this builder.
    • setAmount

      public OutboundPaymentCreateParams.Builder setAmount(Amount amount)
      Required. The requested amount and currency for the OutboundPayment.
    • setDescription

      public OutboundPaymentCreateParams.Builder setDescription(String description)
      An arbitrary string attached to the OutboundPayment. Often useful for displaying to users.
    • putExtraParam

      public OutboundPaymentCreateParams.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.extraParams for the field documentation.
    • putAllExtraParam

      public OutboundPaymentCreateParams.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.extraParams for the field documentation.
    • setFrom

      Required. From which FinancialAccount and BalanceType to pull funds from.
    • putMetadata

      public OutboundPaymentCreateParams.Builder putMetadata(String key, String value)
      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. See OutboundPaymentCreateParams.metadata for the field documentation.
    • putAllMetadata

      public OutboundPaymentCreateParams.Builder putAllMetadata(Map<String,String> map)
      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. See OutboundPaymentCreateParams.metadata for the field documentation.
    • setRecipientNotification

      public OutboundPaymentCreateParams.Builder setRecipientNotification(OutboundPaymentCreateParams.RecipientNotification recipientNotification)
      Details about the notification settings for the OutboundPayment recipient.
    • setRecipientVerification

      public OutboundPaymentCreateParams.Builder setRecipientVerification(String recipientVerification)
      The ID of the RecipientVerification for this OutboundPayment. Required where recipient-name verification is mandated before creating an OutboundPayment.
    • setStatementDescriptor

      public OutboundPaymentCreateParams.Builder setStatementDescriptor(String statementDescriptor)
      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.