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

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

There is a newer version: v2.1-rev20241217-2.0.0
Show newest version






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












com.google.api.services.content.model

Class OrderPromotionItem

    • Constructor Detail

      • OrderPromotionItem

        public OrderPromotionItem()
    • Method Detail

      • getLineItemId

        public String getLineItemId()
        The line item ID of a product. Do not provide for `orders.createtestorder`.
        Returns:
        value or null for none
      • setLineItemId

        public OrderPromotionItem setLineItemId(String lineItemId)
        The line item ID of a product. Do not provide for `orders.createtestorder`.
        Parameters:
        lineItemId - lineItemId or null for none
      • getOfferId

        public String getOfferId()
        Required. Offer ID of a product. Only for `orders.createtestorder`.
        Returns:
        value or null for none
      • setOfferId

        public OrderPromotionItem setOfferId(String offerId)
        Required. Offer ID of a product. Only for `orders.createtestorder`.
        Parameters:
        offerId - offerId or null for none
      • getProductId

        public String getProductId()
        `orders.createtestorder`.
        Returns:
        value or null for none
      • setProductId

        public OrderPromotionItem setProductId(String productId)
        `orders.createtestorder`.
        Parameters:
        productId - productId or null for none
      • getQuantity

        public Integer getQuantity()
        The quantity of the associated product. Do not provide for `orders.createtestorder`.
        Returns:
        value or null for none
      • setQuantity

        public OrderPromotionItem setQuantity(Integer quantity)
        The quantity of the associated product. Do not provide for `orders.createtestorder`.
        Parameters:
        quantity - quantity or null for none
      • clone

        public OrderPromotionItem 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