Skip to content

Commit

Permalink
Merge pull request #69 from Open-Data-Product-Initiative/pricing-as-code
Browse files Browse the repository at this point in the history
Pricing as code
  • Loading branch information
kyyberi authored Oct 5, 2024
2 parents bf1d74f + 23fb7fc commit 6ef6642
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions source/includes/_pricing.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,14 @@ The 12 pricing plans enabled by ODPS are meticulously defined through an in-dept
The Pricing object is general in nature and should be enough for common (80%) use cases. You can make extensions to the standard with "x-" mechanism in order to fulfill any industry specific needs. The ["Specification extensions"](#specification-extensions) section provides details on how to use this feature.
**This version introduces the "Pricing Plans as Code" feature.** You can define the necessary actions (CRUP) to set up and use the selected payment gateway, initiating the purchase process. **CRUP** stands for:
- **C**reate (create pricing plan),
- **R**etire (delete pricing plan),
- **U**pdate (update existing pricing plan) and,
- **P**urchase (generate link to ignite purchase process in the gateway).
With this feature, you can translate the pricing plans defined in the declarative part into executable code within payment gateways.
## ODPS supports 12 standardized pricing models
The _unit_ attribute defines the plan and options for that are fixed unless extended with "x-" mechanism. Read more about the [Pricing plans from ODPS wiki](https://github.com/Open-Data-Product-Initiative/dev/wiki/Pricing-Plans#version-dev)
Expand Down

0 comments on commit 6ef6642

Please sign in to comment.