Class ApiKeyRotateParams

java.lang.Object
com.stripe.net.ApiRequestParams
com.stripe.param.v2.iam.ApiKeyRotateParams

public class ApiKeyRotateParams extends ApiRequestParams
  • Method Details

    • builder

      public static ApiKeyRotateParams.Builder builder()
    • getExpireCurrentKeyInMinutes

      public Long getExpireCurrentKeyInMinutes()
      Duration in minutes before the current key expires, with a maximum of 7 days (10080 minutes). If not provided, the current key expires immediately.
    • 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.
    • getPublicKey

      public ApiKeyRotateParams.PublicKey getPublicKey()
      Public key for encrypting the new API key secret. This must a PEM-formatted RSA key suitable for encryption, >= 2048 bits. A public key is required when rotating secret keys. Publishable keys are not encrypted and a public key should not be included.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object