Interface LineItemOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
LineItem
,LineItem.Builder
public interface LineItemOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LineItemChange
getChangeHistory(int index)
Output only.int
getChangeHistoryCount()
Output only.List<LineItemChange>
getChangeHistoryList()
Output only.LineItemChangeOrBuilder
getChangeHistoryOrBuilder(int index)
Output only.List<? extends LineItemChangeOrBuilder>
getChangeHistoryOrBuilderList()
Output only.String
getLineItemId()
Output only.com.google.protobuf.ByteString
getLineItemIdBytes()
Output only.LineItemInfo
getLineItemInfo()
Output only.LineItemInfoOrBuilder
getLineItemInfoOrBuilder()
Output only.LineItemChange
getPendingChange()
Output only.LineItemChangeOrBuilder
getPendingChangeOrBuilder()
Output only.boolean
hasLineItemInfo()
Output only.boolean
hasPendingChange()
Output only.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getLineItemId
String getLineItemId()
Output only. Line item ID.
string line_item_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The lineItemId.
-
getLineItemIdBytes
com.google.protobuf.ByteString getLineItemIdBytes()
Output only. Line item ID.
string line_item_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The bytes for lineItemId.
-
hasLineItemInfo
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:
- Whether the lineItemInfo field is set.
-
getLineItemInfo
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:
- The lineItemInfo.
-
getLineItemInfoOrBuilder
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];
-
hasPendingChange
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:
- Whether the pendingChange field is set.
-
getPendingChange
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:
- The pendingChange.
-
getPendingChangeOrBuilder
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];
-
getChangeHistoryList
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];
-
getChangeHistory
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];
-
getChangeHistoryCount
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];
-
getChangeHistoryOrBuilderList
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];
-
getChangeHistoryOrBuilder
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];
-
-