Skip to main content

Interface.ILoyaltyService

Loyalty operations for wallet passes and tier retrieval.

Properties

PropertyTypeDescription
addToAppleWallet() => Promise<void>Adds an Apple Wallet pass.
addToGoogleWallet() => Promise<string>Returns a Google Wallet URL to add the pass.
getConsent() => Promise<{ consent: booleannull; }>
getOptimisticBalance() => Promise<string>Returns the current loyalty optimistic balance.
getRewardTier() => Promise<{ application: string; bgImageUrl?: string
setConsent(consent: booleannull) => Promise<{ consent: boolean