Subversion Repositories SmartDukaan

Rev

Rev 306 | Blame | Last modification | View Log | RSS feed

package in.shop2020.hotspot.dashbaord.shared.data;

import com.google.gwt.user.client.rpc.IsSerializable;

public class Address implements IsSerializable{
        
        private static final long serialVersionUID = 5804421697858217477L;

        private String name;
        
        private String line1;
        
        private String line2;
        
        private String locality;
        
        private String landmark;
        
        private String city;
        
        private String state;
        
        private String country;
        
        private String zip;
        
        private String phone;
        
        private String completeAddress = null;
        
        
        @SuppressWarnings("unused")
        private Address(){}
        
        public Address(String name, String line1, String line2, String locality, String landmark, String city, String state, String country, String zip, String phone){
                this.name = name;
                this.line1 = line1;
                this.line2 = line2;
                this.locality = locality;
                this.landmark = landmark;
                this.city = city;
                this.state = state;
                this.country = country;
                this.zip = zip;
                this.phone = phone;
        }
        
        public Address(String address){
                this.completeAddress = address;
        }

        public String getName() {
                return name;
        }

        public String getLine1() {
                return line1;
        }

        public String getLine2() {
                return line2;
        }

        public String getLocality() {
                return locality;
        }

        public String getLandmark() {
                return landmark;
        }

        public String getCity() {
                return city;
        }

        public String getState() {
                return state;
        }

        public String getCountry() {
                return country;
        }

        public String getZip() {
                return zip;
        }

        public String getPhone() {
                return phone;
        }

        public String getCompleteAddress() {
                return completeAddress;
        }       
}