Billing Central Apex API Developer Reference

ffbc.ContractsServiceActionActivateAsync

global with sharing class ContractsServiceActionActivateAsync

Invocable action to allow contracts to be activated using clicks-not-code customisations. For the API exposing this functionality, see ContractsService.activationAsync For information about using the invocable method in a flow, search for "Apex action" in the Certinia Help.

Methods

activateAsync

global static List<ffbc.ContractsServiceActionActivateAsync.Response> activateAsync(List<ffbc.ContractsServiceActionActivateAsync.Request> requests)

Activate Billing Contracts Asynchronously.

Input Parameters

Name Type Description
requests List<ffbc.ContractsServiceActionActivateAsync.Request> List of request objects containing the contracts to be activated.

Return Value

A list of response objects containing the contracts to be activated and the background process IDs.

ffbc.ContractsServiceActionActivateAsync.Request

global with sharing class Request

This class wraps the contract to be activated.

Properties

Name Type Description
contractId Id The ID of a billing contract to be activated.

Methods

Request

global Request()

The default constructor for a Request.

ffbc.ContractsServiceActionActivateAsync.Response

global with sharing class Response

The response to a request to activate contracts. This contains the contract being activated and the Background Process ID that will process the activation request.

Properties

Name Type Description
contractId Id The ID of the billing contract to be activated.
backgroundProcessId Id The Background Process ID that will process the activation request.

Methods

Response

global Response()

The default constructor for a Response.

© Copyright 2009–2023 Certinia Inc. All rights reserved. Various trademarks held by their respective owners.