let discount: StoreProductDiscount The
StoreProductDiscount in this offer.StoreProductDiscount that has been validated and is ready to be used for a purchase.Framework
@objc(RCPromotionalOffer) final class PromotionalOfferlet discount: StoreProductDiscount StoreProductDiscount in this offer.ObjectiveC.NSObjectProtocol Swift.CVarArg Swift.CustomDebugStringConvertible Swift.CustomStringConvertible Swift.Equatable Swift.Hashable class IntroEligibility class StoreProductDiscount StoreKit.Product.SubscriptionOffer and SKProductDiscount and provides access to their properties. Information about a subscription offer that you configured in App Store Connect.func checkTrialOrIntroDiscountEligibility (productIdentifiers : [String]) async -> [String : IntroEligibility ] func checkTrialOrIntroDiscountEligibility (productIdentifiers : [String], completion: ([String : IntroEligibility ]) -> Void) func checkTrialOrIntroDiscountEligibility (product: StoreProduct ) async -> IntroEligibilityStatus func checkTrialOrIntroDiscountEligibility (product: StoreProduct , completion: (IntroEligibilityStatus ) -> Void) func getPromotionalOffer (forProductDiscount : StoreProductDiscount , product: StoreProduct ) async throws -> PromotionalOffer func getPromotionalOffer (forProductDiscount : StoreProductDiscount , product: StoreProduct , completion: (PromotionalOffer ?, Error?) -> Void) PromotionalOffer to use in purchase(package:promotionalOffer:) or purchase(product:promotionalOffer:) . iOS Promotional Offers.func purchase(package: Package, promotionalOffer : PromotionalOffer ) async throws -> PurchaseResultData Package. Call this method when a user has decided to purchase a product with an applied discount. Only call this in direct response to user input. From here Purchases will handle the purchase with StoreKit and call the PurchaseCompletedBlock .func purchase(package: Package, promotionalOffer : PromotionalOffer , completion: PurchaseCompletedBlock ) Package. Call this method when a user has decided to purchase a product with an applied discount. Only call this in direct response to user input. From here Purchases will handle the purchase with StoreKit and call the PurchaseCompletedBlock .func purchase(product: StoreProduct , promotionalOffer : PromotionalOffer ) async throws -> PurchaseResultData StoreProduct with an applied PromotionalOffer . If you are using the Offerings system, use purchase(package:promotionalOffer:completion:) instead.func purchase(product: StoreProduct , promotionalOffer : PromotionalOffer , completion: PurchaseCompletedBlock ) StoreProduct with a PromotionalOffer .