Documentation

CustomerOrder extends Model Uses HasTimestamps

Table of Contents

$casts  : array<string|int, mixed>
The attributes that should be cast.
$fillable  : array<string|int, mixed>
The attributes that are mass assignable.
$hidden  : array<string|int, mixed>
The attributes excluded from the model's JSON form.
$table  : mixed
user()  : belongsTo
Get the user that this customer belong.
order_details()  : Attribute
payment_details()  : Attribute

Properties

$casts

The attributes that should be cast.

protected array<string|int, mixed> $casts = ['payment_details' => 'array', 'order_id' => 'string', 'order_details' => 'array']

$fillable

The attributes that are mass assignable.

protected array<string|int, mixed> $fillable = ['user_id', 'order_id', 'ds_merchant_identifier', 'ds_merchant_cof_txnid', 'order_details', 'payment_details']

$hidden

The attributes excluded from the model's JSON form.

protected array<string|int, mixed> $hidden = []

Methods

user()

Get the user that this customer belong.

public user() : belongsTo
Return values
belongsTo

order_details()

protected order_details() : Attribute
Return values
Attribute

payment_details()

protected payment_details() : Attribute
Return values
Attribute

Search results