Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CB-5895. Added new parameter link to buy license for getProductInfo API #3080

Merged
merged 6 commits into from
Nov 22, 2024
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ type ProductInfo {
licenseInfo: String

latestVersionInfo: String
productPurchaseURL: String
}

type ServerConfig {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,4 +77,10 @@ public String getLatestVersionInfo() {
return CommonUtils.notEmpty(product.getProperty("versionUpdateURL"));
}

@Property
public String getProductPurchaseURL() {
IProduct product = Platform.getProduct();
return CommonUtils.notEmpty(product.getProperty("productPurchaseURL"));
}

}
Loading