Interface ModifyOrderRequest.ModificationOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ModifyOrderRequest.Modification,ModifyOrderRequest.Modification.Builder
- Enclosing class:
- ModifyOrderRequest
public static interface ModifyOrderRequest.ModificationOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionOptional.intOptional.Required.intRequired.Required.com.google.protobuf.ByteStringRequired.Optional.Optional.booleanOptional.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getLineItemId
String getLineItemId()Required. ID of the existing line item to make change to. Required when change type is [LineItemChangeType.LINE_ITEM_CHANGE_TYPE_UPDATE] or [LineItemChangeType.LINE_ITEM_CHANGE_TYPE_CANCEL].
string line_item_id = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The lineItemId.
-
getLineItemIdBytes
com.google.protobuf.ByteString getLineItemIdBytes()Required. ID of the existing line item to make change to. Required when change type is [LineItemChangeType.LINE_ITEM_CHANGE_TYPE_UPDATE] or [LineItemChangeType.LINE_ITEM_CHANGE_TYPE_CANCEL].
string line_item_id = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for lineItemId.
-
getChangeTypeValue
int getChangeTypeValue()Required. Type of change to make.
.google.cloud.commerce.consumer.procurement.v1.LineItemChangeType change_type = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The enum numeric value on the wire for changeType.
-
getChangeType
LineItemChangeType getChangeType()Required. Type of change to make.
.google.cloud.commerce.consumer.procurement.v1.LineItemChangeType change_type = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The changeType.
-
hasNewLineItemInfo
boolean hasNewLineItemInfo()Optional. The line item to update to. Required when change_type is [LineItemChangeType.LINE_ITEM_CHANGE_TYPE_CREATE] or [LineItemChangeType.LINE_ITEM_CHANGE_TYPE_UPDATE].
.google.cloud.commerce.consumer.procurement.v1.LineItemInfo new_line_item_info = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the newLineItemInfo field is set.
-
getNewLineItemInfo
LineItemInfo getNewLineItemInfo()Optional. The line item to update to. Required when change_type is [LineItemChangeType.LINE_ITEM_CHANGE_TYPE_CREATE] or [LineItemChangeType.LINE_ITEM_CHANGE_TYPE_UPDATE].
.google.cloud.commerce.consumer.procurement.v1.LineItemInfo new_line_item_info = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The newLineItemInfo.
-
getNewLineItemInfoOrBuilder
LineItemInfoOrBuilder getNewLineItemInfoOrBuilder()Optional. The line item to update to. Required when change_type is [LineItemChangeType.LINE_ITEM_CHANGE_TYPE_CREATE] or [LineItemChangeType.LINE_ITEM_CHANGE_TYPE_UPDATE].
.google.cloud.commerce.consumer.procurement.v1.LineItemInfo new_line_item_info = 3 [(.google.api.field_behavior) = OPTIONAL]; -
getAutoRenewalBehaviorValue
int getAutoRenewalBehaviorValue()Optional. Auto renewal behavior of the subscription for the update. Applied when change_type is [LineItemChangeType.LINE_ITEM_CHANGE_TYPE_UPDATE]. Follows plan default config when this field is not specified.
.google.cloud.commerce.consumer.procurement.v1.AutoRenewalBehavior auto_renewal_behavior = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The enum numeric value on the wire for autoRenewalBehavior.
-
getAutoRenewalBehavior
AutoRenewalBehavior getAutoRenewalBehavior()Optional. Auto renewal behavior of the subscription for the update. Applied when change_type is [LineItemChangeType.LINE_ITEM_CHANGE_TYPE_UPDATE]. Follows plan default config when this field is not specified.
.google.cloud.commerce.consumer.procurement.v1.AutoRenewalBehavior auto_renewal_behavior = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The autoRenewalBehavior.
-