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 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.v1alpha1.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.v1alpha1.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.v1alpha1.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.v1alpha1.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.v1alpha1.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.v1alpha1.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.v1alpha1.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.v1alpha1.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.v1alpha1.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.v1alpha1.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.v1alpha1.LineItemChange change_history = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];