Home > @shopware-pwa/composables > UseCheckout
# UseCheckout interface
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Signature:
export interface UseCheckout
# Properties
Property | Type | Description |
---|---|---|
billingAddress | Readonly<Ref<BillingAddress | undefined>> | (BETA) |
createOrder | () => Promise<Order> | (BETA) |
getPaymentMethods | (options?: { forceReload: boolean; }) => Promise<Readonly<Ref<readonly PaymentMethod[]>>> | (BETA) |
getShippingMethods | (options?: { forceReload: boolean; }) => Promise<Readonly<Ref<readonly ShippingMethod[]>>> | (BETA) |
guestOrderParams | Ref<Readonly<Partial<GuestOrderParams | null>>> | (BETA) |
isGuestOrder | Readonly<Ref<boolean>> | (BETA) |
paymentMethods | Readonly<Ref<readonly PaymentMethod[]>> | (BETA) |
shippingAddress | Readonly<Ref<ShippingAddress | undefined>> | (BETA) |
shippingMethods | Readonly<Ref<readonly ShippingMethod[]>> | (BETA) |
updateGuestOrderParams | (params: Partial<GuestOrderParams>) => void | (BETA) |