Builder

class Builder(resultCallback: PaymentSheetResultCallback)

Builder to add optional callbacks to PaymentSheet.

Parameters

resultCallback

Called with the result of the payment after PaymentSheet is dismissed.

Constructors

Link copied to clipboard
constructor(resultCallback: PaymentSheetResultCallback)

Functions

Link copied to clipboard

Returns a PaymentSheet composable.

fun build(fragment: Fragment): PaymentSheet

Returns a PaymentSheet.

Link copied to clipboard
fun createIntentCallback(callback: CreateIntentCallback): <Error class: unknown class>
Link copied to clipboard