<?php

namespace Mehrab\Payment\Listeners;

use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Queue\InteractsWithQueue;
use Mehrab\OrderService\Models\OrderService;
use Mehrab\OrderService\Repositories\OrderServiceRepo;

class ReduceAmountSellerListener
{
    /**
     * Create the event listener.
     *
     * @return void
     */
    public function __construct()
    {
    }


    public function handle($event)
    {
        if (!is_null($event->payment->seller)){


           // $event->payment->seller->amount -= $event->payment->site_Share ;
           // $event->payment->seller->save();
        }
    }
}
