Class LineItemChange (0.1.5)

LineItemChange(mapping=None, *, ignore_unknown_fields=False, **kwargs)

A change made on a line item.

Attributes

NameDescription
change_id str
Output only. Change ID. All changes made within one order update operation have the same change_id.
change_type google.cloud.commerce_consumer_procurement_v1.types.LineItemChangeType
Required. Type of the change to make.
old_line_item_info google.cloud.commerce_consumer_procurement_v1.types.LineItemInfo
Output only. Line item info before the change.
new_line_item_info google.cloud.commerce_consumer_procurement_v1.types.LineItemInfo
Line item info after the change.
change_state google.cloud.commerce_consumer_procurement_v1.types.LineItemChangeState
Output only. State of the change.
state_reason str
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.
change_state_reason_type google.cloud.commerce_consumer_procurement_v1.types.LineItemChangeStateReasonType
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.
change_effective_time google.protobuf.timestamp_pb2.Timestamp
Output only. A time at which the change became or will become (in case of pending change) effective.
create_time google.protobuf.timestamp_pb2.Timestamp
Output only. The time when change was initiated.
update_time google.protobuf.timestamp_pb2.Timestamp
Output only. The time when change was updated, e.g. approved/rejected by partners or cancelled by the user.