Package-level declarations

Types

Link copied to clipboard

A component that handles an "action" to be taken from the result of the /payments API call.

Link copied to clipboard
class ActionObserverRepository(observerContainer: ObserverContainer = ObserverContainer())
Link copied to clipboard

A component that expects to receive and handle an activity result.

Link copied to clipboard

A Component that performs Address Lookup functionality should implement this interface.

Link copied to clipboard

Initialize a configuration builder with the required fields and a shopper locale.

Link copied to clipboard
interface ButtonComponent

A component that requires a button to be clicked so that it can be submitted. This button might be visible during all or part of the payment flow.

Link copied to clipboard
Link copied to clipboard
interface Component

A Component is a class that helps to retrieve or format data related to a part of the Checkout API payment.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

A component that expects to receive and handle an external result in the form of an Intent.

Link copied to clipboard

A component that handles collecting user input data. It handles validating and formatting the data for the UI. A valid PaymentComponentState contains PaymentMethodDetails to help compose the request to the /payments API call.

Link copied to clipboard
Link copied to clipboard

Specifies whether a certain payment method is available for use with the provided parameters.

Link copied to clipboard
class PaymentObserverRepository(observerContainer: ObserverContainer = ObserverContainer())
Link copied to clipboard
data class PermissionRequestData(val requiredPermission: String, val permissionCallback: PermissionHandlerCallback)

Runtime permission request data

Link copied to clipboard

A component that expects to receive and handle an external result or a callback. Check subclasses for more details.

Link copied to clipboard

Implement this in any view model or class that contains a SavedStateHandle.

Link copied to clipboard

Use this class combined with a property to fetch data from a SavedStateHandle and save data to it.