UNPKG

nammaniru_common_service

Version:

The service will contain all the functionality which is common for both shop and customer

33 lines (31 loc) 649 B
import mongoose, { Schema } from "mongoose"; const OrderBillSchema = new Schema( { ItemSubtotal: { type: Number, required: true }, DeliveryFee: { type: Number, required: true }, PlatformServiceFee: { type: Number, required: true }, RefundableDeposit: { type: Number, required: true }, FinalAmount: { type: Number, required: true } } ); export default OrderBillSchema;