Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface PrefigureDiscounts

List the discounts that potentially could be activated. If a ProductIDs, ProductSearchID or ProductSearch is set, the service will check if the resulting products are a eligible to one or more discounts. If an OrderID is provided, the context of the given order is taken into account, that can include user specific discounts, order OU specific discount, etc.

Be aware that:

  • If ProductIDs is given, ProductSearchID and ProductSearch are ignored
  • If ProductSearchID is given, ProductIDs and ProductSearch are ignored
  • If ProductSearch is given, ProductIDs and ProductSearchID are ignored

Hierarchy

  • PrefigureDiscounts

Index

Properties

Optional OrderID

OrderID: undefined | number

Entity type: Order

Optional ProductIDs

ProductIDs: number[]

Entity type: Product

Optional ProductSearch

ProductSearch: SearchProducts

Optional ProductSearchID

ProductSearchID: undefined | number