PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US

  • Properties specific to the description of saasPricing variables
  • Functions that use the saasPricing type
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
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 by several WLanguage properties.
Note: See Declaring a variable for more details.
Example
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)
Remarks

Properties specific to the description of saasPricing variables

The following properties can be used to handle a saasPricing variable:
NameTypeEffect
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.
Note: These properties can be used with one of the following syntaxes:
  • <Variable Name>..<Property Name>
  • <Variable Name>.<Property Name>

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 required version
  • Version 15
This page is also available for…
Comments
Click [Add] to post a comment