BrowserConfig Class Reference
BrowserConfig
Configuration class used to provide customizable parameters to the Browser.
Declaration
pubRef
An optional token to be associated with all downstream orders, transactions and webhooks. (Max 100 chars.)
Declaration
offerId
The Button-provided identifier for the offer backing the Purchase Path this may begin.
Declaration
title
The title to show in the Browser header chrome.
Declaration
subtitle
The subtitle to show in the Browser header chrome.
Declaration
init(pubRef:)
Initializes a Browser Config object with a pubRef.
Declaration
Parameters
pubRef |
The token to be associated with all downstream orders, transactions and webhooks. (Max 100 chars.) |
Return Value
A configuration object populated with the provided pubRef.
Declaration
init(title:subtitle:)
Initializes a Browser Config object with a title and an optional subtitle.
Declaration
Parameters
title |
The title to show in the Browser header chrome. |
subtitle |
The optional subtitle to show in the Browser header chrome. |
Return Value
A configuration object populated with the provided title and subtitle.