Cloud Commerce Consumer Procurement v1 API - Class LineItemChange (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 > LineItemChange

Namespace

Google.Cloud.Commerce.Consumer.Procurement.V1

Assembly

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

Constructors

LineItemChange()

public LineItemChange()

LineItemChange(LineItemChange)

public LineItemChange(LineItemChange other)
Parameter
NameDescription
otherLineItemChange

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
TypeDescription
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
TypeDescription
string

ChangeState

public LineItemChangeState ChangeState { get; set; }

Output only. State of the change.

Property Value
TypeDescription
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
TypeDescription
LineItemChangeStateReasonType

ChangeType

public LineItemChangeType ChangeType { get; set; }

Required. Type of the change to make.

Property Value
TypeDescription
LineItemChangeType

CreateTime

public Timestamp CreateTime { get; set; }

Output only. The time when change was initiated.

Property Value
TypeDescription
Timestamp

NewLineItemInfo

public LineItemInfo NewLineItemInfo { get; set; }

Line item info after the change.

Property Value
TypeDescription
LineItemInfo

OldLineItemInfo

public LineItemInfo OldLineItemInfo { get; set; }

Output only. Line item info before the change.

Property Value
TypeDescription
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
TypeDescription
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
TypeDescription
Timestamp