Package org.javlo.ecom
Class Product
- java.lang.Object
-
- org.javlo.ecom.Product
-
public class Product extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Product.ProductBean
-
Constructor Summary
Constructors Constructor Description Product(ProductComponent comp, ProductComponent refComp)
-
Method Summary
-
-
-
Constructor Detail
-
Product
public Product(ProductComponent comp, ProductComponent refComp)
-
-
Method Detail
-
getComponent
public ProductComponent getComponent()
-
reserve
public void reserve(ContentContext ctx)
-
pay
public void pay(ContentContext ctx)
-
getName
public String getName()
-
getLabel
public String getLabel()
-
setFakeName
public void setFakeName(String name)
-
getId
public String getId()
-
setId
public void setId(String id)
-
getUrl
public String getUrl()
-
setUrl
public void setUrl(String url)
-
getShortDescription
public String getShortDescription()
-
setShortDescription
public void setShortDescription(String shortDescription)
-
getLongDescription
public String getLongDescription()
-
setLongDescription
public void setLongDescription(String longDescription)
-
getWeight
public double getWeight()
-
getPrice
public double getPrice()
-
getReductionPrice
public double getReductionPrice()
-
getTotal
public double getTotal()
-
getReduction
public double getReduction()
-
getVAT
public double getVAT()
-
getQuantity
public int getQuantity()
-
setQuantity
public void setQuantity(int quantity)
-
getImage
public IImageTitle getImage()
-
setImage
public void setImage(ContentContext ctx, IImageTitle image)
-
getImageURL
public String getImageURL()
-
getCurrencyCode
public String getCurrencyCode()
-
getPriceString
public String getPriceString()
-
getReductionString
public String getReductionString()
-
getTotalString
public String getTotalString()
-
main
public static void main(String[] args)
-
getBean
public Product.ProductBean getBean(ContentContext ctx) throws Exception
- Throws:
Exception
-
setPrice
public void setPrice(double price)
-
getPreviewUrl
public String getPreviewUrl()
-
setPreviewUrl
public void setPreviewUrl(String previewUrl)
-
-