Class Screening
- java.lang.Object
-
- com.stackone.stackone_client_java.Screening
-
public class Screening extends java.lang.Object
-
-
Method Summary
-
-
-
Method Detail
-
async
public AsyncScreening async()
Switches to the async SDK.- Returns:
- The async SDK
-
listScreeningPackages
public ScreeningListScreeningPackagesRequestBuilder listScreeningPackages()
List Screening Packages- Returns:
- The call builder
-
listScreeningPackages
public ScreeningListScreeningPackagesResponse listScreeningPackages(ScreeningListScreeningPackagesRequest request)
List Screening Packages- Parameters:
request- The request object containing all the parameters for the API call.- Returns:
- The response from the API call
- Throws:
java.lang.RuntimeException- subclass if the API call fails
-
listScreeningPackages
public ScreeningListScreeningPackagesResponse listScreeningPackages(ScreeningListScreeningPackagesRequest request, java.util.Optional<Options> options)
List Screening Packages- Parameters:
request- The request object containing all the parameters for the API call.options- additional options- Returns:
- The response from the API call
- Throws:
java.lang.RuntimeException- subclass if the API call fails
-
getScreeningPackage
public ScreeningGetScreeningPackageRequestBuilder getScreeningPackage()
Get Screening Package- Returns:
- The call builder
-
getScreeningPackage
public ScreeningGetScreeningPackageResponse getScreeningPackage(ScreeningGetScreeningPackageRequest request)
Get Screening Package- Parameters:
request- The request object containing all the parameters for the API call.- Returns:
- The response from the API call
- Throws:
java.lang.RuntimeException- subclass if the API call fails
-
getScreeningPackage
public ScreeningGetScreeningPackageResponse getScreeningPackage(ScreeningGetScreeningPackageRequest request, java.util.Optional<Options> options)
Get Screening Package- Parameters:
request- The request object containing all the parameters for the API call.options- additional options- Returns:
- The response from the API call
- Throws:
java.lang.RuntimeException- subclass if the API call fails
-
webhookScreeningResult
public ScreeningWebhookScreeningResultRequestBuilder webhookScreeningResult()
Webhook Screening Result- Returns:
- The call builder
-
webhookScreeningResult
public ScreeningWebhookScreeningResultResponse webhookScreeningResult(java.lang.String xAccountId, ScreeningResultWebhook screeningResultWebhook)
Webhook Screening Result- Parameters:
xAccountId- The account identifierscreeningResultWebhook-- Returns:
- The response from the API call
- Throws:
java.lang.RuntimeException- subclass if the API call fails
-
webhookScreeningResult
public ScreeningWebhookScreeningResultResponse webhookScreeningResult(java.lang.String xAccountId, ScreeningResultWebhook screeningResultWebhook, java.util.Optional<Options> options)
Webhook Screening Result- Parameters:
xAccountId- The account identifierscreeningResultWebhook-options- additional options- Returns:
- The response from the API call
- Throws:
java.lang.RuntimeException- subclass if the API call fails
-
createScreeningOrder
public ScreeningCreateScreeningOrderRequestBuilder createScreeningOrder()
Create Screening Order- Returns:
- The call builder
-
createScreeningOrder
public ScreeningCreateScreeningOrderResponse createScreeningOrder(java.lang.String xAccountId, ScreeningCreateOrderRequestDto screeningCreateOrderRequestDto)
Create Screening Order- Parameters:
xAccountId- The account identifierscreeningCreateOrderRequestDto-- Returns:
- The response from the API call
- Throws:
java.lang.RuntimeException- subclass if the API call fails
-
createScreeningOrder
public ScreeningCreateScreeningOrderResponse createScreeningOrder(java.lang.String xAccountId, ScreeningCreateOrderRequestDto screeningCreateOrderRequestDto, java.util.Optional<Options> options)
Create Screening Order- Parameters:
xAccountId- The account identifierscreeningCreateOrderRequestDto-options- additional options- Returns:
- The response from the API call
- Throws:
java.lang.RuntimeException- subclass if the API call fails
-
-