فهرست منبع

Add transactionIdentifer to PaymentTransaction

Andrea Bizzotto 8 سال پیش
والد
کامیت
5f72952934
1فایلهای تغییر یافته به همراه1 افزوده شده و 0 حذف شده
  1. 1 0
      SwiftyStoreKit/SwiftyStoreKit+Types.swift

+ 1 - 0
SwiftyStoreKit/SwiftyStoreKit+Types.swift

@@ -36,6 +36,7 @@ public struct Product {
 // Payment transaction
 public protocol PaymentTransaction {
     var transactionState: SKPaymentTransactionState { get }
+    var transactionIdentifier: String? { get }
 }
 
 // Add PaymentTransaction conformance to SKPaymentTransaction