All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.content.model.OrderTrackingSignal.html Maven / Gradle / Ivy







OrderTrackingSignal (Content API for Shopping v2.1-rev20240609-2.0.0)












com.google.api.services.content.model

Class OrderTrackingSignal

    • Constructor Detail

      • OrderTrackingSignal

        public OrderTrackingSignal()
    • Method Detail

      • getCustomerShippingFee

        public PriceAmount getCustomerShippingFee()
        The shipping fee of the order; this value should be set to zero in the case of free shipping.
        Returns:
        value or null for none
      • setCustomerShippingFee

        public OrderTrackingSignal setCustomerShippingFee(PriceAmount customerShippingFee)
        The shipping fee of the order; this value should be set to zero in the case of free shipping.
        Parameters:
        customerShippingFee - customerShippingFee or null for none
      • getDeliveryPostalCode

        public String getDeliveryPostalCode()
        Required. The delivery postal code, as a continuous string without spaces or dashes, e.g. "95016". This field will be anonymized in returned OrderTrackingSignal creation response.
        Returns:
        value or null for none
      • setDeliveryPostalCode

        public OrderTrackingSignal setDeliveryPostalCode(String deliveryPostalCode)
        Required. The delivery postal code, as a continuous string without spaces or dashes, e.g. "95016". This field will be anonymized in returned OrderTrackingSignal creation response.
        Parameters:
        deliveryPostalCode - deliveryPostalCode or null for none
      • getDeliveryRegionCode

        public String getDeliveryRegionCode()
        Required. The [CLDR territory code] (http://www.unicode.org/repos/cldr/tags/latest/common/main/en.xml) for the shipping destination.
        Returns:
        value or null for none
      • setDeliveryRegionCode

        public OrderTrackingSignal setDeliveryRegionCode(String deliveryRegionCode)
        Required. The [CLDR territory code] (http://www.unicode.org/repos/cldr/tags/latest/common/main/en.xml) for the shipping destination.
        Parameters:
        deliveryRegionCode - deliveryRegionCode or null for none
      • getMerchantId

        public Long getMerchantId()
        The Google merchant ID of this order tracking signal. This value is optional. If left unset, the caller's merchant ID is used. You must request access in order to provide data on behalf of another merchant. For more information, see [Submitting Order Tracking Signals](/shopping- content/guides/order-tracking-signals).
        Returns:
        value or null for none
      • setMerchantId

        public OrderTrackingSignal setMerchantId(Long merchantId)
        The Google merchant ID of this order tracking signal. This value is optional. If left unset, the caller's merchant ID is used. You must request access in order to provide data on behalf of another merchant. For more information, see [Submitting Order Tracking Signals](/shopping- content/guides/order-tracking-signals).
        Parameters:
        merchantId - merchantId or null for none
      • getOrderCreatedTime

        public DateTime getOrderCreatedTime()
        Required. The time when the order was created on the merchant side. Include the year and timezone string, if available.
        Returns:
        value or null for none
      • setOrderCreatedTime

        public OrderTrackingSignal setOrderCreatedTime(DateTime orderCreatedTime)
        Required. The time when the order was created on the merchant side. Include the year and timezone string, if available.
        Parameters:
        orderCreatedTime - orderCreatedTime or null for none
      • getOrderId

        public String getOrderId()
        Required. The ID of the order on the merchant side. This field will be hashed in returned OrderTrackingSignal creation response.
        Returns:
        value or null for none
      • setOrderId

        public OrderTrackingSignal setOrderId(String orderId)
        Required. The ID of the order on the merchant side. This field will be hashed in returned OrderTrackingSignal creation response.
        Parameters:
        orderId - orderId or null for none
      • getOrderTrackingSignalId

        public Long getOrderTrackingSignalId()
        Output only. The ID that uniquely identifies this order tracking signal.
        Returns:
        value or null for none
      • setOrderTrackingSignalId

        public OrderTrackingSignal setOrderTrackingSignalId(Long orderTrackingSignalId)
        Output only. The ID that uniquely identifies this order tracking signal.
        Parameters:
        orderTrackingSignalId - orderTrackingSignalId or null for none
      • clone

        public OrderTrackingSignal clone()
        Overrides:
        clone in class com.google.api.client.json.GenericJson

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy