Reference documentation and code samples for the Cloud Commerce Consumer Procurement V1 API module Google::Cloud::Commerce::Consumer::Procurement::V1::LineItemChangeState.
State of a change.
Constants
LINE_ITEM_CHANGE_STATE_UNSPECIFIED
value: 0 Sentinel value. Do not use.
LINE_ITEM_CHANGE_STATE_PENDING_APPROVAL
value: 1 Change is in this state when a change is initiated and waiting for partner
approval. This state is only applicable for pending change.
LINE_ITEM_CHANGE_STATE_APPROVED
value: 2 Change is in this state after it's approved by the partner or auto-approved
but before it takes effect. The change can be overwritten or cancelled
depending on the new line item info property (pending Private Offer change
cannot be cancelled and can only be overwritten by another Private Offer).
This state is only applicable for pending change.
LINE_ITEM_CHANGE_STATE_COMPLETED
value: 3 Change is in this state after it's been activated. This state is only
applicable for change in history.
LINE_ITEM_CHANGE_STATE_REJECTED
value: 4 Change is in this state if it was rejected by the partner. This state is
only applicable for change in history.
LINE_ITEM_CHANGE_STATE_ABANDONED
value: 5 Change is in this state if it was abandoned by the user. This state is only
applicable for change in history.
LINE_ITEM_CHANGE_STATE_ACTIVATING
value: 6 Change is in this state if it's currently being provisioned downstream. The
change can't be overwritten or cancelled when it's in this state. This
state is only applicable for pending change.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Cloud Commerce Consumer Procurement V1 API - Module Google::Cloud::Commerce::Consumer::Procurement::V1::LineItemChangeState (v1.4.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.4.1 (latest)](/ruby/docs/reference/google-cloud-commerce-consumer-procurement-v1/latest/Google-Cloud-Commerce-Consumer-Procurement-V1-LineItemChangeState)\n- [1.4.0](/ruby/docs/reference/google-cloud-commerce-consumer-procurement-v1/1.4.0/Google-Cloud-Commerce-Consumer-Procurement-V1-LineItemChangeState)\n- [1.3.1](/ruby/docs/reference/google-cloud-commerce-consumer-procurement-v1/1.3.1/Google-Cloud-Commerce-Consumer-Procurement-V1-LineItemChangeState)\n- [1.2.0](/ruby/docs/reference/google-cloud-commerce-consumer-procurement-v1/1.2.0/Google-Cloud-Commerce-Consumer-Procurement-V1-LineItemChangeState)\n- [1.1.0](/ruby/docs/reference/google-cloud-commerce-consumer-procurement-v1/1.1.0/Google-Cloud-Commerce-Consumer-Procurement-V1-LineItemChangeState)\n- [1.0.2](/ruby/docs/reference/google-cloud-commerce-consumer-procurement-v1/1.0.2/Google-Cloud-Commerce-Consumer-Procurement-V1-LineItemChangeState)\n- [0.4.0](/ruby/docs/reference/google-cloud-commerce-consumer-procurement-v1/0.4.0/Google-Cloud-Commerce-Consumer-Procurement-V1-LineItemChangeState)\n- [0.3.2](/ruby/docs/reference/google-cloud-commerce-consumer-procurement-v1/0.3.2/Google-Cloud-Commerce-Consumer-Procurement-V1-LineItemChangeState)\n- [0.2.0](/ruby/docs/reference/google-cloud-commerce-consumer-procurement-v1/0.2.0/Google-Cloud-Commerce-Consumer-Procurement-V1-LineItemChangeState)\n- [0.1.0](/ruby/docs/reference/google-cloud-commerce-consumer-procurement-v1/0.1.0/Google-Cloud-Commerce-Consumer-Procurement-V1-LineItemChangeState) \nReference documentation and code samples for the Cloud Commerce Consumer Procurement V1 API module Google::Cloud::Commerce::Consumer::Procurement::V1::LineItemChangeState.\n\nState of a change.\n\nConstants\n---------\n\n### LINE_ITEM_CHANGE_STATE_UNSPECIFIED\n\n**value:** 0 \nSentinel value. Do not use.\n\n### LINE_ITEM_CHANGE_STATE_PENDING_APPROVAL\n\n**value:** 1 \nChange is in this state when a change is initiated and waiting for partner\napproval. This state is only applicable for pending change.\n\n### LINE_ITEM_CHANGE_STATE_APPROVED\n\n**value:** 2 \nChange is in this state after it's approved by the partner or auto-approved\nbut before it takes effect. The change can be overwritten or cancelled\ndepending on the new line item info property (pending Private Offer change\ncannot be cancelled and can only be overwritten by another Private Offer).\nThis state is only applicable for pending change.\n\n### LINE_ITEM_CHANGE_STATE_COMPLETED\n\n**value:** 3 \nChange is in this state after it's been activated. This state is only\napplicable for change in history.\n\n### LINE_ITEM_CHANGE_STATE_REJECTED\n\n**value:** 4 \nChange is in this state if it was rejected by the partner. This state is\nonly applicable for change in history.\n\n### LINE_ITEM_CHANGE_STATE_ABANDONED\n\n**value:** 5 \nChange is in this state if it was abandoned by the user. This state is only\napplicable for change in history.\n\n### LINE_ITEM_CHANGE_STATE_ACTIVATING\n\n**value:** 6 \nChange is in this state if it's currently being provisioned downstream. The\nchange can't be overwritten or cancelled when it's in this state. This\nstate is only applicable for pending change."]]