Enum LineItemChangeType (0.34.0)

public enum LineItemChangeType extends Enum<LineItemChangeType> implements ProtocolMessageEnum

Type of a line item change.

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

Implements

ProtocolMessageEnum

Static Fields

NameDescription
LINE_ITEM_CHANGE_TYPE_CANCEL

The change is to cancel an existing line item.

LINE_ITEM_CHANGE_TYPE_CANCEL = 3;

LINE_ITEM_CHANGE_TYPE_CANCEL_VALUE

The change is to cancel an existing line item.

LINE_ITEM_CHANGE_TYPE_CANCEL = 3;

LINE_ITEM_CHANGE_TYPE_CREATE

The change is to create a new line item.

LINE_ITEM_CHANGE_TYPE_CREATE = 1;

LINE_ITEM_CHANGE_TYPE_CREATE_VALUE

The change is to create a new line item.

LINE_ITEM_CHANGE_TYPE_CREATE = 1;

LINE_ITEM_CHANGE_TYPE_REVERT_CANCELLATION

The change is to revert a cancellation.

LINE_ITEM_CHANGE_TYPE_REVERT_CANCELLATION = 4;

LINE_ITEM_CHANGE_TYPE_REVERT_CANCELLATION_VALUE

The change is to revert a cancellation.

LINE_ITEM_CHANGE_TYPE_REVERT_CANCELLATION = 4;

LINE_ITEM_CHANGE_TYPE_UNSPECIFIED

Sentinel value. Do not use.

LINE_ITEM_CHANGE_TYPE_UNSPECIFIED = 0;

LINE_ITEM_CHANGE_TYPE_UNSPECIFIED_VALUE

Sentinel value. Do not use.

LINE_ITEM_CHANGE_TYPE_UNSPECIFIED = 0;

LINE_ITEM_CHANGE_TYPE_UPDATE

The change is to update an existing line item.

LINE_ITEM_CHANGE_TYPE_UPDATE = 2;

LINE_ITEM_CHANGE_TYPE_UPDATE_VALUE

The change is to update an existing line item.

LINE_ITEM_CHANGE_TYPE_UPDATE = 2;

UNRECOGNIZED

Static Methods

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

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()