This method is for customers who have implemented their own in-app purchases or subscription code directly with the App Store, Google Play, etc. or who are using another third-party for subscription or purchase management.
Your Nami account needs to be on a Paywalls only plan to use this interface. Contact support@nami.ml for details.
@objc public class NamiPurchaseSuccess: NSObject, Codable {
let product: NamiSKU
let transactionID: String
let originalTransactionID: String
let originalPurchaseDate: Date
let expiresDate: Date?
let purchaseDate: Date
let price: Decimal
let currencyCode: String
let locale: Locale
let purchaseSource: NamiPurchaseSource
}