PHP Class Sonata\Component\Payment\PassPayment

Inheritance: extends BasePayment
Datei anzeigen Open project: sonata-project/ecommerce Class Usage Examples

Protected Properties

Property Type Description
$browser Buzz\Browser
$router Symfony\Component\Routing\RouterInterface

Public Methods

Method Description
__construct ( Symfony\Component\Routing\RouterInterface $router, Buzz\Browser $browser = null )
applyTransactionId ( Sonata\Component\Payment\TransactionInterface $transaction )
encodeString ( $value )
getOrderReference ( Sonata\Component\Payment\TransactionInterface $transaction )
getTransactionId ( ) : integer
handleError ( Sonata\Component\Payment\TransactionInterface $transaction )
isAddableProduct ( Sonata\Component\Basket\BasketInterface $basket, Sonata\Component\Product\ProductInterface $product )
isBasketValid ( Sonata\Component\Basket\BasketInterface $basket )
isCallbackValid ( Sonata\Component\Payment\TransactionInterface $transaction )
isRequestValid ( Sonata\Component\Payment\TransactionInterface $transaction )
sendConfirmationReceipt ( Sonata\Component\Payment\TransactionInterface $transaction )
sendbank ( Sonata\Component\Order\OrderInterface $order )

Method Details

__construct() public method

public __construct ( Symfony\Component\Routing\RouterInterface $router, Buzz\Browser $browser = null )
$router Symfony\Component\Routing\RouterInterface
$browser Buzz\Browser

applyTransactionId() public method

public applyTransactionId ( Sonata\Component\Payment\TransactionInterface $transaction )
$transaction Sonata\Component\Payment\TransactionInterface

encodeString() public method

public encodeString ( $value )

getOrderReference() public method

public getOrderReference ( Sonata\Component\Payment\TransactionInterface $transaction )
$transaction Sonata\Component\Payment\TransactionInterface

getTransactionId() public method

public getTransactionId ( ) : integer
return integer

handleError() public method

public handleError ( Sonata\Component\Payment\TransactionInterface $transaction )
$transaction Sonata\Component\Payment\TransactionInterface

isAddableProduct() public method

public isAddableProduct ( Sonata\Component\Basket\BasketInterface $basket, Sonata\Component\Product\ProductInterface $product )
$basket Sonata\Component\Basket\BasketInterface
$product Sonata\Component\Product\ProductInterface

isBasketValid() public method

public isBasketValid ( Sonata\Component\Basket\BasketInterface $basket )
$basket Sonata\Component\Basket\BasketInterface

isCallbackValid() public method

public isCallbackValid ( Sonata\Component\Payment\TransactionInterface $transaction )
$transaction Sonata\Component\Payment\TransactionInterface

isRequestValid() public method

public isRequestValid ( Sonata\Component\Payment\TransactionInterface $transaction )
$transaction Sonata\Component\Payment\TransactionInterface

sendConfirmationReceipt() public method

public sendConfirmationReceipt ( Sonata\Component\Payment\TransactionInterface $transaction )
$transaction Sonata\Component\Payment\TransactionInterface

sendbank() public method

public sendbank ( Sonata\Component\Order\OrderInterface $order )
$order Sonata\Component\Order\OrderInterface

Property Details

$browser protected_oe property

protected Browser,Buzz $browser
return Buzz\Browser

$router protected_oe property

protected RouterInterface,Symfony\Component\Routing $router
return Symfony\Component\Routing\RouterInterface