Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
added back method level pricing on service metadata
  • Loading branch information
anandrgitnirman authored and anandrgitnirman committed Sep 3, 2021
1 parent c5d42a4 commit 3ebbac3
Showing 1 changed file with 48 additions and 0 deletions.
48 changes: 48 additions & 0 deletions service_metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,54 @@
"price_model": "fixed_price",
"price_in_cogs": 1,
"default": true
},
{
"package_name": "example_service",
"price_model": "fixed_price_per_method",
"details": [
{
"service_name": "Calculator",
"method_pricing": [
{
"method_name": "add",
"price_in_cogs": 2
},
{
"method_name": "sub",
"price_in_cogs": 1
},
{
"method_name": "div",
"price_in_cogs": 2
},
{
"method_name": "mul",
"price_in_cogs": 3
}
]
},
{
"service_name": "Calculator2",
"method_pricing": [
{
"method_name": "add",
"price_in_cogs": 2
},
{
"method_name": "sub",
"price_in_cogs": 1
},
{
"method_name": "div",
"price_in_cogs": 3
},
{
"method_name": "mul",
"price_in_cogs": 2
}
]
}
]
}
],
"endpoints": [
Expand Down

0 comments on commit 3ebbac3

Please sign in to comment.