Last active
August 24, 2020 20:44
-
-
Save yusufcakal/889726e25dcbe94616fb95b9b8c8ccf3 to your computer and use it in GitHub Desktop.
SellerLabelTwentyProcessor
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 SellerLabelTwentyProcessor implements SellerLabelProcessor { | |
@Override | |
public SellerLabel getSellerLabel(int sellCount) { | |
return sellCount >= 20 ? SellerLabel.SELLER_20 : SellerLabel.NEW_SELLER; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment