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

namespace Hilco\Models;


class PromotionPriceListAction extends PromotionActionDetails {
    protected $table = 'PromotionPriceListActions';
    protected $fillable = ['price_list', 'commit_sequence'];

    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.
    }
}