Class GetZipcodeInfo
java.lang.Object
io.github.dsheirer.rrapi.request.RequestBody
io.github.dsheirer.rrapi.request.GetZipcodeInfo
Zipcode information
-
Constructor Summary
ConstructorsConstructorDescriptionGetZipcodeInfo(AuthorizationInformation authorizationInformation, int zipcode) Constructs the request -
Method Summary
Modifier and TypeMethodDescriptionstatic RequestEnvelopecreate(AuthorizationInformation authorizationInformation, int zipcode) Creates a request envelopeintZipcodes to requestvoidsetZipcode(int zipcode) Sets the requested zip codeMethods inherited from class RequestBody
create, getAuthorizationInformation, setAuthorizationInformation
-
Constructor Details
-
GetZipcodeInfo
Constructs the request- Parameters:
authorizationInformation- for the userzipcode- to request
-
-
Method Details
-
getZipcode
public int getZipcode()Zipcodes to request- Returns:
- zip codes
-
setZipcode
public void setZipcode(int zipcode) Sets the requested zip code- Parameters:
zipcode- to request
-
create
public static RequestEnvelope create(AuthorizationInformation authorizationInformation, int zipcode) Creates a request envelope- Parameters:
authorizationInformation- for the requesterzipcode- being requested- Returns:
- envelope
-