Explore the iOS Checkout scope hierarchy interactively. Click on any scope to see its customization points, available actions, state type, and copyable Swift code examples. Every property and method name reflects the latest SDK API.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.
Type Aliases
Scopes use type aliases for customization closures:| Alias | Signature | Used by |
|---|---|---|
Component | () -> any View | splashScreen, loadingScreen, cardInputSection |
ContainerComponent | (@escaping () -> any View) -> any View | container |
ErrorComponent | (String) -> any View | errorScreen |
PaymentMethodItemComponent | (CheckoutPaymentMethod) -> any View | paymentMethodItem |
CountryItemComponent | (PrimerCountry, @escaping () -> Void) -> any View | countryItem |
CategoryHeaderComponent | (String) -> any View | categoryHeader |
CardFormScreenComponent | (any PrimerCardFormScope) -> any View | Card form screen |
PaymentMethodSelectionScreenComponent | (PrimerPaymentMethodSelectionScope) -> any View | Selection screen |
WebRedirectScreenComponent | (any PrimerWebRedirectScope) -> any View | Web redirect screen |
WebRedirectButtonComponent | (any PrimerWebRedirectScope) -> any View | Web redirect payButton |
FormRedirectScreenComponent | (any PrimerFormRedirectScope) -> any View | Form redirect screen |
FormRedirectButtonComponent | (any PrimerFormRedirectScope) -> any View | Form redirect submitButton |
FormRedirectFormSectionComponent | (any PrimerFormRedirectScope) -> any View | Form redirect formSection |
QRCodeScreenComponent | (any PrimerQRCodeScope) -> any View | QR code screen |
Base Protocol
All payment method scopes conform toPrimerPaymentMethodScope:
Related
- Scopes Overview — Full scope reference
- Design Tokens Explorer — Explore theme tokens
- Card Form Layout Builder — Build card form layouts