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. |
getConsent | () => Promise<{ consent: boolean | null; }> |
getOptimisticBalance | () => Promise<string> | Returns the current loyalty optimistic balance. |
getRewardTier | () => Promise< | { application: string; bgImageUrl?: string |
setConsent | (consent: boolean | null) => Promise<{ consent: boolean |