Subversion Repositories SmartDukaan

Rev

Rev 31007 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

package com.spice.profitmandi.service;

import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
import com.spice.profitmandi.common.model.CustomRetailer;
import org.springframework.stereotype.Service;

@Service
public interface SellerService {

        CustomRetailer convertToSeller(String sellerPrefix) throws ProfitMandiBusinessException;

        /**
         * Realign every active INTERNAL store on this warehouse with the warehouse's own address.
         * Returns how many stores were updated.
         */
        int syncInternalStoreAddresses(int warehouseId) throws ProfitMandiBusinessException;
}