Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • RemoveCartDiscountProps

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.

removeCartDiscount

removeCartDiscount: MutationType<RemoveCartDiscountParams, RemoveFromCart_removeFromCart>

A function to trigger the removeFromCart mutation from your UI. You can pass RemoveCartDiscountParams as parameters. The function returns a promise that fulfills with RemoveFromCartResponse.

Optional result

result: undefined | RemoveFromCart_removeFromCart

The RemoveFromCartResponse returned from your mutation. Defaults to undefined.

Generated using TypeDoc