Instance Method

getEligiblePromotionalOffers(forProduct:)

Finds the subset of discounts that’s eligible for the current user.

Declaration

func getEligiblePromotionalOffers(forProduct product: StoreProduct) async -> [PromotionalOffer]

Parameters

product

the product to filter discounts from.

Discussion