Package com.restfb.types.ads
Class ProductVariant
- java.lang.Object
-
- com.restfb.types.AbstractFacebookType
-
- com.restfb.types.ads.ProductVariant
-
- All Implemented Interfaces:
Serializable
public class ProductVariant extends AbstractFacebookType
Represents the Product Variant type- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ProductVariant()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getLabel()
Name of the variant to be displayed on the UI.List<String>
getOptions()
A vector of possible options of the variant in the order by which they will be shown on the UI.String
getProductField()
Name of the first-class or custom-data product item field describing a variant of the product.void
setLabel(String label)
Name of the variant to be displayed on the UI.void
setOptions(List<String> options)
A vector of possible options of the variant in the order by which they will be shown on the UI.void
setProductField(String productField)
Name of the first-class or custom-data product item field describing a variant of the product.-
Methods inherited from class com.restfb.types.AbstractFacebookType
equals, hashCode, toString
-
-
-
-
Constructor Detail
-
ProductVariant
public ProductVariant()
-
-
Method Detail
-
getOptions
public List<String> getOptions()
A vector of possible options of the variant in the order by which they will be shown on the UI.
-
setOptions
public void setOptions(List<String> options)
A vector of possible options of the variant in the order by which they will be shown on the UI.
-
getProductField
public String getProductField()
Name of the first-class or custom-data product item field describing a variant of the product.
-
setProductField
public void setProductField(String productField)
Name of the first-class or custom-data product item field describing a variant of the product.
-
-