Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
34 lines (28 sloc) 671 Bytes
<?php
/**
* @link https://craftcms.com/
* @copyright Copyright (c) Pixel & Tonic, Inc.
* @license https://craftcms.github.io/license/
*/
namespace craft\commerce\events;
use craft\commerce\models\LineItem;
use craft\events\CancelableEvent;
/**
* Class LineItemEvent
*
* @author Pixel & Tonic, Inc. <support@pixelandtonic.com>
* @since 2.0
*/
class LineItemEvent extends CancelableEvent
{
// Properties
// =========================================================================
/**
* @var LineItem The line item model.
*/
public $lineItem;
/**
* @var bool If this is a new line item.
*/
public $isNew = false;
}
You can’t perform that action at this time.