Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Node<Graph.CartBookingQuestion>
    • CartBookingQuestion

Index

Properties

answer

displayType

How the input for the booking question should be displayed.

errors

errors: string[]

Validation errors for the question

id

id: string

Unique ID of the question

key

key: string

Unique key of the question. Compared to the IDs (which should always be treated as opaque), this can be be interpreted by the client code. Example use cases include filtering or sorting the questions on the client side based on custom conditions.

While this is non-null, this the might not have a meaningful value and currently cannot be set in the UI. Please contact the developer support if you need to use this field.

label

label: string

Booking question displayed label

options

Options for select/multiselect booking questions

required

required: boolean

Whether the answer is required to checkout

schema

Indicates the type of entity that the booking question answer is mapped to.

valueType

Accepted type for the booking question answer.

Methods

clearAnswer

  • clearAnswer(): Promise<Cart>

submitAnswer

Generated using TypeDoc