/** * Create a new OICP v2.0 PushAuthenticationData request. * * @param ProviderId the unique identification of the EV service provider for this request. * @param AuthorizationIdentifications a stream of authorization identifications. * @param Action the server side data management operation for this request. * @return a new PushAuthenticationData request builder object. */publicPushAuthenticationDataRequestPushAuthenticationData(finalEVSP_IdProviderId,finalActionTypeAction,finalStream<AuthorizationIdentification>AuthorizationIdentifications){...}/** * Create a new OICP v2.0 PushAuthenticationData request. * * @param ProviderId the unique identification of the EV service provider for this request. * @param Action the server side data management operation for this request. * @param AuthorizationIdentifications an array of authorization identifications. * @return a new PushAuthenticationData request builder object. */publicPushAuthenticationDataRequestPushAuthenticationData(finalEVSP_IdProviderId,finalActionTypeAction,finalAuthorizationIdentification...AuthorizationIdentifications){...}
CompletableFuturereq=newEMPClient("api.playground.hubject.com").PushAuthenticationData(EVSP_Id.Parse("DE*GDF"),ActionType.fullLoad,AuthorizationIdentification.FromAuthToken(Auth_Token.Parse("08152305"))).Run(ack->{if(ack.hasResult())System.out.println("success!");else{System.out.println(ack.getStatusCode().getCode());System.out.println(ack.getStatusCode().getDescription());System.out.println(ack.getStatusCode().getAdditionalInfo());}});// Wait for the future to complete...req.get();
Comments (0)
HTTPSSSH
You can clone a snippet to your computer for local editing.
Learn more.