| Package | Description |
|---|---|
| uk.co.visalia.brightpearl.apiclient |
| Modifier and Type | Method and Description |
|---|---|
static BrightpearlLegacyApiSessionFactory |
BrightpearlLegacyApiSessionFactory.newApiSessionFactory()
Creates a new session factory instance.
|
BrightpearlLegacyApiSessionFactory |
BrightpearlLegacyApiSessionFactory.withAccount(Account account)
Set the target Brightpearl customer account for sessions created by this factory.
|
BrightpearlLegacyApiSessionFactory |
BrightpearlLegacyApiSessionFactory.withBrightpearlApiClient(BrightpearlApiClient brightpearlApiClient)
Set the underlying
BrightpearlApiClient that requests are sent to for execution. |
BrightpearlLegacyApiSessionFactory |
BrightpearlLegacyApiSessionFactory.withExpiredAuthTokenStrategy(ExpiredAuthTokenStrategy expiredAuthTokenStrategy)
Set the strategy to use when credentials authentication is configured and the current auth token expires.
|
BrightpearlLegacyApiSessionFactory |
BrightpearlLegacyApiSessionFactory.withUserCredentials(UserCredentials userCredentials)
Set the credentials of an API-enabled user account associated with the customer account.
|
Copyright © 2014. All Rights Reserved.