Method |
Description |
|
create ( $orderId ) : Response |
Show the form for creating a new resource. |
|
destroy ( integer $id ) : Response |
Remove the specified resource from storage. |
|
edit ( integer $id ) : Response |
Show the form for editing the specified resource. |
|
getParentAndChildren ( [array] $select = ['id', 'description'], [integer] $limit = 5 ) |
build the free prodcuts tree where parent will be a free product and children are the products list associated. |
|
index ( Illuminate\Http\Request $request ) : Response |
Display a listing of the resource. |
|
myFreeProducts ( Illuminate\Http\Request $request ) |
|
|
show ( integer $id ) : View |
Return the product data free query view. |
|
store ( Illuminate\Http\Request $request ) : Response |
Store a newly created resource in storage. |
|
subscribe ( integer $id ) : Response |
Subscription free product, validating the conditions and validity of the same. |
|
update ( integer $id ) : Response |
Update the specified resource in storage. |
|