update rate
This commit is contained in:
@@ -14,9 +14,10 @@ class CustomerModel extends BaseModel {
|
||||
User(
|
||||
name: 'Ko Nyi',
|
||||
phoneNumber: '+95 9 717273634',
|
||||
status: 'Invited'
|
||||
),
|
||||
User(name: 'Ko Phyu', phoneNumber: '+1 (939) 382-3844'),
|
||||
User(name: 'Ko Ye', phoneNumber: '+95 9 983734783', status: "Delivered"),
|
||||
User(name: 'Ko Phyu', phoneNumber: '+1 (939) 382-3844',status: 'Signin'),
|
||||
User(name: 'Ko Ye', phoneNumber: '+95 9 983734783', status: 'Invited'),
|
||||
];
|
||||
|
||||
void initUser(user) async {
|
||||
|
||||
@@ -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