PromotionAction

PromotionAction

An abstract class which is extended by PromotionItemAction and PromotionOrderAction.

Signature

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

Members

code

readonly property
type:
string

args

readonly property
type:
PromotionActionArgs

description

readonly property
type:
string

priorityValue

readonly property
type:
number

constructor

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