Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • PlaceOrderProps

Index

Properties

Optional error

error: undefined | ApolloError

Any errors returned from the mutation

loading

loading: boolean

A boolean that indicates whether your mutation is in flight.

placeOrder

placeOrder: () => Promise<undefined | PlaceOrder_placeOrder>

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

Type declaration

Optional result

result: undefined | PlaceOrder_placeOrder

The PlaceOrderResponse returned from your mutation. Defaults to undefined.

Generated using TypeDoc