Enum Class FileCreateParams.Purpose

java.lang.Object
java.lang.Enum<FileCreateParams.Purpose>
com.stripe.param.FileCreateParams.Purpose
All Implemented Interfaces:
ApiRequestParams.EnumParam, Serializable, Comparable<FileCreateParams.Purpose>, Constable
Enclosing class:
FileCreateParams

public static enum FileCreateParams.Purpose extends Enum<FileCreateParams.Purpose> implements ApiRequestParams.EnumParam
Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to metadata.
  • Enum Constant Details

    • ACCOUNT_REQUIREMENT

      @SerializedName("account_requirement") public static final FileCreateParams.Purpose ACCOUNT_REQUIREMENT
    • ADDITIONAL_VERIFICATION

      @SerializedName("additional_verification") public static final FileCreateParams.Purpose ADDITIONAL_VERIFICATION
    • BUSINESS_ICON

      @SerializedName("business_icon") public static final FileCreateParams.Purpose BUSINESS_ICON
    • CUSTOMER_SIGNATURE

      @SerializedName("customer_signature") public static final FileCreateParams.Purpose CUSTOMER_SIGNATURE
    • DISPUTE_EVIDENCE

      @SerializedName("dispute_evidence") public static final FileCreateParams.Purpose DISPUTE_EVIDENCE
    • IDENTITY_DOCUMENT

      @SerializedName("identity_document") public static final FileCreateParams.Purpose IDENTITY_DOCUMENT
    • PCI_DOCUMENT

      @SerializedName("pci_document") public static final FileCreateParams.Purpose PCI_DOCUMENT
    • TAX_DOCUMENT_USER_UPLOAD

      @SerializedName("tax_document_user_upload") public static final FileCreateParams.Purpose TAX_DOCUMENT_USER_UPLOAD
    • TERMINAL_READER_SPLASHSCREEN

      @SerializedName("terminal_reader_splashscreen") public static final FileCreateParams.Purpose TERMINAL_READER_SPLASHSCREEN
  • Method Details

    • values

      public static FileCreateParams.Purpose[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static FileCreateParams.Purpose valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getValue

      public String getValue()
      Specified by:
      getValue in interface ApiRequestParams.EnumParam