getStoreCategoryId method
Get the specified category ID for the specified store.
Parameters
- IN storeId The store ID
- IN indexCategory The index of the category
Returns
- The number of categories if the store id exists in the collection
- GemError.notFound.code if the store does not exist in the collection
- GemError.outOfRange.code if the index is invalid
Throws
- An exception if it fails.
Implementation
int getStoreCategoryId(final int storeId, final int indexCategory) {
final OperationResult resultString = objectMethod(
_pointerId,
'LandmarkStoreCollection',
'getStoreCategoryId',
args: <String, int>{'storeId': storeId, 'indexCategory': indexCategory},
);
return resultString['result'];
}