Class SecretCreateParams.Scope.Builder

java.lang.Object
com.stripe.param.apps.SecretCreateParams.Scope.Builder
Enclosing class:
SecretCreateParams.Scope

public static class SecretCreateParams.Scope.Builder extends Object
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • build

      public SecretCreateParams.Scope build()
      Finalize and obtain parameter instance from this builder.
    • putExtraParam

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

      public SecretCreateParams.Scope.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 SecretCreateParams.Scope.extraParams for the field documentation.
    • setType

      Required. The secret scope type.
    • setUser

      The user ID. This field is required if type is set to user, and should not be provided if type is set to account.