|
|
|
|
- Properties specific to saasSubscription variables
- Functions that use the saasSubscription type
saasSubscription (Type of variable) In french: saasAbonnement
The saasSubscription type is used to define the advanced characteristics regarding the subscription of a SaaS client account to a pricing. The characteristics of this subscription 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 MySite = SaaSAdminFindSite("Managing cars") Pricing is saasPricing Pricing = SaaSAdminFindPricing("Premium Offer", MySite) User is saasUser User = SaaSAdminFindUser("mark@jet-tames.com") SaaSAdminAddSubscription(Pricing, User.Client, 1) Sub is saasSubscription Sub = SaaSAdminFindSubscription(Pricing, User.Client) Sub.NbLicenses++ SaaSAdminModifySubscription(Sub)
Remarks Properties specific to saasSubscription variables The following properties can be used to handle the subscription of a SaaS client account to a pricing:
| | | Name | Type used | Effect |
---|
Client | saasClient variable | Client who took the subscription. This property is read-only. | EndDate | Character string or DateTime variable of Character String constant | End date of the subscription. For a subscription without end date, this property corresponds to the saasUnlimitedDuration constant. | NbLicenses | Integer or Integer constant | Number of licenses bought by this subscription. For a flat rate pricing, this property takes the value of the saasUnlimitedLicenses constant. | Pricing | saasPricing variable | Reference toward the pricing to which the client has subscribed. This property is read-only. | StartDate | String or DateTime variable | Start date of the subscription. This property is used to calculate the cost. |
Functions that use the saasSubscription type
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|