codigo actual del servidor, con avances de joan

This commit is contained in:
Jose Sanchez
2023-08-07 15:52:04 -04:00
commit 3cd9b8bbe8
3070 changed files with 532255 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
class CouponInformationOptions{
String? value,key;
CouponInformationOptions({this.value, this.key});
List<CouponInformationOptions> getList(){
List<CouponInformationOptions> list = [];
list.add(new CouponInformationOptions(value: "Select",key: ""));
list.add(new CouponInformationOptions(value: "For Product",key: "product_base"));
list.add(new CouponInformationOptions(value: "For Total Orders",key: "cart_base"));
return list;
}
}
class CouponDiscountOptions{
String? value,key;
CouponDiscountOptions({this.value, this.key});
List<CouponDiscountOptions> getList(){
List<CouponDiscountOptions> list = [];
list.add(new CouponDiscountOptions(value: "Amount",key: "amount"));
list.add(new CouponDiscountOptions(value: "Percentage",key: "percent"));
return list;
}
}