Enum LineItemChangeStateReasonType (0.41.0)

public enum LineItemChangeStateReasonType extends Enum<LineItemChangeStateReasonType> implements ProtocolMessageEnum

Predefined types for line item change state reason.

Protobuf enum google.cloud.commerce.consumer.procurement.v1alpha1.LineItemChangeStateReasonType

Implements

ProtocolMessageEnum

Static Fields

Name Description
LINE_ITEM_CHANGE_STATE_REASON_TYPE_EXPIRED

Change is in current state due to term expiration.

LINE_ITEM_CHANGE_STATE_REASON_TYPE_EXPIRED = 1;

LINE_ITEM_CHANGE_STATE_REASON_TYPE_EXPIRED_VALUE

Change is in current state due to term expiration.

LINE_ITEM_CHANGE_STATE_REASON_TYPE_EXPIRED = 1;

LINE_ITEM_CHANGE_STATE_REASON_TYPE_SYSTEM_CANCELLED

Change is in current state due to system-initiated cancellation.

LINE_ITEM_CHANGE_STATE_REASON_TYPE_SYSTEM_CANCELLED = 3;

LINE_ITEM_CHANGE_STATE_REASON_TYPE_SYSTEM_CANCELLED_VALUE

Change is in current state due to system-initiated cancellation.

LINE_ITEM_CHANGE_STATE_REASON_TYPE_SYSTEM_CANCELLED = 3;

LINE_ITEM_CHANGE_STATE_REASON_TYPE_UNSPECIFIED

Default value, indicating there's no predefined type for change state reason.

LINE_ITEM_CHANGE_STATE_REASON_TYPE_UNSPECIFIED = 0;

LINE_ITEM_CHANGE_STATE_REASON_TYPE_UNSPECIFIED_VALUE

Default value, indicating there's no predefined type for change state reason.

LINE_ITEM_CHANGE_STATE_REASON_TYPE_UNSPECIFIED = 0;

LINE_ITEM_CHANGE_STATE_REASON_TYPE_USER_CANCELLED

Change is in current state due to user-initiated cancellation.

LINE_ITEM_CHANGE_STATE_REASON_TYPE_USER_CANCELLED = 2;

LINE_ITEM_CHANGE_STATE_REASON_TYPE_USER_CANCELLED_VALUE

Change is in current state due to user-initiated cancellation.

LINE_ITEM_CHANGE_STATE_REASON_TYPE_USER_CANCELLED = 2;

UNRECOGNIZED

Static Methods

Name Description
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()