DefaultEnvironment

DefaultEnvironment.kt

Enum that defines a Sensibill Backend(API) Environment. Contains the backend host name

Entries

Link copied to clipboard

Sensibill Testing Backend Environment

Link copied to clipboard

Sensibill Beta-Staging Backend Environment

Link copied to clipboard

Sensibill Beta-Production Backend Environment

Link copied to clipboard

Sensibill Receipt-Staging Backend Environment

Link copied to clipboard

Main Sensibill production environment

Link copied to clipboard
Link copied to clipboard

Sensibill Receipts Sandbox Environment

Link copied to clipboard

Sensibill Beta Sandbox Environment

Link copied to clipboard

Sensibill Temporary Environment

Link copied to clipboard

Sensibill Load Test Environment

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
open override val hasHttps: Boolean = true

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

Link copied to clipboard
open override val hostName: String

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

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val v1BaseUrl: String

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

Link copied to clipboard
open override 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

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.