{"templateId":"markdown","versions":[{"version":"v1","label":"v1","link":"/products/checkout/android/v1/optional-configuration","default":false,"active":false,"folderId":"0dba1fab"},{"version":"v2","label":"v2","link":"/products/checkout/android/v2/optional-configuration","default":false,"active":false,"folderId":"0dba1fab"},{"version":"v3","label":"v3","link":"/products/checkout/android/v3/optional-configuration","default":false,"active":false,"folderId":"0dba1fab"},{"version":"v4","label":"v4","link":"/products/checkout/android/v4/optional-configuration","default":false,"active":false,"folderId":"0dba1fab"},{"version":"v5","label":"v5 (Latest)","link":"/products/checkout/android/optional-configuration","default":true,"active":true,"folderId":"0dba1fab"}],"sharedDataIds":{"sidebar":"sidebar-products/checkout/android/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":["partial","admonition"]},"custom_product":"Checkout","type":"markdown"},"seo":{"title":"AccessCheckoutEditText","description":"Worldpay for Developers - docs, code examples, resources and tools. Everything you need to build your omnichannel payment solution.","siteUrl":"https://docs.worldpay.com/access","image":"/access/assets/worldpay-logo-light.21b7daf79984773a9fcd7d4fbcb07ae5289dfffd6023c4c3dca720c7058e53dc.33f780a6.svg","keywords":"documentation, api, openapi, sdks, developer, payments, json, payouts, 3ds","jsonLd":{"@context":"https://schema.org","@type":"Organization","url":"https://docs.worldpay.com/access","name":"Worldpay"},"meta":[{"name":"google-site-verification","content":"zjziIKaP3ImsqsfhYnEBnq1R85UabiSwl7HTXuwtZuo"},{"name":"doc_product","content":"Access"},{"name":"doc_category","content":"Documentation"}],"llmstxt":{"hide":false,"sections":[{"title":"Payments API","description":"Payment orchestration API combining fraud assessment, 3ds authentication, SCA exemptions, Worldpay Token creation and a card or wallet based payment.","includeFiles":["products/payments/@20240601/**/*"],"excludeFiles":[]},{"title":"Payment Queries API","description":"Querying your payments data, based on a variety of parameters.","includeFiles":["products/payment-queries/@v1/**/*"],"excludeFiles":[]},{"title":"Card BIN Data API","description":"Provides detailed information about a card.","includeFiles":["products/card-bin/@v1/**/*"],"excludeFiles":[]},{"title":"3DS Authentication API","description":"Request 3DS authentication to protect against fraud, be SCA compliant and to shift liability using this standalone API.","includeFiles":["products/3ds/@v3/**/*"],"excludeFiles":[]},{"title":"FraudSight API","description":"Request a risk assessment and receive a response with an outcome (e.g. lowRisk) using this standalone API.","includeFiles":["products/fraudsight/@v1/**/*"],"excludeFiles":[]},{"title":"Checkout SDK","description":"Integrate using our clientside SDKs for both web and native devices. Benefit from SAQ-A/PCI-SSF compliance.","includeFiles":["products/checkout/web/@v2/**/*","products/checkout/ios/@v4/**/*","products/checkout/android/@v4/**/*","products/checkout/react-native/@v3/**/*","products/checkout/flutter/@v1/**/*"],"excludeFiles":[]},{"title":"Tokens API","description":"Minimizes the exposure of sensitive card details and increases the security of your customer's card details.","includeFiles":["products/tokens/@v3/**/*"],"excludeFiles":[]},{"title":"Card Payments API","description":"Request a card payment using this standalone API, requires separate requests for 3DS, Fraud assessment etc.","includeFiles":["products/card-payments/@v7/**/*"],"excludeFiles":[]},{"title":"Card Verifications API","description":"Verify your customer's card to maximize your authentication rates.","includeFiles":["products/card-verifications/@v6/**/*"],"excludeFiles":[]},{"title":"Account Payouts API","description":"Send funds to your customer's bank accounts and search for payouts using parameters.","includeFiles":["products/account-payouts/@20250101/**/*"],"excludeFiles":[]},{"title":"APMs","description":"Pay using eWallets, bank transfers, direct debits, local card schemes, Postpay and eInvoice/ Buy Now Pay Later.","includeFiles":["products/apms/@20240701/**/*"],"excludeFiles":[]},{"title":"Balance API","description":"Request your account details for a single account or all accounts under an entity.","includeFiles":["products/balance/@20250101/**/*"],"excludeFiles":[]},{"title":"Card Payouts API","description":"Send funds to your customer's cards.","includeFiles":["products/card-payouts/@v4/**/*"],"excludeFiles":[]},{"title":"Events (Webhooks)","description":"Receive status updates from Access Worldpay by setting up a webhook.","includeFiles":["products/events/@v1/**/*"],"excludeFiles":[]},{"title":"FX API","description":"Manage Foreign Exchange (FX) on your payments.","includeFiles":["products/fx/@v1/**/*"],"excludeFiles":[]},{"title":"Hosted Payment Pages (HPP) API","description":"Our low-code option to take payments securely at the lowest PCI compliance level - SAQ A.","includeFiles":["products/hosted-payment-pages/@v1/**/*"],"excludeFiles":[]},{"title":"Money Transfers API","description":"Money Transfer OCTs (Original Credit Transaction) allow funds to be pushed to an eligible card in 30 minutes or less.","includeFiles":["products/money-transfers/@v1/**/*"],"excludeFiles":[]},{"title":"Parties API","description":"Create parties, manage your payout instruments and beneficial owners and carry out identity verification checks.","includeFiles":["products/parties/@20250101/**/*"],"excludeFiles":[]},{"title":"SCA Exemptions API","description":"Maximize a frictionless checkout experience by using issuer data insights to apply exemptions.","includeFiles":["products/sca-exemptions/@v1/**/*"],"excludeFiles":[]},{"title":"Split Payments API","description":"Divide funds from a single payment amongst yourself and your parties/sellers.","includeFiles":["products/split-payments/@20250625/**/*"],"excludeFiles":[]},{"title":"Statements API","description":"Retrieve your account statement and see individual entries for all credits and debits.","includeFiles":["products/statements/@20250101/**/*"],"excludeFiles":[]},{"title":"Transfers API","description":"Transfer funds from source account to target account.","includeFiles":["products/transfers/@20250101/**/*"],"excludeFiles":[]},{"title":"Verified Tokens API","description":"Verified Tokens ensures that your customer's payment details are valid and CIT compliant when creating a token.","includeFiles":["products/verified-tokens/@v3/**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Last updated"]},": 30 October 2025 | ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/checkout/android/changelog/"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Change log"]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"accesscheckoutedittext","__idx":0},"children":["AccessCheckoutEditText"]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"warning","name":"Important"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["AccessCheckoutEditText"]}," is an Android UI component that wraps an ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["EditText"]}," for the purpose of entering card details. ",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["To ensure you remain SAQ-A compliant, we have designed the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["AccessCheckoutEditText"]}," component to not"," ","publish any methods or properties that expose the text entered by the end user."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"customization","__idx":1},"children":["Customization"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["You can customize your views using the following properties and methods supported by ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["AccessCheckoutEditText"]},"."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"xml-properties","__idx":2},"children":["XML properties"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["In addition to the XML properties supported by the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["View"]}," class, here are the properties supported by ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["AccessCheckoutEditText"]},":"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Properties"},"children":["Properties"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Type"},"children":["Type"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["android:textColor"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Color"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["android:hint"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["String"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["android:textColorHint"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Color"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["android:imeOptions"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Int"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["android:cursorVisible"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Boolean"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["android:textSize"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Float"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["android:font"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Typeface"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["android:autofillHints"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["String"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"methods","__idx":3},"children":["Methods"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["In addition to the methods supported by the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["View"]}," class, here are the methods supported by ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["AccessCheckoutEditText"]},":"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Methods"},"children":["Methods"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["getHint():CharSequence"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["setHint(value:CharSequence)"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["isEnabled():Boolean"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["setEnabled(value:Boolean)"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["getCurrentTextColor():Int"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["setTextColor(value:Int)"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["getCurrentHintTextColor():Int"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["setHintColor(value:Int)"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["getImeOptions():Int"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["setImeOptions(value:Int)"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["getTextSize():Float"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["setTextSize(value:Float)"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["getTypeface():Typeface"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["setTypeFace(value:Typeface)"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["isCursorVisible():Boolean"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["setCursorVisible(value:Boolean)"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["setText(text:String)"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["setOnFocusChangeListener(event: OnFocusChangeListener)"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["getOnFocusChangeListener(): OnFocusChangeListener"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["setTextAppearance(@StyleRes resId: Int)"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["clear()"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"methods-supported-from-higher-api-levels","__idx":4},"children":["Methods supported from higher API Levels"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["There are some methods that are only supported from specific API Levels:"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Methods"},"children":["Methods"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"API level"},"children":["API level"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["setAutofillHints(hints: String)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["26"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["getAutofillHints():Array<String>"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["26"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["setAutoSizeTextTypeWithDefaults(@TextViewCompat.AutoSizeTextType autoSizeTextType: Int)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["26"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"methods-not-supported","__idx":5},"children":["Methods not supported"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["There are methods from the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["View"]}," class which are not supported:"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Methods not supported"},"children":["Methods not supported"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["getBackgroundTintList():ColorStateList"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["setBackgroundTintMode(PorterDuff.Mode tintMode)"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["setBackgroundTintBlendMode(BlendMode blendMode)"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"enabling-card-auto-fill","__idx":6},"children":["Enabling card auto-fill"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["AccessCheckoutEditText"]}," is compatible with ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["android:autofillHints"]},". Providing ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["autofillHints"]}," enables the autofill"," ","service to recognize the type of view, making it possible for your customer to enter credit card details automatically in your"," ","application."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["You can set autofill hints using the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["android:autofillHints"]}," attribute. The following example sets a \"creditCardNumber\""," ","hint on an ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["AccessCheckoutEditText"]},":"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"xml","header":{"controls":{"copy":{}}},"source":"\n<com.worldpay.access.checkout.ui.AccessCheckoutEditText\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"wrap_content\"\n        app:layout_constraintTop_toTopOf=\"parent\"\n        android:autofillHints=\"creditCardNumber\"/>\n","lang":"xml"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["You should assign the appropriate autofill hint to each ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["AccessCheckoutEditText"]}," input field based on its purpose."," ","Use:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["creditCardNumber"]}," for the card number field"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["creditCardExpirationDate"]}," for the expiry date"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["creditCardSecurityCode"]}," for the credit card security code (CVC/CVV)"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["You can also set hints programmatically using the setAutofillHints() method, as shown in the following example:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"kotlin","header":{"controls":{"copy":{}}},"source":"val creditCardNumber = findViewById<EditAccessCheckoutEditTextText>(R.id.credit_card_number)\ncreditCardNumber.setAutofillHints(View.AUTOFILL_HINT_CREDIT_CARD_NUMBER)\n","lang":"kotlin"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"handling-onfocus-events","__idx":7},"children":["Handling onFocus events"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["AccessCheckoutEditText"]}," has support for ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["onFocus"]}," events, allowing your application to update the UI dynamically when your customer interacts with the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["AccessCheckoutEditText"]},"."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["You must use the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["setOnFocusChangeListener"]}," method to react to focus changes."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The example below changes the background of the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["AccessCheckoutEditText"]}," when the field gains focus to the secondary"," ","color and changes it back to the primary color when the field loses focus."]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"kotlin","header":{"controls":{"copy":{}}},"source":"val panText = view.findViewById(R.id.credit_card_number)\npanText.setOnFocusChangeListener { view, hasFocus ->\n    val color = if (hasFocus) R.color.design_default_color_secondary else R.color.design_default_color_on_primary\n    view.setBackgroundColor(ContextCompat.getColor(requireContext(), color))\n}\n","lang":"kotlin"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"use-espresso-for-ui-testing","__idx":8},"children":["Use Espresso for UI testing"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["AccessCheckoutEditText"]}," acts as a wrapper around an ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["EditText"]},". This is to ensure you can't access the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["EditText"]}," ","instance and remain SAQ-A compliant."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Because of this, you must perform an action on the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["EditText"]}," rather than on the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["AccessCheckoutEditText"]}," instance."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["You can access the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["EditText"]}," instance in Espresso by using the code below, where the id corresponds to the id of the"," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["AccessCheckoutEditText"]}," instance:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"kotlin","header":{"controls":{"copy":{}}},"source":"Espresso.onView(ViewMatchers.withParent(withId(R.id.your_identifier)))\n","lang":"kotlin"},"children":[]}]},"headings":[{"value":"AccessCheckoutEditText","id":"accesscheckoutedittext","depth":1},{"value":"Customization","id":"customization","depth":1},{"value":"XML properties","id":"xml-properties","depth":2},{"value":"Methods","id":"methods","depth":2},{"value":"Methods supported from higher API Levels","id":"methods-supported-from-higher-api-levels","depth":3},{"value":"Methods not supported","id":"methods-not-supported","depth":3},{"value":"Enabling card auto-fill","id":"enabling-card-auto-fill","depth":1},{"value":"Handling onFocus events","id":"handling-onfocus-events","depth":1},{"value":"Use Espresso for UI testing","id":"use-espresso-for-ui-testing","depth":1}],"frontmatter":{"breadcrumbs":{"hide":true},"seo":{"title":"AccessCheckoutEditText"}},"lastModified":"2025-10-20T14:03:49.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/products/checkout/android/optional-configuration","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}