Typescript SDK Type Docs
    Preparing search index...

    Interface ChangeLineItemQuantityChange

    Change triggered by the Change LineItem Quantity update action.

    interface ChangeLineItemQuantityChange {
        change: string;
        lineItem: LocalizedString;
        lineItemId: string;
        nextValue: number;
        previousValue: number;
        type: "ChangeLineItemQuantityChange";
    }

    Hierarchy (View Summary)

    • IChange
      • ChangeLineItemQuantityChange
    Index

    Properties

    change: string

    Change type on a resource that is similar to the update action it relates to, where possible. It is not a unique identifier for the data structure, for example, the setDescription change can occur with a localized and non-localized representation.

    [Records](ctp:history:type:Record) can be filtered by this value using the `changes` query parameter.
    
    lineItem: LocalizedString

    Name of the Product the updated Line Item is based on.

    lineItemId: string

    id of the updated LineItem.

    nextValue: number

    Value after the change

    previousValue: number

    Value before the change.

    type: "ChangeLineItemQuantityChange"

    Unique discriminator value to reliably deserialize the data type.