Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Renamed the AddOn to AddonRequest to prevent clashes with data types on license Storage
  • Loading branch information
anandrgitnirman authored and anandrgitnirman committed Oct 7, 2021
1 parent 36e2776 commit d8ac384
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions license_server/license_contract.proto
Original file line number Diff line number Diff line change
Expand Up @@ -94,15 +94,15 @@ message LicenseCreateRequest {
message AddOnCreateRequest {
CallerAuthentication auth = 1;
//Specify all the add ons to be created.
repeated AddOn add_ons = 2;
repeated AddOnRequest add_ons = 2;
//Channel Id , that this add is to be associated with
uint64 channel_id = 3;
}


// Add on can only be associated with a license , they will be effective only when the license usage is exhausted.
// Addons expire when the license expires and will not carry forward.
message AddOn {
message AddOnRequest {
//Please note all the values in here should match the details on the service metadata
float discount_in_percentage = 1;
float cost_in_agix = 2;
Expand Down

0 comments on commit d8ac384

Please sign in to comment.