Interface: PricedAdjustment
Defined in: shared/checkout/priced-cart.ts:65
Properties
amountCents
amountCents: number;Defined in: shared/checkout/priced-cart.ts:81
SIGNED money moved (delta_cents): discounts negative, fees/taxes positive.
feeType?
optional feeType?: "platform" | "other" | "surcharge" | "convenience_fee";Defined in: shared/checkout/priced-cart.ts:67
glCode?
optional glCode?: string;Defined in: shared/checkout/priced-cart.ts:83
kind
kind: "discount" | "fee" | "tax";Defined in: shared/checkout/priced-cart.ts:66
lineIndex?
optional lineIndex?: number;Defined in: shared/checkout/priced-cart.ts:72
Index into lineItems; set iff scope === "line".
method
method: "flat" | "percentage";Defined in: shared/checkout/priced-cart.ts:77
name
name: string;Defined in: shared/checkout/priced-cart.ts:74
From the rule's rule_name.
rate?
optional rate?: number;Defined in: shared/checkout/priced-cart.ts:79
The action's percentage value when method === "percentage".
responsibleParty
responsibleParty: "organization" | "customer" | "platform";Defined in: shared/checkout/priced-cart.ts:68
revenueAccount?
optional revenueAccount?: string;Defined in: shared/checkout/priced-cart.ts:84
scope
scope: "line" | "order";Defined in: shared/checkout/priced-cart.ts:70
From the applied action's level.
sourceRef
sourceRef: string;Defined in: shared/checkout/priced-cart.ts:76
From the rule's rule_identifier.
taxInclusive?
optional taxInclusive?: boolean;Defined in: shared/checkout/priced-cart.ts:82