Class AsyncScreening
- java.lang.Object
-
- com.stackone.stackone_client_java.AsyncScreening
-
public class AsyncScreening extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ScreeningCreateScreeningOrderRequestBuildercreateScreeningOrder()Create Screening Orderjava.util.concurrent.CompletableFuture<ScreeningCreateScreeningOrderResponse>createScreeningOrder(java.lang.String xAccountId, ScreeningCreateOrderRequestDto screeningCreateOrderRequestDto)Create Screening Orderjava.util.concurrent.CompletableFuture<ScreeningCreateScreeningOrderResponse>createScreeningOrder(java.lang.String xAccountId, ScreeningCreateOrderRequestDto screeningCreateOrderRequestDto, java.util.Optional<Options> options)Create Screening OrderScreeningGetScreeningPackageRequestBuildergetScreeningPackage()Get Screening Packagejava.util.concurrent.CompletableFuture<ScreeningGetScreeningPackageResponse>getScreeningPackage(ScreeningGetScreeningPackageRequest request)Get Screening Packagejava.util.concurrent.CompletableFuture<ScreeningGetScreeningPackageResponse>getScreeningPackage(ScreeningGetScreeningPackageRequest request, java.util.Optional<Options> options)Get Screening PackageScreeningListScreeningPackagesRequestBuilderlistScreeningPackages()List Screening Packagesjava.util.concurrent.CompletableFuture<ScreeningListScreeningPackagesResponse>listScreeningPackages(ScreeningListScreeningPackagesRequest request)List Screening Packagesjava.util.concurrent.CompletableFuture<ScreeningListScreeningPackagesResponse>listScreeningPackages(ScreeningListScreeningPackagesRequest request, java.util.Optional<Options> options)List Screening PackagesScreeningsync()Switches to the sync SDK.ScreeningWebhookScreeningResultRequestBuilderwebhookScreeningResult()Webhook Screening Resultjava.util.concurrent.CompletableFuture<ScreeningWebhookScreeningResultResponse>webhookScreeningResult(java.lang.String xAccountId, ScreeningResultWebhook screeningResultWebhook)Webhook Screening Resultjava.util.concurrent.CompletableFuture<ScreeningWebhookScreeningResultResponse>webhookScreeningResult(java.lang.String xAccountId, ScreeningResultWebhook screeningResultWebhook, java.util.Optional<Options> options)Webhook Screening Result
-
-
-
Method Detail
-
sync
public Screening sync()
Switches to the sync SDK.- Returns:
- The sync SDK
-
listScreeningPackages
public ScreeningListScreeningPackagesRequestBuilder listScreeningPackages()
List Screening Packages- Returns:
- The async call builder
-
listScreeningPackages
public java.util.concurrent.CompletableFuture<ScreeningListScreeningPackagesResponse> listScreeningPackages(ScreeningListScreeningPackagesRequest request)
List Screening Packages- Parameters:
request- The request object containing all the parameters for the API call.- Returns:
CompletableFuture<ScreeningListScreeningPackagesResponse>- The async response
-
listScreeningPackages
public java.util.concurrent.CompletableFuture<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:
CompletableFuture<ScreeningListScreeningPackagesResponse>- The async response
-
getScreeningPackage
public ScreeningGetScreeningPackageRequestBuilder getScreeningPackage()
Get Screening Package- Returns:
- The async call builder
-
getScreeningPackage
public java.util.concurrent.CompletableFuture<ScreeningGetScreeningPackageResponse> getScreeningPackage(ScreeningGetScreeningPackageRequest request)
Get Screening Package- Parameters:
request- The request object containing all the parameters for the API call.- Returns:
CompletableFuture<ScreeningGetScreeningPackageResponse>- The async response
-
getScreeningPackage
public java.util.concurrent.CompletableFuture<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:
CompletableFuture<ScreeningGetScreeningPackageResponse>- The async response
-
webhookScreeningResult
public ScreeningWebhookScreeningResultRequestBuilder webhookScreeningResult()
Webhook Screening Result- Returns:
- The async call builder
-
webhookScreeningResult
public java.util.concurrent.CompletableFuture<ScreeningWebhookScreeningResultResponse> webhookScreeningResult(java.lang.String xAccountId, ScreeningResultWebhook screeningResultWebhook)
Webhook Screening Result- Parameters:
xAccountId- The account identifierscreeningResultWebhook-- Returns:
CompletableFuture<ScreeningWebhookScreeningResultResponse>- The async response
-
webhookScreeningResult
public java.util.concurrent.CompletableFuture<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:
CompletableFuture<ScreeningWebhookScreeningResultResponse>- The async response
-
createScreeningOrder
public ScreeningCreateScreeningOrderRequestBuilder createScreeningOrder()
Create Screening Order- Returns:
- The async call builder
-
createScreeningOrder
public java.util.concurrent.CompletableFuture<ScreeningCreateScreeningOrderResponse> createScreeningOrder(java.lang.String xAccountId, ScreeningCreateOrderRequestDto screeningCreateOrderRequestDto)
Create Screening Order- Parameters:
xAccountId- The account identifierscreeningCreateOrderRequestDto-- Returns:
CompletableFuture<ScreeningCreateScreeningOrderResponse>- The async response
-
createScreeningOrder
public java.util.concurrent.CompletableFuture<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:
CompletableFuture<ScreeningCreateScreeningOrderResponse>- The async response
-
-