Cloud Commerce Consumer Procurement V1 API - Class Google::Cloud::Commerce::Consumer::Procurement::V1::LineItemChange (v0.2.0)

Reference documentation and code samples for the Cloud Commerce Consumer Procurement V1 API class Google::Cloud::Commerce::Consumer::Procurement::V1::LineItemChange.

A change made on a line item.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#change_effective_time

def change_effective_time() -> ::Google::Protobuf::Timestamp
Returns

#change_id

def change_id() -> ::String
Returns
  • (::String) — Output only. Change ID. All changes made within one order update operation have the same change_id.

#change_state

def change_state() -> ::Google::Cloud::Commerce::Consumer::Procurement::V1::LineItemChangeState
Returns

#change_state_reason_type

def change_state_reason_type() -> ::Google::Cloud::Commerce::Consumer::Procurement::V1::LineItemChangeStateReasonType
Returns

#change_type

def change_type() -> ::Google::Cloud::Commerce::Consumer::Procurement::V1::LineItemChangeType
Returns

#change_type=

def change_type=(value) -> ::Google::Cloud::Commerce::Consumer::Procurement::V1::LineItemChangeType
Parameter
Returns

#create_time

def create_time() -> ::Google::Protobuf::Timestamp
Returns

#new_line_item_info

def new_line_item_info() -> ::Google::Cloud::Commerce::Consumer::Procurement::V1::LineItemInfo
Returns

#new_line_item_info=

def new_line_item_info=(value) -> ::Google::Cloud::Commerce::Consumer::Procurement::V1::LineItemInfo
Parameter
Returns

#old_line_item_info

def old_line_item_info() -> ::Google::Cloud::Commerce::Consumer::Procurement::V1::LineItemInfo
Returns

#state_reason

def state_reason() -> ::String
Returns
  • (::String) — 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.

#update_time

def update_time() -> ::Google::Protobuf::Timestamp
Returns
  • (::Google::Protobuf::Timestamp) — Output only. The time when change was updated, e.g. approved/rejected by partners or cancelled by the user.