Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
35 lines (29 sloc) 816 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\base\ShippingMethodInterface;
use craft\commerce\elements\Order;
use yii\base\Event;
/**
* RegisterAvailableShippingMethodsEvent class.
*
* @author Pixel & Tonic, Inc. <support@pixelandtonic.com>
* @since 3.0
*/
class RegisterAvailableShippingMethodsEvent extends Event
{
// Properties
// =========================================================================
/**
* @var Order The order the shipping method should be available for
*/
public $order;
/**
* @var ShippingMethodInterface[] The shipping methods available to the order.
*/
public $shippingMethods = [];
}
You can’t perform that action at this time.