Class SecretCreateParams

java.lang.Object
com.stripe.net.ApiRequestParams
com.stripe.param.apps.SecretCreateParams

public class SecretCreateParams extends ApiRequestParams
  • Method Details

    • builder

      public static SecretCreateParams.Builder builder()
    • getExpand

      public List<String> getExpand()
      Specifies which fields in the response should be expanded.
    • getExpiresAt

      public Long getExpiresAt()
      The Unix timestamp for the expiry time of the secret, after which the secret deletes.
    • getExtraParams

      public Map<String,Object> getExtraParams()
      Map of extra parameters for custom features not available in this client library. The content in this map is not serialized under this field's @SerializedName value. Instead, each key/value pair is serialized as if the key is a root-level field (serialized) name in this param object. Effectively, this map is flattened to its parent instance.
    • getName

      public String getName()
      Required. A name for the secret that's unique within the scope.
    • getPayload

      public String getPayload()
      Required. The plaintext secret value to be stored.
    • getScope

      public SecretCreateParams.Scope getScope()
      Required. Specifies the scoping of the secret. Requests originating from UI extensions can only access account-scoped secrets or secrets scoped to their own user.