| Total Complexity | 3 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 7 | class OrderSendingMethod extends BaseModel |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * The database table used by the model. |
||
| 11 | * |
||
| 12 | * @var string |
||
| 13 | */ |
||
| 14 | protected $table = 'order_sending_method'; |
||
| 15 | |||
| 16 | // Add the 'avatar' attachment to the fillable array so that it's mass-assignable on this model. |
||
| 17 | protected $fillable = ['order_id', 'sending_method_id', 'title', 'price_with_tax', 'price_without_tax', 'tax_rate', 'weight', 'tax_rate_id']; |
||
| 18 | |||
| 19 | public function order() |
||
| 20 | { |
||
| 21 | return $this->belongsTo('Hideyo\Ecommerce\Framework\Models\Order'); |
||
| 22 | } |
||
| 23 | |||
| 24 | public function getPriceWithTaxNumberFormat() |
||
| 27 | } |
||
| 28 | |||
| 29 | public function getPriceWithoutTaxNumberFormat() |
||
| 32 | } |
||
| 33 | } |