Google Cloud Commerce Consumer Procurement V1 Client - Class LineItemChangeType (1.0.0)

Reference documentation and code samples for the Google Cloud Commerce Consumer Procurement V1 Client class LineItemChangeType.

Type of a line item change.

Protobuf type google.cloud.commerce.consumer.procurement.v1.LineItemChangeType

Namespace

Google \ Cloud \ Commerce \ Consumer \ Procurement \ V1

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

LINE_ITEM_CHANGE_TYPE_UNSPECIFIED

Value: 0

Sentinel value. Do not use.

Generated from protobuf enum LINE_ITEM_CHANGE_TYPE_UNSPECIFIED = 0;

LINE_ITEM_CHANGE_TYPE_CREATE

Value: 1

The change is to create a new line item.

Generated from protobuf enum LINE_ITEM_CHANGE_TYPE_CREATE = 1;

LINE_ITEM_CHANGE_TYPE_UPDATE

Value: 2

The change is to update an existing line item.

Generated from protobuf enum LINE_ITEM_CHANGE_TYPE_UPDATE = 2;

LINE_ITEM_CHANGE_TYPE_CANCEL

Value: 3

The change is to cancel an existing line item.

Generated from protobuf enum LINE_ITEM_CHANGE_TYPE_CANCEL = 3;

LINE_ITEM_CHANGE_TYPE_REVERT_CANCELLATION

Value: 4

The change is to revert a cancellation.

Generated from protobuf enum LINE_ITEM_CHANGE_TYPE_REVERT_CANCELLATION = 4;