Package-level declarations
Types
Link copied to clipboard
class CardFieldsController
Holds the UI state and tokenization logic for the CardFields composable. Create an instance via rememberCardFieldsController rather than calling this constructor directly.
Link copied to clipboard
Error class thrown when there's an issue fetching the pending request to complete the flow.
Functions
Link copied to clipboard
Renders the card number, expiration, and CVV fields for card tokenization. Pair with a CardFieldsController created via rememberCardFieldsController.
Link copied to clipboard
fun PayPalButton(style: PayPalButtonColor, payPalRequest: PayPalRequest, authorization: String, appLinkReturnUrl: Uri, deepLinkFallbackUrlScheme: String, pendingRequestRepository: PendingRequestRepository = PendingRequestRepository(LocalContext.current, "paypal"), paypalTokenizeCallback: PayPalTokenizeCallback)
A composable that displays a PayPal branded button.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun rememberCardFieldsController(authorization: String, request: Card = Card()): CardFieldsController
Creates and remembers a CardFieldsController for use with the CardFields composable, surviving recomposition, configuration changes, and process death.
Link copied to clipboard
fun VenmoButton(style: VenmoButtonColor, venmoRequest: VenmoRequest, authorization: String, appLinkReturnUrl: Uri, deepLinkFallbackUrlScheme: String? = null, pendingRequestRepository: PendingRequestRepository = PendingRequestRepository(LocalContext.current, "venmo"), venmoTokenizeCallback: VenmoTokenizeCallback)
A composable that displays a Venmo branded button.
Link copied to clipboard