question

raman7778 avatar image
raman7778 asked raman7778 edited

Why Rounding adjustment is showing in clover order slip?

This is how I'm setting price of line-items while creating the order slip.


if(productsPojo.getOrder_total()==null){

lineItem.setPrice((long)0);

}else {

double price = Double.parseDouble(productsPojo.getOrder_price()) * 100;

lineItem.setPrice((long)price);

}


lv_items.add(lineItem);

OrdersClover Android SDKclover developer community
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

0 Answers

·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community