stopApplyingFeature()
void stopApplyingFeature(string subscriptionFeatureId, date endDate)
This method changes or removes the date that Smile stops applying a feature to a subscription.
Use this method to change the length of time the feature is applied to the subscription, or to apply the feature to the subscription indefinitely.
Parameters
- subscriptionFeatureId
- Format: string
- endDate
- Format: date
Results
This method does not return any output, and changes the date that Smile stops applying the feature.
Smile emits the SubscriptionFeaturesChanged message when Smile stops applying the feature.
Faults
NoSuchItemExceptionThis fault is returned when the specified subscriptionFeatureId does not exist.
InvalidRequestExceptionThis fault is returned when the subscriptionFeatureId is not specified.
Java client syntax
java -cp build/smilewsv2-client.jar [options] com.inomial.smile.client.v2.examples.StopApplyingFeature
subscriptionFeatureId [endDate]
- subscriptionFeatureId
- Purpose: Specifies the ID of the feature for which to specify an end date.
- endDate
- Purpose: (Optional) Specifies the date to stop applying the feature.
Note: For more information about the Java client and the options it
accepts, see Java client syntax.