Package pl.gsmservice.gateway.operations
Class GetSmsPrice.Sync
- java.lang.Object
-
- pl.gsmservice.gateway.operations.GetSmsPrice.Sync
-
- All Implemented Interfaces:
Operations.Operation<GetSmsPriceResponse>,Operations.RequestOperation<GetSmsPriceRequestBody,GetSmsPriceResponse>
- Enclosing class:
- GetSmsPrice
public static class GetSmsPrice.Sync extends java.lang.Object implements Operations.RequestOperation<GetSmsPriceRequestBody,GetSmsPriceResponse>
-
-
Constructor Summary
Constructors Constructor Description Sync(SDKConfiguration sdkConfiguration, java.util.Optional<Options> options, Headers _headers)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.net.http.HttpResponse<java.io.InputStream>doRequest(GetSmsPriceRequestBody request)GetSmsPriceResponsehandleResponse(java.net.http.HttpResponse<java.io.InputStream> response)
-
-
-
Constructor Detail
-
Sync
public Sync(SDKConfiguration sdkConfiguration, java.util.Optional<Options> options, Headers _headers)
-
-
Method Detail
-
doRequest
public java.net.http.HttpResponse<java.io.InputStream> doRequest(GetSmsPriceRequestBody request) throws java.lang.Exception
- Specified by:
doRequestin interfaceOperations.RequestOperation<GetSmsPriceRequestBody,GetSmsPriceResponse>- Throws:
java.lang.Exception
-
handleResponse
public GetSmsPriceResponse handleResponse(java.net.http.HttpResponse<java.io.InputStream> response) throws java.lang.Exception
- Specified by:
handleResponsein interfaceOperations.Operation<GetSmsPriceResponse>- Throws:
java.lang.Exception
-
-