Home | Sign in | English EN

This content has been translated automatically. Click here to view the French version.
  • Properties specific to the description of 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 characteristics of this pricing can be defined and modified 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.
MonSite is saasSite dynamic
MonSite = SaaSAdminFindSite("Gestion de voitures")
T is saasPricing
T.Name = "Offre Premium"
T.Price = 150
SaaSAdminAddPricing(T, MonSite)
S is saasService
S.Name = "Accès Complet"
// Ajoute le service dans le site
SaaSAdminAddService(T, MonSite)
// La tarification proposera ce service
SaaSAdminPricingEnableService(T, S)

Properties specific to the description of saasPricing variables

The following properties can be used for handle a variable of type saasPricing:
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.
PriceCurrencyCost of the pricing.
If the pricing is invoiced by period, this price is per period.
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.
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