SBEnvironment

interface SBEnvironment

The base definition of a Sensibill API Environment that the Sensibill SDK can interact with.

Inheritors

Properties

Link copied to clipboard
abstract val hasHttps: Boolean

If the Sensibill environment is using https (true) or http (false)

Link copied to clipboard
abstract val hostName: String

the host name of the Sensibill Environment. eg. my.environment.com

Link copied to clipboard
abstract val v1BaseUrl: String

The base url of the API v1 endpoints. By default set this to result of defaultV1BaseUrl

Link copied to clipboard
abstract val v2BaseUrl: String

The base url of the API v2 endpoints. By default set this to result of defaultV2BaseUrl

Functions

Link copied to clipboard

The default v1 Base Url

Link copied to clipboard

The default v2 Base Url