Guest User

Untitled

a guest
Dec 20th, 2015
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 1.93 KB | None | 0 0
  1. package model;
  2.  
  3. import com.google.gson.annotations.SerializedName;
  4.  
  5. public class Store {
  6.  
  7.     @SerializedName("FACEBOOK ID") private String facebookID;
  8.     @SerializedName("STORE NAME") private String name;
  9.     @SerializedName("STREET") private String street;
  10.     @SerializedName("ZIP CODE") private String zipCode;
  11.     @SerializedName("CITY") private String city;
  12.     @SerializedName("LONGITUDE") private double longitude;
  13.     @SerializedName("LATITUDE") private double latitude;
  14.  
  15.     public Store(String facebookID, String name, String street, String zipCode, String city, double longitude, double latitude) {
  16.         this.facebookID = facebookID;
  17.         this.name = name;
  18.         this.street = street;
  19.         this.zipCode = zipCode;
  20.         this.city = city;
  21.         this.longitude = longitude;
  22.         this.latitude = latitude;
  23.     }
  24.  
  25.     public Store(){}
  26.  
  27.     public String getFacebookID() {
  28.         return facebookID;
  29.     }
  30.  
  31.     public void setFacebookID(String facebookID) {
  32.         this.facebookID = facebookID;
  33.     }
  34.  
  35.     public String getStreet() {
  36.         return street;
  37.     }
  38.  
  39.     public void setStreet(String street) {
  40.         this.street = street;
  41.     }
  42.  
  43.     public String getName() {
  44.         return name;
  45.     }
  46.  
  47.     public void setName(String name) {
  48.         this.name = name;
  49.     }
  50.  
  51.     public String getZipCode() {
  52.         return zipCode;
  53.     }
  54.  
  55.     public void setZipCode(String zipCode) {
  56.         this.zipCode = zipCode;
  57.     }
  58.  
  59.     public String getCity() {
  60.         return city;
  61.     }
  62.  
  63.     public void setCity(String city) {
  64.         this.city = city;
  65.     }
  66.  
  67.     public double getLongitude() {
  68.         return longitude;
  69.     }
  70.  
  71.     public void setLongitude(double longitude) {
  72.         this.longitude = longitude;
  73.     }
  74.  
  75.     public double getLatitude() {
  76.         return latitude;
  77.     }
  78.  
  79.     public void setLatitude(double latitude) {
  80.         this.latitude = latitude;
  81.     }
  82. }
Add Comment
Please, Sign In to add comment