update rate
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
import 'dart:async';
|
||||
|
||||
import 'package:cloud_firestore/cloud_firestore.dart';
|
||||
import 'package:fcs/vo/custom.dart';
|
||||
import 'package:fcs/vo/discount.dart';
|
||||
import 'package:fcs/vo/rate.dart';
|
||||
import 'package:logging/logging.dart';
|
||||
|
||||
@@ -22,7 +24,17 @@ class ShipmentRateModel extends BaseModel {
|
||||
price: 8),
|
||||
];
|
||||
|
||||
int freeDeliveryWeight=10;
|
||||
List<Custom> customs = [
|
||||
Custom(productType: 'Phone', fee: 40),
|
||||
Custom(productType: 'Max Book', fee: 40)
|
||||
];
|
||||
|
||||
List<Discount> discountsByWeight = [
|
||||
Discount(weight: 10, discountRate: 3),
|
||||
Discount(weight: 20, discountRate: 5)
|
||||
];
|
||||
|
||||
int freeDeliveryWeight = 10;
|
||||
|
||||
void initUser(user) {
|
||||
super.initUser(user);
|
||||
|
||||
Reference in New Issue
Block a user