ApplePayAvailabilityState enum

Tri-state Apple Pay availability on the device, observed from the iOS Kit's ApplePayAvailability service.

Raw values match what the iOS Kit's ApplePayAvailability.State persists/exchanges so the wire format stays stable across versions.

Inheritance
Available extensions

Values

ready → const ApplePayAvailabilityState

Device supports Apple Pay AND user has at least one supported card.

const ApplePayAvailabilityState('ready')
setupRequired → const ApplePayAvailabilityState

Device supports Apple Pay but Wallet has no supported cards. Call ZeroSettle.presentApplePaySetup to launch the Wallet setup flow.

const ApplePayAvailabilityState('setupRequired')
unavailable → const ApplePayAvailabilityState

Device cannot do Apple Pay (older hardware, simulator, MDM/parental restriction).

const ApplePayAvailabilityState('unavailable')

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
rawValue String
final
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

Static Methods

fromRawValue(String value) ApplePayAvailabilityState

Constants

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