PHP Class Sonata\Component\Payment\Scellius\ScelliusPayment

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

Protected Properties

Свойство Type Description
$parameters array
$router Symfony\Component\Routing\RouterInterface
$templating Symfony\Bundle\FrameworkBundle\Templating\EngineInterface
$transactionGenerator Sonata\Component\Payment\Scellius\ScelliusTransactionGeneratorInterface

Méthodes publiques

Méthode Description
__construct ( Symfony\Component\Routing\RouterInterface $router, Psr\Log\LoggerInterface $logger, Symfony\Bundle\FrameworkBundle\Templating\EngineInterface $templating, Sonata\Component\Payment\Scellius\ScelliusTransactionGeneratorInterface $transactionGenerator, boolean $debug )
applyTransactionId ( Sonata\Component\Payment\TransactionInterface $transaction )
encodeString ( $string )
getBankCodeResponses ( ) : array
getCVVFlags ( ) : array
getCVVResponseCode ( ) : array
getCurrencyList ( ) : array
getLanguage ( Sonata\Component\Order\OrderInterface $order ) : string
getLanguageCodes ( ) : array
getOrderReference ( Sonata\Component\Payment\TransactionInterface $transaction )
getPaymentMeans ( ) : array
getResponseCode ( ) : array
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 )

Private Methods

Méthode Description
getAmount ( $amount, $currency ) : string
getCurrencyCode ( $currency )
getResponseData ( Sonata\Component\Payment\TransactionInterface $transaction ) : array

Method Details

__construct() public méthode

public __construct ( Symfony\Component\Routing\RouterInterface $router, Psr\Log\LoggerInterface $logger, Symfony\Bundle\FrameworkBundle\Templating\EngineInterface $templating, Sonata\Component\Payment\Scellius\ScelliusTransactionGeneratorInterface $transactionGenerator, boolean $debug )
$router Symfony\Component\Routing\RouterInterface
$logger Psr\Log\LoggerInterface
$templating Symfony\Bundle\FrameworkBundle\Templating\EngineInterface
$transactionGenerator Sonata\Component\Payment\Scellius\ScelliusTransactionGeneratorInterface
$debug boolean

applyTransactionId() public méthode

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

encodeString() public méthode

public encodeString ( $string )

getBankCodeResponses() public static méthode

public static getBankCodeResponses ( ) : array
Résultat array

getCVVFlags() public static méthode

public static getCVVFlags ( ) : array
Résultat array

getCVVResponseCode() public static méthode

public static getCVVResponseCode ( ) : array
Résultat array

getCurrencyList() public static méthode

public static getCurrencyList ( ) : array
Résultat array

getLanguage() public méthode

public getLanguage ( Sonata\Component\Order\OrderInterface $order ) : string
$order Sonata\Component\Order\OrderInterface
Résultat string

getLanguageCodes() public static méthode

public static getLanguageCodes ( ) : array
Résultat array

getOrderReference() public méthode

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

getPaymentMeans() public static méthode

public static getPaymentMeans ( ) : array
Résultat array

getResponseCode() public static méthode

public static getResponseCode ( ) : array
Résultat array

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

$parameters protected_oe property

protected array $parameters
Résultat array

$router protected_oe property

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

$templating protected_oe property

protected EngineInterface,Symfony\Bundle\FrameworkBundle\Templating $templating
Résultat Symfony\Bundle\FrameworkBundle\Templating\EngineInterface

$transactionGenerator protected_oe property

protected ScelliusTransactionGeneratorInterface,Sonata\Component\Payment\Scellius $transactionGenerator
Résultat Sonata\Component\Payment\Scellius\ScelliusTransactionGeneratorInterface