Generally, for values relative to price or cost, 1 unit is equal to 1 cent.
For example, this tasty toasted sourdough:
"items": [
{
"name": "Toasted Sourdough Bread & Eggs",
"description": "Just ye old classic",
"unitPrice": "1100",
"totalBeforeSurcounts": "1100",
"totalAfterSurcounts": "1100",
"posId": "toasted_eggs",
"quantity": "1",
"surcounts": [],
"options": []
}
]</
unitPrice
, totalBeforeSurcounts
and totalAfterSurcounts
are listed as 1100
. In a more readable way, that would equate to $11.00.
Another example would be in regards to loyalty. While generally the controlling interest can implement this any way they like, Doshii have designed this field to represent a value in cents. Therefore, if you had a member with 300 points, that would equate to a $3.00 discount.
Comments
0 comments
Please sign in to leave a comment.