Documentation Index
Fetch the complete documentation index at: https://primer.io/docs/llms.txt
Use this file to discover all available pages before exploring further.
Explore the Android Checkout Compose component hierarchy interactively. Click on any composable to see its parameters, available states, and copyable Kotlin code examples.
Key State Types
PrimerCheckoutState
| State | Description |
|---|
Loading | Checkout is initializing |
Ready | Payment methods available (contains clientSession) |
| Property | Type | Description |
|---|
cardFields | CardFields | Card field values and validation |
billingFields | BillingFields | Billing address field values |
fieldErrors | List<SyncValidationError>? | Validation errors (each with inputElementType, errorId, fieldId, errorResId) |
data | CardFormData | Aggregated form data |
isLoading | Boolean | Whether form is processing |
isFormValid | Boolean | Whether all required fields are valid |
networkSelection | NetworkSelection | Co-badged card network info |
NetworkSelection
| Property | Type | Description |
|---|
selectedNetwork | CardNetwork? | Currently selected network |
availableNetworks | List<CardNetwork> | Available networks for this card |
isNetworkSelectable | Boolean | Whether user can choose network |