Interface LineItemOrBuilder (0.22.0)

public interface LineItemOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getChangeHistory(int index)

public abstract LineItemChange getChangeHistory(int index)

Output only. Changes made on the item that are not pending anymore which might be because they already took effect, were reverted by the customer, or were rejected by the partner. No more operations are allowed on these changes.

repeated .google.cloud.commerce.consumer.procurement.v1.LineItemChange change_history = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint
Returns
TypeDescription
LineItemChange

getChangeHistoryCount()

public abstract int getChangeHistoryCount()

Output only. Changes made on the item that are not pending anymore which might be because they already took effect, were reverted by the customer, or were rejected by the partner. No more operations are allowed on these changes.

repeated .google.cloud.commerce.consumer.procurement.v1.LineItemChange change_history = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

getChangeHistoryList()

public abstract List<LineItemChange> getChangeHistoryList()

Output only. Changes made on the item that are not pending anymore which might be because they already took effect, were reverted by the customer, or were rejected by the partner. No more operations are allowed on these changes.

repeated .google.cloud.commerce.consumer.procurement.v1.LineItemChange change_history = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
List<LineItemChange>

getChangeHistoryOrBuilder(int index)

public abstract LineItemChangeOrBuilder getChangeHistoryOrBuilder(int index)

Output only. Changes made on the item that are not pending anymore which might be because they already took effect, were reverted by the customer, or were rejected by the partner. No more operations are allowed on these changes.

repeated .google.cloud.commerce.consumer.procurement.v1.LineItemChange change_history = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint
Returns
TypeDescription
LineItemChangeOrBuilder

getChangeHistoryOrBuilderList()

public abstract List<? extends LineItemChangeOrBuilder> getChangeHistoryOrBuilderList()

Output only. Changes made on the item that are not pending anymore which might be because they already took effect, were reverted by the customer, or were rejected by the partner. No more operations are allowed on these changes.

repeated .google.cloud.commerce.consumer.procurement.v1.LineItemChange change_history = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
List<? extends com.google.cloud.commerce.consumer.procurement.v1.LineItemChangeOrBuilder>

getLineItemId()

public abstract String getLineItemId()

Output only. Line item ID.

string line_item_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The lineItemId.

getLineItemIdBytes()

public abstract ByteString getLineItemIdBytes()

Output only. Line item ID.

string line_item_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for lineItemId.

getLineItemInfo()

public abstract LineItemInfo getLineItemInfo()

Output only. Current state and information of this item. It tells what, e.g. which offer, is currently effective.

.google.cloud.commerce.consumer.procurement.v1.LineItemInfo line_item_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
LineItemInfo

The lineItemInfo.

getLineItemInfoOrBuilder()

public abstract LineItemInfoOrBuilder getLineItemInfoOrBuilder()

Output only. Current state and information of this item. It tells what, e.g. which offer, is currently effective.

.google.cloud.commerce.consumer.procurement.v1.LineItemInfo line_item_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
LineItemInfoOrBuilder

getPendingChange()

public abstract LineItemChange getPendingChange()

Output only. A change made on the item which is pending and not yet effective. Absence of this field indicates the line item is not undergoing a change.

.google.cloud.commerce.consumer.procurement.v1.LineItemChange pending_change = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
LineItemChange

The pendingChange.

getPendingChangeOrBuilder()

public abstract LineItemChangeOrBuilder getPendingChangeOrBuilder()

Output only. A change made on the item which is pending and not yet effective. Absence of this field indicates the line item is not undergoing a change.

.google.cloud.commerce.consumer.procurement.v1.LineItemChange pending_change = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
LineItemChangeOrBuilder

hasLineItemInfo()

public abstract boolean hasLineItemInfo()

Output only. Current state and information of this item. It tells what, e.g. which offer, is currently effective.

.google.cloud.commerce.consumer.procurement.v1.LineItemInfo line_item_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the lineItemInfo field is set.

hasPendingChange()

public abstract boolean hasPendingChange()

Output only. A change made on the item which is pending and not yet effective. Absence of this field indicates the line item is not undergoing a change.

.google.cloud.commerce.consumer.procurement.v1.LineItemChange pending_change = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the pendingChange field is set.