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

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

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






RepricingRule (Content API for Shopping v2.1-rev20210325-1.31.0)












com.google.api.services.content.model

Class RepricingRule

    • Constructor Detail

      • RepricingRule

        public RepricingRule()
    • Method Detail

      • getCogsBasedRule

        public RepricingRuleCostOfGoodsSaleRule getCogsBasedRule()
        The rule definition for TYPE_COGS_BASED. Required when the rule type is TYPE_COGS_BASED.
        Returns:
        value or null for none
      • setCogsBasedRule

        public RepricingRule setCogsBasedRule(RepricingRuleCostOfGoodsSaleRule cogsBasedRule)
        The rule definition for TYPE_COGS_BASED. Required when the rule type is TYPE_COGS_BASED.
        Parameters:
        cogsBasedRule - cogsBasedRule or null for none
      • getCountryCode

        public String getCountryCode()
        Required. Immutable. [CLDR country code](http://www.unicode.org/repos/cldr/tags/latest/common/main/en.xml) (e.g. "US").
        Returns:
        value or null for none
      • setCountryCode

        public RepricingRule setCountryCode(String countryCode)
        Required. Immutable. [CLDR country code](http://www.unicode.org/repos/cldr/tags/latest/common/main/en.xml) (e.g. "US").
        Parameters:
        countryCode - countryCode or null for none
      • getEffectiveTimePeriod

        public RepricingRuleEffectiveTime getEffectiveTimePeriod()
        Required. Time period when the rule should take effect.
        Returns:
        value or null for none
      • setEffectiveTimePeriod

        public RepricingRule setEffectiveTimePeriod(RepricingRuleEffectiveTime effectiveTimePeriod)
        Required. Time period when the rule should take effect.
        Parameters:
        effectiveTimePeriod - effectiveTimePeriod or null for none
      • getEligibleOfferMatcher

        public RepricingRuleEligibleOfferMatcher getEligibleOfferMatcher()
        Required. Match criteria for the eligible offers.
        Returns:
        value or null for none
      • setEligibleOfferMatcher

        public RepricingRule setEligibleOfferMatcher(RepricingRuleEligibleOfferMatcher eligibleOfferMatcher)
        Required. Match criteria for the eligible offers.
        Parameters:
        eligibleOfferMatcher - eligibleOfferMatcher or null for none
      • getLanguageCode

        public String getLanguageCode()
        Required. Immutable. The two-letter ISO 639-1 language code associated with the repricing rule.
        Returns:
        value or null for none
      • setLanguageCode

        public RepricingRule setLanguageCode(String languageCode)
        Required. Immutable. The two-letter ISO 639-1 language code associated with the repricing rule.
        Parameters:
        languageCode - languageCode or null for none
      • getMerchantId

        public Long getMerchantId()
        Output only. Immutable. Merchant that owns the repricing rule.
        Returns:
        value or null for none
      • setMerchantId

        public RepricingRule setMerchantId(Long merchantId)
        Output only. Immutable. Merchant that owns the repricing rule.
        Parameters:
        merchantId - merchantId or null for none
      • getPaused

        public Boolean getPaused()
        Represents whether a rule is paused. A paused rule will behave like a non-paused rule within CRUD operations, with the major difference that a paused rule will not be evaluated and will have no effect on offers.
        Returns:
        value or null for none
      • setPaused

        public RepricingRule setPaused(Boolean paused)
        Represents whether a rule is paused. A paused rule will behave like a non-paused rule within CRUD operations, with the major difference that a paused rule will not be evaluated and will have no effect on offers.
        Parameters:
        paused - paused or null for none
      • getRestriction

        public RepricingRuleRestriction getRestriction()
        Required. Restriction of the rule appliance.
        Returns:
        value or null for none
      • setRestriction

        public RepricingRule setRestriction(RepricingRuleRestriction restriction)
        Required. Restriction of the rule appliance.
        Parameters:
        restriction - restriction or null for none
      • getRuleId

        public String getRuleId()
        Output only. Immutable. The ID to uniquely identify each repricing rule.
        Returns:
        value or null for none
      • setRuleId

        public RepricingRule setRuleId(String ruleId)
        Output only. Immutable. The ID to uniquely identify each repricing rule.
        Parameters:
        ruleId - ruleId or null for none
      • getStatsBasedRule

        public RepricingRuleStatsBasedRule getStatsBasedRule()
        The rule definition for TYPE_STATS_BASED. Required when the rule type is TYPE_STATS_BASED.
        Returns:
        value or null for none
      • setStatsBasedRule

        public RepricingRule setStatsBasedRule(RepricingRuleStatsBasedRule statsBasedRule)
        The rule definition for TYPE_STATS_BASED. Required when the rule type is TYPE_STATS_BASED.
        Parameters:
        statsBasedRule - statsBasedRule or null for none
      • getTitle

        public String getTitle()
        The title for the rule.
        Returns:
        value or null for none
      • setTitle

        public RepricingRule setTitle(String title)
        The title for the rule.
        Parameters:
        title - title or null for none
      • getType

        public String getType()
        Required. Immutable. The type of the rule.
        Returns:
        value or null for none
      • setType

        public RepricingRule setType(String type)
        Required. Immutable. The type of the rule.
        Parameters:
        type - type or null for none

Copyright © 2011–2021 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy