Home > @shopware-pwa/composables > IUseCheckout

# IUseCheckout 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.

interface for useCheckout() composable


export interface IUseCheckout 

# Properties

Property Type Description
billingAddress ComputedRef<Partial<BillingAddress> | undefined> (BETA)
createOrder (params?: CreateOrderParams) => Promise<Order> (BETA)
getPaymentMethods (options?: { forceReload: boolean; }) => Promise<ComputedRef<PaymentMethod[]>> (BETA)
getShippingMethods (options?: { forceReload: boolean; }) => Promise<ComputedRef<ShippingMethod[]>> (BETA)
loadings UnwrapRef<{ createOrder: boolean; }> (BETA)
onOrderPlace (fn: (params: { order: Order; }) => void) => void (BETA)
paymentMethods ComputedRef<PaymentMethod[]> (BETA)
shippingAddress ComputedRef<ShippingAddress | undefined> (BETA)
shippingMethods ComputedRef<ShippingMethod[]> (BETA)