public final class RepricingRule
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Content API for Shopping. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
RepricingRule() |
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public RepricingRuleCostOfGoodsSaleRule getCogsBasedRule()
null
for nonepublic RepricingRule setCogsBasedRule(RepricingRuleCostOfGoodsSaleRule cogsBasedRule)
cogsBasedRule
- cogsBasedRule or null
for nonepublic String getCountryCode()
null
for nonepublic RepricingRule setCountryCode(String countryCode)
countryCode
- countryCode or null
for nonepublic RepricingRuleEffectiveTime getEffectiveTimePeriod()
null
for nonepublic RepricingRule setEffectiveTimePeriod(RepricingRuleEffectiveTime effectiveTimePeriod)
effectiveTimePeriod
- effectiveTimePeriod or null
for nonepublic RepricingRuleEligibleOfferMatcher getEligibleOfferMatcher()
null
for nonepublic RepricingRule setEligibleOfferMatcher(RepricingRuleEligibleOfferMatcher eligibleOfferMatcher)
eligibleOfferMatcher
- eligibleOfferMatcher or null
for nonepublic String getLanguageCode()
null
for nonepublic RepricingRule setLanguageCode(String languageCode)
languageCode
- languageCode or null
for nonepublic Long getMerchantId()
null
for nonepublic RepricingRule setMerchantId(Long merchantId)
merchantId
- merchantId or null
for nonepublic Boolean getPaused()
null
for nonepublic RepricingRule setPaused(Boolean paused)
paused
- paused or null
for nonepublic RepricingRuleRestriction getRestriction()
null
for nonepublic RepricingRule setRestriction(RepricingRuleRestriction restriction)
restriction
- restriction or null
for nonepublic String getRuleId()
null
for nonepublic RepricingRule setRuleId(String ruleId)
ruleId
- ruleId or null
for nonepublic RepricingRuleStatsBasedRule getStatsBasedRule()
null
for nonepublic RepricingRule setStatsBasedRule(RepricingRuleStatsBasedRule statsBasedRule)
statsBasedRule
- statsBasedRule or null
for nonepublic String getTitle()
null
for nonepublic RepricingRule setTitle(String title)
title
- title or null
for nonepublic String getType()
null
for nonepublic RepricingRule setType(String type)
type
- type or null
for nonepublic RepricingRule set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public RepricingRule clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2023 Google. All rights reserved.