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

Home > @vue-storefront/core > UserShippingGetters

UserShippingGetters interface

Signature:

export interface UserShippingGetters<USER_SHIPPING, USER_SHIPPING_ITEM> 

Properties

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