Help / WLanguage / WLanguage functions / Communication / SaaS functions
  • Properties specific to saasPricing variables
  • Functions that use the saasPricing type
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WindowsLinuxPHPWEBDEV - Browser code
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Stored procedures
The saasPricing type is used to define the advanced characteristics of a SaaS pricing.
The pricing characteristics can be defined and changed using different WLanguage properties.
Remark: For more details on the declaration of this type of variable and the use of WLanguage properties, see Declaring a variable.
MySite is saasSite dynamic
MySite = SaaSAdminFindSite("Managing cars")
P is saasPricing
P.Name = "Premium Offer"
P.Price = 150
SaaSAdminAddPricing(P, MySite)
S is saasService
S.Name = "Full Access"
// Adds the service into the site
SaaSAdminAddService(P, MySite)
// The pricing will propose this service
SaaSAdminPricingEnableService(P, S)

Properties specific to saasPricing variables

The following properties can be used to handle saasPricing variables:
InvoicingInteger constantSpecifies whether the pricing is per user or as a package.
The following constants are available:
  • saasOutrightPricing: The pricing is invoiced as a package
  • saasPricingPerUser: The pricing is invoiced per user
NameCharacter stringName of pricing.
This name must be unique for each site.
PeriodicityInteger or Integer constantDuration of an invoicing period.
This duration is expressed in number of days.
The saasUnlimitedPeriodicity constant is used to specify a pricing for an unlimited period.
PriceCurrencyCost of the pricing.
If the pricing is invoiced by period, this price is per period.
SitesaasSite variableReference toward the site that offers this pricing.
This property is available in read-only.

Functions that use the saasPricing type

SaaSAdminAddPricingAdds a SaaS pricing.
SaaSAdminAddSubscriptionAdds a subscription to a pricing of a SaaS site for a client account.
SaaSAdminDeletePricingDeletes a SaaS pricing.
SaaSAdminFindPricingFinds a SaaS pricing.
SaaSAdminFindSubscriptionFinds a SaaS subscription.
SaaSAdminListServiceLists the SaaS services associated with a SaaS site, a pricing or a user.
SaaSAdminListSubscriptionLists the SaaS subscriptions associated with a site or pricing.
SaaSAdminModifyPricingModifies a SaaS pricing.
SaaSAdminPricingDisableServiceDisables a service in a SaaS pricing.
SaaSAdminPricingEnableServiceEnables a service in a SaaS pricing.
Minimum version required
  • Version 15
This page is also available for…
Click [Add] to post a comment

Last update: 01/26/2023

Send a report | Local help