You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|[Create Coupon](https://github.com/codeboxrcodehub/coupondiscount#1-create-new-coupon)| add($array) | Create coupon code by add() method it taken a array. Array formate given below |
39
-
|[Update Coupon](https://github.com/codeboxrcodehub/coupondiscount#2-update-coupon)| update($array,$couponId) | Coupon Update by update() method it's taken two parameter first parameter is an array and second parameter is coupon id |
40
-
|[Remove Coupon](https://github.com/codeboxrcodehub/coupondiscount#3-remove-coupon)| remove($couponId) | Coupon Remove by remove() method it's taken one parameter. Parameter is Coupon id |
41
-
|[Coupon List](https://github.com/codeboxrcodehub/coupondiscount#4-coupon-list)| list() | Fetch coupon list by list() method. You can chain any operation in Eluquarant after this method. For example: `list()->where('status',1)->get();`,`list()->take(5)->get();`,`list()->first();` etc |
42
-
|[Coupon Validity](https://github.com/codeboxrcodehub/coupondiscount#5-coupon-validity-check)| validity($couponCode, float $amount, string $userId, string $deviceName = null, string $ipaddress = null, string $vendorId = null)| check coupon code validity by validity() method. It's take 6 parameter 3 parameter are required. 1st parameter is coupon code,second parameter is total amount,third parameter is user id,fourth parameter (optional) device name,fifth parameter (optional) is IP address and sixth parameter (optional) is vendor id or shop id |
43
-
|[Coupon Apply](https://github.com/codeboxrcodehub/coupondiscount#6-coupon-apply)| apply($array) | Apply coupon in a cart amount by apply() method. apply method taken one parameter is array, example given below |
44
-
|[Coupon History List](https://github.com/codeboxrcodehub/coupondiscount#7-coupon-history-list)| history() | Fetch coupon history list by history() method. You can chain any operation in Eluquarant after this method. For example: `history()->where('user_id',1)->get();`,`history()->take(5)->get();`,`history()->first();` etc |
45
-
|[Remove History](https://github.com/codeboxrcodehub/coupondiscount#8-delete-coupon-history)| historyDelete($historyId)| Coupon History Remove by historyDelete() method it's taken one parameter. Parameter is Coupon history id |
|[Create Coupon](https://github.com/codeboxrcodehub/coupondiscount#1-create-new-coupon)| add($array) | Create coupon code by add() method it taken a array. Array formate given below|
39
+
|[Update Coupon](https://github.com/codeboxrcodehub/coupondiscount#2-update-coupon)| update($array,$couponId) | Coupon Update by update() method it's taken two parameter first parameter is an array and second parameter is coupon id|
40
+
|[Remove Coupon](https://github.com/codeboxrcodehub/coupondiscount#3-remove-coupon)| remove($couponId) | Coupon Remove by remove() method it's taken one parameter. Parameter is Coupon id|
41
+
|[Coupon List](https://github.com/codeboxrcodehub/coupondiscount#4-coupon-list)| list() | Fetch coupon list by list() method. You can chain any operation in Eluquarant after this method. For example: `list()->where('status',1)->get();`,`list()->take(5)->get();`,`list()->first();` etc|
42
+
|[Coupon Validity](https://github.com/codeboxrcodehub/coupondiscount#5-coupon-validity-check)| validity($couponCode, float $amount, string $userId, string $deviceName = null, string $ipaddress = null, string $vendorId = null) | check coupon code validity by validity() method. It's take 6 parameter 3 parameter are required. 1st parameter is coupon code,second parameter is total amount,third parameter is user id,fourth parameter (optional) device name,fifth parameter (optional) is IP address and sixth parameter (optional) is vendor id or shop id |
43
+
|[Coupon Apply](https://github.com/codeboxrcodehub/coupondiscount#6-coupon-apply)| apply($array) | Apply coupon in a cart amount by apply() method. apply method taken one parameter is array, example given below|
44
+
|[Coupon History List](https://github.com/codeboxrcodehub/coupondiscount#7-coupon-history-list)| history() | Fetch coupon history list by history() method. You can chain any operation in Eluquarant after this method. For example: `history()->where('user_id',1)->get();`,`history()->take(5)->get();`,`history()->first();` etc|
45
+
|[Remove History](https://github.com/codeboxrcodehub/coupondiscount#8-delete-coupon-history)| historyDelete($historyId)| Coupon History Remove by historyDelete() method it's taken one parameter. Parameter is Coupon history id|
0 commit comments