PHP Class spec\Sylius\Bundle\PayumBundle\Action\Paypal\ExpressCheckout\ConvertPaymentActionSpec

Author: Grzegorz Sadowski ([email protected])
Inheritance: extends PhpSpec\ObjectBehavior
Mostra file Open project: sylius/sylius

Public Methods

Method Description
it_executes_request ( Sylius\Component\Core\Payment\InvoiceNumberGeneratorInterface $invoiceNumberGenerator, Payum\Core\Request\Convert $request, Sylius\Component\Core\Model\PaymentInterface $payment, Sylius\Component\Core\Model\OrderInterface $order, Sylius\Component\Core\Model\OrderItemInterface $orderItem, Sylius\Component\Core\Model\ProductVariantInterface $productVariant, Sylius\Component\Core\Model\ProductInterface $product )
it_implements_action_interface ( )
it_is_initializable ( )
it_throws_exception_when_source_is_not_a_payment_interface ( Payum\Core\Request\Convert $request )
let ( Sylius\Component\Core\Payment\InvoiceNumberGeneratorInterface $invoiceNumberGenerator )

Method Details

it_executes_request() public method

public it_executes_request ( Sylius\Component\Core\Payment\InvoiceNumberGeneratorInterface $invoiceNumberGenerator, Payum\Core\Request\Convert $request, Sylius\Component\Core\Model\PaymentInterface $payment, Sylius\Component\Core\Model\OrderInterface $order, Sylius\Component\Core\Model\OrderItemInterface $orderItem, Sylius\Component\Core\Model\ProductVariantInterface $productVariant, Sylius\Component\Core\Model\ProductInterface $product )
$invoiceNumberGenerator Sylius\Component\Core\Payment\InvoiceNumberGeneratorInterface
$request Payum\Core\Request\Convert
$payment Sylius\Component\Core\Model\PaymentInterface
$order Sylius\Component\Core\Model\OrderInterface
$orderItem Sylius\Component\Core\Model\OrderItemInterface
$productVariant Sylius\Component\Core\Model\ProductVariantInterface
$product Sylius\Component\Core\Model\ProductInterface

it_implements_action_interface() public method

it_is_initializable() public method

public it_is_initializable ( )

it_throws_exception_when_source_is_not_a_payment_interface() public method

public it_throws_exception_when_source_is_not_a_payment_interface ( Payum\Core\Request\Convert $request )
$request Payum\Core\Request\Convert

let() public method

public let ( Sylius\Component\Core\Payment\InvoiceNumberGeneratorInterface $invoiceNumberGenerator )
$invoiceNumberGenerator Sylius\Component\Core\Payment\InvoiceNumberGeneratorInterface