PurchasePathRequest
class PurchasePathRequest : NSObject
A Purchase Path request defines the parameters for a Purchase Path fetch.
See
PurchasePathInterface-
A merchant URL to a product, category or just the homepage.
Declaration
Swift
var url: URL { get }
-
An optional token to be associated with all downstream orders, transactions and webhooks. (Max 100 chars.)
Declaration
Swift
var pubRef: String? { get set }
-
An optional description of the instance of a button that triggers this request.
Declaration
Swift
var placementId: String? { get set }
-
The Button-provided identifier for the offer backing this Purchase Path request.
Declaration
Swift
var offerId: String? { get set }
-
Initializes a Purchase Path request for a given merchant URL.
Declaration
Swift
convenience init(url: URL)
Parameters
url
A merchant URL to a product, category or just the homepage.
Return Value
A new Purchase Path request.