<?php
namespace Hilco\Models;

/**
 * Created by PhpStorm.
 * User: jmartinez
 * Date: 5/18/2017
 * Time: 3:12 PM
 * @deprecated defunct promo action, has never been implemented or used
 */
class PromotionInternalCommentAction extends PromotionActionDetails {
    protected $table = 'PromotionInternalCommentActions';
    protected $fillable = ['comment', 'commit_sequence'];

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

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