removeAllStoreCategories method

GemError removeAllStoreCategories(
  1. int storeId
)

Remove all categories of the specified store ID.

Parameters

  • IN storeId The store ID

Returns

Throws

  • An exception if it fails.

Implementation

GemError removeAllStoreCategories(final int storeId) {
  final OperationResult resultString = objectMethod(
    _pointerId,
    'LandmarkStoreCollection',
    'removeAllStoreCategories',
    args: storeId,
  );

  return GemErrorExtension.fromCode(resultString['result']);
}