ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Communication / SaaS functions
  • Properties specific to saasPricing variables
  • Functions that use the saasPricing type
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
The saasPricing type is used to define the advanced characteristics of a SaaS pricing.
You can define and change the pricing characteristics using different WLanguage properties.
Note: For more details on the declaration of this type of variable and the use of WLanguage properties, see Declaring a variable.
Example
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

Properties specific to saasPricing variables

The following properties can be used to define the characteristics of saasPricing variables:
NameTypeEffect
InvoicingInteger constantSpecifies whether the pricing is per user or as a package.
The following constants are available:
  • saasFixed-price billing: Pricing is invoiced on a fixed-price basis
  • saasBillingPerUser: Pricing is billed 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 mode.
Remarks

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…
Comments
Click [Add] to post a comment

Last update: 03/28/2025

Send a report | Local help