public RepeatedField<LineItemChange> ChangeHistory { get; }
Output only. Changes made on the item that are not pending anymore which
might be because they already took effect, were reverted by the customer,
or were rejected by the partner. No more operations are allowed on these
changes.
Output only. A change made on the item which is pending and not yet
effective. Absence of this field indicates the line item is not undergoing
a change.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eLineItem\u003c/code\u003e class is a core component of the Cloud Commerce Consumer Procurement v1 API, representing a single item within an order.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the \u003ccode\u003eLineItem\u003c/code\u003e class is 1.4.0, and it is accessible via the provided link.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eLineItem\u003c/code\u003e implements interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits from \u003ccode\u003eobject\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eLineItem\u003c/code\u003e class provides properties such as \u003ccode\u003eChangeHistory\u003c/code\u003e, \u003ccode\u003eLineItemId\u003c/code\u003e, \u003ccode\u003eLineItemInfo\u003c/code\u003e, and \u003ccode\u003ePendingChange\u003c/code\u003e to manage and track changes and the current state of an item.\u003c/p\u003e\n"],["\u003cp\u003eThere are multiple versions available, starting at version 1.0.0 and going up to the latest, 1.4.0, for the \u003ccode\u003eLineItem\u003c/code\u003e class, as well as different versions for the other classes of this library.\u003c/p\u003e\n"]]],[],null,["# Cloud Commerce Consumer Procurement v1 API - Class LineItem (1.5.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.5.0 (latest)](/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/latest/Google.Cloud.Commerce.Consumer.Procurement.V1.LineItem)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/1.4.0/Google.Cloud.Commerce.Consumer.Procurement.V1.LineItem)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/1.3.0/Google.Cloud.Commerce.Consumer.Procurement.V1.LineItem)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/1.2.0/Google.Cloud.Commerce.Consumer.Procurement.V1.LineItem)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/1.1.0/Google.Cloud.Commerce.Consumer.Procurement.V1.LineItem)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/1.0.0/Google.Cloud.Commerce.Consumer.Procurement.V1.LineItem) \n\n public sealed class LineItem : IMessage\u003cLineItem\u003e, IEquatable\u003cLineItem\u003e, IDeepCloneable\u003cLineItem\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Cloud Commerce Consumer Procurement v1 API class LineItem.\n\nA single item within an order. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e LineItem \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[LineItem](/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/latest/Google.Cloud.Commerce.Consumer.Procurement.V1.LineItem), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[LineItem](/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/latest/Google.Cloud.Commerce.Consumer.Procurement.V1.LineItem), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[LineItem](/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/latest/Google.Cloud.Commerce.Consumer.Procurement.V1.LineItem), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Commerce.Consumer.Procurement.V1](/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/latest/Google.Cloud.Commerce.Consumer.Procurement.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Commerce.Consumer.Procurement.V1.dll\n\nConstructors\n------------\n\n### LineItem()\n\n public LineItem()\n\n### LineItem(LineItem)\n\n public LineItem(LineItem other)\n\nProperties\n----------\n\n### ChangeHistory\n\n public RepeatedField\u003cLineItemChange\u003e ChangeHistory { get; }\n\nOutput only. Changes made on the item that are not pending anymore which\nmight be because they already took effect, were reverted by the customer,\nor were rejected by the partner. No more operations are allowed on these\nchanges.\n\n### LineItemId\n\n public string LineItemId { get; set; }\n\nOutput only. Line item ID.\n\n### LineItemInfo\n\n public LineItemInfo LineItemInfo { get; set; }\n\nOutput only. Current state and information of this item. It tells what,\ne.g. which offer, is currently effective.\n\n### PendingChange\n\n public LineItemChange PendingChange { get; set; }\n\nOutput only. A change made on the item which is pending and not yet\neffective. Absence of this field indicates the line item is not undergoing\na change."]]