Typescript SDK Type Docs
    Preparing search index...

    Interface CartChangeCustomLineItemMoneyAction

    interface CartChangeCustomLineItemMoneyAction {
        action: "changeCustomLineItemMoney";
        customLineItemId?: string;
        customLineItemKey?: string;
        money: _Money;
    }

    Hierarchy (View Summary)

    Index

    Properties

    action: "changeCustomLineItemMoney"
    customLineItemId?: string

    id of the CustomLineItem to update. Either customLineItemId or customLineItemKey is required.

    customLineItemKey?: string

    key of the CustomLineItem to update. Either customLineItemId or customLineItemKey is required.

    money: _Money

    Value to set. Must not be empty. Can be a negative amount.

    To set the money value in high precision, use [HighPrecisionMoneyDraft](ctp:api:type:HighPrecisionMoneyDraft).