public class SkuBundleItemWrapper
extends org.broadleafcommerce.common.rest.api.wrapper.BaseWrapper
implements org.broadleafcommerce.common.rest.api.wrapper.APIWrapper<org.broadleafcommerce.core.catalog.domain.SkuBundleItem>
Modifier and Type | Field and Description |
---|---|
protected Boolean |
active |
protected Character |
archived |
protected Long |
bundleId |
protected String |
description |
protected Long |
id |
protected String |
longDescription |
protected String |
name |
protected Integer |
quantity |
protected org.broadleafcommerce.common.money.Money |
retailPrice |
protected org.broadleafcommerce.common.money.Money |
salePrice |
protected SkuWrapper |
sku |
Constructor and Description |
---|
SkuBundleItemWrapper() |
Modifier and Type | Method and Description |
---|---|
Boolean |
getActive() |
Character |
getArchived() |
Long |
getBundleId() |
String |
getDescription() |
Long |
getId() |
String |
getLongDescription() |
String |
getName() |
Long |
getProductId() |
Integer |
getQuantity() |
org.broadleafcommerce.common.money.Money |
getRetailPrice() |
org.broadleafcommerce.common.money.Money |
getSalePrice() |
SkuWrapper |
getSku() |
void |
setActive(Boolean active) |
void |
setArchived(Character archived) |
void |
setBundleId(Long bundleId) |
void |
setDescription(String description) |
void |
setId(Long id) |
void |
setLongDescription(String longDescription) |
void |
setName(String name) |
void |
setProductId(Long productId) |
void |
setQuantity(Integer quantity) |
void |
setRetailPrice(org.broadleafcommerce.common.money.Money retailPrice) |
void |
setSalePrice(org.broadleafcommerce.common.money.Money salePrice) |
void |
setSku(SkuWrapper sku) |
void |
wrapDetails(org.broadleafcommerce.core.catalog.domain.SkuBundleItem model,
javax.servlet.http.HttpServletRequest request) |
void |
wrapSummary(org.broadleafcommerce.core.catalog.domain.SkuBundleItem model,
javax.servlet.http.HttpServletRequest request) |
protected Long id
protected Integer quantity
protected org.broadleafcommerce.common.money.Money salePrice
protected org.broadleafcommerce.common.money.Money retailPrice
protected Long bundleId
protected SkuWrapper sku
protected String name
protected Boolean active
protected String description
protected String longDescription
protected Character archived
public void wrapDetails(org.broadleafcommerce.core.catalog.domain.SkuBundleItem model, javax.servlet.http.HttpServletRequest request)
wrapDetails
in interface org.broadleafcommerce.common.rest.api.wrapper.APIWrapper<org.broadleafcommerce.core.catalog.domain.SkuBundleItem>
public void wrapSummary(org.broadleafcommerce.core.catalog.domain.SkuBundleItem model, javax.servlet.http.HttpServletRequest request)
wrapSummary
in interface org.broadleafcommerce.common.rest.api.wrapper.APIWrapper<org.broadleafcommerce.core.catalog.domain.SkuBundleItem>
public Long getId()
public void setId(Long id)
id
- the id to setpublic Integer getQuantity()
public void setQuantity(Integer quantity)
quantity
- the quantity to setpublic org.broadleafcommerce.common.money.Money getSalePrice()
public void setSalePrice(org.broadleafcommerce.common.money.Money salePrice)
salePrice
- the salePrice to setpublic org.broadleafcommerce.common.money.Money getRetailPrice()
public void setRetailPrice(org.broadleafcommerce.common.money.Money retailPrice)
retailPrice
- the retailPrice to setpublic Long getBundleId()
public void setBundleId(Long bundleId)
bundleId
- the bundleId to setpublic SkuWrapper getSku()
public void setSku(SkuWrapper sku)
sku
- the sku to setpublic String getName()
public void setName(String name)
name
- the name to setpublic Boolean getActive()
public void setActive(Boolean active)
active
- the active to setpublic String getDescription()
public void setDescription(String description)
description
- the description to setpublic String getLongDescription()
public void setLongDescription(String longDescription)
longDescription
- the longDescription to setpublic Long getProductId()
public void setProductId(Long productId)
productId
- the productId to setpublic Character getArchived()
public void setArchived(Character archived)
Copyright © 2020. All rights reserved.