Instance Method

getPromotionalOffer(forProductDiscount:product:)

Use this method to find eligibility for this user for iOS Promotional Offers.

Declaration

func getPromotionalOffer(forProductDiscount discount: StoreProductDiscount, product: StoreProduct) async throws -> PromotionalOffer

Parameters

discount

The StoreProductDiscount to apply to the product.

product

The StoreProduct the user intends to purchase.

Discussion

See Also

Making Purchases with Subscription Offers