AutofillDomain

Defines commands and events for Autofill.

Official doc

Functions

Link copied to clipboard
suspend fun setAddresses(addresses: List<Address>): SetAddressesResponse

Set addresses so that developers can verify their forms implementation.

Link copied to clipboard
inline suspend fun trigger(fieldId: BackendNodeId, card: CreditCard, optionalArgs: TriggerRequest.Builder.() -> Unit = {}): TriggerResponse

Trigger autofill on a form identified by the fieldId. If the field and related form cannot be autofilled, returns an error.