withApprovalRequired
ProductContract.DefinitionStages.WithCreate withApprovalRequired(Boolean approvalRequired)
Specifies the approvalRequired property: whether subscription approval is required. If false, new
subscriptions will be approved automatically enabling developers to call the product’s APIs immediately
after subscribing. If true, administrators must manually approve the subscription before the developer
can any of the product’s APIs. Can be present only if subscriptionRequired property is present and has a
value of false..
- Parameters:
approvalRequired
- whether subscription approval is required. If false, new subscriptions will be
approved automatically enabling developers to call the product’s APIs immediately after subscribing.
If true, administrators must manually approve the subscription before the developer can any of the
product’s APIs. Can be present only if subscriptionRequired property is present and has a value of
false.
- Returns:
- the next definition stage.