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

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

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






Promotion (Content API for Shopping v2.1-rev20190215-1.27.0)












com.google.api.services.content.model

Class Promotion

    • Constructor Detail

      • Promotion

        public Promotion()
    • Method Detail

      • getPromotionAmount

        public Amount getPromotionAmount()
        [required] Amount of the promotion. The values here are the promotion applied to the unit price pretax and to the total of the tax amounts.
        Returns:
        value or null for none
      • setPromotionAmount

        public Promotion setPromotionAmount(Amount promotionAmount)
        [required] Amount of the promotion. The values here are the promotion applied to the unit price pretax and to the total of the tax amounts.
        Parameters:
        promotionAmount - promotionAmount or null for none
      • getPromotionId

        public String getPromotionId()
        [required] ID of the promotion.
        Returns:
        value or null for none
      • setPromotionId

        public Promotion setPromotionId(String promotionId)
        [required] ID of the promotion.
        Parameters:
        promotionId - promotionId or null for none
      • set

        public Promotion set(String fieldName,
                             Object value)
        Overrides:
        set in class com.google.api.client.json.GenericJson
      • clone

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

Copyright © 2011–2019 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy