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
Modifier and TypeMethodDescriptionThe country code associated with the feed where the items are uploaded.com.google.protobuf.ByteStringThe country code associated with the feed where the items are uploaded.The language code associated with the feed where the items are uploaded.com.google.protobuf.ByteStringThe language code associated with the feed where the items are uploaded.getItems(int index) Data of the items purchased.intData of the items purchased.Data of the items purchased.getItemsOrBuilder(int index) Data of the items purchased.List<? extends CartData.ItemOrBuilder>Data of the items purchased.doubleSum of all transaction level discounts, such as free shipping and coupon discounts for the whole cart.longThe Merchant Center ID where the items are uploaded.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
-
getMerchantId
long getMerchantId()The Merchant Center ID where the items are uploaded.
int64 merchant_id = 6;- Returns:
- The merchantId.
-
getFeedCountryCode
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
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
List<CartData.Item> getItemsList()Data of the items purchased.
repeated .google.ads.googleads.v18.services.CartData.Item items = 5; -
getItems
Data of the items purchased.
repeated .google.ads.googleads.v18.services.CartData.Item items = 5; -
getItemsCount
int getItemsCount()Data of the items purchased.
repeated .google.ads.googleads.v18.services.CartData.Item items = 5; -
getItemsOrBuilderList
List<? extends CartData.ItemOrBuilder> getItemsOrBuilderList()Data of the items purchased.
repeated .google.ads.googleads.v18.services.CartData.Item items = 5; -
getItemsOrBuilder
Data of the items purchased.
repeated .google.ads.googleads.v18.services.CartData.Item items = 5;
-