public class ProductPackage extends Object
ProductPackage represents a group of products which will be sold together.
Java class for ProductPackage complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ProductPackage">
<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="notes" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="status" type="{https://www.google.com/apis/ads/publisher/v201711}ProductPackageStatus" minOccurs="0"/>
<element name="isArchived" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
<element name="rateCardIds" type="{http://www.w3.org/2001/XMLSchema}long" maxOccurs="unbounded" minOccurs="0"/>
<element name="customFieldValues" type="{https://www.google.com/apis/ads/publisher/v201711}BaseCustomFieldValue" maxOccurs="unbounded" minOccurs="0"/>
<element name="lastModifiedDateTime" type="{https://www.google.com/apis/ads/publisher/v201711}DateTime" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<BaseCustomFieldValue> |
customFieldValues |
protected Long |
id |
protected Boolean |
isArchived |
protected DateTime |
lastModifiedDateTime |
protected String |
name |
protected String |
notes |
protected List<Long> |
rateCardIds |
protected ProductPackageStatus |
status |
| Constructor and Description |
|---|
ProductPackage() |
| Modifier and Type | Method and Description |
|---|---|
List<BaseCustomFieldValue> |
getCustomFieldValues()
Gets the value of the customFieldValues 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.
|
String |
getNotes()
Gets the value of the notes property.
|
List<Long> |
getRateCardIds()
Gets the value of the rateCardIds property.
|
ProductPackageStatus |
getStatus()
Gets the value of the status property.
|
Boolean |
isIsArchived()
Gets the value of the isArchived property.
|
void |
setId(Long value)
Sets the value of the id property.
|
void |
setIsArchived(Boolean value)
Sets the value of the isArchived property.
|
void |
setLastModifiedDateTime(DateTime value)
Sets the value of the lastModifiedDateTime property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setNotes(String value)
Sets the value of the notes property.
|
void |
setStatus(ProductPackageStatus value)
Sets the value of the status property.
|
protected Long id
protected String name
protected String notes
protected ProductPackageStatus status
protected Boolean isArchived
protected List<BaseCustomFieldValue> customFieldValues
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 getNotes()
Stringpublic void setNotes(String value)
value - allowed object is
Stringpublic ProductPackageStatus getStatus()
ProductPackageStatuspublic void setStatus(ProductPackageStatus value)
value - allowed object is
ProductPackageStatuspublic Boolean isIsArchived()
Booleanpublic void setIsArchived(Boolean value)
value - allowed object is
Booleanpublic List<Long> getRateCardIds()
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 rateCardIds property.
For example, to add a new item, do as follows:
getRateCardIds().add(newItem);
Objects of the following type(s) are allowed in the list
Long
public List<BaseCustomFieldValue> getCustomFieldValues()
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 customFieldValues property.
For example, to add a new item, do as follows:
getCustomFieldValues().add(newItem);
Objects of the following type(s) are allowed in the list
BaseCustomFieldValue
public DateTime getLastModifiedDateTime()
DateTimeCopyright © 2018. All Rights Reserved.