PHP Class Sonata\Component\Payment\CheckPayment

Inheritance: extends BasePayment
Afficher le fichier Open project: sonata-project/ecommerce Class Usage Examples

Protected Properties

Свойство Type Description
$browser Buzz\Browser
$router Symfony\Component\Routing\RouterInterface

Méthodes publiques

Méthode Description
__construct ( Symfony\Component\Routing\RouterInterface $router, Psr\Log\LoggerInterface $logger, Buzz\Browser $browser )
applyTransactionId ( Sonata\Component\Payment\TransactionInterface $transaction )
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 méthode

public __construct ( Symfony\Component\Routing\RouterInterface $router, Psr\Log\LoggerInterface $logger, Buzz\Browser $browser )
$router Symfony\Component\Routing\RouterInterface
$logger Psr\Log\LoggerInterface
$browser Buzz\Browser

applyTransactionId() public méthode

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

getOrderReference() public méthode

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

getTransactionId() public méthode

public getTransactionId ( ) : integer
Résultat integer

handleError() public méthode

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

isAddableProduct() public méthode

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

isBasketValid() public méthode

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

isCallbackValid() public méthode

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

isRequestValid() public méthode

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

sendConfirmationReceipt() public méthode

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

sendbank() public méthode

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

Property Details

$browser protected_oe property

protected Browser,Buzz $browser
Résultat Buzz\Browser

$router protected_oe property

protected RouterInterface,Symfony\Component\Routing $router
Résultat Symfony\Component\Routing\RouterInterface