BTNPurchasePathRequest Class Reference

Inherits from NSObject
Declared in BTNPurchasePathRequest.h

Overview

A Purchase Path request defines the parameters for a Purchase Path fetch.

  URL

A merchant URL to a product, category or just the homepage.

@property (nonatomic, copy, readonly) NSURL *URL

Discussion

A merchant URL to a product, category or just the homepage.

Declared In

BTNPurchasePathRequest.h

  pubRef

An optional token to be associated with all downstream orders, transactions and webhooks. (Max 100 chars.)

@property (nullable, nonatomic, copy) NSString *pubRef

Discussion

An optional token to be associated with all downstream orders, transactions and webhooks. (Max 100 chars.)

Declared In

BTNPurchasePathRequest.h

  placementId

An optional description of the instance of a button that triggers this request.

@property (nullable, nonatomic, copy) NSString *placementId

Discussion

An optional description of the instance of a button that triggers this request.

Declared In

BTNPurchasePathRequest.h

  offerId

The Button-provided identifier for the offer backing this Purchase Path request.

@property (nullable, nonatomic, copy) NSString *offerId

Discussion

The Button-provided identifier for the offer backing this Purchase Path request.

Declared In

BTNPurchasePathRequest.h

+ requestWithURL:

Initializes a Purchase Path request for a given merchant URL.

+ (instancetype)requestWithURL:(NSURL *)url

Parameters

url

A merchant URL to a product, category or just the homepage.

Return Value

A new Purchase Path request.

Discussion

Initializes a Purchase Path request for a given merchant URL.

Declared In

BTNPurchasePathRequest.h