sarga/packages/Webkul/Checkout/src/Models/CartShippingRate.php

17 lines
410 B
PHP
Executable File

<?php
namespace Webkul\Checkout\Models;
use Illuminate\Database\Eloquent\Model;
use Webkul\Checkout\Contracts\CartShippingRate as CartShippingRateContract;
class CartShippingRate extends Model implements CartShippingRateContract
{
/**
* Get the post that owns the comment.
*/
public function shipping_address()
{
return $this->belongsTo(CartAddressProxy::modelClass());
}
}