Package ai.promoted.proto.event
Interface CartContentOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CartContent,CartContent.Builder
public interface CartContentOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetContentId()string content_id = 1 [json_name = "contentId"];com.google.protobuf.ByteStringgetContentIdBytes()string content_id = 1 [json_name = "contentId"];MoneygetPricePerUnit().common.Money price_per_unit = 3 [json_name = "pricePerUnit"];MoneyOrBuildergetPricePerUnitOrBuilder().common.Money price_per_unit = 3 [json_name = "pricePerUnit"];longgetQuantity()int64 quantity = 2 [json_name = "quantity"];booleanhasPricePerUnit().common.Money price_per_unit = 3 [json_name = "pricePerUnit"];-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getContentId
String getContentId()
string content_id = 1 [json_name = "contentId"];- Returns:
- The contentId.
-
getContentIdBytes
com.google.protobuf.ByteString getContentIdBytes()
string content_id = 1 [json_name = "contentId"];- Returns:
- The bytes for contentId.
-
getQuantity
long getQuantity()
int64 quantity = 2 [json_name = "quantity"];- Returns:
- The quantity.
-
hasPricePerUnit
boolean hasPricePerUnit()
.common.Money price_per_unit = 3 [json_name = "pricePerUnit"];- Returns:
- Whether the pricePerUnit field is set.
-
getPricePerUnit
Money getPricePerUnit()
.common.Money price_per_unit = 3 [json_name = "pricePerUnit"];- Returns:
- The pricePerUnit.
-
getPricePerUnitOrBuilder
MoneyOrBuilder getPricePerUnitOrBuilder()
.common.Money price_per_unit = 3 [json_name = "pricePerUnit"];
-
-