Last active
August 18, 2020 21:00
-
-
Save yusufcakal/04a811611eae9b4d768540b8960aaeba to your computer and use it in GitHub Desktop.
SellerLabelFiveProcessor
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 SellerLabelFiveProcessor implements SellerLabelProcessor { | |
@Override | |
public SellerLabel getSellerLabel(int sellCount) { | |
return sellCount >= 5 && sellCount < 20 ? SellerLabel.SELLER_5 : SellerLabel.NEW_SELLER; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment