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, paymentOptionCallback: PaymentOptionCallback)

Builder utility to set optional callbacks for PaymentSheet.FlowController.

constructor(resultCallback: PaymentSheetResultCallback, paymentOptionResultCallback: PaymentOptionResultCallback)

Functions

Link copied to clipboard
fun analyticEventCallback(callback: AnalyticEventCallback): <Error class: unknown class>
Link copied to clipboard
fun confirmCustomPaymentMethodCallback(callback: ConfirmCustomPaymentMethodCallback): <Error class: unknown class>
Link copied to clipboard
fun createIntentCallback(callback: CreateIntentCallback): <Error class: unknown class>
Link copied to clipboard
Link copied to clipboard
fun preparePaymentMethodHandler(handler: PreparePaymentMethodHandler): <Error class: unknown class>
Link copied to clipboard
fun shopPayHandlers(handlers: ShopPayHandlers): <Error class: unknown class>