TriggerRequest

@Serializable
data class TriggerRequest(val fieldId: BackendNodeId, val frameId: FrameId? = null, val card: CreditCard? = null, val address: Address? = null)

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

Constructors

Link copied to clipboard
constructor(fieldId: BackendNodeId, frameId: FrameId? = null, card: CreditCard? = null, address: Address? = null)

Types

Link copied to clipboard
class Builder(val fieldId: BackendNodeId)

A builder for TriggerRequest, which allows setting the optional parameters of the AutofillDomain.trigger command via a lambda.

Properties

Link copied to clipboard

Address to fill out the form. Address data is not saved. Mutually exclusive with card.

Link copied to clipboard

Credit card information to fill out the form. Credit card data is not saved. Mutually exclusive with address.

Link copied to clipboard

Identifies a field that serves as an anchor for autofill.

Link copied to clipboard

Identifies the frame that field belongs to.