Class SplitCreateParams.Builder

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

public static class SplitCreateParams.Builder extends Object
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • build

      public SplitCreateParams build()
      Finalize and obtain parameter instance from this builder.
    • setAccount

      public SplitCreateParams.Builder setAccount(String account)
      Required. The target account for settling the SettlementAllocationIntentSplit.
    • setAmount

      Required. The amount and currency of the SettlementAllocationIntentSplit.
    • putExtraParam

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

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

      public SplitCreateParams.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 SplitCreateParams.metadata for the field documentation.
    • putAllMetadata

      public SplitCreateParams.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 SplitCreateParams.metadata for the field documentation.
    • setType

      Required. The type of the fund transfer.