Smalot\Magento\Order\OrderCreditMemo::create PHP Method

create() public method

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
return Smalot\Magento\ActionInterface
    public function create($orderIncrementId, $creditmemoData = null, $comment = null, $notifyCustomer = null, $includeComment = null, $refundToStoreCreditAmount = null)
    {
        return $this->__createAction('order_creditmemo.create', func_get_args());
    }