import 'package:fcs/domain/entities/cargo_type.dart'; import 'package:fcs/domain/entities/custom_duty.dart'; import 'package:fcs/domain/entities/discount_by_weight.dart'; import 'package:fcs/domain/entities/rate.dart'; abstract class RateService { Stream getRateStream(); Future updateRate(Rate rate); Future createCargoType(CargoType cargoType); Future updateCargoType(CargoType cargoType); Future deleteCargoType(String id); Future createCustomDuty(CustomDuty customDuty); Future updateCustomDuty(CustomDuty customDuty); Future deleteCustomDuty(String id); Future createDiscountByWeight(DiscountByWeight discountByWeight); Future updateDiscountByWeight(DiscountByWeight discountByWeight); Future deleteDiscountByWeight(String id); }