TipAdjustRequestIntentBuilder

Use the TipAdjustRequestIntentBuilder to build an intent for a merchant to add a tip to a payment. This is NOT to prompt the customer for a tip, rather it allows a merchant to apply a tip to an existing payment, for example, from a tip amount left on a receipt. If the tip amount is not provided (null) then a UI will be displayed allowing a merchant to enter a tip amount.

Constructors

Link copied to clipboard
Create the build with a required paymentId of the payment to apply the tip

Types

Link copied to clipboard
public class Response

Properties

Link copied to clipboard
public final static String PAPI_SDK_NAME

Functions

Link copied to clipboard
public static TipAdjustRequestIntentBuilder AdjustTip(String paymentId, @Nullable() Long tipAmount)
Use to create a Tip Adjust request to adjust a payment.
Link copied to clipboard
public Intent build(Context context)
returns a single-use Intent that can be used to launch an Activity to process the request
Link copied to clipboard
The amount of the tip.