public function delete(User $user, ShippingOption $shippingOption)
 {
     return $user->sells($shippingOption->getShippingPlan());
 }
 public function delete(User $user, PaymentMethod $paymentMethod)
 {
     return $user->sells($paymentMethod);
 }
Esempio n. 3
0
 public function delete(User $user, Product $product)
 {
     return $user->sells($product);
 }
Esempio n. 4
0
 public function update(User $user, Sale $sale)
 {
     return $user->sells($sale->getProduct());
 }
Esempio n. 5
0
 public function delete(User $user, ShippingPlan $shippingPlan)
 {
     return $user->sells($shippingPlan);
 }
Esempio n. 6
0
 public function delete(User $user, Image $image)
 {
     return $user->sells($image->product);
 }