Свойство | Тип | Описание | |
---|---|---|---|
$router | Symfony\Component\Routing\RouterInterface | ||
$templating | Symfony\Bundle\FrameworkBundle\Templating\EngineInterface |
Метод | Описание | |
---|---|---|
__construct ( Symfony\Component\Routing\RouterInterface $router, Psr\Log\LoggerInterface $logger, Symfony\Bundle\FrameworkBundle\Templating\EngineInterface $templating, boolean $debug ) | Constructor. | |
applyTransactionId ( Sonata\Component\Payment\TransactionInterface $transaction ) | ||
encodeString ( $string ) | ||
getOrderReference ( Sonata\Component\Payment\TransactionInterface $transaction ) | ||
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 ) |
Метод | Описание | |
---|---|---|
compareOrderToParams ( Sonata\Component\Order\OrderInterface $order, array $params ) : boolean | Tells if $order matches $params. | |
generateAbsoluteUrlFromOption ( string $optionKey, Sonata\Component\Order\OrderInterface $order ) | Generates absolute URL for route specified in $optionKey and $order. | |
getAddress ( Sonata\Component\Order\OrderInterface $order ) : string | Gets formatted address lines from $order. | |
getFormParameters ( Sonata\Component\Order\OrderInterface $order ) : array | Returns form parameters for sendbank. | |
getOperation ( ) : string | Gets operation from options. | |
getShaSign ( array $params, boolean $out = false ) : string | Signs the payment transaction. |
public __construct ( Symfony\Component\Routing\RouterInterface $router, Psr\Log\LoggerInterface $logger, Symfony\Bundle\FrameworkBundle\Templating\EngineInterface $templating, boolean $debug ) | ||
$router | Symfony\Component\Routing\RouterInterface | |
$logger | Psr\Log\LoggerInterface | |
$templating | Symfony\Bundle\FrameworkBundle\Templating\EngineInterface | |
$debug | boolean |
public applyTransactionId ( Sonata\Component\Payment\TransactionInterface $transaction ) | ||
$transaction | Sonata\Component\Payment\TransactionInterface |
protected compareOrderToParams ( Sonata\Component\Order\OrderInterface $order, array $params ) : boolean | ||
$order | Sonata\Component\Order\OrderInterface | |
$params | array | |
Результат | boolean |
protected generateAbsoluteUrlFromOption ( string $optionKey, Sonata\Component\Order\OrderInterface $order ) | ||
$optionKey | string | |
$order | Sonata\Component\Order\OrderInterface |
protected getAddress ( Sonata\Component\Order\OrderInterface $order ) : string | ||
$order | Sonata\Component\Order\OrderInterface | |
Результат | string |
protected getFormParameters ( Sonata\Component\Order\OrderInterface $order ) : array | ||
$order | Sonata\Component\Order\OrderInterface | |
Результат | array |
protected getOperation ( ) : string | ||
Результат | string |
public getOrderReference ( Sonata\Component\Payment\TransactionInterface $transaction ) | ||
$transaction | Sonata\Component\Payment\TransactionInterface |
public handleError ( Sonata\Component\Payment\TransactionInterface $transaction ) | ||
$transaction | Sonata\Component\Payment\TransactionInterface |
public isAddableProduct ( Sonata\Component\Basket\BasketInterface $basket, Sonata\Component\Product\ProductInterface $product ) | ||
$basket | Sonata\Component\Basket\BasketInterface | |
$product | Sonata\Component\Product\ProductInterface |
public isBasketValid ( Sonata\Component\Basket\BasketInterface $basket ) | ||
$basket | Sonata\Component\Basket\BasketInterface |
public isCallbackValid ( Sonata\Component\Payment\TransactionInterface $transaction ) | ||
$transaction | Sonata\Component\Payment\TransactionInterface |
public isRequestValid ( Sonata\Component\Payment\TransactionInterface $transaction ) | ||
$transaction | Sonata\Component\Payment\TransactionInterface |
public sendConfirmationReceipt ( Sonata\Component\Payment\TransactionInterface $transaction ) | ||
$transaction | Sonata\Component\Payment\TransactionInterface |
public sendbank ( Sonata\Component\Order\OrderInterface $order ) | ||
$order | Sonata\Component\Order\OrderInterface |
protected RouterInterface,Symfony\Component\Routing $router | ||
Результат | Symfony\Component\Routing\RouterInterface |