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
- (::Google::Protobuf::Timestamp) — Output only. A time at which the change became or will become (in case of pending change) effective.
#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
- (::Google::Cloud::Commerce::Consumer::Procurement::V1::LineItemChangeState) — Output only. State of the change.
#change_state_reason_type
def change_state_reason_type() -> ::Google::Cloud::Commerce::Consumer::Procurement::V1::LineItemChangeStateReasonType
Returns
-
(::Google::Cloud::Commerce::Consumer::Procurement::V1::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_type
def change_type() -> ::Google::Cloud::Commerce::Consumer::Procurement::V1::LineItemChangeType
Returns
- (::Google::Cloud::Commerce::Consumer::Procurement::V1::LineItemChangeType) — Required. Type of the change to make.
#change_type=
def change_type=(value) -> ::Google::Cloud::Commerce::Consumer::Procurement::V1::LineItemChangeType
Parameter
- value (::Google::Cloud::Commerce::Consumer::Procurement::V1::LineItemChangeType) — Required. Type of the change to make.
Returns
- (::Google::Cloud::Commerce::Consumer::Procurement::V1::LineItemChangeType) — Required. Type of the change to make.
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. The time when change was initiated.
#new_line_item_info
def new_line_item_info() -> ::Google::Cloud::Commerce::Consumer::Procurement::V1::LineItemInfo
Returns
- (::Google::Cloud::Commerce::Consumer::Procurement::V1::LineItemInfo) — Line item info after the change.
#new_line_item_info=
def new_line_item_info=(value) -> ::Google::Cloud::Commerce::Consumer::Procurement::V1::LineItemInfo
Parameter
- value (::Google::Cloud::Commerce::Consumer::Procurement::V1::LineItemInfo) — Line item info after the change.
Returns
- (::Google::Cloud::Commerce::Consumer::Procurement::V1::LineItemInfo) — Line item info after the change.
#old_line_item_info
def old_line_item_info() -> ::Google::Cloud::Commerce::Consumer::Procurement::V1::LineItemInfo
Returns
- (::Google::Cloud::Commerce::Consumer::Procurement::V1::LineItemInfo) — Output only. Line item info before the change.
#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 ofREJECTED
andCANCELED
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.