PHP Класс Sonata\Component\Payment\PassPayment

Наследование: extends BasePayment
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$browser Buzz\Browser
$router Symfony\Component\Routing\RouterInterface

Открытые методы

Метод Описание
__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 )

Описание методов

__construct() публичный Метод

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

applyTransactionId() публичный Метод

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

encodeString() публичный Метод

public encodeString ( $value )

getOrderReference() публичный Метод

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

getTransactionId() публичный Метод

public getTransactionId ( ) : integer
Результат integer

handleError() публичный Метод

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

isAddableProduct() публичный Метод

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

isBasketValid() публичный Метод

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

isCallbackValid() публичный Метод

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

isRequestValid() публичный Метод

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

sendConfirmationReceipt() публичный Метод

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

sendbank() публичный Метод

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

Описание свойств

$browser защищенное свойство

protected Browser,Buzz $browser
Результат Buzz\Browser

$router защищенное свойство

protected RouterInterface,Symfony\Component\Routing $router
Результат Symfony\Component\Routing\RouterInterface