1.6.0 (latest) 1.5.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0

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

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

A change made on a line item.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> LineItemChange

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[LineItemChange](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/latest/Google.Cloud.Commerce.Consumer.Procurement.V1.LineItemChange.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[LineItemChange](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/latest/Google.Cloud.Commerce.Consumer.Procurement.V1.LineItemChange.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[LineItemChange](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/latest/Google.Cloud.Commerce.Consumer.Procurement.V1.LineItemChange.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Commerce.Consumer.Procurement.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/latest/Google.Cloud.Commerce.Consumer.Procurement.V1.md.txt)

## Assembly

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

## Constructors

### LineItemChange()

    public LineItemChange()

### LineItemChange(LineItemChange)

    public LineItemChange(LineItemChange other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `LineItemChange` |

## Properties

### ChangeEffectiveTime

    public Timestamp ChangeEffectiveTime { get; set; }

Output only. A time at which the change became or will become (in case of
pending change) effective.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `Timestamp` |   |

### ChangeId

    public string ChangeId { get; set; }

Output only. Change ID.
All changes made within one order update operation have the same change_id.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### ChangeState

    public LineItemChangeState ChangeState { get; set; }

Output only. State of the change.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `LineItemChangeState` |   |

### ChangeStateReasonType

    public LineItemChangeStateReasonType ChangeStateReasonType { get; set; }

Output only. Predefined enum types for why this line item change is in
current state. For example, a line item change's state could be
`LINE_ITEM_CHANGE_STATE_COMPLETED` because of end-of-term expiration,
immediate cancellation initiated by the user, or system-initiated
cancellation.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `LineItemChangeStateReasonType` |   |

### ChangeType

    public LineItemChangeType ChangeType { get; set; }

Required. Type of the change to make.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `LineItemChangeType` |   |

### CreateTime

    public Timestamp CreateTime { get; set; }

Output only. The time when change was initiated.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `Timestamp` |   |

### NewLineItemInfo

    public LineItemInfo NewLineItemInfo { get; set; }

Line item info after the change.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `LineItemInfo` |   |

### OldLineItemInfo

    public LineItemInfo OldLineItemInfo { get; set; }

Output only. Line item info before the change.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `LineItemInfo` |   |

### StateReason

    public string StateReason { get; set; }

Output only. Provider-supplied message explaining the LineItemChange's
state. Mainly used to communicate progress and ETA for provisioning in the
case of `PENDING_APPROVAL`, and to explain why the change request was
denied or canceled in the case of `REJECTED` and `CANCELED` states.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### UpdateTime

    public Timestamp UpdateTime { get; set; }

Output only. The time when change was updated, e.g. approved/rejected by
partners or cancelled by the user.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `Timestamp` |   |