Apex Reference Guide
Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
ConnectApi.ProductSellingModel
| Property Name | Type | Description | Available Version |
|---|---|---|---|
| description | String | Description of the product selling model displayed on the UI. | 60.0 |
| displayName | String | Name of the product selling model displayed on the UI. | 60.0 |
| id | String | ID of the product selling model. | 56.0 |
| name | String | Name of the product selling model. | 56.0 |
| pricingTerm | Integer | Number of pricing term units in the pricing term. Used with pricingTermUnit to define the length of the pricing term. For example, if pricingTermUnit is Months and this property is 1, the subscription is priced monthly. However, if the sellingModelType property is set to OneTime, the pricingTerm property is empty, because the product isn’t sold as a subscription. The only allowed value for this property is 1. | 56.0 |
| pricingTermUnit | ConnectApi.PricingTermUnit | Unit of time used to define a pricing term.
Value is:
This unit of time is combined with a number (specified by the pricingTerm property) to define the full term of the subscription. For example, if the unit of time is Months and the pricingTerm property is set to 1, the subscription is priced monthly. However, if the sellingModelType property is set to OneTime, the pricingTermUnit property is empty, because the product isn’t sold as a subscription. |
56.0 |
| sellingModelType | ConnectApi.SellingModelType | Type of product selling model. Values are:
|
56.0 |
| subscriptionTermRule | ConnectApi.SubscriptionTermRule | Rules for the subscription term. | 59.0 |