Class ProgramCreateParams.Builder

java.lang.Object
com.stripe.param.issuing.ProgramCreateParams.Builder
Enclosing class:
ProgramCreateParams

public static class ProgramCreateParams.Builder extends Object
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • build

      public ProgramCreateParams build()
      Finalize and obtain parameter instance from this builder.
    • addExpand

      public ProgramCreateParams.Builder addExpand(String element)
      Add an element to `expand` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. See ProgramCreateParams.expand for the field documentation.
    • addAllExpand

      public ProgramCreateParams.Builder addAllExpand(List<String> elements)
      Add all elements to `expand` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. See ProgramCreateParams.expand for the field documentation.
    • putExtraParam

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

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

      public ProgramCreateParams.Builder setIsDefault(Boolean isDefault)
      If true, makes the specified program the default for the given account.
    • setPlatformProgram

      public ProgramCreateParams.Builder setPlatformProgram(String platformProgram)
      Required. The program to use as the parent for the new program to create.