Package glair.vision.api.sessions
Class KtpSessions
Represents a session for KTP (Kartu Tanda Penduduk) operations.
Extends the
BaseSessions class with specific configuration and session
details for KTP sessions.-
Field Summary
Fields inherited from class glair.vision.model.BaseSessions
baseUrl, config, logger, sessionType -
Constructor Summary
ConstructorsConstructorDescriptionKtpSessions(Config config) Constructs a KtpSessions instance with the provided configuration. -
Method Summary
Modifier and TypeMethodDescriptioncreateBody(KtpSessionsParam param) Creates the body of the session request based on the provided parameters.Methods inherited from class glair.vision.model.BaseSessions
create, create, getBaseUrl, getSessionType, retrieve, retrieve
-
Constructor Details
-
KtpSessions
Constructs a KtpSessions instance with the provided configuration.- Parameters:
config- The configuration settings to use for KTP sessions.
-
-
Method Details
-
createBody
Description copied from class:BaseSessionsCreates the body of the session request based on the provided parameters.- Overrides:
createBodyin classBaseSessions<KtpSessionsParam>- Parameters:
param- The session parameters.- Returns:
- A map representing the session request body.
-