ApplePaySetupBehavior enum

How the SDK reacts when the merchant is Apple-Pay-only and the device's Wallet has no supported card configured (ApplePayAvailabilityState.setupRequired).

Pass to ZeroSettle.configure via the applePaySetupBehavior parameter. Mirrors the iOS Kit's ApplePaySetupBehavior enum.

Inheritance
Available extensions

Values

presentBuiltInUI → const ApplePaySetupBehavior

SDK opens the system Wallet setup flow automatically when the merchant is Apple-Pay-only and the device's Wallet has no supported card. The banner shows a built-in "Set up Apple Pay" CTA inline. Default behavior on iOS.

const ApplePaySetupBehavior('presentBuiltInUI')
delegateToApp → const ApplePaySetupBehavior

SDK delegates the setup flow to your app. The banner hides itself on setupRequired; all imperative entry points surface ZSApplePaySetupRequiredException without auto-opening Wallet. Observe ZeroSettle.applePayStateUpdates to drive your own UI, then call ZeroSettle.presentApplePaySetup when ready.

const ApplePaySetupBehavior('delegateToApp')

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) → ApplePaySetupBehavior

Constants

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