Package classes
Class Object_MerchantProductLink
- java.lang.Object
-
- classes.Object_BaseObject
-
- classes.Object_MerchantProductLink
-
- All Implemented Interfaces:
android.os.Parcelable
public class Object_MerchantProductLink extends Object_BaseObject
This is the link between a PreferabliObject_Productand a merchant product. If returned as part ofObject_WhereToBuy, will contain an array ofObject_Venueasvenues.
-
-
Field Summary
Fields Modifier and Type Field Description static android.os.Parcelable.Creator<Object_MerchantProductLink>CREATOR
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intdescribeContents()booleanfilter(java.io.Serializable serializable)booleanfilter(java.io.Serializable serializable, boolean filterVenues)java.lang.StringgetBottlePrice()longgetChannelId()java.lang.StringgetChannelName()java.lang.StringgetExcludeReason()doublegetFormatML()java.lang.StringgetImage(int width, int height, int quality)Get the link's image.java.lang.StringgetIntroText()java.lang.StringgetLandingUrl()java.lang.StringgetMappingName()voidgetPreferabliScore(API_ResultHandler<Object_PreferenceData> handler)java.lang.StringgetPriceCurrency()longgetProductId()java.lang.StringgetProductName()java.lang.StringgetValue()longgetVariantId()java.lang.IntegergetVariantYear()java.util.ArrayList<Object_Venue>getVenues()java.lang.StringgetWebsiteDataVerifiedAt()booleanisExcludeFromSystem()booleanisNonconformingResult()voidlttt(java.lang.Long collection_id, java.lang.Boolean include_merchant_links, API_ResultHandler<java.util.ArrayList<Object_Product>> handler)voidrate(Object_Tag.Other_RatingLevel rating, java.lang.String location, java.lang.String notes, java.lang.Double price, java.lang.Integer quantity, java.lang.Integer format_ml, API_ResultHandler<Object_Product> handler)voidwhereToBuy(Other_FulfillSort fulfill_sort, java.lang.Boolean append_nonconforming_results, java.lang.Boolean lock_to_integration, API_ResultHandler<Object_WhereToBuy> handler)voidwriteToParcel(android.os.Parcel dest, int flags)-
Methods inherited from class classes.Object_BaseObject
equals, getId, hashCode, setId
-
-
-
-
Field Detail
-
CREATOR
public static final android.os.Parcelable.Creator<Object_MerchantProductLink> CREATOR
-
-
Method Detail
-
getExcludeReason
public java.lang.String getExcludeReason()
-
getVariantYear
public java.lang.Integer getVariantYear()
-
getFormatML
public double getFormatML()
-
isExcludeFromSystem
public boolean isExcludeFromSystem()
-
getChannelId
public long getChannelId()
-
getChannelName
public java.lang.String getChannelName()
-
getProductId
public long getProductId()
-
getVenues
public java.util.ArrayList<Object_Venue> getVenues()
-
getVariantId
public long getVariantId()
-
getPriceCurrency
public java.lang.String getPriceCurrency()
-
getMappingName
public java.lang.String getMappingName()
-
getValue
public java.lang.String getValue()
-
getLandingUrl
public java.lang.String getLandingUrl()
-
getProductName
public java.lang.String getProductName()
-
getIntroText
public java.lang.String getIntroText()
-
getImage
public java.lang.String getImage(int width, int height, int quality)Get the link's image.- Parameters:
width- returns an image with the specified width in pixels.height- returns an image with the specified height in pixels.quality- returns an image with the specified quality. Scales from 0 - 100.- Returns:
- the URL of the requested image.
-
getBottlePrice
public java.lang.String getBottlePrice()
-
getWebsiteDataVerifiedAt
public java.lang.String getWebsiteDataVerifiedAt()
-
filter
public boolean filter(java.io.Serializable serializable)
- Overrides:
filterin classObject_BaseObject
-
filter
public boolean filter(java.io.Serializable serializable, boolean filterVenues)
-
describeContents
public int describeContents()
- Specified by:
describeContentsin interfaceandroid.os.Parcelable- Overrides:
describeContentsin classObject_BaseObject
-
isNonconformingResult
public boolean isNonconformingResult()
-
writeToParcel
public void writeToParcel(android.os.Parcel dest, int flags)- Specified by:
writeToParcelin interfaceandroid.os.Parcelable- Overrides:
writeToParcelin classObject_BaseObject
-
whereToBuy
public void whereToBuy(Other_FulfillSort fulfill_sort, java.lang.Boolean append_nonconforming_results, java.lang.Boolean lock_to_integration, API_ResultHandler<Object_WhereToBuy> handler)
-
rate
public void rate(Object_Tag.Other_RatingLevel rating, java.lang.String location, java.lang.String notes, java.lang.Double price, java.lang.Integer quantity, java.lang.Integer format_ml, API_ResultHandler<Object_Product> handler)
-
lttt
public void lttt(java.lang.Long collection_id, java.lang.Boolean include_merchant_links, API_ResultHandler<java.util.ArrayList<Object_Product>> handler)
-
getPreferabliScore
public void getPreferabliScore(API_ResultHandler<Object_PreferenceData> handler)
-
-