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