Interface TransactionAttributeOrBuilder

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

public interface TransactionAttributeOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • hasTransactionDateTime

      boolean hasTransactionDateTime()
       Timestamp when transaction occurred. Required.
       The format is "YYYY-MM-DD HH:MM:SS[+/-HH:MM]", where [+/-HH:MM] is an
       optional timezone offset from UTC. If the offset is absent, the API will
       use the account's timezone as default.
       Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30+03:00"
       
      optional string transaction_date_time = 8;
      Returns:
      Whether the transactionDateTime field is set.
    • getTransactionDateTime

      String getTransactionDateTime()
       Timestamp when transaction occurred. Required.
       The format is "YYYY-MM-DD HH:MM:SS[+/-HH:MM]", where [+/-HH:MM] is an
       optional timezone offset from UTC. If the offset is absent, the API will
       use the account's timezone as default.
       Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30+03:00"
       
      optional string transaction_date_time = 8;
      Returns:
      The transactionDateTime.
    • getTransactionDateTimeBytes

      com.google.protobuf.ByteString getTransactionDateTimeBytes()
       Timestamp when transaction occurred. Required.
       The format is "YYYY-MM-DD HH:MM:SS[+/-HH:MM]", where [+/-HH:MM] is an
       optional timezone offset from UTC. If the offset is absent, the API will
       use the account's timezone as default.
       Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30+03:00"
       
      optional string transaction_date_time = 8;
      Returns:
      The bytes for transactionDateTime.
    • hasTransactionAmountMicros

      boolean hasTransactionAmountMicros()
       Transaction amount in micros. Required.
       Transaction amount in micros needs to be greater than 1000.
       If item Attributes are provided, it represents the total value of the
       items, after multiplying the unit price per item by the quantity provided
       in the ItemAttributes.
       
      optional double transaction_amount_micros = 9;
      Returns:
      Whether the transactionAmountMicros field is set.
    • getTransactionAmountMicros

      double getTransactionAmountMicros()
       Transaction amount in micros. Required.
       Transaction amount in micros needs to be greater than 1000.
       If item Attributes are provided, it represents the total value of the
       items, after multiplying the unit price per item by the quantity provided
       in the ItemAttributes.
       
      optional double transaction_amount_micros = 9;
      Returns:
      The transactionAmountMicros.
    • hasCurrencyCode

      boolean hasCurrencyCode()
       Transaction currency code. ISO 4217 three-letter code is used. Required.
       
      optional string currency_code = 10;
      Returns:
      Whether the currencyCode field is set.
    • getCurrencyCode

      String getCurrencyCode()
       Transaction currency code. ISO 4217 three-letter code is used. Required.
       
      optional string currency_code = 10;
      Returns:
      The currencyCode.
    • getCurrencyCodeBytes

      com.google.protobuf.ByteString getCurrencyCodeBytes()
       Transaction currency code. ISO 4217 three-letter code is used. Required.
       
      optional string currency_code = 10;
      Returns:
      The bytes for currencyCode.
    • hasConversionAction

      boolean hasConversionAction()
       The resource name of conversion action to report conversions to.
       Required.
       
      optional string conversion_action = 11;
      Returns:
      Whether the conversionAction field is set.
    • getConversionAction

      String getConversionAction()
       The resource name of conversion action to report conversions to.
       Required.
       
      optional string conversion_action = 11;
      Returns:
      The conversionAction.
    • getConversionActionBytes

      com.google.protobuf.ByteString getConversionActionBytes()
       The resource name of conversion action to report conversions to.
       Required.
       
      optional string conversion_action = 11;
      Returns:
      The bytes for conversionAction.
    • hasOrderId

      boolean hasOrderId()
       Transaction order id. Useful to group transactions which are part of the
       same order.
       
      optional string order_id = 12;
      Returns:
      Whether the orderId field is set.
    • getOrderId

      String getOrderId()
       Transaction order id. Useful to group transactions which are part of the
       same order.
       
      optional string order_id = 12;
      Returns:
      The orderId.
    • getOrderIdBytes

      com.google.protobuf.ByteString getOrderIdBytes()
       Transaction order id. Useful to group transactions which are part of the
       same order.
       
      optional string order_id = 12;
      Returns:
      The bytes for orderId.
    • hasStoreAttribute

      boolean hasStoreAttribute()
       Store attributes of the transaction.
       
      .google.ads.googleads.v18.common.StoreAttribute store_attribute = 6;
      Returns:
      Whether the storeAttribute field is set.
    • getStoreAttribute

      StoreAttribute getStoreAttribute()
       Store attributes of the transaction.
       
      .google.ads.googleads.v18.common.StoreAttribute store_attribute = 6;
      Returns:
      The storeAttribute.
    • getStoreAttributeOrBuilder

      StoreAttributeOrBuilder getStoreAttributeOrBuilder()
       Store attributes of the transaction.
       
      .google.ads.googleads.v18.common.StoreAttribute store_attribute = 6;
    • hasCustomValue

      boolean hasCustomValue()
       Value of the custom variable for each transaction.
       Allowed only if a custom key is provided in the store sales metadata.
       
      optional string custom_value = 13;
      Returns:
      Whether the customValue field is set.
    • getCustomValue

      String getCustomValue()
       Value of the custom variable for each transaction.
       Allowed only if a custom key is provided in the store sales metadata.
       
      optional string custom_value = 13;
      Returns:
      The customValue.
    • getCustomValueBytes

      com.google.protobuf.ByteString getCustomValueBytes()
       Value of the custom variable for each transaction.
       Allowed only if a custom key is provided in the store sales metadata.
       
      optional string custom_value = 13;
      Returns:
      The bytes for customValue.
    • hasItemAttribute

      boolean hasItemAttribute()
       Item attributes of the transaction.
       Accessible only to customers on the allow-list.
       
      .google.ads.googleads.v18.common.ItemAttribute item_attribute = 14;
      Returns:
      Whether the itemAttribute field is set.
    • getItemAttribute

      ItemAttribute getItemAttribute()
       Item attributes of the transaction.
       Accessible only to customers on the allow-list.
       
      .google.ads.googleads.v18.common.ItemAttribute item_attribute = 14;
      Returns:
      The itemAttribute.
    • getItemAttributeOrBuilder

      ItemAttributeOrBuilder getItemAttributeOrBuilder()
       Item attributes of the transaction.
       Accessible only to customers on the allow-list.
       
      .google.ads.googleads.v18.common.ItemAttribute item_attribute = 14;