public class ProspectiveLineItem extends Object implements Serializable
| Constructor and Description |
|---|
ProspectiveLineItem() |
ProspectiveLineItem(LineItem lineItem,
ProposalLineItem proposalLineItem,
Long advertiserId) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Long |
getAdvertiserId()
Gets the advertiserId value for this ProspectiveLineItem.
|
static org.apache.axis.encoding.Deserializer |
getDeserializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Deserializer
|
LineItem |
getLineItem()
Gets the lineItem value for this ProspectiveLineItem.
|
ProposalLineItem |
getProposalLineItem()
Gets the proposalLineItem value for this ProspectiveLineItem.
|
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
|
int |
hashCode() |
void |
setAdvertiserId(Long advertiserId)
Sets the advertiserId value for this ProspectiveLineItem.
|
void |
setLineItem(LineItem lineItem)
Sets the lineItem value for this ProspectiveLineItem.
|
void |
setProposalLineItem(ProposalLineItem proposalLineItem)
Sets the proposalLineItem value for this ProspectiveLineItem.
|
String |
toString() |
public ProspectiveLineItem()
public ProspectiveLineItem(LineItem lineItem, ProposalLineItem proposalLineItem, Long advertiserId)
public LineItem getLineItem()
LineItemSummary.id is null
or no line item exists with that ID,
then a forecast is computed for the subject, predicting
what would happen if it were added
to the network. If a line item already exists with
LineItemSummary.id, the forecast is
computed for the subject, predicting what would happen
if the existing line item's settings
were modified to match the subject.public void setLineItem(LineItem lineItem)
lineItem - * The target of the forecast. If LineItemSummary.id is null
or no line item exists with that ID,
then a forecast is computed for the subject, predicting
what would happen if it were added
to the network. If a line item already exists with
LineItemSummary.id, the forecast is
computed for the subject, predicting what would happen
if the existing line item's settings
were modified to match the subject.public ProposalLineItem getProposalLineItem()
If ProposalLineItem.id is null or no proposal
line item exists with that ID,
then a forecast is computed for the subject, predicting
what would happen if it were added
to the network. If a proposal line item already exists
with ProposalLineItem.id,
the forecast is computed for the subject, predicting
what would happen if the existing proposal
line item's settings were modified to match the subject.
A proposal line item can optionally correspond
to an order LineItem, in which case,
by forecasting a proposal line item, the corresponding
line item is implicitly ignored in the
forecasting.
Either lineItem or proposalLineItem
should be specified but not both.
public void setProposalLineItem(ProposalLineItem proposalLineItem)
proposalLineItem - * The target of the forecast if this prospective line item is
a proposal line item.
If ProposalLineItem.id is null or no proposal
line item exists with that ID,
then a forecast is computed for the subject, predicting
what would happen if it were added
to the network. If a proposal line item already exists
with ProposalLineItem.id,
the forecast is computed for the subject, predicting
what would happen if the existing proposal
line item's settings were modified to match the subject.
A proposal line item can optionally correspond
to an order LineItem, in which case,
by forecasting a proposal line item, the corresponding
line item is implicitly ignored in the
forecasting.
Either lineItem or proposalLineItem
should be specified but not both.
public Long getAdvertiserId()
public void setAdvertiserId(Long advertiserId)
advertiserId - * When set, the line item is assumed to be from this advertiser,
and unified blocking rules will
apply accordingly. If absent, line items without an
existing order won't be subject to unified
blocking rules.public static org.apache.axis.description.TypeDesc getTypeDesc()
public static org.apache.axis.encoding.Serializer getSerializer(String mechType, Class _javaType, QName _xmlType)
Copyright © 2020. All rights reserved.