public class RateCard extends Object
Java class for RateCard complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="RateCard">
<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="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="currencyCode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="status" type="{https://www.google.com/apis/ads/publisher/v201802}RateCardStatus" minOccurs="0"/>
<element name="forMarketplace" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
<element name="pricingModel" type="{https://www.google.com/apis/ads/publisher/v201802}PricingModel" minOccurs="0"/>
<element name="appliedTeamIds" type="{http://www.w3.org/2001/XMLSchema}long" maxOccurs="unbounded" minOccurs="0"/>
<element name="lastModifiedDateTime" type="{https://www.google.com/apis/ads/publisher/v201802}DateTime" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<Long> |
appliedTeamIds |
protected String |
currencyCode |
protected Boolean |
forMarketplace |
protected Long |
id |
protected DateTime |
lastModifiedDateTime |
protected String |
name |
protected PricingModel |
pricingModel |
protected RateCardStatus |
status |
| Constructor and Description |
|---|
RateCard() |
| Modifier and Type | Method and Description |
|---|---|
List<Long> |
getAppliedTeamIds()
Gets the value of the appliedTeamIds property.
|
String |
getCurrencyCode()
Gets the value of the currencyCode property.
|
Long |
getId()
Gets the value of the id property.
|
DateTime |
getLastModifiedDateTime()
Gets the value of the lastModifiedDateTime property.
|
String |
getName()
Gets the value of the name property.
|
PricingModel |
getPricingModel()
Gets the value of the pricingModel property.
|
RateCardStatus |
getStatus()
Gets the value of the status property.
|
Boolean |
isForMarketplace()
Gets the value of the forMarketplace property.
|
void |
setCurrencyCode(String value)
Sets the value of the currencyCode property.
|
void |
setForMarketplace(Boolean value)
Sets the value of the forMarketplace property.
|
void |
setId(Long value)
Sets the value of the id property.
|
void |
setLastModifiedDateTime(DateTime value)
Sets the value of the lastModifiedDateTime property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setPricingModel(PricingModel value)
Sets the value of the pricingModel property.
|
void |
setStatus(RateCardStatus value)
Sets the value of the status property.
|
protected Long id
protected String name
protected String currencyCode
protected RateCardStatus status
protected Boolean forMarketplace
protected PricingModel pricingModel
protected DateTime lastModifiedDateTime
public void setId(Long value)
value - allowed object is
Longpublic String getName()
Stringpublic void setName(String value)
value - allowed object is
Stringpublic String getCurrencyCode()
Stringpublic void setCurrencyCode(String value)
value - allowed object is
Stringpublic RateCardStatus getStatus()
RateCardStatuspublic void setStatus(RateCardStatus value)
value - allowed object is
RateCardStatuspublic Boolean isForMarketplace()
Booleanpublic void setForMarketplace(Boolean value)
value - allowed object is
Booleanpublic PricingModel getPricingModel()
PricingModelpublic void setPricingModel(PricingModel value)
value - allowed object is
PricingModelpublic List<Long> getAppliedTeamIds()
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 appliedTeamIds property.
For example, to add a new item, do as follows:
getAppliedTeamIds().add(newItem);
Objects of the following type(s) are allowed in the list
Long
public DateTime getLastModifiedDateTime()
DateTimeCopyright © 2018. All Rights Reserved.