Kaizen
Browse modulesPricingpricing/sharedSchemas and constants

Variable: AdjustmentKind

const AdjustmentKind: ZodEnum<{
  base_price: "base_price";
  discount: "discount";
  fee: "fee";
  platform_fee: "platform_fee";
  tax: "tax";
}>;

Defined in: shared/pricing/types/actions.ts:117

Accounting classification of an applied amount, orthogonal to action.type (which is the math direction). Used to type the rollup records produced by summarize-adjustments. The per-action schemas below each constrain adjustmentKind to the sensible subset for their type; this enum is the union of every possible value.