Class ApiKeyCreateParams

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

public class ApiKeyCreateParams extends ApiRequestParams
  • Method Details

    • builder

      public static ApiKeyCreateParams.Builder builder()
    • 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()
      Name for the API key.
    • getNote

      public String getNote()
      Note or description for the API key.
    • getPublicKey

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

      public ApiKeyCreateParams.Type getType()
      Required. Type of the API key to create (secret or publishable).
    • 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