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

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

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

Метод Описание
addComment ( string $creditmemoIncrementId, string $comment = null, string $notifyCustomer = null, string $includeComment = null ) : Smalot\Magento\ActionInterface Allows you to add a new comment to an existing credit memo.
cancel ( string $creditmemoIncrementId ) : Smalot\Magento\ActionInterface Allows you to cancel an existing credit memo.
create ( string $orderIncrementId, array $creditmemoData = null, string $comment = null, integer $notifyCustomer = null, integer $includeComment = null, string $refundToStoreCreditAmount = null ) : Smalot\Magento\ActionInterface Allows you to create a new credit memo for the invoiced order.
getInfo ( string $creditmemoIncrementId ) : Smalot\Magento\ActionInterface Allows you to retrieve full information about the specified credit memo.
getList ( array $filters ) : Smalot\Magento\ActionInterface Allows you to retrieve the list of credit memos by filters.

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

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

Email notification can be sent to the user email.
public addComment ( string $creditmemoIncrementId, string $comment = null, string $notifyCustomer = null, string $includeComment = null ) : Smalot\Magento\ActionInterface
$creditmemoIncrementId string
$comment string
$notifyCustomer string
$includeComment string
Результат Smalot\Magento\ActionInterface

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

Allows you to cancel an existing credit memo.
public cancel ( string $creditmemoIncrementId ) : Smalot\Magento\ActionInterface
$creditmemoIncrementId string
Результат Smalot\Magento\ActionInterface

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

Comments can be added and an email notification can be sent to the user email.
public create ( string $orderIncrementId, array $creditmemoData = null, string $comment = null, integer $notifyCustomer = null, integer $includeComment = null, string $refundToStoreCreditAmount = null ) : Smalot\Magento\ActionInterface
$orderIncrementId string
$creditmemoData array
$comment string
$notifyCustomer integer
$includeComment integer
$refundToStoreCreditAmount string
Результат Smalot\Magento\ActionInterface

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

Allows you to retrieve full information about the specified credit memo.
public getInfo ( string $creditmemoIncrementId ) : Smalot\Magento\ActionInterface
$creditmemoIncrementId string
Результат Smalot\Magento\ActionInterface

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

Allows you to retrieve the list of credit memos by filters.
public getList ( array $filters ) : Smalot\Magento\ActionInterface
$filters array
Результат Smalot\Magento\ActionInterface