Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • FederatedCheckOutProps

Index

Properties

checkOut

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

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

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 | FederatedCheckOut_checkOut

The FederatedCheckOutResponse returned from your mutation. It contains an federatedCheckoutUrl you can use to redirect the user to the "federated" (hosted by the commerce provider) checkout page. Defaults to undefined.

Generated using TypeDoc