Nuevos cambios hechos de diseño
This commit is contained in:
22
desarrollo2/source_code/lib/const/newCouponOptions.dart
Normal file
22
desarrollo2/source_code/lib/const/newCouponOptions.dart
Normal 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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user