You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

123456789101112131415161718
  1. import { ProductData } from './productInterface';
  2. import { UserData } from './userInterface';
  3. import { ObjectId } from 'mongodb';
  4. interface ShippingData extends UserData {
  5. email: string;
  6. }
  7. export interface OrderData {
  8. products: Array<ProductData>;
  9. time: Date;
  10. shippingAddress: ShippingData;
  11. totalPrice: number;
  12. numberOfItems: number;
  13. fulfilled: boolean;
  14. owner: ObjectId;
  15. stripeCheckoutId: string;
  16. }