Last active
August 18, 2020 21:00
-
-
Save yusufcakal/72455af0183d51f05ac6f947e67d8dc0 to your computer and use it in GitHub Desktop.
SellerLabelOneProcessor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Service | |
public class SellerLabelOneProcessor implements SellerLabelProcessor { | |
@Override | |
public SellerLabel getSellerLabel(int sellCount) { | |
return sellCount >= 1 && sellCount < 5 ? SellerLabel.SELLER_1 : SellerLabel.NEW_SELLER; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment