Swiftextension_StoreKit_SwiftUI
extension StoreKit.Product
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
extends{}
structStoreKit.Product
Header
extension StoreKit.Product { enum TaskState { case failure(any Swift.Error) case success(StoreKit.Product) case loading case unavailable var product: StoreKit.Product? { get } } enum CollectionTaskState { case failure(any Swift.Error) case success([StoreKit.Product], unavailable: [Swift.String]) case loading var products: [StoreKit.Product]? { get } } struct CollectionTaskViewModifier<A> where A: Swift.Collection, A: Swift.Equatable, A.Element == Swift.String { let priority: Swift.TaskPriority let id: StoreKit.Product.TaskID<A> let action: (_: StoreKit.Product.CollectionTaskState) async -> () let origin: StoreKit.StoreKitViewOrigin } enum TaskID<A> where A: Swift.Collection, A: Swift.Equatable, A.Element == Swift.String { case productIDCollection(A) case subscriptionGroupID(Swift.String) } struct TaskViewModifier { let priority: Swift.TaskPriority let id: Swift.String let action: (_: StoreKit.Product.TaskState) async -> () let origin: StoreKit.StoreKitViewOrigin var _disableAutomaticTasks: SwiftUI.Environment<Swift.Bool?> } struct SubscriptionRelationship { var rawValue: Swift.Int static var all: StoreKit.Product.SubscriptionRelationship { get } static var crossgrade: StoreKit.Product.SubscriptionRelationship { get } static var current: StoreKit.Product.SubscriptionRelationship { get } static var downgrade: StoreKit.Product.SubscriptionRelationship { get } static var upgrade: StoreKit.Product.SubscriptionRelationship { get } } struct LocalizedPriceResource { enum Format { case commitmentPrice(offer: StoreKit.Product.SubscriptionOffer.PriceProperties?) case standard(separator: StoreKit.Product.LocalizedPriceResource.SeparatorStyle, dropSingleValue: Swift.Bool?, suppressCommitmentLanguage: Swift.Bool) case standardLong(spellOutSeparator: Swift.Bool) case subscriptionGroupEntry(separatorStyle: StoreKit.Product.LocalizedPriceResource.SeparatorStyle, dropSingleValue: Swift.Bool?, offer: StoreKit.Product.SubscriptionOffer.PriceProperties?) case offer(offer: StoreKit.Product.SubscriptionOffer.PriceProperties, separatorStyle: StoreKit.Product.LocalizedPriceResource.SeparatorStyle, useAbbreviatedDurations: Swift.Bool) case newLineSeparatedOffer(offer: StoreKit.Product.SubscriptionOffer.PriceProperties) } enum SeparatorStyle { case slash case spellOut case spellOutPayUpFront } let pricingTerms: StoreKit.Product.SubscriptionInfo.PricingTerms var format: StoreKit.Product.LocalizedPriceResource.Format } enum PriceString { case verbatim(Swift.String) case resource(StoreKit.Product.LocalizedPriceResource) case period(StoreKit.Product.SubscriptionPeriod.LocalizationResource) } }