public interface ProductServiceInterface extends Remote
| Modifier and Type | Method and Description |
|---|---|
ProductPage |
getProductsByStatement(Statement statement)
|
UpdateResult |
performProductAction(ProductAction productAction,
Statement filterStatement)
|
Product[] |
updateProducts(Product[] products)
Updates the specified
Product objects. |
ProductPage getProductsByStatement(Statement statement) throws RemoteException, ApiException
ProductPage of Product objects that
satisfy the criteria specified by
given Statement.query.
When using sales management, the following fields are supported for filtering and/or sorting.
| PQL Property | Object Property | Filterable | Sortable |
|---|---|---|---|
rateCardId |
Rate card ID which the product is associated with | Yes | No |
status |
Product.status |
Yes | Yes |
lineItemType |
Product.lineItemType |
Yes | Yes |
productType |
Product.productType |
Yes | Yes |
rateType |
Product.rateType |
Yes | Yes |
productTemplateId |
Product.productTemplateId |
Yes | No |
name |
Product.name |
Yes | Yes |
description |
Product#description |
Yes | No |
id |
Product.id |
Yes | Yes |
lastModifiedDateTime |
Product.lastModifiedDateTime |
Yes | Yes |
statement - a Publisher Query Language statement which specifies
the filtering
criteria over productsRemoteExceptionApiExceptionUpdateResult performProductAction(ProductAction productAction, Statement filterStatement) throws RemoteException, ApiException
productAction - the action to performfilterStatement - a Publisher Query Language statement used to
filter a set of products.RemoteExceptionApiExceptionProduct[] updateProducts(Product[] products) throws RemoteException, ApiException
Product objects.
Note non-updatable fields will not be backfilled.products - the products to updateRemoteExceptionApiExceptionCopyright © 2020. All rights reserved.