Package com.usebutton.merchant
Class ButtonProduct
-
- All Implemented Interfaces:
-
com.usebutton.merchant.ButtonProductCompatible
public class ButtonProduct implements ButtonProductCompatible
A concrete implementation of the ButtonProductCompatible interface.
-
-
Constructor Summary
Constructors Constructor Description ButtonProduct()
-
Method Summary
Modifier and Type Method Description StringgetId()voidsetId(@Nullable() String id)StringgetUpc()voidsetUpc(@Nullable() String upc)List<String>getCategories()voidsetCategories(@Nullable() List<String> categories)StringgetName()voidsetName(@Nullable() String name)StringgetCurrency()voidsetCurrency(@Nullable() String currency)IntegergetValue()voidsetValue(@Nullable() Integer value)IntegergetQuantity()voidsetQuantity(@Nullable() Integer quantity)StringgetUrl()voidsetUrl(@Nullable() String url)Map<String, String>getAttributes()voidsetAttributes(@Nullable() Map<String, String> attributes)-
-
Method Detail
-
getCategories
@Nullable() List<String> getCategories()
-
setCategories
void setCategories(@Nullable() List<String> categories)
-
getCurrency
@Nullable() String getCurrency()
-
setCurrency
void setCurrency(@Nullable() String currency)
-
getQuantity
@Nullable() Integer getQuantity()
-
setQuantity
void setQuantity(@Nullable() Integer quantity)
-
getAttributes
@Nullable() Map<String, String> getAttributes()
-
setAttributes
void setAttributes(@Nullable() Map<String, String> attributes)
-
-
-
-