import { DaffMagentoCartPaymentTransformer } from '@daffodil/cart/driver/magento'
Transforms magento carts into an object usable by daffodil.
@Injectable()
class DaffMagentoCartPaymentTransformer {
transform(responsePayment: MagentoCartPaymentMethod): DaffCartPaymentMethod
}
DaffCartPaymentMethod
Transforms the magento CartPayment from the magento cart query into a DaffCartPaymentMethod.
Parameter | responsePayment: MagentoCartPaymentMethod |
---|---|
Description | the response from a magento cart query. |