Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • CheckOutProps

Index

Properties

checkOut

checkOut: () => Promise<undefined | CheckOut_checkOut>

A function to trigger the checkOut mutation from your UI. The function returns a promise that fulfills with CheckOutResponse.

Type declaration

Optional error

error: undefined | ApolloError

Any errors returned from the mutation

loading

loading: boolean

A boolean that indicates whether your mutation is in flight.

Optional result

result: undefined | CheckOut_checkOut

The CheckOutResponse returned from your mutation. It contains an OrderDraft you can use in the checkout process. Defaults to undefined.

Generated using TypeDoc