PromotionAction

PromotionAction

An abstract class which is extended by PromotionItemAction and PromotionOrderAction.

Signature

class PromotionAction<T extends PromotionActionArgs = {}> implements ConfigurableOperationDef {
  readonly code: string;
  readonly args: PromotionActionArgs;
  readonly description: string;
  readonly priorityValue: number;
  constructor(config: PromotionActionConfig<T>)
}

Members

code

property
type:
string

args

property
type:
PromotionActionArgs

description

property
type:
string

priorityValue

property
type:
number

constructor

method
type:
(config: PromotionActionConfig<T>) => PromotionAction
alpha