Variable: DiscountAction
const DiscountAction: ZodObject<{
adjustmentKind: ZodDefault<ZodLiteral<"discount">>;
glCode: ZodOptional<ZodString>;
label: ZodString;
method: ZodEnum<{
flat: "flat";
percentage: "percentage";
}>;
responsibleParty: ZodOptional<ZodEnum<{
platform: "platform";
processor: "processor";
tax_authority: "tax_authority";
tenant: "tenant";
}>>;
scaling: ZodDefault<ZodEnum<{
once: "once";
per_unit: "per_unit";
}>>;
type: ZodLiteral<"DISCOUNT">;
value: ZodNumber;
}, $strip>;Defined in: shared/pricing/types/actions.ts:170
Reduction applied to an existing subtotal. Same shape as FeeAction.
adjustmentKind is fixed to "discount" (a discount can't be a tax or
platform fee); responsibleParty / glCode carry the same passthrough
accounting metadata.