PHP 클래스 Sonata\Component\Payment\Scellius\ScelliusPayment

상속: extends Sonata\Component\Payment\BasePayment
파일 보기 프로젝트 열기: sonata-project/ecommerce 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$parameters array
$router Symfony\Component\Routing\RouterInterface
$templating Symfony\Bundle\FrameworkBundle\Templating\EngineInterface
$transactionGenerator Sonata\Component\Payment\Scellius\ScelliusTransactionGeneratorInterface

공개 메소드들

메소드 설명
__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 )

비공개 메소드들

메소드 설명
getAmount ( $amount, $currency ) : string
getCurrencyCode ( $currency )
getResponseData ( Sonata\Component\Payment\TransactionInterface $transaction ) : array

메소드 상세

__construct() 공개 메소드

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 applyTransactionId ( Sonata\Component\Payment\TransactionInterface $transaction )
$transaction Sonata\Component\Payment\TransactionInterface

encodeString() 공개 메소드

public encodeString ( $string )

getBankCodeResponses() 공개 정적인 메소드

public static getBankCodeResponses ( ) : array
리턴 array

getCVVFlags() 공개 정적인 메소드

public static getCVVFlags ( ) : array
리턴 array

getCVVResponseCode() 공개 정적인 메소드

public static getCVVResponseCode ( ) : array
리턴 array

getCurrencyList() 공개 정적인 메소드

public static getCurrencyList ( ) : array
리턴 array

getLanguage() 공개 메소드

public getLanguage ( Sonata\Component\Order\OrderInterface $order ) : string
$order Sonata\Component\Order\OrderInterface
리턴 string

getLanguageCodes() 공개 정적인 메소드

public static getLanguageCodes ( ) : array
리턴 array

getOrderReference() 공개 메소드

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

getPaymentMeans() 공개 정적인 메소드

public static getPaymentMeans ( ) : array
리턴 array

getResponseCode() 공개 정적인 메소드

public static getResponseCode ( ) : array
리턴 array

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

프로퍼티 상세

$parameters 보호되어 있는 프로퍼티

protected array $parameters
리턴 array

$router 보호되어 있는 프로퍼티

protected RouterInterface,Symfony\Component\Routing $router
리턴 Symfony\Component\Routing\RouterInterface

$templating 보호되어 있는 프로퍼티

protected EngineInterface,Symfony\Bundle\FrameworkBundle\Templating $templating
리턴 Symfony\Bundle\FrameworkBundle\Templating\EngineInterface

$transactionGenerator 보호되어 있는 프로퍼티

protected ScelliusTransactionGeneratorInterface,Sonata\Component\Payment\Scellius $transactionGenerator
리턴 Sonata\Component\Payment\Scellius\ScelliusTransactionGeneratorInterface