build

Returns a PaymentSheet.

Parameters

activity

The Activity that is presenting PaymentSheet.


fun build(fragment: Fragment): PaymentSheet

Returns a PaymentSheet.

Parameters

fragment

the Fragment that is presenting the payment sheet.


Returns a PaymentSheet composable.