{"action":"opened","issue":{"url":"https://api.github.com/repos/connectifier/xero-java-client/issues/10","labels_url":"https://api.github.com/repos/connectifier/xero-java-client/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/connectifier/xero-java-client/issues/10/comments","events_url":"https://api.github.com/repos/connectifier/xero-java-client/issues/10/events","html_url":"https://github.com/connectifier/xero-java-client/issues/10","id":98863844,"number":10,"title":"LineAmountType option gone","user":{"login":"jbroberg","id":1546088,"avatar_url":"https://avatars.githubusercontent.com/u/1546088?v=3","gravatar_id":"","url":"https://api.github.com/users/jbroberg","html_url":"https://github.com/jbroberg","followers_url":"https://api.github.com/users/jbroberg/followers","following_url":"https://api.github.com/users/jbroberg/following{/other_user}","gists_url":"https://api.github.com/users/jbroberg/gists{/gist_id}","starred_url":"https://api.github.com/users/jbroberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbroberg/subscriptions","organizations_url":"https://api.github.com/users/jbroberg/orgs","repos_url":"https://api.github.com/users/jbroberg/repos","events_url":"https://api.github.com/users/jbroberg/events{/privacy}","received_events_url":"https://api.github.com/users/jbroberg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-04T00:32:05Z","updated_at":"2015-08-04T00:32:05Z","closed_at":null,"body":"In version 0.10 the LineAmountType used to be set-able: INCLUSIVE etc\r\nhttp://developer.xero.com/documentation/api/types/#LineAmountTypes\r\n\r\nIn version 0.13 this option appears to be missing. Any reason for that? The commented code below compiled and worked on 0.10\r\n\r\n```\r\n\t\t//LineAmountType lat = new LineAmountType();\r\n\t\t//lat.setEnumeration(Enumeration.INCLUSIVE);\r\n\r\n\t\tInvoice invoice = new Invoice();\r\n\t\tinvoice.setCurrencyCode(CurrencyCode.USD);\r\n\t\tinvoice.setLineItems(lineItemList);\r\n\t\tinvoice.setStatus(InvoiceStatus.DRAFT);\r\n\t\tinvoice.setType(InvoiceType.ACCREC);\r\n\t\t//invoice.setLineAmountTypes(lat);\r\n```\r\n\r\ncheers\r\n\r\nJames"}}