File

projects/core/src/model/product-interest.model.ts

Index

Properties

Properties

product
product: Product
Type : Product
Optional
productInterestEntry
productInterestEntry: ProductInterestEntry[]
Type : ProductInterestEntry[]
Optional
import { Product } from './product.model';
import { Pagination, Sort } from './unused.model';

export interface ProductInterestEntry {
  interestType?: NotificationType;
  dateAdded?: string;
  expirationDate?: string;
}

export interface ProductInterestEntryRelation {
  product?: Product;
  productInterestEntry?: ProductInterestEntry[];
}

export interface ProductInterestSearchResult {
  results?: ProductInterestEntryRelation[];
  sorts?: Sort[];
  pagination?: Pagination;
}

export enum NotificationType {
  BACK_IN_STOCK = 'BACK_IN_STOCK',
}

result-matching ""

    No results matching ""