Просмотр исходного кода

adds inGracePeriod VerifySubsciptionResult

Justin Schröder 4 лет назад
Родитель
Сommit
b0ce3901dd
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      Sources/SwiftyStoreKit/SwiftyStoreKit+Types.swift

+ 1 - 0
Sources/SwiftyStoreKit/SwiftyStoreKit+Types.swift

@@ -172,6 +172,7 @@ public enum VerifyPurchaseResult {
 public enum VerifySubscriptionResult {
     case purchased(expiryDate: Date, items: [ReceiptItem])
     case expired(expiryDate: Date, items: [ReceiptItem])
+    case inGracePeriod(endDate: Date, items: [ReceiptItem], pendingRenewals: [PendingRenewalInfo])
     case notPurchased
 }