PHP Class Elcodi\Plugin\StripeBundle\EventListener\PaymentCollectEventListener

Afficher le fichier Open project: elcodi/bamboo

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode Description
getStripeForm ( ) : string Return stripe form
getStripeScript ( ) : string Return stripe script

Method Details

__construct() public méthode

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 méthode

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

getStripeForm() protected méthode

Return stripe form
protected getStripeForm ( ) : string
Résultat string Stripe form

getStripeScript() protected méthode

Return stripe script
protected getStripeScript ( ) : string
Résultat string Stripe script