Loading
 Experience Cloud – Feature Degradation on Lightning Web Runtime SitesRead More
The Trailblazer Community is now read-only Read More
Get Started with Communications, Media, and Energy & Utilities (CME)...
Interfaces Reference

Interfaces Reference

Interface descriptions include the type, signature, default implementation, methods, input parameters, output parameters, and other information.

  • ABOAssetInterface
    Line item objects include the AssetReferenceId__c field. For new orders, the AssetReferenceId__c field is initialized to be the order ID. The field is copied from the asset when the order is created. The ABOAssetInterface implementation determines whether to create a new asset or update an existing asset based on the value of the AssetReferenceId__c field.
  • AccountContextInterface
    Handles evaluation of an account context map by merging all the individual context keys.
  • AddPricebookEntryInterface
    AddPricebookEntryInterface prevents an error from occurring when a child product, which has already been added as part of a parent product, does not have a price book entry. It is used especially for bundled child products.
  • ApprovalProcessInterface
    Handles the submission of one or more cart-added discount records for approval.
  • ApprovalStatusInterface
    Sets the initial value of the ApprovalStatus field for discount records in the cart.
  • AssetFilterInterface
    The AssetFilterInterface provides a way to filter assets. Assets can be filtered based on billing assets, service assets, no contract assets, and more.
  • AssetsContextInterface
    Handles evaluation of an asset context map by merging all the individual context keys.
  • BundleContextInterface
    Provides an optimized Map<String, Object> or List<Object> derived from the input.
  • CacheableFDOInterface
    Create and cache baskets that are created during MACD of assets based on the GroupContext. The next time MACD occurs with the same contextShape, it can be fetched from the cached object to reduce processing time.
  • CalculateUnitPriceInterface
    Populates the Unit Price field in the Opportunity line item object.
  • CartContextInterface
    Takes List<Strings> as input and converts it to an optimized List<Object> for generating a cart context key.
  • CatalogsOpenInterface
    The CatalogsOpenInterface gets the children catalog IDs of a given parent catalog ID. You may want to modify the set of child catalogs that is returned, such as filtering out catalogs with zero products, or filtering based on other variables.
  • CloneFieldListInterface
    Generate the field list necessary to clone an object.
  • ConfigurePriceQuoteControllerInterface
    Create objects at run time depending on the parentItem type. It creates quotes, orders, or assets and also syncs a quote to an opportunity. Any future syncing operations between opportunity, quote, order, and asset must be done by implementing the ConfigurePriceQuoteControllerInterface.
  • ContextDimensionMapperInterface
    Bridges service between Cart-Based and Digital Commerce context rules. Supports multiple scope evaluation for context rules.
  • ContextEligibilityBatchJobRecord
    Runs the EcomDataProfileGenerator and RuleSetCombinationGenerator batch jobs and populates the cache with the results: eligible offers for individual context combinations.
  • ContextInputParserInterface
    Acts as a bridge between a context parser (which usually generates a context map) and a context key generator. Depending on the object type, this interface invokes the AccountContextInterfaceAccountContextInterface, AssetsContextInterfaceAssetsContextInterface, ContractContextInterfaceContractContextInterface, GroupContextInterfaceGroupContextInterface, or UserContextInterfaceUserContextInterface to parse context information for the object.
  • ContractContextInterface
    Handles evaluation of a contract context map by merging all the individual context keys.
  • CPQCartCheckoutMessages Interface
    Allows you to customize the checkout experience by providing a way to override the various checkout-related flags and messages.
  • DataProfileBatchJobRecord
    Generates Products, Promotions, and PCIMap data for existing products related to each catalog.
  • DiscountActivation
    Activates cart-added discounts on checkout, activation of a frame contract, or both. Changes the value of the discount’s Status__c field to Activated.
  • DocuSignRecipientTranslator
    This interface enables you to override the default email translator to translate the email subject and message to a specified locale.
  • EligibilityContextInterface
    Returns an optimized Map<String, Object>, which will help the context framework to generate a key.
  • GetConditionalTemplateSectionsInterface
    Contract template sections can have conditions or products associated with them. When applying a template to a contract document, the system can dynamically get those sections using the GetConditionalTemplateSectionsInterface.
  • GetContractSignatureRequiredInterface
    If a quote has contracts associated with it, the GetContractSignatureRequiredInterface determines if an order can be created or if contracts must be signed first.
  • GetContractTemplateNameInterface
    Get the template name to apply to the first version of the contract document. The template must have an active version to use.
  • GetContractTermInterface
    When a contract is created and the contract term is not specified, the GetContractTermInterface can dynamically assign the contract term.
  • GetDocTemplateNameInterface
    Get the template name for opportunity, order, or quote PDF file generation. The template must have an active version to use.
  • GetDocumentTemplateListInterface
    Enable a user to choose a template to attach to a contract document in the run time user interface. The template list varies based on the interface implementation.
  • GetFrameContractQueryWhereClauseInterface
    Use a query WHERE clause to find applicable frame contracts to apply to opportunities, orders, and quotes.
  • GetItemsListInterface
    When a contract is created for an opportunity, order, or quote, the GetItemsListInterface selectively copies the opportunity, order, or quote line items to the contract line items.
  • GetOfferDetailsBatchJobRecord
    Populates the cache with the details of individual offers (both products and promotions).
  • GetOffersBatchJobRecord
    Populates the cache with the list of offers for individual context combinations.
  • GetOffersHierarchyBatchJobRecord
    Populates the cache with the hierarchy of bundles. This data is used in the GetOfferDetails Job.
  • GetPricesBatchJobRecord
    Populates the cache with the prices of products.
  • GetProductListInterface
    Get the list of products to choose as conditions for contract template sections.
  • GetRelatedOffersBatchJobRecord
    Populates the cache with the parent offers for individual offers.
  • GetUpdateContractListInterface
    When an opportunity, order, or quote is updated by adding or removing line items, contracts can be updated by clicking the Update Contract button. The GetUpdateContractListInterface gets the list of contracts to be updated.
  • GroupContextInterface
    Handles evaluation of a group context map by merging all the individual context keys.
  • IAutoTask
    The IAutoTask interface is an interface for the Apex implementation of an Order Management auto task, an Order Management calculation.
  • IDeferredUpdater
    Allow system interface Apex classes to get notified when it is safe to perform data a DML manipulation. Any system interface that makes changes to the database should implement IDeferredUpdater.
  • InterfaceApplicationScreening
    Screen applications in Vlocity Government.
  • InterfaceRuleValidator
    Validate rules in Vlocity Government.
  • IsContractDocumentEditableInterface
    Determine whether a contract document can be changed.
  • ISystemBatchInterface
    ISystemBatchInterface is another version of an interface for Apex implementations between Order Management and external systems. It uses a batch mechanism instead of individual requests like ISystemInterface.
  • ISystemInterface
    ISystemInterface is an interface for Apex implementations between Order Management and external systems.
  • LoadConfiguration Interface
    Loads the configuration for VersionAwareCatalogService, defined in Version Aware Object Relationship metadata (VersionAwareObjectRelationship__mdt).
  • MarginRangeLoader
    Load margin range data from a calculation procedure and return the data in an output map. You can pass the calculation procedure name through a pricing plan step parameter:
  • MarginValidation
    Validates OneTimeMargin__c and RecurringMargin__c data and puts any error message in the CpqPricingMessage__c field.
  • MSApplyToGroupInterface
    Provides a way to customize the experience of the multi-site ApplyToGroup process.
  • MSMemberObjectSelector Interface
    Supports writing custom query logic for different member types that are configured in the MultiSite Group Management UI. The default implementation reads the field values configured in CPQ Group Member Type records and uses that to query for member records.
  • MultiSiteOrderUtilities
    Enable multi-site ordering. Using multi-site ordering, one order can include multiple shipping sites.
  • ObjectCopierInterface
    Initiate creating or updating the header record and its child items in the quote process.
  • OdinAPIHandler
    The OdinAPIHandler interface calls the OdinStandardAPIHandler implementation and specifies the behavior of the following Cart-Based APIs:
  • OdinAttributeFormatter Interface
    Formats an input attribute value and returns the formatted value in an output map.
  • OdinNotifFldFormat Interface
    Formats the field values passed in the notification map from Vlocity Order Management with updateMethod specified as directfieldupdate.
  • OpportunityContractFlagRollupInterface
    Determine when to flag the Opportunity as contract-required. If there is no implementation for this interface, the Opportunity is not flagged.
  • OpptyScheduleInterface
    Calculate and populate all schedule rows for the line items in an opportunity—the Opportunity Line Item Schedule objects.
  • OrderContractFlagRollupInterface
    Determine when to flag an Order as contract-required. If there is no implementation for this interface, the Order is not flagged.
  • PremisesInterface
    Return a list of premises for an account.
  • PricingElementServiceImplementationH
    PricingElementServiceImplementationH is an event hook interface that enables pre- and post-invoke interception of PricingElementServiceImplementation methods.
  • PricingInterface
    The PricingInterface prices products for an opportunity, order, or quote. The pricing process ranges from simple to complex, depending on customer requirements.
  • PricingSelectorInterface
    Queries for associated Opportunity, Quote, Order, or Account Pricing records related to the cart line items or asset records. These records adjust the base price based on effectivity dates during pricing or repricing.
  • ProdCatalogInfoOpenInterface
    Get the catalog information for a product, in JSON format.
  • ProductAvailabilityInterface
    The ProductAvailabilityInterface returns a filtered list of available products, usually based on the geographical address for an account.
  • ProductAvailabilityOpenInterface
    The ProductAvailabilityOpenInterface displays product availability messages in the UI.
  • ProductDefinitionInterface
    Updates, deletes, and adds line items in an Opportunity, Order, or Quote.
  • ProductEligibilityInterface
    The ProductEligibilityInterface returns a filtered list of eligible products based on eligibility rules, which are usually based on account characteristics.
  • ProductEligibilityOpenInterface
    The ProductEligibilityOpenInterface returns the items in the product list with a qualification flag and a message for each disqualified item. The interface accepts the header object and a list of price book entries and returns a list of item wrappers.
  • ProductValidationInterface
    The ProductValidationInterface implements compatibility rules, also known as configuration rules or validation rules. Compatibility rules specify the relationships between products. For example, one product could require, recommend, or exclude another product. The ProductValidationInterface validates the compatibility of the products in an opportunity, order, or quote. For more information about compatibility rules, see Compatibility RulesCompatibility Rules.
  • QueuedOrderSelector
    This interface is used in the Submit Order batch job. The implementation returns a list of orders. The returned order list is processed by batch jobs.
  • QuoteContractFlagRollupInterface
    Determine when to flag a Quote as contract-required. If there is no implementation for this interface, the Quote is not flagged.
  • RenewContractBatchJobProcessInterface
    RenewContractBatchJobProcessInterface processes the list of contracts that are ready for renewal.
  • RenewContractBatchJobQueryInterface
    Returns the query that gets a list of contracts that are ready for renewal.
  • RepricingInterface
    This service can reprice several object types related to Orders, Quotes, and Opportunities.
  • ResolveRefDate Interface
    Fetches the reference date at runtime with respect to a specified order, opportunity, quote, or line item. The reference date determines the correct version of products to be referenced from the cart.
  • RESTCPQInterface
    The RESTCPQInterface builds the command structure from the Representational State Transfer (REST) request, which is in JavaScript Object Notation (JSON) format.
  • RuleSetCombinationBatchJobRecord
    This Interface generates RuleSet context combinations. The batch size is one or more and depends on the average number of rules in each rule set.
  • SendSubmitToOM
    SendSubmitToOM is a Vlocity open interface that is required to send Submit requests to the order management system using an invokeMethod() call and the sendRequest method.
  • SplitProductInterface
    SplitProductInterface enables customers to split one line item into multiple lines. When a line item—either a single line item or a bundle—has a quantity greater than one, you can clone the line item into multiple individual lines to customize them.
  • TimePolicyInterface
    The TimePolicyInterface calculates the start and end dates for certain records based on the context and given input.
  • TransactionContextInterface
    Exposes Digital Commerce API transaction data so users can reuse existing objects in the current transaction.
  • UOWSupportedInterface
    UOWSupportedInterface supports custom validation and pricing implementations by handling certain Data Manipulation Language (DML) transactions related to sObjects when the UOWMode configuration setting is set to true. It indicates that the custom validation and pricing implementations are compatible with UOWMode.
  • UserContextInterface
    Handles evaluation of a user context map by merging all the individual context keys.
  • ValidateAddressInterface
    Validates street addresses.
  • VlocityOpenInterface
    The VlocityOpenInterface is a general-purpose interface class upon which you can create implementations across application domains, including pricing, merge, and so on. Using the VlocityOpenInterface, all implementation and method names are data-driven. You can add new delegates without breaking interfaces or requiring upgrades. You can delegate reuse and extend the interface.
  • VlocityOpenInterface2
    VlocityOpenInterface2 supports normal remote calls and remote calls that use the Continuation object. It differs slightly due to the return time of the invokeMethod on an object. In VlocityOpenInterface, the invokeMethod returns a Boolean. In VlocityOpenInterface2, the invokeMethod returns an object.
 
Loading
Salesforce Help | Article