SetupIntentUsage enum

Inheritance
Annotations
  • @JsonEnum(fieldRename: FieldRename.snake)

Constructors

SetupIntentUsage()
const

Values

onSession → const SetupIntentUsage

Use on_session if you intend to only reuse the payment method when the customer is in your checkout flow

offSession → const SetupIntentUsage

Use off_session if your customer may or may not be in your checkout flow.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<SetupIntentUsage>
A constant List of the values in this enum, in order of their declaration.