Package com.veeva.vault.sdk.api.token


package com.veeva.vault.sdk.api.token
This package provides interfaces to define and resolve custom tokens.

The example below uses the TokenService to create a TokenRequest containing custom tokens.

 
      TokenService tokenService = ServiceLocator.locate(TokenService.class);
      TokenRequest.Builder builder = tokenService.newTokenRequestBuilder();

      builder.withValue("Custom.api_version", "1.0");
      builder.withValue("Custom.is_case_sensitive", Boolean.TRUE);
      builder.withValue("Custom.max_amount", new BigDecimal(100));

      TokenRequest tokenRequest = builder.build();
 
 
  • Interfaces
    Class
    Description
    A request that contains mappings between custom token names and the values that will be resolved if those tokens are encountered during token resolution in supported operations.
    Builds a TokenRequest.
    Service to support custom token resolution for supported operations.