Class LineItem (0.1.5)

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

A single item within an order.

Attributes

NameDescription
line_item_id str
Output only. Line item ID.
line_item_info google.cloud.commerce_consumer_procurement_v1alpha1.types.LineItemInfo
Output only. Current state and information of this item. It tells what, e.g. which offer, is currently effective.
pending_change google.cloud.commerce_consumer_procurement_v1alpha1.types.LineItemChange
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.
change_history MutableSequence[google.cloud.commerce_consumer_procurement_v1alpha1.types.LineItemChange]
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.