allTransactions
TypeScriptget allTransactions(): Transaction_TransactionsSwift declarationvar allTransactions: Transaction.Transactions { get }struct · iOS 18.4+ · SDK 27.1
struct AdvancedCommerceProductget allTransactions(): Transaction_TransactionsSwift declarationvar allTransactions: Transaction.Transactions { get }get debugDescription(): stringSwift declarationvar debugDescription: String { get }A textual representation of this instance, suitable for debugging. Calling this property directly is discouraged. Instead, convert an instance of any type to a string by using the `String(reflecting:)` initializer. This initializer works with any type, and uses the custom `debugDescription` property for types that conform to `CustomDebugStringConvertible`: struct Point: CustomDebugStringConvertible { let x: Int, y: Int var debugDescription: String { return "(\(x), \(y))" } } let p = Point(x: 21, y: 30) let s = String(reflecting: p) print(s) // Prints "(21, 30)" The conversion of `p` to a string in the assignment to `s` uses the `Point` type's `debugDescription` property.
get latestTransaction(): Promise<(VerificationResult<Transaction>) | null>Swift declarationvar latestTransaction: VerificationResult<Transaction>? { get async }get currentEntitlements(): Transaction_TransactionsSwift declarationvar currentEntitlements: Transaction.Transactions { get }static init(id: string): Promise<AdvancedCommerceProduct>Swift declarationinit(id: AdvancedCommerceProduct.ID) async throwsget id(): stringSwift declarationlet id: AdvancedCommerceProduct.IDThe product identifier that represents the generic product ID used with the Advanced Commerce API.
get type(): Product_ProductTypeSwift declarationlet type: AdvancedCommerceProduct.ProductTypepurchase(compactJWS: string, viewController: _UIKit_UIViewController, options?: Array<AdvancedCommerceProduct_PurchaseOption>): Promise<Product_PurchaseResult>Swift declarationfunc purchase(compactJWS: String, confirmIn viewController: UIViewController, options: Set<AdvancedCommerceProduct.PurchaseOption> = []) async throws -> AdvancedCommerceProduct.PurchaseResultNo declarations were skipped in this snapshot.