Builder

constructor(resultCallback: PaymentSheetResultCallback, paymentOptionCallback: PaymentOptionCallback)

Builder utility to set optional callbacks for PaymentSheet.FlowController.

Parameters

resultCallback

Called when a PaymentSheetResult is available.

paymentOptionCallback

Called when the customer's desired payment method changes.


constructor(resultCallback: PaymentSheetResultCallback, paymentOptionResultCallback: PaymentOptionResultCallback)

Parameters

resultCallback

Called when a PaymentSheetResult is available.

paymentOptionResultCallback

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