Reference documentation and code samples for the Google Cloud Commerce Consumer Procurement V1 Client class LineItemChangeStateReasonType.
Predefined types for line item change state reason.
Protobuf type google.cloud.commerce.consumer.procurement.v1.LineItemChangeStateReasonType
Namespace
Google \ Cloud \ Commerce \ Consumer \ Procurement \ V1Methods
static::name
| Parameter | |
|---|---|
| Name | Description |
value |
mixed
|
static::value
| Parameter | |
|---|---|
| Name | Description |
name |
mixed
|
Constants
LINE_ITEM_CHANGE_STATE_REASON_TYPE_UNSPECIFIED
Value: 0Default value, indicating there's no predefined type for change state reason.
Generated from protobuf enum LINE_ITEM_CHANGE_STATE_REASON_TYPE_UNSPECIFIED = 0;
LINE_ITEM_CHANGE_STATE_REASON_TYPE_EXPIRED
Value: 1Change is in current state due to term expiration.
Generated from protobuf enum LINE_ITEM_CHANGE_STATE_REASON_TYPE_EXPIRED = 1;
LINE_ITEM_CHANGE_STATE_REASON_TYPE_USER_CANCELLED
Value: 2Change is in current state due to user-initiated cancellation.
Generated from protobuf enum LINE_ITEM_CHANGE_STATE_REASON_TYPE_USER_CANCELLED = 2;
LINE_ITEM_CHANGE_STATE_REASON_TYPE_SYSTEM_CANCELLED
Value: 3Change is in current state due to system-initiated cancellation.
Generated from protobuf enum LINE_ITEM_CHANGE_STATE_REASON_TYPE_SYSTEM_CANCELLED = 3;