You are reading the documentation for Vue Storefront v2. See the latest docs.

Home > @vue-storefront/core > UseUserBillingFactoryParams > setDefaultAddress

UseUserBillingFactoryParams.setDefaultAddress property

Signature:

setDefaultAddress: (context: Context, params: {
        address: Readonly<USER_BILLING_ITEM>;
        billing: Readonly<USER_BILLING>;
        customQuery?: CustomQuery;
    }) => Promise<USER_BILLING>;