Class ProductVariant

java.lang.Object
com.restfb.types.AbstractFacebookType
com.restfb.types.ads.ProductVariant
All Implemented Interfaces:
Serializable

Represents the Product Variant type
See Also:
Serialized Form
  • Constructor Details

  • Method Details

    • getLabel

      public String getLabel()
      Name of the variant to be displayed on the UI.
    • setLabel

      public void setLabel(String label)
      Name of the variant to be displayed on the UI.
    • 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

      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.