PHP 클래스 Elcodi\Plugin\StripeBundle\EventListener\PaymentCollectEventListener

파일 보기 프로젝트 열기: elcodi/bamboo

공개 메소드들

메소드 설명
__construct ( Elcodi\Component\Plugin\Entity\Plugin $plugin, PaymentSuite\PaymentCoreBundle\Services\Interfaces\PaymentBridgeInterface $paymentBridgeInterface, FormFactory $formFactory, Symfony\Component\Templating\EngineInterface $templating, string $publicKey ) Construct
addStripePaymentMethod ( Elcodi\Component\Payment\Event\PaymentCollectionEvent $event ) Add Stripe payment method

보호된 메소드들

메소드 설명
getStripeForm ( ) : string Return stripe form
getStripeScript ( ) : string Return stripe script

메소드 상세

__construct() 공개 메소드

Construct
public __construct ( Elcodi\Component\Plugin\Entity\Plugin $plugin, PaymentSuite\PaymentCoreBundle\Services\Interfaces\PaymentBridgeInterface $paymentBridgeInterface, FormFactory $formFactory, Symfony\Component\Templating\EngineInterface $templating, string $publicKey )
$plugin Elcodi\Component\Plugin\Entity\Plugin Plugin
$paymentBridgeInterface PaymentSuite\PaymentCoreBundle\Services\Interfaces\PaymentBridgeInterface Payment Bridge Interface
$formFactory Symfony\Component\Form\FormFactory Form factory
$templating Symfony\Component\Templating\EngineInterface Templating
$publicKey string Public key

addStripePaymentMethod() 공개 메소드

Add Stripe payment method
public addStripePaymentMethod ( Elcodi\Component\Payment\Event\PaymentCollectionEvent $event )
$event Elcodi\Component\Payment\Event\PaymentCollectionEvent Event

getStripeForm() 보호된 메소드

Return stripe form
protected getStripeForm ( ) : string
리턴 string Stripe form

getStripeScript() 보호된 메소드

Return stripe script
protected getStripeScript ( ) : string
리턴 string Stripe script