Skip to main content

Interface: QuoteActionsProps

Defined in: components/QuoteActions.tsx:16

Properties

afterAccept?

optional afterAccept?: (quote) => void

Defined in: components/QuoteActions.tsx:31

Action function triggered after the quote is accepted. Usually for navigating towards the thank you page.

Parameters

quote

Order

Returns

void


graphqlClient?

optional graphqlClient?: GraphQLClient

Defined in: components/QuoteActions.tsx:18

GraphQL client for the Propeller SDK


labels?

optional labels?: Record<string, string>

Defined in: components/QuoteActions.tsx:24

Labels used in the quote actions component


onAccept?

optional onAccept?: (quote) => void

Defined in: components/QuoteActions.tsx:28

Action function triggered when the "Accept quotation" button is clicked. If not provided, the base implementation calls setOrderStatus on the SDK.

Parameters

quote

Order

Returns

void


onTermsAndConditionsClick?

optional onTermsAndConditionsClick?: () => void

Defined in: components/QuoteActions.tsx:37

Action when the "Terms and conditions" link is clicked

Returns

void


quote

quote: Order

Defined in: components/QuoteActions.tsx:21

The quotation for which the actions will take place


showTermsAndConditions?

optional showTermsAndConditions?: boolean

Defined in: components/QuoteActions.tsx:34

Show the terms and conditions acceptance