File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
NetLicensingClient/src/main/java/com/labs64/netlicensing/schema/converter Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -49,9 +49,7 @@ public Product convert(final Item source) throws ConversionException {
4949 final ProductDiscountImpl productDiscount = new ProductDiscountImpl ();
5050 final Money price = convertPrice (list .getProperty (), Constants .Product .Discount .TOTAL_PRICE );
5151 productDiscount .setTotalPrice (price .getAmount ());
52- if (price .getCurrencyCode () != null ) {
53- productDiscount .setCurrency (price .getCurrencyCode ());
54- }
52+ productDiscount .setCurrency (price .getCurrencyCode ());
5553 if (SchemaFunction .propertyByName (list .getProperty (), Constants .Product .Discount .AMOUNT_FIX ).getValue () != null ) {
5654 final Money amountFix = convertPrice (list .getProperty (), Constants .Product .Discount .AMOUNT_FIX );
5755 productDiscount .setAmountFix (amountFix .getAmount ());
You can’t perform that action at this time.
0 commit comments