Package classes

Class Object_Venue

    • Field Detail

      • CREATOR

        public static final android.os.Parcelable.Creator<Object_Venue> CREATOR
    • Method Detail

      • filter

        public boolean filter​(java.io.Serializable serializable)
        Overrides:
        filter in class Object_BaseObject
      • filter

        public boolean filter​(java.io.Serializable serializable,
                              boolean filter_links)
      • getYoutubeLink

        public java.lang.String getYoutubeLink()
      • getFacebookLink

        public java.lang.String getFacebookLink()
      • getInstagramLink

        public java.lang.String getInstagramLink()
      • getTwitterLink

        public java.lang.String getTwitterLink()
      • getNotes

        public java.lang.String getNotes()
      • getFormattedAddress

        public java.lang.String getFormattedAddress​(boolean oneLine)
        Get a formatted return of the address for a specific venue.
        Parameters:
        oneLine - pass true if you want the address returned in one line. False returns the address in a multiline format.
        Returns:
        the venue's full formatted address.
      • getPrimaryInventoryId

        public long getPrimaryInventoryId()
      • getFeaturedCollectionId

        public long getFeaturedCollectionId()
      • sortVenuesByDistance

        public static java.util.ArrayList<Object_Venue> sortVenuesByDistance​(double lat1,
                                                                             double lon1,
                                                                             java.util.ArrayList<Object_Venue> venues)
        Sort an array of venues by their distance from the user.
        Parameters:
        lat1 - user's latitude as a double.
        lon1 - user's longitude as a double.
        venues - an array of venues to be sorted.
        Returns:
        a sorted array of venues.
      • getDistanceInMiles

        public int getDistanceInMiles​(double lat1,
                                      double lon1)
        Get your distance in miles to the venue.
        Parameters:
        lat1 - user's latitude as a double.
        lon1 - user's longitude as a double.
        Returns:
        user's distance to the venue in miles.
      • hasLocalDelivery

        public boolean hasLocalDelivery()
        Does the venue offer local delivery?
        Returns:
        true if the venue can deliver locally to the user.
      • hasPickup

        public boolean hasPickup()
        Does the venue offer local pickup?
        Returns:
        true if the user can pickup at the venue.
      • hasShipping

        public boolean hasShipping()
        Does the venue offer shipping
        Returns:
        true if the venue can ship to the user.
      • getShippingSpeedNote

        public java.lang.String getShippingSpeedNote()
        Get the venue's shipping speed.
        Returns:
        the venue's notes about shipping speed.
      • getShippingCostNote

        public java.lang.String getShippingCostNote()
        Get the venue's shipping cost.
        Returns:
        the venue's notes about its shipping cost.
      • getCityState

        public java.lang.String getCityState()
        Get the venue's city and state.
        Returns:
        city, state, city and state, or a blank string depending on the information available.
      • getName

        public java.lang.String getName()
      • getDisplayName

        public java.lang.String getDisplayName()
      • getAddressLine1

        public java.lang.String getAddressLine1()
      • getAddressLine2

        public java.lang.String getAddressLine2()
      • getCity

        public java.lang.String getCity()
      • getState

        public java.lang.String getState()
      • getZipCode

        public java.lang.String getZipCode()
      • getCountry

        public java.lang.String getCountry()
      • getLat

        public double getLat()
      • isVirtual

        public boolean isVirtual()
      • getImages

        public java.util.ArrayList<Object_Media> getImages()
      • getEmailAddress

        public java.lang.String getEmailAddress()
      • getLon

        public double getLon()
      • getPhone

        public java.lang.String getPhone()
      • getUrl

        public java.lang.String getUrl()
      • getCreatedAt

        public java.lang.String getCreatedAt()
      • getUpdatedAt

        public java.lang.String getUpdatedAt()
      • writeToParcel

        public void writeToParcel​(android.os.Parcel dest,
                                  int flags)
        Specified by:
        writeToParcel in interface android.os.Parcelable
        Overrides:
        writeToParcel in class Object_BaseObject