addStoreCategoryId method
Add a new category ID into the specified store list.
Parameters
- IN storeId The store ID
- IN categoryId The category ID
Returns
- GemError.success on success
- GemError.notFound if the store with the given id can't be found or if the category with the given id can't be found
Throws
- An exception if it fails.
Implementation
GemError addStoreCategoryId(final int storeId, final int categoryId) {
final OperationResult resultString = objectMethod(
_pointerId,
'LandmarkStoreCollection',
'addStoreCategoryId',
args: <String, int>{'storeId': storeId, 'categoryId': categoryId},
);
return GemErrorExtension.fromCode(resultString['result']);
}