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

Home > @vue-storefront/core > UseUserBilling

UseUserBilling interface

Signature:

export interface UseUserBilling<USER_BILLING, USER_BILLING_ITEM, API extends PlatformApi = any> extends Composable<API> 

Extends: Composable

Properties

Property Modifiers Type Description
addAddress (params: { address: USER_BILLING_ITEM; customQuery?: CustomQuery; }) => Promise<void>
billing ComputedProperty<USER_BILLING>
deleteAddress (params: { address: USER_BILLING_ITEM; customQuery?: CustomQuery; }) => Promise<void>
error ComputedProperty<UseUserBillingErrors>
load () => Promise<void>
loading ComputedProperty<boolean>
setDefaultAddress (params: { address: USER_BILLING_ITEM; customQuery?: CustomQuery; }) => Promise<void>
updateAddress (params: { address: USER_BILLING_ITEM; customQuery?: CustomQuery; }) => Promise<void>