Skip to content

Commit

Permalink
Make Purchase methods public
Browse files Browse the repository at this point in the history
  • Loading branch information
tikhop committed May 11, 2022
1 parent 4bb3226 commit 5b22e31
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Sources/Mercato/Mercato+Types.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}
Expand Down

0 comments on commit 5b22e31

Please sign in to comment.