summaryrefslogtreecommitdiffhomepage
path: root/ios/MullvadVPN/StorePaymentManager/StorePaymentManagerDelegate.swift
blob: 0d89835548962e4d5d7d60e6923819e8ef4a6482 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//
//  StorePaymentManagerDelegate.swift
//  MullvadVPN
//
//  Created by pronebird on 03/09/2021.
//  Copyright © 2025 Mullvad VPN AB. All rights reserved.
//

import Foundation
import StoreKit

protocol StorePaymentManagerDelegate: AnyObject, Sendable {
    /// Return the account number associated with the payment.
    /// Usually called for unfinished transactions coming back after the app was restarted.
    func storePaymentManager(_ manager: StorePaymentManager, didRequestAccountTokenFor payment: SKPayment) -> String?
}