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
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 Details
-
ProductVariant
public ProductVariant()
-
-
Method Details
-
getLabel
Name of the variant to be displayed on the UI. -
setLabel
Name of the variant to be displayed on the UI. -
getOptions
A vector of possible options of the variant in the order by which they will be shown on the UI. -
setOptions
A vector of possible options of the variant in the order by which they will be shown on the UI. -
getProductField
Name of the first-class or custom-data product item field describing a variant of the product. -
setProductField
Name of the first-class or custom-data product item field describing a variant of the product.
-