<?php
/**
 * Created by PhpStorm.
 * User: ntaylor-visionware
 * Date: 4/17/18
 * Time: 9:51 AM
 */

namespace Hilco\Models;

/**
 * @deprecated defunct promo action since 2018, Hilco never went live with it
 */
class PromotionPriceListAction extends PromotionActionDetails {
    protected $table = 'PromotionPriceListActions';
    protected $fillable = ['price_list'];

    public function promotion() {
        return $this->morphToMany(Promotion::class, 'action',
                                'PromotionActions', 'promotion_id',
                        'promotionpricelistaction_id');
    }

    public function takeAction(Customer $soldToCustomer, $webCartItems, &$status)
    {
        // TODO: Implement takeAction() method.
    }
}