clover / clover-android-sdk

Clover SDK for developing applications on Clover Station/Mobile/Mini/Flex

Home Page:https://docs.clover.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LineItem ProductCode broken

opened this issue · comments

Hello,

I have just build the latest version of the SDK and notice a discrepancy between the SDK and Javadoc for the LineItem class. Javadoc getProductCode() appears to return no value.

I have experimented with the various other id related and got the following results:

getId() = '6BKZSG35GH9MC'
getItemId() = 'SV549T9B94ZNC'
mLineItem.optString("itemCode", "N/A") = 'LATG'
getProductCode() = ''

I see that the property with the value 'SV549T9B94ZNC' (getItemId()) appears in the Clover Dashboard but is not editable. Also, what is the significance of the value from getId().

Regarding product code being broken. is it a case of the API returning ItemCode where it should probably be productCode?

Thanks,
Conor