Reference documentation and code samples for the Cloud Commerce Consumer Procurement V1 API class Google::Cloud::Commerce::Consumer::Procurement::V1::LineItem.
A single item within an order.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#change_history
def change_history() -> ::Array<::Google::Cloud::Commerce::Consumer::Procurement::V1::LineItemChange>
Returns
- (::Array<::Google::Cloud::Commerce::Consumer::Procurement::V1::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.
#line_item_id
def line_item_id() -> ::String
Returns
- (::String) — Output only. Line item ID.
#line_item_info
def line_item_info() -> ::Google::Cloud::Commerce::Consumer::Procurement::V1::LineItemInfo
Returns
- (::Google::Cloud::Commerce::Consumer::Procurement::V1::LineItemInfo) — Output only. Current state and information of this item. It tells what, e.g. which offer, is currently effective.
#pending_change
def pending_change() -> ::Google::Cloud::Commerce::Consumer::Procurement::V1::LineItemChange
Returns
- (::Google::Cloud::Commerce::Consumer::Procurement::V1::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.