PHP Class Elcodi\Plugin\StripeBundle\EventListener\PaymentCollectEventListener

ファイルを表示 Open project: elcodi/bamboo

Public Methods

Method Description
__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

Protected Methods

Method Description
getStripeForm ( ) : string Return stripe form
getStripeScript ( ) : string Return stripe script

Method Details

__construct() public method

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() public method

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

getStripeForm() protected method

Return stripe form
protected getStripeForm ( ) : string
return string Stripe form

getStripeScript() protected method

Return stripe script
protected getStripeScript ( ) : string
return string Stripe script