public class Goal extends Object implements Serializable
LineItem needs to satisfy to meet
its delivery goal.| Constructor and Description |
|---|
Goal() |
Goal(UnitType unitType,
Long units) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static org.apache.axis.encoding.Deserializer |
getDeserializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Deserializer
|
static org.apache.axis.encoding.Serializer |
getSerializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Serializer
|
static org.apache.axis.description.TypeDesc |
getTypeDesc()
Return type metadata object
|
Long |
getUnits()
Gets the units value for this Goal.
|
UnitType |
getUnitType()
Gets the unitType value for this Goal.
|
int |
hashCode() |
void |
setUnits(Long units)
Sets the units value for this Goal.
|
void |
setUnitType(UnitType unitType)
Sets the unitType value for this Goal.
|
public UnitType getUnitType()
LineItem.public void setUnitType(UnitType unitType)
unitType - * The type of the goal unit for the LineItem.public Long getUnits()
LineItem. If
the line item is of type
LineItemType.SPONSORSHIP, it represents the
percentage of available impressions
reserved. If the line item is of type LineItemType.BULK
or
LineItemType.PRICE_PRIORITY, it represents
the number of remaining impressions
reserved. If the line item is of type LineItemType.NETWORK
or
LineItemType.HOUSE, it represents the percentage
of remaining impressions
reserved.public void setUnits(Long units)
units - * If this is a primary goal, it represents the number or percentage
of impressions or clicks
that will be reserved for the LineItem. If
the line item is of type
LineItemType.SPONSORSHIP, it represents the
percentage of available impressions
reserved. If the line item is of type LineItemType.BULK
or
LineItemType.PRICE_PRIORITY, it represents
the number of remaining impressions
reserved. If the line item is of type LineItemType.NETWORK
or
LineItemType.HOUSE, it represents the percentage
of remaining impressions
reserved.public static org.apache.axis.description.TypeDesc getTypeDesc()
public static org.apache.axis.encoding.Serializer getSerializer(String mechType, Class _javaType, QName _xmlType)
Copyright © 2014. All Rights Reserved.