|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface LineItemServiceInterface
| Method Summary | |
|---|---|
LineItem |
createLineItem(LineItem lineItem)
Creates a new LineItem. |
LineItem[] |
createLineItems(LineItem[] lineItems)
Creates new LineItem objects. |
LineItem |
getLineItem(Long lineItemId)
Returns the LineItem uniquely identified by the given
ID. |
LineItemPage |
getLineItemsByStatement(Statement filterStatement)
Gets a LineItemPage of LineItem objects that
satisfy the
given Statement.query. |
UpdateResult |
performLineItemAction(LineItemAction lineItemAction,
Statement filterStatement)
Performs actions on LineItem objects that match the
given
Statement.query. |
LineItem |
updateLineItem(LineItem lineItem)
Updates the specified LineItem. |
LineItem[] |
updateLineItems(LineItem[] lineItems)
Updates the specified LineItem objects. |
| Method Detail |
|---|
LineItem createLineItem(LineItem lineItem)
throws RemoteException,
ApiException
LineItem.
These fields are required:
LineItemSummary.costPerUnitLineItemSummary.costTypeLineItemSummary.endDateTimeLineItemSummary.lineItemTypeLineItemSummary.nameLineItemSummary.orderIdLineItemSummary.startDateTimeLineItemSummary.unitsBoughtLineItem#creativeSizesLineItem.targeting
lineItem - the line item to create
RemoteException
ApiException
LineItem[] createLineItems(LineItem[] lineItems)
throws RemoteException,
ApiException
LineItem objects.
lineItems - the line items to create
RemoteException
ApiException
LineItem getLineItem(Long lineItemId)
throws RemoteException,
ApiException
LineItem uniquely identified by the given
ID.
lineItemId - the ID of the line item, which must already exist
LineItem uniquely identified by the given ID
RemoteException
ApiException
LineItemPage getLineItemsByStatement(Statement filterStatement)
throws RemoteException,
ApiException
LineItemPage of LineItem objects that
satisfy the
given Statement.query. The following fields are supported
for
filtering:
| PQL Property | Object Property |
|---|---|
costType |
LineItemSummary.costType |
id |
LineItemSummary.id |
lineItemType |
LineItemSummary.lineItemType |
name |
LineItemSummary.name |
orderId |
LineItemSummary.orderId |
status |
LineItemSummary.status |
unitsBought |
LineItemSummary.unitsBought |
deliveryRateType |
LineItemSummary.deliveryRateType |
filterStatement - a Publisher Query Language statement used to
filter
a set of line items.
RemoteException
ApiException
UpdateResult performLineItemAction(LineItemAction lineItemAction,
Statement filterStatement)
throws RemoteException,
ApiException
LineItem objects that match the
given
Statement.query.
lineItemAction - the action to performfilterStatement - a Publisher Query Language statement used to
filter
a set of line items
RemoteException
ApiException
LineItem updateLineItem(LineItem lineItem)
throws RemoteException,
ApiException
LineItem.
lineItem - the line item to update
RemoteException
ApiException
LineItem[] updateLineItems(LineItem[] lineItems)
throws RemoteException,
ApiException
LineItem objects.
lineItems - the line items to update
RemoteException
ApiException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||