Class OffSessionPaymentCaptureParams.TransferData.Builder

java.lang.Object
com.stripe.param.v2.payments.OffSessionPaymentCaptureParams.TransferData.Builder
Enclosing class:
OffSessionPaymentCaptureParams.TransferData

public static class OffSessionPaymentCaptureParams.TransferData.Builder extends Object
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • build

      Finalize and obtain parameter instance from this builder.
    • setAmount

      The amount transferred to the destination account. This transfer will occur automatically after the payment succeeds. If no amount is specified, by default the entire payment amount is transferred to the destination account. The amount must be less than or equal to the amount_requested, and must be a positive integer representing how much to transfer in the smallest currency unit (e.g., 100 cents to charge $1.00).
    • 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. See OffSessionPaymentCaptureParams.TransferData.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. See OffSessionPaymentCaptureParams.TransferData.extraParams for the field documentation.