Guest User

Untitled

a guest
Nov 23rd, 2015
64
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. This was the Order Json
  2. ========================
  3. Order{json='{"total":201000,"clientCreatedTime":1448295243022,"createdTime":1448295243022,"orderType":{"id":"QTG57WM0PYD9T","label":"Custom Order2","isDeleted":false,"isDefault":true,"taxable":false,"labelKey":null},"modifiedTime":1448049677000,"manualTransaction":false,"state":"open","currency":"USD","id":"JNED41C2YN0VW","title":"36","testMode":false,"device":{"id":"5f0c6d6f-f47f-48e1-91d5-fa8c9ef2658b"},"groupLineItems":true,"employee":{"id":"SVA5PRJ8P5DFY"},"href":"https:\/\/www.clover.com\/v3\/merchants\/MC3B5QHMVPPMR\/orders\/JNED41C2YN0VW","lineItems":{"elements":[{"createdTime":1448295242884,"modifications":{"elements":[{"modifier":{"id":"HJGM2VE5XFZXT","price":500,"modifierGroup":{"id":"4SFV9Y74JBQAA"},"alternateName":null,"name":"Normal Topings"},"amount":500,"id":"FP2HRG9P1NP5W","alternateName":null,"name":"Normal Topings"},{"id":"4M262YZB8NV7C","amount":500,"modifier":{"id":"NC4D32VE34KK0","price":500,"modifierGroup":{"id":"VHK2H7AFEWC3M"},"alternateName":null,"name":"Thin"},"alternateName":null,"name":"Thin"}]},"taxRates":{"elements":[{"id":"A8QRG6KGJBD1T","isDefault":false,"rate":0,"name":"NO_TAX_APPLIED"}]},"userData":null,"alternateName":"","exchanged":false,"id":"CDCDASKRBQRPJ","refunded":false,"price":200000,"binName":null,"isRevenue":true,"name":"Item 1","item":{"id":"DTYSFCZ5SSXP8"},"printed":false,"itemCode":"c1001"}]},"isVat":false,"taxRemoved":true}', bundle=null, changeLog=null}
  4.  
  5.  
  6. The Exception I am Getting
  7. =========================
  8.  
  9. com.clover.sdk.v1.ClientException
  10. at com.clover.sdk.v1.ServiceConnector.throwOnFailure(ServiceConnector.java:279)
  11. at com.clover.sdk.v1.ServiceConnector.execute(ServiceConnector.java:212)
  12. at com.clover.sdk.v3.order.OrderConnector.deleteLineItemModifications(OrderConnector.java:341)
  13. at com.table.fragment.OrderDetailsFragment.doInBackground(OrderDetailsFragment.java:239)
  14. at com.table.framework.GenericAsyncTask.doInBackground(GenericAsyncTask.java:30)
  15. at com.table.framework.GenericAsyncTask.doInBackground(GenericAsyncTask.java:13)
  16. at android.os.AsyncTask$2.call(AsyncTask.java:288)
  17. at java.util.concurrent.FutureTask.run(FutureTask.java:237)
  18. at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231)
  19. at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
  20. at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
  21. at java.lang.Thread.run(Thread.java:841)
RAW Paste Data