public static class

BrowserConfig.Builder

extends Object
java.lang.Object
   ↳ com.usebutton.sdk.browser.BrowserConfig.Builder

Summary

Public Constructors
Builder()
Public Methods
BrowserConfig build()
Build the BrowserConfig.
BrowserConfig.Builder setOfferId(String offerId)
The Button-provided identifier for the offer backing this Purchase Path request.
BrowserConfig.Builder setPubRef(String pubRef)
An optional token to be associated with all downstream orders, transactions and webhooks.
BrowserConfig.Builder setSubtitle(String subtitle)
The subtitle to show in the Browser header chrome.
BrowserConfig.Builder setTitle(String title)
The title to show in the Browser header chrome.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public Builder ()

Public Methods

public BrowserConfig build ()

Build the BrowserConfig.

public BrowserConfig.Builder setOfferId (String offerId)

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

public BrowserConfig.Builder setPubRef (String pubRef)

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

public BrowserConfig.Builder setSubtitle (String subtitle)

The subtitle to show in the Browser header chrome. N.B. You must also set the title using setTitle(String)

public BrowserConfig.Builder setTitle (String title)

The title to show in the Browser header chrome.