| java.lang.Object | |
| ↳ | com.usebutton.sdk.purchasepath.PurchasePathRequest |
A Purchase Path request defines the parameters for a Purchase Path fetch.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
PurchasePathRequest(String url)
Creates a new Purchase Path request with the given url.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| String |
getOfferId()
The Button-provided identifier for the offer backing this Purchase Path request.
| ||||||||||
| String |
getPlacementId()
An optional description of the instance of a button that triggers this request.
| ||||||||||
| String |
getPubRef()
An optional token to be associated with all downstream orders, transactions and webhooks.
| ||||||||||
| String |
getUrl()
A merchant URL to a product, category or just the homepage.
| ||||||||||
| void | setOfferId(String offerId) | ||||||||||
| void | setPlacementId(String placementId) | ||||||||||
| void | setPubRef(String pubRef) | ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Creates a new Purchase Path request with the given url.
| url | the merchant url. |
|---|
The Button-provided identifier for the offer backing this Purchase Path request.
An optional description of the instance of a button that triggers this request.
An optional token to be associated with all downstream orders, transactions and webhooks. (Max 100 chars.)