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.
Implements
IMessageLineItemChange, IEquatableLineItemChange, IDeepCloneableLineItemChange, IBufferMessage, IMessageNamespace
Google.Cloud.Commerce.Consumer.Procurement.V1Assembly
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 |