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 - IPoyntProductCatalogListenerandroid.os.RemoteExceptionvoid 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 - IPoyntProductCatalogListenerandroid.os.RemoteExceptionvoid 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 - IPoyntProductCatalogWithProductListenerandroid.os.RemoteExceptionvoid 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 - IPoyntProductCatalogWithProductListenerandroid.os.RemoteExceptionvoid 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 - IPoyntProductCatalogListenerandroid.os.RemoteExceptionvoid 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 - IPoyntProductListenerandroid.os.RemoteExceptionvoid 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 - IPoyntProductListenerandroid.os.RemoteExceptionvoid 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 - IPoyntProductListenerandroid.os.RemoteExceptionvoid getProducts(java.util.List<java.lang.String> productIds,
IPoyntProductListListener callback)
throws android.os.RemoteException
productIds - List of all productIdscallback - IPoyntProductListListenerandroid.os.RemoteExceptionvoid getProductsFromCloud(java.util.List<java.lang.String> productIds,
IPoyntProductListListener callback)
throws android.os.RemoteException
productIds - List of all productIdscallback - IPoyntProductListenerandroid.os.RemoteExceptionvoid 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 - IPoyntProductCategoriesListenerandroid.os.RemoteExceptionvoid 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 - IPoyntProductListenerandroid.os.RemoteException