SwiftstructStoreKit

struct StoreKit.AdvancedCommerceProduct

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

Members 10

  1. fieldlet backing: StoreKit.BackingValue+0x0
  2. fieldlet id: String+0x18
  3. fieldlet type: StoreKit.Product.ProductType+0x28
  4. funcpurchase(compactJWS: String, confirmIn: UIViewController, options: Set<StoreKit.AdvancedCommerceProduct.PurchaseOption>) async throws -> StoreKit.Product.PurchaseResult
  5. initinit(id: String) async throws -> StoreKit.AdvancedCommerceProduct
  6. typealiastypealias ID = Swift.String
  7. varvar allTransactions: StoreKit.Transaction.Transactions { get }
  8. varvar currentEntitlements: StoreKit.Transaction.Transactions { get }
  9. varvar debugDescription: String { get }
  10. varvar latestTransaction: StoreKit.VerificationResult<StoreKit.Transaction>? { get }
struct AdvancedCommerceProduct {
    struct PurchaseOption {
        enum PurchaseOptionValue {
            case onStorefrontChange(@Sendable (_: StoreKit.Storefront) -> Swift.Bool)
        }
        let value: StoreKit.AdvancedCommerceProduct.PurchaseOption.PurchaseOptionValue

        var debugDescription: Swift.String {
            get
        }

        static func onStorefrontChange(shouldContinuePurchase: @escaping @Sendable (_: StoreKit.Storefront) -> Swift.Bool) -> StoreKit.AdvancedCommerceProduct.PurchaseOption
    }
    let backing: StoreKit.BackingValue
    let id: Swift.String
    let type: StoreKit.Product.ProductType

    init(id: Swift.String) async throws

    var allTransactions: StoreKit.Transaction.Transactions {
        get
    }
    var currentEntitlements: StoreKit.Transaction.Transactions {
        get
    }
    var debugDescription: Swift.String {
        get
    }
    var latestTransaction: StoreKit.VerificationResult<StoreKit.Transaction>? {
        get
    }

    func purchase(compactJWS: Swift.String, confirmIn: __C.UIViewController, options: Swift.Set<StoreKit.AdvancedCommerceProduct.PurchaseOption>) async throws -> StoreKit.Product.PurchaseResult
}