AllowRedisplay

@Serializable
enum AllowRedisplay : Enum<AllowRedisplay>

A field used to indicate whether a payment method can be shown again to its customer in a checkout flow. Consent must be obtained to set this field.

Entries

Link copied to clipboard
@SerialName(value = "always")
ALWAYS

Use always to indicate that this payment method can always be shown to a customer in a checkout flow.

Link copied to clipboard
@SerialName(value = "limited")
LIMITED

Use limited to indicate that this payment method can’t always be shown to a customer in a checkout flow. For example, it can only be shown in the context of a specific subscription.

Link copied to clipboard
@SerialName(value = "unspecified")
UNSPECIFIED

This is the default value for payment methods where allow_redisplay wasn’t set.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.