Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • ApplyCartDiscountProps

Index

Properties

applyCartDiscount: MutationType<ApplyCartDiscountParams, UpdateCart_updateCart>

A function to trigger the updateCart mutation from your UI. You can pass ApplyCartDiscountParams as parameters. The function returns a promise that fulfills with UpdateCartResponse.

error?: ApolloError

Any errors returned from the mutation

loading: boolean

A boolean that indicates whether your mutation is in flight.

The UpdateCartResponse returned from your mutation. Defaults to undefined.

Generated using TypeDoc