import { DaffMagentoCartAddressTransformer } from '@daffodil/cart/driver/magento'
Transforms magento addresses into an object usable by daffodil.
@Injectable()
class DaffMagentoCartAddressTransformer {
transform(address: MagentoCartAddress): DaffCartAddress
}
DaffCartAddress
Transforms the magento MagentoCart from the magento cart query into a DaffCartAddress.
Parameter | address: MagentoCartAddress |
---|---|
Description | the address from a magento cart query. |