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

Home > @vue-storefront/core > UseUserBillingFactoryParams

UseUserBillingFactoryParams interface

Signature:

export interface UseUserBillingFactoryParams<USER_BILLING, USER_BILLING_ITEM, API extends PlatformApi = any> extends FactoryParams<API> 

Extends: FactoryParams

Properties

Property Modifiers Type Description
addAddress (context: Context, params: { address: Readonly<USER_BILLING_ITEM>; billing: Readonly<USER_BILLING>; customQuery?: CustomQuery; }) => Promise<USER_BILLING>
deleteAddress (context: Context, params: { address: Readonly<USER_BILLING_ITEM>; billing: Readonly<USER_BILLING>; customQuery?: CustomQuery; }) => Promise<USER_BILLING>
load (context: Context, params: { billing: Readonly<USER_BILLING>; }) => Promise<USER_BILLING>
setDefaultAddress (context: Context, params: { address: Readonly<USER_BILLING_ITEM>; billing: Readonly<USER_BILLING>; customQuery?: CustomQuery; }) => Promise<USER_BILLING>
updateAddress (context: Context, params: { address: Readonly<USER_BILLING_ITEM>; billing: Readonly<USER_BILLING>; customQuery?: CustomQuery; }) => Promise<USER_BILLING>