Builder

class Builder(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.