Package-level declarations

Types

Link copied to clipboard
@Serializable
data class Address(val fields: List<AddressField>)
Link copied to clipboard
@Serializable
data class AddressField(val name: String, val value: String)
Link copied to clipboard

Defines commands and events for Autofill.

Link copied to clipboard
@Serializable
data class CreditCard(val number: String, val name: String, val expiryMonth: String, val expiryYear: String, val cvc: String)
Link copied to clipboard
@Serializable
data class SetAddressesRequest(val addresses: List<Address>)

Request object containing input parameters for the AutofillDomain.setAddresses command.

Link copied to clipboard
@Serializable
object SetAddressesResponse

A dummy response object for the AutofillDomain.setAddresses command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
data class TriggerRequest(val fieldId: BackendNodeId, val frameId: FrameId? = null, val card: CreditCard)

Request object containing input parameters for the AutofillDomain.trigger command.

Link copied to clipboard
@Serializable
object TriggerResponse

A dummy response object for the AutofillDomain.trigger command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.