ConnectApi.RampOptionInputRepresentation
Input representation of the ramp option details during an asset renewal.
This Apex class is used by the rampOptionsDetails Apex-defined input variable. See Initiate Renewal Action.
| Property | Type | Description | Required or Optional | Available Version |
|---|---|---|---|---|
durationInMonths | Double | Maximum duration of all ramp segments in months. Specify a whole number greater than 0. | Required | 67.0 |
segmentCount | Double | Number of created ramp segments based on the specified duration. Specify a whole number greater than 0. Specify this property only if the segmentType value is Custom. | Required if you specify Custom value for the segmentType property. | 67.0 |
segmentType | ConnectApi.RampSegmentType | Type of ramp schedule. Valid values are: Custom—Specifies the number of segments. The total duration is divided equally across segments; or Yearly—Creates 12-month segments. If the total duration isn’t a multiple of 12, the last segment covers the remaining months. If the duration divided by the number of months has a remainder, that segment is listed first as a prorated segment. | Required | 67.0 |