Builder

class Builder(resultCallback: PaymentSheetResultCallback, paymentOptionResultCallback: PaymentOptionResultCallback)

Builder utility to set optional callbacks for PaymentSheet.FlowController.

Parameters

resultCallback

Called when a PaymentSheetResult is available.

paymentOptionResultCallback

Called after the customer attempts to make a payment method change.

Constructors

Link copied to clipboard
constructor(resultCallback: PaymentSheetResultCallback, paymentOptionResultCallback: PaymentOptionResultCallback)
constructor(resultCallback: PaymentSheetResultCallback, paymentOptionCallback: PaymentOptionCallback)

Builder utility to set optional callbacks for PaymentSheet.FlowController.

Functions