Interface CartDataOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    CartData, CartData.Builder

    public interface CartDataOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getFeedCountryCode()
      The country code associated with the feed where the items are uploaded.
      com.google.protobuf.ByteString getFeedCountryCodeBytes()
      The country code associated with the feed where the items are uploaded.
      java.lang.String getFeedLanguageCode()
      The language code associated with the feed where the items are uploaded.
      com.google.protobuf.ByteString getFeedLanguageCodeBytes()
      The language code associated with the feed where the items are uploaded.
      CartData.Item getItems​(int index)
      Data of the items purchased.
      int getItemsCount()
      Data of the items purchased.
      java.util.List<CartData.Item> getItemsList()
      Data of the items purchased.
      CartData.ItemOrBuilder getItemsOrBuilder​(int index)
      Data of the items purchased.
      java.util.List<? extends CartData.ItemOrBuilder> getItemsOrBuilderList()
      Data of the items purchased.
      double getLocalTransactionCost()
      Sum of all transaction level discounts, such as free shipping and coupon discounts for the whole cart.
      long getMerchantId()
      The Merchant Center ID where the items are uploaded.
      • 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

      • getMerchantId

        long getMerchantId()
         The Merchant Center ID where the items are uploaded.
         
        int64 merchant_id = 6;
        Returns:
        The merchantId.
      • getFeedCountryCode

        java.lang.String getFeedCountryCode()
         The country code associated with the feed where the items are uploaded.
         
        string feed_country_code = 2;
        Returns:
        The feedCountryCode.
      • getFeedCountryCodeBytes

        com.google.protobuf.ByteString getFeedCountryCodeBytes()
         The country code associated with the feed where the items are uploaded.
         
        string feed_country_code = 2;
        Returns:
        The bytes for feedCountryCode.
      • getFeedLanguageCode

        java.lang.String getFeedLanguageCode()
         The language code associated with the feed where the items are uploaded.
         
        string feed_language_code = 3;
        Returns:
        The feedLanguageCode.
      • getFeedLanguageCodeBytes

        com.google.protobuf.ByteString getFeedLanguageCodeBytes()
         The language code associated with the feed where the items are uploaded.
         
        string feed_language_code = 3;
        Returns:
        The bytes for feedLanguageCode.
      • getLocalTransactionCost

        double getLocalTransactionCost()
         Sum of all transaction level discounts, such as free shipping and
         coupon discounts for the whole cart. The currency code is the same
         as that in the ClickConversion message.
         
        double local_transaction_cost = 4;
        Returns:
        The localTransactionCost.
      • getItemsList

        java.util.List<CartData.Item> getItemsList()
         Data of the items purchased.
         
        repeated .google.ads.googleads.v10.services.CartData.Item items = 5;
      • getItems

        CartData.Item getItems​(int index)
         Data of the items purchased.
         
        repeated .google.ads.googleads.v10.services.CartData.Item items = 5;
      • getItemsCount

        int getItemsCount()
         Data of the items purchased.
         
        repeated .google.ads.googleads.v10.services.CartData.Item items = 5;
      • getItemsOrBuilderList

        java.util.List<? extends CartData.ItemOrBuilder> getItemsOrBuilderList()
         Data of the items purchased.
         
        repeated .google.ads.googleads.v10.services.CartData.Item items = 5;
      • getItemsOrBuilder

        CartData.ItemOrBuilder getItemsOrBuilder​(int index)
         Data of the items purchased.
         
        repeated .google.ads.googleads.v10.services.CartData.Item items = 5;