PHP Class Sonata\PaymentBundle\Controller\DebugPaymentController

Author: Sylvain Deloux ([email protected])
Inheritance: extends Symfony\Bundle\FrameworkBundle\Controller\Controller
Show file Open project: sonata-project/ecommerce

Public Methods

Method Description
paymentAction ( ) : Response User choice action.
processPaymentAction ( ) : Reponse Process the User choice.

Protected Methods

Method Description
checkRequest ( ) : Sonata\Component\Order\OrderInterface Check the Request and return the current Order.
getDebugPayment ( ) : DebugPayment
getKernel ( ) : Kernel
getOrderManager ( ) : OrderManager
getRouter ( ) : Symfony\Component\Routing\RouterInterface

Method Details

checkRequest() protected method

Check the Request and return the current Order.
protected checkRequest ( ) : Sonata\Component\Order\OrderInterface
return Sonata\Component\Order\OrderInterface

getDebugPayment() protected method

protected getDebugPayment ( ) : DebugPayment
return Sonata\Component\Payment\Debug\DebugPayment

getKernel() protected method

protected getKernel ( ) : Kernel
return Symfony\Component\HttpKernel\Kernel

getOrderManager() protected method

protected getOrderManager ( ) : OrderManager
return Sonata\OrderBundle\Entity\OrderManager

getRouter() protected method

protected getRouter ( ) : Symfony\Component\Routing\RouterInterface
return Symfony\Component\Routing\RouterInterface

paymentAction() public method

User choice action.
public paymentAction ( ) : Response
return Symfony\Component\HttpFoundation\Response

processPaymentAction() public method

Process the User choice.
public processPaymentAction ( ) : Reponse
return Reponse