You are here:
TransactionContextInterface
Exposes Digital Commerce API transaction data so users can reuse existing objects in the current transaction.
Loosely typed
This interface is usually invoked by Digital Commerce APIs to store global configuration objects such as the scope objects of a context.
Access |
Signature |
|---|---|
public |
|
DefaultTrxnCtxImplementationDefaultTrxnCtxImplementation
None. Creating other implementations is not recommended.
This interface has no input or output parameters. It uses a TransactionContext as an input source, which is available through a Vlocity open interface. However, specify the invokeMethod parameters in the signature as follows:
methodName: get
-
input: Map<String, Object>
-
output: Map<String, Object> ContextValue
-
options: Map<String, Object>
For the strings, specify keys that reference the objects accessed in the present transaction. These are usually set in Vlocity internal services.
For the objects, specify the SObjects corresponding to the keys. If the key is null or no key is found, the object is null.

