Interface OrderLineItemDiscountSetMessagePayload

Generated after a successful recalculation of a Discount on a Line Item.

interface OrderLineItemDiscountSetMessagePayload {
    discountedPricePerQuantity: DiscountedLineItemPriceForQuantity[];
    lineItemId: string;
    taxedPrice?: TaxedItemPrice;
    taxedPricePortions: MethodTaxedPrice[];
    totalPrice: _Money;
    type: "OrderLineItemDiscountSet";
}

Properties

discountedPricePerQuantity: DiscountedLineItemPriceForQuantity[]

Array of DiscountedLineItemPriceForQuantity after the Discount recalculation.

lineItemId: string

Unique identifier for the Line Item.

taxedPrice?: TaxedItemPrice

TaxedItemPrice of the Line Item after the Discount recalculation.

taxedPricePortions: MethodTaxedPrice[]

Taxed price of the Shipping Methods in a Cart with Multi ShippingMode.

totalPrice: _Money

Total Price of the Line Item after the Discount recalculation.

type: "OrderLineItemDiscountSet"

Generated using TypeDoc