Package com.changestuffs.kantor.server.bean

Examples of com.changestuffs.kantor.server.bean.Sell


    mapper.configure(JsonParser.Feature.ALLOW_UNQUOTED_FIELD_NAMES, true);
  }
 
  @Transactional
  public AddSellResult addSell(AddSell dto){
    Sell sell = new Sell();
    sell.setBuyBadge(dto.getBuyBadge());
    sell.setCity(dto.getCity());
    sell.setCommission(dto.getCommission());
    sell.setCountry(dto.getCountry());
    sell.setEmail(dto.getEmail());
    sell.setSellBadge(dto.getSellBadge());
    model.persist(sell);
   
    AddSellResult result = new AddSellResult();
    try {
      result.setRate(getRate(dto.getSellBadge(), dto.getBuyBadge()));
View Full Code Here

TOP

Related Classes of com.changestuffs.kantor.server.bean.Sell

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.