This functionality is only available if you have the Orders feature enabled.
This article describes the SubmitContractOrder plugin and the related classes. Using the SubmitContractOrder plugin, you can:
- translate a Contract to an Order for submission to Zuora.
- customize the translation for your own.
See SubmitContractOrder Plugin for:
For details on how records are normally updated after the SubmitContractOrder Plugin executes, see Set up the SubmitContractOrder Plugin.
The SubmitContractOrder.Plugin interface includes the following global methods.
|SubmitContractOrder.Result||Derives an Order Request from a Contract. This method must be implemented by custom code.|
SubmitContractOrder.Plugin interface is extended by SubmitContractOrder.PluginWithBackfillHandler Interface that allows you to implement additional backfill logic upon completion of Contract submission.
The SubmitContractOrder.Input class includes the following global properties.
|contractId||Id||The Salesforce ID of the Contract to be translated into an Order.|
The SubmitContractOrder.Result class includes the following global properties.
|requestBody||String||The body of the Order Request that will be sent to Zuora.|
The Zuora ID of the Billing Entity that the Order request will be sent to when Multi-Entity is enabled for your Zuora Tenant.
Optional. The default entity will be used if it is not set.
|previewRequestBody||String||The body of the Order Preview Request that will be sent to Zuora. Note that BillingDocs, ChargeMetrics, and OrderMetrics must be included in preview types to get metrics.|