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