public class

PurchasePath

extends Object
java.lang.Object
   ↳ com.usebutton.sdk.purchasepath.PurchasePath

Class Overview

Purchase Path response object that can be started to send the user to the partner application or embedded web view.

Summary

Nested Classes
interface PurchasePath.Listener  
Fields
protected final AppAction appAction
Public Methods
Uri getAttributedUrl()
String getAttributionToken()
void start(Context context, PurchasePath.Listener listener)
Starts the Purchase Path flow.
void start(Context context)
[Expand]
Inherited Methods
From class java.lang.Object

Fields

protected final AppAction appAction

Public Methods

public Uri getAttributedUrl ()

public String getAttributionToken ()

public void start (Context context, PurchasePath.Listener listener)

Starts the Purchase Path flow. User will be redirected to the Button embedded web view or the corresponding partner application.

Parameters
context the context used to start any new Activity in the checkout flow.
listener the listener PurchasePath.Listener

public void start (Context context)