currencyservice: [WIP] money proto migration
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
This commit is contained in:
parent
a128ab02ef
commit
98d9c87e72
3 changed files with 17 additions and 15 deletions
|
@ -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'
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue