Cloud Commerce Consumer Procurement v1 API - Class LineItem (1.0.0)

public sealed class LineItem : IMessage<LineItem>, IEquatable<LineItem>, IDeepCloneable<LineItem>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud Commerce Consumer Procurement v1 API class LineItem.

A single item within an order.

Inheritance

object > LineItem

Namespace

Google.Cloud.Commerce.Consumer.Procurement.V1

Assembly

Google.Cloud.Commerce.Consumer.Procurement.V1.dll

Constructors

LineItem()

public LineItem()

LineItem(LineItem)

public LineItem(LineItem other)
Parameter
NameDescription
otherLineItem

Properties

ChangeHistory

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.

Property Value
TypeDescription
RepeatedFieldLineItemChange

LineItemId

public string LineItemId { get; set; }

Output only. Line item ID.

Property Value
TypeDescription
string

LineItemInfo

public LineItemInfo LineItemInfo { get; set; }

Output only. Current state and information of this item. It tells what, e.g. which offer, is currently effective.

Property Value
TypeDescription
LineItemInfo

PendingChange

public LineItemChange PendingChange { get; set; }

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.

Property Value
TypeDescription
LineItemChange