PurchasePathInterface | Button SDK for Android v7.0.0

PurchasePathInterface

Class Overview

Button Purchase Path takes regular Merchant URLs to products, categories or just the homepage and replaces them with a fully attributed Button Purchase Path, optimized for both conversion and user experience.

See Button Developer Guide

Summary

Public Methods
abstract




void
abstract




PurchasePathExtension
abstract




boolean
abstract




void

Public Methods

public abstract void fetch( PurchasePathRequest request, PurchasePathListener listener)

Asynchronously fetch a Purchase Path with a request.

Parameters

| request | request params including URL and optional publisher reference. | | listener | callback to be invoked when the request is complete. |

public abstract PurchasePathExtensiongetExtension()

Gets the current Purchase Path extension.

Returns

public abstract boolean isBrowserEnabled()

Indicates if all urls would be opened in the webview

Returns

public abstract void setExtension( PurchasePathExtension extension)

Sets a Purchase Path extension.

Note: The passed object will be strongly held by Button.

Parameters

| extension | this will override any existing extension. Pass null to remove the
current extension. |