import { ShippingMethod } from '@vue-storefront/magento-api' ; import productGetters from './productGetters' ; export const getShippingMethodId = ( shippingMethod ) : string => '' ; export const getShippingMethodName = ( shippingMethod ) : string => '' ; export const getShippingMethodDescription = ( shippingMethod ) : string => '' ; export const getShippingMethodPrice = ( shippingMethod ) : number => 0 ; export const getFormattedPrice = ( price ) => productGetters . getFormattedPrice ( price ) ; const checkoutGetters = { getShippingMethodId , getShippingMethodName , getShippingMethodDescription , getFormattedPrice , getShippingMethodPrice , } ; export default checkoutGetters ;