public interface LineItemServiceInterface extends Remote
| Modifier and Type | Method and Description |
|---|---|
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)
|
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. |
LineItem createLineItem(LineItem lineItem) throws RemoteException, ApiException
LineItem.
These fields are required:
lineItem - the line item to createRemoteExceptionApiExceptionLineItem[] createLineItems(LineItem[] lineItems) throws RemoteException, ApiException
LineItem objects.lineItems - the line items to createRemoteExceptionApiExceptionLineItem getLineItem(Long lineItemId) throws RemoteException, ApiException
LineItem uniquely identified by the given
ID.lineItemId - the ID of the line item, which must already existLineItem uniquely identified by the given IDRemoteExceptionApiExceptionLineItemPage 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 |
lastModifiedDateTime |
LineItemSummary.lastModifiedDateTime |
creationDateTime |
LineItemSummary.creationDateTime |
isMissingCreatives |
LineItem#isMissingCreatives |
filterStatement - a Publisher Query Language statement used to
filter
a set of line items.RemoteExceptionApiExceptionUpdateResult 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 itemsRemoteExceptionApiExceptionLineItem updateLineItem(LineItem lineItem) throws RemoteException, ApiException
LineItem.lineItem - the line item to updateRemoteExceptionApiExceptionLineItem[] updateLineItems(LineItem[] lineItems) throws RemoteException, ApiException
LineItem objects.lineItems - the line items to updateRemoteExceptionApiExceptionCopyright © 2013. All Rights Reserved.