Class SettlementAllocationIntentCreateParams.Builder

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

public static class SettlementAllocationIntentCreateParams.Builder extends Object
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • build

      Finalize and obtain parameter instance from this builder.
    • setAmount

      Required. The amount and currency of the SettlementAllocationIntent. Allowed Currencies are gbp | eur.
    • setExpectedSettlementDate

      public SettlementAllocationIntentCreateParams.Builder setExpectedSettlementDate(Instant expectedSettlementDate)
      Required. Date when we expect to receive the funds. Must be in future .
    • putExtraParam

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

      public SettlementAllocationIntentCreateParams.Builder setFinancialAccount(String financialAccount)
      Required. Financial Account Id where the funds are expected for this SettlementAllocationIntent.
    • 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. See SettlementAllocationIntentCreateParams.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. See SettlementAllocationIntentCreateParams.metadata for the field documentation.
    • setReference

      public SettlementAllocationIntentCreateParams.Builder setReference(String reference)
      Required. Reference for the SettlementAllocationIntent. This should be same as the transaction reference used by payments processor to send funds to Stripe. Must have length between 5 and 255 characters and it must be unique among existing SettlementAllocationIntents that have a non-terminal status (pending, submitted, matched, errored).