SeamCredential

data class SeamCredential(val id: String?, val supportedUnlockProximities: List<UnlockProximity>, val name: String, val location: String?, val expiry: LocalDateTime?, val cardNumber: String?, val code: String?, val errors: List<SeamCredentialError>, val isManaged: Boolean = true, val providerName: String)

A Seam credential object. It contains information about a credential, such as its ID, name, location, expiration date, and any errors that it encountered.

Constructors

Link copied to clipboard
constructor(id: String?, supportedUnlockProximities: List<UnlockProximity>, name: String, location: String?, expiry: LocalDateTime?, cardNumber: String?, code: String?, errors: List<SeamCredentialError>, isManaged: Boolean = true, providerName: String)

Properties

Link copied to clipboard

The card number associated with the credential.

Link copied to clipboard
val code: String?

The code associated with the credential.

Link copied to clipboard

A list of errors that the credential encountered.

Link copied to clipboard
val expiry: LocalDateTime?

The date and time when the credential expires.

Link copied to clipboard
val id: String?

The ID of the credential.

Link copied to clipboard
val isManaged: Boolean = true

Indicates whether this credential was created and managed by the Seam API (true), or was discovered directly through the provider integration (false).

Link copied to clipboard

A human-readable location for the credential.

Link copied to clipboard

A human-readable name for the credential.

Link copied to clipboard

The provider name as String. Possible values: "hid_origo_credential_service" "salto_ks" "brivo" "assa_abloy_credential_service" "visionline_system" "latch" "assa_abloy_vostio" "assa_abloy_vostio_credential_service" "salto_space"

Link copied to clipboard

The list of unlock proximities supported by the credential. Possible values in the list: UnlockProximity.TOUCH UnlockProximity.NEARBY UnlockProximity.REMOTE