currencyservice: [WIP] money proto migration

Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
This commit is contained in:
Ahmet Alp Balkan 2018-06-27 13:28:49 -07:00 committed by Simon Zeltser
parent a128ab02ef
commit 98d9c87e72
3 changed files with 17 additions and 15 deletions

View file

@ -29,10 +29,8 @@ const client = new shopProto.CurrencyService(`localhost:${PORT}`,
const request = {
from: {
currency_code: 'USD',
amount: {
decimal: 300,
fractional: 0
}
units: 300,
nanos: 500000000
},
to_code: 'CHF'
};