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
      String getContentId()
      string content_id = 1 [json_name = "contentId"];
      com.google.protobuf.ByteString getContentIdBytes()
      string content_id = 1 [json_name = "contentId"];
      Money getPricePerUnit()
      .common.Money price_per_unit = 3 [json_name = "pricePerUnit"];
      MoneyOrBuilder getPricePerUnitOrBuilder()
      .common.Money price_per_unit = 3 [json_name = "pricePerUnit"];
      long getQuantity()
      int64 quantity = 2 [json_name = "quantity"];
      boolean hasPricePerUnit()
      .common.Money price_per_unit = 3 [json_name = "pricePerUnit"];
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • 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"];