public class Goal extends Object
LineItem needs to satisfy to meet its delivery goal.
Java class for Goal complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Goal">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="goalType" type="{https://www.google.com/apis/ads/publisher/v201711}GoalType" minOccurs="0"/>
<element name="unitType" type="{https://www.google.com/apis/ads/publisher/v201711}UnitType" minOccurs="0"/>
<element name="units" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected GoalType |
goalType |
protected Long |
units |
protected UnitType |
unitType |
| Constructor and Description |
|---|
Goal() |
| Modifier and Type | Method and Description |
|---|---|
GoalType |
getGoalType()
Gets the value of the goalType property.
|
Long |
getUnits()
Gets the value of the units property.
|
UnitType |
getUnitType()
Gets the value of the unitType property.
|
void |
setGoalType(GoalType value)
Sets the value of the goalType property.
|
void |
setUnits(Long value)
Sets the value of the units property.
|
void |
setUnitType(UnitType value)
Sets the value of the unitType property.
|
protected GoalType goalType
protected UnitType unitType
protected Long units
public GoalType getGoalType()
GoalTypepublic void setGoalType(GoalType value)
value - allowed object is
GoalTypepublic UnitType getUnitType()
UnitTypepublic void setUnitType(UnitType value)
value - allowed object is
UnitTypepublic Long getUnits()
LongCopyright © 2018. All Rights Reserved.