Package com.scytales.mvalid.sdk.data
Class RequestBuilder
-
- All Implemented Interfaces:
public class RequestBuilder
The type Request builder.
-
-
Field Summary
Fields Modifier and Type Field Description public Map<String, Map<String, Map<String, Boolean>>>
docRequests
public SessionManager
sessionManager
public DeviceEngagement
deviceEngagement
-
Constructor Summary
Constructors Constructor Description RequestBuilder()
-
Method Summary
Modifier and Type Method Description Map<String, Map<String, Map<String, Boolean>>>
getDocRequests()
Gets doc requests. RequestBuilder
setDocRequests(Map<String, Map<String, Map<String, Boolean>>> docRequests)
Sets doc requests. SessionManager
getSessionManager()
Gets session manager. RequestBuilder
setSessionManager(SessionManager sessionManager)
Sets session manager. DeviceEngagement
getDeviceEngagement()
Gets device engagement. RequestBuilder
setDeviceEngagement(DeviceEngagement deviceEngagement)
Sets device engagement. RequestBuilder
forIsoDocTypeAgeOver(int ageOverValue, boolean intentToRetain)
For iso doc type age over request builder. RequestBuilder
forIsoDocTypeContactInfo(boolean intentToRetain)
For iso doc type contact info request builder. RequestBuilder
forIsoDocType(Map<String, Boolean> itemsRequest)
For iso doc type request builder. Request
build()
Build request. -
-
Method Detail
-
setDocRequests
RequestBuilder setDocRequests(Map<String, Map<String, Map<String, Boolean>>> docRequests)
Sets doc requests.
- Parameters:
docRequests
- the doc requests
-
getSessionManager
SessionManager getSessionManager()
Gets session manager.
-
setSessionManager
RequestBuilder setSessionManager(SessionManager sessionManager)
Sets session manager.
- Parameters:
sessionManager
- the session manager
-
getDeviceEngagement
DeviceEngagement getDeviceEngagement()
Gets device engagement.
-
setDeviceEngagement
RequestBuilder setDeviceEngagement(DeviceEngagement deviceEngagement)
Sets device engagement.
- Parameters:
deviceEngagement
- the device engagement
-
forIsoDocTypeAgeOver
RequestBuilder forIsoDocTypeAgeOver(int ageOverValue, boolean intentToRetain)
For iso doc type age over request builder.
- Parameters:
ageOverValue
- the age over valueintentToRetain
- the intent to retain
-
forIsoDocTypeContactInfo
RequestBuilder forIsoDocTypeContactInfo(boolean intentToRetain)
For iso doc type contact info request builder.
- Parameters:
intentToRetain
- the intent to retain
-
forIsoDocType
RequestBuilder forIsoDocType(Map<String, Boolean> itemsRequest)
For iso doc type request builder.
- Parameters:
itemsRequest
- the items request
-
-
-
-