Environment

enum Environment : Enum<Environment>

Entries

SANDBOX
Link copied to clipboard
SANDBOX("https://id.sandbox.pace.cloud", "https://api.sandbox.pace.cloud", "https://api.pace.cloud/photon/", "https://api.pace.cloud/routing/", "https://pay.sandbox.pace.cloud", "https://pay.sandbox.pace.cloud/transactions", "https://sandbox.fuel.site", "https://my.sandbox.fuel.site")
PRODUCTION
Link copied to clipboard
PRODUCTION("https://id.pace.cloud", "https://api.pace.cloud", "https://api.pace.cloud/photon/", "https://api.pace.cloud/routing/", "https://pay.pace.cloud", "https://pay.pace.cloud/transactions", "https://fuel.site", "https://my.fuel.site")
STAGING
Link copied to clipboard
STAGING("https://id.stage.pace.cloud", "https://api.stage.pace.cloud", "https://api.pace.cloud/photon/", "https://api.pace.cloud/routing/", "https://pay.stage.pace.cloud", "https://pay.stage.pace.cloud/transactions", "https://stage.fuel.site", "https://my.stage.fuel.site")
DEVELOPMENT
Link copied to clipboard
DEVELOPMENT("https://id.dev.pace.cloud", "https://api.dev.pace.cloud", "https://api.pace.cloud/photon/", "https://api.pace.cloud/routing/", "https://pay.dev.pace.cloud", "https://pay.dev.pace.cloud/transactions", "https://dev.fuel.site", "https://my.dev.fuel.site")

Properties

apiUrl
Link copied to clipboard
val apiUrl: String
dashboardUrl
Link copied to clipboard
val dashboardUrl: String
fuelingUrl
Link copied to clipboard
val fuelingUrl: String
idUrl
Link copied to clipboard
val idUrl: String
name
Link copied to clipboard
val name: String
ordinal
Link copied to clipboard
val ordinal: Int
payUrl
Link copied to clipboard
val payUrl: String
routingBaseUrl
Link copied to clipboard
val routingBaseUrl: String
searchBaseUrl
Link copied to clipboard
val searchBaseUrl: String
transactionUrl
Link copied to clipboard
val transactionUrl: String

Extensions

getOIDConfiguration
Link copied to clipboard
fun Environment.getOIDConfiguration(clientId: String, clientSecret: String? = null, scopes: List<String>? = null, redirectUri: String, responseType: String = ResponseTypeValues.CODE, additionalParameters: Map<String, String>? = null, authorizationEndpoint: String? = null, endSessionEndpoint: String? = null, tokenEndpoint: String? = null, userInfoEndpoint: String? = null, integrated: Boolean = false): OIDConfiguration