GitHub

daffMagentoCustomerOrderTransformOrder

Transforms the MagentoCustomerOrder from the magento order query into a DaffOrder.

function daffMagentoCustomerOrderTransformOrder(
  order: MagentoCustomerOrder
  email: string
): DaffOrder