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

Home > @vue-storefront/core > UserBillingGetters

UserBillingGetters interface

Signature:

export interface UserBillingGetters<USER_BILLING, USER_BILLING_ITEM> 

Properties

Property Modifiers Type Description
getAddresses (billing: USER_BILLING, criteria?: Record<string, any>) => USER_BILLING_ITEM[]
getApartmentNumber (address: USER_BILLING_ITEM) => string | number
getCity (address: USER_BILLING_ITEM) => string
getCompanyName (address: USER_BILLING_ITEM) => string
getCountry (address: USER_BILLING_ITEM) => string
getDefault (billing: USER_BILLING) => USER_BILLING_ITEM
getEmail (address: USER_BILLING_ITEM) => string
getFirstName (address: USER_BILLING_ITEM) => string
getId (address: USER_BILLING_ITEM) => string
getLastName (address: USER_BILLING_ITEM) => string
getPhone (address: USER_BILLING_ITEM) => string
getPostCode (address: USER_BILLING_ITEM) => string
getProvince (address: USER_BILLING_ITEM) => string
getStreetName (address: USER_BILLING_ITEM) => string
getStreetNumber (address: USER_BILLING_ITEM) => string | number
getTaxNumber (address: USER_BILLING_ITEM) => string
getTotal (billing: USER_BILLING) => number
isDefault (address: USER_BILLING_ITEM) => boolean