PurchasePath
class PurchasePath : NSObject
Undocumented
-
Purchase Path attributed url (may be a universal link)
@discussion In the event this value is nil, use the url from your PurchasePathRequest.
Declaration
Swift
var attributedURL: URL? { get }
-
The attribution token associated with the Purchase Path.
Declaration
Swift
var attributionToken: String { get }
-
Presents the user with the merchant product or category represented by the URL used to fetch the Purchase Path.
@discussion The Purchase Path may take the user to an embedded web view or the installed merchant app.
Declaration
Swift
func start()
-
Presents the user with the merchant product or category represented by the URL used to fetch the Purchase Path.
@discussion The Purchase Path may take the user to an embedded web view or the installed merchant app. In the case of an error in the completion, the user is not taken to a merchant product or category and the UX must be handled.
Declaration
Swift
func start() async throws
Parameters
completion
If the error is nil, the Purchase Path can start successfully, otherwise it will not start and you must handle the error.