public class PremiumRate extends Object
PremiumRateValue objects with the same PremiumFeature.
Java class for PremiumRate complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="PremiumRate">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="id" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
<element name="rateCardId" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
<element name="pricingMethod" type="{https://www.google.com/apis/ads/publisher/v201708}PricingMethod" minOccurs="0"/>
<element name="premiumFeature" type="{https://www.google.com/apis/ads/publisher/v201708}PremiumFeature" minOccurs="0"/>
<element name="premiumRateValues" type="{https://www.google.com/apis/ads/publisher/v201708}PremiumRateValue" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Long |
id |
protected PremiumFeature |
premiumFeature |
protected List<PremiumRateValue> |
premiumRateValues |
protected PricingMethod |
pricingMethod |
protected Long |
rateCardId |
| Constructor and Description |
|---|
PremiumRate() |
| Modifier and Type | Method and Description |
|---|---|
Long |
getId()
Gets the value of the id property.
|
PremiumFeature |
getPremiumFeature()
Gets the value of the premiumFeature property.
|
List<PremiumRateValue> |
getPremiumRateValues()
Gets the value of the premiumRateValues property.
|
PricingMethod |
getPricingMethod()
Gets the value of the pricingMethod property.
|
Long |
getRateCardId()
Gets the value of the rateCardId property.
|
void |
setId(Long value)
Sets the value of the id property.
|
void |
setPremiumFeature(PremiumFeature value)
Sets the value of the premiumFeature property.
|
void |
setPricingMethod(PricingMethod value)
Sets the value of the pricingMethod property.
|
void |
setRateCardId(Long value)
Sets the value of the rateCardId property.
|
protected Long id
protected Long rateCardId
protected PricingMethod pricingMethod
protected PremiumFeature premiumFeature
protected List<PremiumRateValue> premiumRateValues
public void setId(Long value)
value - allowed object is
Longpublic Long getRateCardId()
Longpublic void setRateCardId(Long value)
value - allowed object is
Longpublic PricingMethod getPricingMethod()
PricingMethodpublic void setPricingMethod(PricingMethod value)
value - allowed object is
PricingMethodpublic PremiumFeature getPremiumFeature()
PremiumFeaturepublic void setPremiumFeature(PremiumFeature value)
value - allowed object is
PremiumFeaturepublic List<PremiumRateValue> getPremiumRateValues()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the premiumRateValues property.
For example, to add a new item, do as follows:
getPremiumRateValues().add(newItem);
Objects of the following type(s) are allowed in the list
PremiumRateValue
Copyright © 2018. All Rights Reserved.