|
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
| __construct (ResourceConnection $resourceConnection, OrderRepositoryInterface $orderRepository, InvoiceDocumentFactory $invoiceDocumentFactory, PaymentAdapterInterface $paymentAdapter, OrderStateResolverInterface $orderStateResolver, OrderConfig $config, InvoiceRepository $invoiceRepository, InvoiceOrderValidator $invoiceOrderValidator, NotifierInterface $notifierInterface, LoggerInterface $logger) | |
| execute ( $orderId, $capture=false, array $items=[], $notify=false, $appendComment=false, InvoiceCommentCreationInterface $comment=null, InvoiceCreationArgumentsInterface $arguments=null) | |
Public Member Functions inherited from InvoiceOrderInterface | |
| execute ( $orderId, $capture=false, array $items=[], $notify=false, $appendComment=false, \Magento\Sales\Api\Data\InvoiceCommentCreationInterface $comment=null, \Magento\Sales\Api\Data\InvoiceCreationArgumentsInterface $arguments=null) | |
Class InvoiceOrder @SuppressWarnings(PHPMD.CouplingBetweenObjects)
Definition at line 27 of file InvoiceOrder.php.
| __construct | ( | ResourceConnection | $resourceConnection, |
| OrderRepositoryInterface | $orderRepository, | ||
| InvoiceDocumentFactory | $invoiceDocumentFactory, | ||
| PaymentAdapterInterface | $paymentAdapter, | ||
| OrderStateResolverInterface | $orderStateResolver, | ||
| OrderConfig | $config, | ||
| InvoiceRepository | $invoiceRepository, | ||
| InvoiceOrderValidator | $invoiceOrderValidator, | ||
| NotifierInterface | $notifierInterface, | ||
| LoggerInterface | $logger | ||
| ) |
InvoiceOrder constructor.
| ResourceConnection | $resourceConnection | |
| OrderRepositoryInterface | $orderRepository | |
| InvoiceDocumentFactory | $invoiceDocumentFactory | |
| PaymentAdapterInterface | $paymentAdapter | |
| OrderStateResolverInterface | $orderStateResolver | |
| OrderConfig | $config | |
| InvoiceRepository | $invoiceRepository | |
| InvoiceOrderValidator | $invoiceOrderValidator | |
| NotifierInterface | $notifierInterface | |
| LoggerInterface | $logger | @SuppressWarnings(PHPMD.ExcessiveParameterList) |
Definition at line 93 of file InvoiceOrder.php.
| execute | ( | $orderId, | |
$capture = false, |
|||
| array | $items = [], |
||
$notify = false, |
|||
$appendComment = false, |
|||
| InvoiceCommentCreationInterface | $comment = null, |
||
| InvoiceCreationArgumentsInterface | $arguments = null |
||
| ) |
| int | $orderId | |
| bool | $capture | |
| array | $items | |
| bool | $notify | |
| bool | $appendComment | |
| \Magento\Sales\Api\Data\InvoiceCommentCreationInterface | null | $comment | |
| \Magento\Sales\Api\Data\InvoiceCreationArgumentsInterface | null | $arguments |
Definition at line 132 of file InvoiceOrder.php.