DaffCartMagentoCartTransform
A transform for the Magento driver that can add extra fields or otherwise modify the cart driver response.
import { DaffCartMagentoCartTransform } from '@daffodil/cart/driver/magento'
type DaffCartMagentoCartTransform<T extends MagentoCart = MagentoCart, V extends DaffCart = DaffCart> = (daffCart: DaffCart, magentoCart: T) => V
Type | Options |
---|---|
DaffCartMagentoCartTransform | (daffCart: DaffCart, magentoCart: T) => V |