PHP Class Elcodi\Bridge\PaymentSuiteBridgeBundle\EventListener\CartPaidEventListener

Mostrar archivo Open project: elcodi/bamboo

Public Methods

Method Description
__construct ( Elcodi\Component\Cart\Wrapper\CartWrapper $cartWrapper, Elcodi\Component\Cart\Transformer\CartOrderTransformer $cartOrderTransformer ) Construct method
transformCartToOrder ( PaymentSuite\PaymentCoreBundle\Event\Abstracts\AbstractPaymentEvent $event ) Create order given current cart. This event is only for pushing the new Order to the payment infrastructure

Method Details

__construct() public method

Construct method
public __construct ( Elcodi\Component\Cart\Wrapper\CartWrapper $cartWrapper, Elcodi\Component\Cart\Transformer\CartOrderTransformer $cartOrderTransformer )
$cartWrapper Elcodi\Component\Cart\Wrapper\CartWrapper Cart Wrapper
$cartOrderTransformer Elcodi\Component\Cart\Transformer\CartOrderTransformer Cart Order Transformer

transformCartToOrder() public method

Create order given current cart. This event is only for pushing the new Order to the payment infrastructure
public transformCartToOrder ( PaymentSuite\PaymentCoreBundle\Event\Abstracts\AbstractPaymentEvent $event )
$event PaymentSuite\PaymentCoreBundle\Event\Abstracts\AbstractPaymentEvent Event