PHP 클래스 Elcodi\Bridge\PaymentSuiteBridgeBundle\EventListener\CartPaidEventListener

파일 보기 프로젝트 열기: elcodi/bamboo

공개 메소드들

메소드 설명
__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

메소드 상세

__construct() 공개 메소드

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() 공개 메소드

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