Documentation

MerchandiseOrder extends Model
in package
uses HasFactory

Table of Contents

Properties

$appends  : mixed
$casts  : mixed
$fillable  : mixed
The attributes that are mass assignable.

Methods

details()  : mixed
getStatusLabelAttribute()  : string
getTotalPriceFormattedAttribute()  : string
newFactory()  : MerchandiseOrderFactory

Properties

$appends

public mixed $appends = ['status_label', 'total_price_formatted']

$casts

protected mixed $casts = ['status' => \Modules\Profile\Enums\MerchandiseOrderStatus::class]

$fillable

The attributes that are mass assignable.

protected mixed $fillable = ['order_no', 'status', 'request_date', 'total_price', 'delivery_date', 'user_id']

Methods

getStatusLabelAttribute()

public getStatusLabelAttribute() : string
Return values
string

getTotalPriceFormattedAttribute()

public getTotalPriceFormattedAttribute() : string
Return values
string

        
On this page

Search results