public interface IPoyntProductService
extends android.os.IInterface
Modifier and Type | Interface and Description |
---|---|
static class |
IPoyntProductService.Stub
Local-side IPC implementation stub class.
|
Modifier and Type | Method and Description |
---|---|
void |
getCatalog(java.lang.String catalogId,
IPoyntProductCatalogListener callback)
Retrieves the
Catalog associated with the given catalogId. |
void |
getCategories(java.lang.String catalogId,
java.util.List<java.lang.String> categoryIds,
IPoyntProductCategoriesListener callback)
Retrieves a list of all categories of products associated with the given categoryIds for
the given catalogId.
|
void |
getProduct(java.lang.String productId,
IPoyntProductListener callback)
Retrieves the
Product associated with the given productId. |
void |
getProductBySku(java.lang.String sku,
IPoyntProductListener callback)
Retrieves the
Product associated with the given sku (stock keeping unit). |
void |
getProductByUpc(java.lang.String upc,
IPoyntProductListener callback)
Retrieves the
Product associated with the given upc code. |
void |
getProducts(java.util.List<java.lang.String> productIds,
IPoyntProductListListener callback)
Retrieves a list of all products associated with the given productIds.
|
void |
getProductsFromCloud(java.util.List<java.lang.String> productIds,
IPoyntProductListListener callback)
Retrieves a list of all products associated with the given productIds.
|
void |
getRegisterCatalog(IPoyntProductCatalogListener callback)
Retrieves the
Catalog associated with the terminal. |
void |
getRegisterCatalogFromCloud(IPoyntProductCatalogListener callback)
Retrieves the
Catalog associated with the terminal. |
void |
getRegisterCatalogWithProducts(IPoyntProductCatalogWithProductListener callback)
Retrieves the
CatalogWithProduct associated with the terminal. |
void |
getRegisterCatalogWithProductsFromCloud(IPoyntProductCatalogWithProductListener callback)
Retrieves the
CatalogWithProduct associated with the terminal. |
void |
updateProduct(java.lang.String productId,
java.lang.String jsonArrayPatchElementsArray,
IPoyntProductListener callback)
Upate the
Product associated with the given productId. |
void getCatalog(java.lang.String catalogId, IPoyntProductCatalogListener callback) throws android.os.RemoteException
Catalog
associated with the given catalogId.
If the catalog information is not available locally, it will be fetched
from the Poynt Cloud.catalogId
- ID of the catalog to retrievecallback
- IPoyntProductCatalogListener
android.os.RemoteException
void getRegisterCatalog(IPoyntProductCatalogListener callback) throws android.os.RemoteException
Catalog
associated with the terminal.
If the catalog information is not available locally, it will be fetched
from the Poynt Cloud.callback
- IPoyntProductCatalogListener
android.os.RemoteException
void getRegisterCatalogWithProducts(IPoyntProductCatalogWithProductListener callback) throws android.os.RemoteException
CatalogWithProduct
associated with the terminal.
If the catalog information is not available locally, it will be fetched
from the Poynt Cloud.
This catalog contains a fully hydrated category and product lists so you do not have
to perform additional calls to retreive the data.callback
- IPoyntProductCatalogWithProductListener
android.os.RemoteException
void getRegisterCatalogWithProductsFromCloud(IPoyntProductCatalogWithProductListener callback) throws android.os.RemoteException
CatalogWithProduct
associated with the terminal.
This call will skip the local data store and access the Poynt Cloud directly.
This catalog contains a fully hydrated category and product lists so you do not have
to perform additional calls to retreive the data.callback
- IPoyntProductCatalogWithProductListener
android.os.RemoteException
void getRegisterCatalogFromCloud(IPoyntProductCatalogListener callback) throws android.os.RemoteException
Catalog
associated with the terminal.
This call will skip the local data store and access the Poynt Cloud directly.callback
- IPoyntProductCatalogListener
android.os.RemoteException
void getProduct(java.lang.String productId, IPoyntProductListener callback) throws android.os.RemoteException
Product
associated with the given productId.
If the product information is not available locally, it will be fetched
from the Poynt Cloud.productId
- ID of the product to retrievecallback
- IPoyntProductListener
android.os.RemoteException
void getProductBySku(java.lang.String sku, IPoyntProductListener callback) throws android.os.RemoteException
Product
associated with the given sku (stock keeping unit).
If the product information is not available locally, it will be fetched
from the Poynt Cloud.sku
- sku of the product to retrievecallback
- IPoyntProductListener
android.os.RemoteException
void getProductByUpc(java.lang.String upc, IPoyntProductListener callback) throws android.os.RemoteException
Product
associated with the given upc code.
If the product information is not available locally, it will be fetched
from the Poynt Cloud.upc
- UPC code of the product to retrievecallback
- IPoyntProductListener
android.os.RemoteException
void getProducts(java.util.List<java.lang.String> productIds, IPoyntProductListListener callback) throws android.os.RemoteException
productIds
- List of all productIdscallback
- IPoyntProductListListener
android.os.RemoteException
void getProductsFromCloud(java.util.List<java.lang.String> productIds, IPoyntProductListListener callback) throws android.os.RemoteException
productIds
- List of all productIdscallback
- IPoyntProductListener
android.os.RemoteException
void getCategories(java.lang.String catalogId, java.util.List<java.lang.String> categoryIds, IPoyntProductCategoriesListener callback) throws android.os.RemoteException
catalogId
- Id of the catalogcategoryIds
- List of all categoryIdscallback
- IPoyntProductCategoriesListener
android.os.RemoteException
void updateProduct(java.lang.String productId, java.lang.String jsonArrayPatchElementsArray, IPoyntProductListener callback) throws android.os.RemoteException
Product
associated with the given productId.productId
- ID of the product to updatejsonPatchElementsArray
- array of jsonPatchElement to be updated passed as a string.callback
- IPoyntProductListener
android.os.RemoteException