Interface.ILoyaltyService
Loyalty operations for wallet passes and tier retrieval.
Properties
| Property | Type | Description |
|---|
addToAppleWallet | () => Promise<void> | Adds an Apple Wallet pass. |
addToGoogleWallet | () => Promise<string> | Returns a Google Wallet URL to add the pass. |
getOptimisticBalance | () => Promise<string> | Returns the current loyalty optimistic balance. |
getRewardTier | () => Promise< | { application: string; bgImageUrl?: string | null; createdAt: string; currencyToPointRatio: number; id: string; name: string; requiredVisits: number; updatedAt: string; } | null> | Returns the current loyalty reward tier, or null if none. |