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

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

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






OrderLegacyPromotion (Content API for Shopping v2-rev20210113-1.31.0)












com.google.api.services.content.model

Class OrderLegacyPromotion

    • Constructor Detail

      • OrderLegacyPromotion

        public OrderLegacyPromotion()
    • Method Detail

      • getEffectiveDates

        public String getEffectiveDates()
        The date and time frame when the promotion is active and ready for validation review. Note that the promotion live time may be delayed for a few hours due to the validation review. Start date and end date are separated by a forward slash (/). The start date is specified by the format (YYYY-MM-DD), followed by the letter ?T?, the time of the day when the sale starts (in Greenwich Mean Time, GMT), followed by an expression of the time zone for the sale. The end date is in the same format.
        Returns:
        value or null for none
      • setEffectiveDates

        public OrderLegacyPromotion setEffectiveDates(String effectiveDates)
        The date and time frame when the promotion is active and ready for validation review. Note that the promotion live time may be delayed for a few hours due to the validation review. Start date and end date are separated by a forward slash (/). The start date is specified by the format (YYYY-MM-DD), followed by the letter ?T?, the time of the day when the sale starts (in Greenwich Mean Time, GMT), followed by an expression of the time zone for the sale. The end date is in the same format.
        Parameters:
        effectiveDates - effectiveDates or null for none
      • getGenericRedemptionCode

        public String getGenericRedemptionCode()
        Optional. The text code that corresponds to the promotion when applied on the retailer?s website.
        Returns:
        value or null for none
      • setGenericRedemptionCode

        public OrderLegacyPromotion setGenericRedemptionCode(String genericRedemptionCode)
        Optional. The text code that corresponds to the promotion when applied on the retailer?s website.
        Parameters:
        genericRedemptionCode - genericRedemptionCode or null for none
      • getId

        public String getId()
        The unique ID of the promotion.
        Returns:
        value or null for none
      • getLongTitle

        public String getLongTitle()
        The full title of the promotion.
        Returns:
        value or null for none
      • setLongTitle

        public OrderLegacyPromotion setLongTitle(String longTitle)
        The full title of the promotion.
        Parameters:
        longTitle - longTitle or null for none
      • getProductApplicability

        public String getProductApplicability()
        Whether the promotion is applicable to all products or only specific products. Acceptable values are: - "`allProducts`" - "`specificProducts`"
        Returns:
        value or null for none
      • setProductApplicability

        public OrderLegacyPromotion setProductApplicability(String productApplicability)
        Whether the promotion is applicable to all products or only specific products. Acceptable values are: - "`allProducts`" - "`specificProducts`"
        Parameters:
        productApplicability - productApplicability or null for none
      • getRedemptionChannel

        public String getRedemptionChannel()
        Indicates that the promotion is valid online. Acceptable values are: - "`online`"
        Returns:
        value or null for none
      • setRedemptionChannel

        public OrderLegacyPromotion setRedemptionChannel(String redemptionChannel)
        Indicates that the promotion is valid online. Acceptable values are: - "`online`"
        Parameters:
        redemptionChannel - redemptionChannel or null for none

Copyright © 2011–2021 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy