Class GetZipcodeInfo

java.lang.Object
io.github.dsheirer.rrapi.request.RequestBody
io.github.dsheirer.rrapi.request.GetZipcodeInfo

public class GetZipcodeInfo extends RequestBody
Zipcode information
  • Constructor Details

    • GetZipcodeInfo

      public GetZipcodeInfo(AuthorizationInformation authorizationInformation, int zipcode)
      Constructs the request
      Parameters:
      authorizationInformation - for the user
      zipcode - 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 requester
      zipcode - being requested
      Returns:
      envelope