Skip to content
This repository has been archived by the owner on Nov 23, 2021. It is now read-only.

remove currency from JSON API #58

Closed
hohwille opened this issue Sep 25, 2014 · 1 comment
Closed

remove currency from JSON API #58

hohwille opened this issue Sep 25, 2014 · 1 comment

Comments

@hohwille
Copy link
Member

As a leftover of issue #48 we still have the currency of monetary amounts in the JSON API

"price": {"currency":"EUR","amount":"6.99"}

however the currency is now static and configured by a constant as this makes sense for a restaurant and follows KISS. Therefore the currency is ignored when JSON is send from the client.
The OASP4JS team should add a static configuration constant for the currency in their client as well and then we can change the JSON API such that the currency is removed:

"price": "6.99"

@agreul
Copy link

agreul commented Oct 21, 2014

done

@agreul agreul closed this as completed Oct 21, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants