¼¼±ÝÀ» Ç¥½Ã °¡°ÝÀÇ ÀϺηΠǥ½Ã

»óÁ¡ ¼­ºñ½ºÀÇ ¼¼±Ý Ä«Å×°í¸® ÆäÀÌÁö¿¡¼­ »óǰ¿¡ ´ëÇØ Ç¥½ÃµÇ´Â °¡°Ý¿¡ ¼¼±ÝÀ» Æ÷ÇÔÇÏ´Â ¿É¼ÇÀ» ¼±ÅÃÇÒ ¼ö ÀÖ½À´Ï´Ù. »óǰ ÆäÀÌÁö(¶Ç´Â °¡°ÝÀ» Ç¥½ÃÇÏ´Â ÆäÀÌÁö)¿¡ ÀÌ °¡°ÝÀ» Ç¥½ÃÇÏ·Á¸é JSP ÆÄÀÏ¿¡ ´ÙÀ½ Äڵ带 Æ÷ÇÔ½ÃŰ½Ê½Ã¿À.

BigDecimal oldPrice = product.getCalculatedPrice().getPrimaryPrice().getValue(); CategorizedMonetaryAmountsDataBean cMADB = product.getDisplayTaxes();
BigDecimal taxAmount = cMADB.getCategoryAmount();
BigDecimal TotalPriceWithTax = oldPrice.add(cMADB.getCategoryAmount()); FormattedMonetaryAmountDataBean formattedAmount = new FormattedMonetaryAmountDataBean(); formattedAmount.setAmount(TotalPriceWithTax); com.ibm.commerce.beans.DataBeanManager.activate (formattedAmount, commandContext);

µÎ °¡°Ý(¼¼±ÝÀ» Æ÷ÇÔÇÑ °¡°Ý°ú Æ÷ÇÔÇÏÁö ¾ÊÀº °¡°Ý)À» Ç¥½ÃÇÏ·Á¸é ´ÙÀ½À» Æ÷ÇÔ½ÃŰ½Ê½Ã¿À.

<font class="Was">regularPrice : <%=product.getCalculatedPrice()%></font><br> <font class="Was">Total Price With Tax : <%=formattedAmount%></font><br>

°ü·Ã °³³ä(454¹ÙÀÌÆ®)

°ü·Ã ŽºÅ©

°ü·Ã °³³ä(1292¹ÙÀÌÆ®)

IBM copyright