PHP Класс Smalot\Magento\Order\OrderInvoice

Наследование: extends Smalot\Magento\MagentoModuleAbstract
Показать файл Открыть проект

Открытые методы

Метод Описание
addComment ( string $invoiceIncrementId, string $comment = null, integer $email = null, integer $includeComment = null ) : Smalot\Magento\ActionInterface Allows you to add a new comment to the order invoice.
cancel ( string $invoiceIncrementId ) : Smalot\Magento\ActionInterface Allows you to cancel the required invoice.
capture ( string $invoiceIncrementId ) : Smalot\Magento\ActionInterface Allows you to capture the required invoice.
create ( string $orderIncrementId, array $itemsQty, string $comment, string $email, string $includeComment ) : Smalot\Magento\ActionInterface Allows you to create a new invoice for an order.
getInfo ( string $invoiceIncrementId ) : Smalot\Magento\ActionInterface
getList ( array $filters = null ) : Smalot\Magento\ActionInterface

Описание методов

addComment() публичный Метод

Allows you to add a new comment to the order invoice.
public addComment ( string $invoiceIncrementId, string $comment = null, integer $email = null, integer $includeComment = null ) : Smalot\Magento\ActionInterface
$invoiceIncrementId string
$comment string
$email integer
$includeComment integer
Результат Smalot\Magento\ActionInterface

cancel() публичный Метод

Note that not all order invoices can be canceled. Only some payment methods support canceling the order invoice (e.g., Google Checkout, PayPal Pro, PayPal Express Checkout).
public cancel ( string $invoiceIncrementId ) : Smalot\Magento\ActionInterface
$invoiceIncrementId string
Результат Smalot\Magento\ActionInterface

capture() публичный Метод

Note that not all order invoices can be captured. Only some payment methods support capturing the order invoice (e.g., PayPal Pro).
public capture ( string $invoiceIncrementId ) : Smalot\Magento\ActionInterface
$invoiceIncrementId string
Результат Smalot\Magento\ActionInterface

create() публичный Метод

Allows you to create a new invoice for an order.
public create ( string $orderIncrementId, array $itemsQty, string $comment, string $email, string $includeComment ) : Smalot\Magento\ActionInterface
$orderIncrementId string
$itemsQty array
$comment string
$email string
$includeComment string
Результат Smalot\Magento\ActionInterface

getInfo() публичный Метод

public getInfo ( string $invoiceIncrementId ) : Smalot\Magento\ActionInterface
$invoiceIncrementId string
Результат Smalot\Magento\ActionInterface

getList() публичный Метод

public getList ( array $filters = null ) : Smalot\Magento\ActionInterface
$filters array
Результат Smalot\Magento\ActionInterface