From 5b22e3104a6770320de10b23a5d1d07e3ff19b8d Mon Sep 17 00:00:00 2001 From: Pavel Tikhonenko Date: Wed, 11 May 2022 21:26:48 +0200 Subject: [PATCH] Make Purchase methods public --- Sources/Mercato/Mercato+Types.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Sources/Mercato/Mercato+Types.swift b/Sources/Mercato/Mercato+Types.swift index 7034192..3324894 100644 --- a/Sources/Mercato/Mercato+Types.swift +++ b/Sources/Mercato/Mercato+Types.swift @@ -18,17 +18,17 @@ public struct Purchase extension Purchase { - var productId: String + public var productId: String { transaction.productID } - var quantity: Int + public var quantity: Int { transaction.purchasedQuantity } - func finish() async + public func finish() async { await transaction.finish() }