Skip to content

Commit

Permalink
pricing.json files
Browse files Browse the repository at this point in the history
The `pricing.json` defines a pricing model for the application.  The
`pricing-2.json` file shows a change to the plan, with a new version.

Edit these files, and run `tier push <filename>` to see changes in the
application.
  • Loading branch information
isaacs committed Oct 31, 2022
1 parent f32b5b4 commit 3f6e7cf
Show file tree
Hide file tree
Showing 2 changed files with 58 additions and 0 deletions.
22 changes: 22 additions & 0 deletions pricing-2.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"plans": {
"plan:pro@2": {
"title": "Convert (Pro)",
"features": {
"feature:convert": {
"title": "Temperature Conversions",
"tiers": [
{
"base": 10000,
"price": 0,
"upto": 1000
},
{
"price": 200
}
]
}
}
}
}
}
36 changes: 36 additions & 0 deletions pricing.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"plans": {
"plan:free@1": {
"title": "Convert (free)",
"features": {
"feature:convert": {
"title": "Temperature Conversions",
"tiers": [
{
"upto": 10,
"price": 0
}
]
}
}
},
"plan:pro@1": {
"title": "Convert (Pro)",
"features": {
"feature:convert": {
"title": "Temperature Conversions",
"tiers": [
{
"base": 1000,
"price": 0,
"upto": 100
},
{
"price": 1
}
]
}
}
}
}
}

0 comments on commit 3f6e7cf

Please sign in to comment.