GitHub

DaffMagentoBillingAddressTransformer

Transforms magento addresses into an object usable by daffodil.

import { DaffMagentoBillingAddressTransformer } from '@daffodil/cart/driver/magento'
@Injectable()
class DaffMagentoBillingAddressTransformer {
  transform(address: MagentoCartAddress): DaffCartAddress
}

Properties

Name Type Description
transform DaffCartAddress

Transforms the magento MagentoCart from the magento cart query into a DaffCartAddress.