Property | Type | Description | |
---|---|---|---|
$appends | |||
$fillable | array | The attributes that are mass assignable. | |
$table | string | The database table used by the model. |
Method | Description | |
---|---|---|
create ( array $options = [] ) | ||
createLog ( ) | ||
details ( ) | ||
freeproducts ( ) | ||
getDetailsAttribute ( ) | ||
getTranslatedStatusAttribute ( ) | ||
inDetail ( ) | ||
placeOrders ( integer $type_order ) : app\Response | Start the checkout process for any type of order. | |
save ( array $options = [] ) | ||
scopeOfDates ( $query, $from, $to = '' ) | ||
scopeOfStatus ( $query, $status ) | ||
scopeOfType ( $query, $type ) | ||
sendMail ( ) | ||
sendNotice ( ) | ||
user ( ) |
public static placeOrders ( integer $type_order ) : app\Response | ||
$type_order | integer | Type of order to be processed |
return | app\Response |
protected array $fillable | ||
return | array |
protected string $table | ||
return | string |