|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.broadleafcommerce.core.order.domain.FulfillmentOptionImpl
@Entity public class FulfillmentOptionImpl
| Nested Class Summary | |
|---|---|
static class |
FulfillmentOptionImpl.Presentation
|
| Field Summary | |
|---|---|
protected String |
fulfillmentType
|
protected Long |
id
|
protected String |
longDescription
|
protected String |
name
|
protected Boolean |
taxable
|
protected String |
taxCode
|
protected Boolean |
useFlatRates
|
| Constructor Summary | |
|---|---|
FulfillmentOptionImpl()
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
|
FulfillmentType |
getFulfillmentType()
Gets the type of fulfillment that this option supports |
Long |
getId()
|
String |
getLongDescription()
Gets the long description for this option which can be shown to the user to provide more information about the option they are selecting. |
String |
getName()
Gets the name displayed to the user when they selected the FulfillmentOption for their order. |
Boolean |
getTaxable()
Returns if option is taxable |
String |
getTaxCode()
Returns taxCode of option |
Boolean |
getUseFlatRates()
Tells the FulfillmentPricingProvider whether it should try to use the
flat rate cost for a Sku rather than try to factor that Sku
into its shipping calculation. |
int |
hashCode()
|
void |
setFulfillmentType(FulfillmentType fulfillmentType)
Sets the type of fulfillment that this option supports |
void |
setId(Long id)
|
void |
setLongDescription(String longDescription)
Sets the long description for this option to show to the user when they select an option for fulfilling their order |
void |
setName(String name)
Set the display name for this option that will be shown to the user to select from such as "2-day" or "Express" or "Super-saver shipping" |
void |
setTaxable(Boolean taxable)
Sets taxability of option |
void |
setTaxCode(String taxCode)
Sets the taxCode of the particular option |
void |
setUseFlatRates(Boolean useFlatRates)
Tells the FulfillmentPricingProvider whether it should try to use the
flat rate cost for a Sku rather than try to factor that Sku
into its shipping calculation |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Long id
protected String name
protected String longDescription
protected Boolean useFlatRates
protected String fulfillmentType
protected String taxCode
protected Boolean taxable
| Constructor Detail |
|---|
public FulfillmentOptionImpl()
| Method Detail |
|---|
public Long getId()
getId in interface FulfillmentOptionpublic void setId(Long id)
setId in interface FulfillmentOptionpublic String getName()
FulfillmentOption
getName in interface FulfillmentOptionpublic void setName(String name)
FulfillmentOption
setName in interface FulfillmentOptionname - - the display name for this optionpublic String getLongDescription()
FulfillmentOption
getLongDescription in interface FulfillmentOptionpublic void setLongDescription(String longDescription)
FulfillmentOption
setLongDescription in interface FulfillmentOptionlongDescription - - the description to show to the userpublic Boolean getUseFlatRates()
FulfillmentOptionFulfillmentPricingProvider whether it should try to use the
flat rate cost for a Sku rather than try to factor that Sku
into its shipping calculation. This defaults to true
getUseFlatRates in interface FulfillmentOptionFulfillmentPricingProvider should use
the flat rate on a Sku when it's available rather than try to calculate
shipping for it, false otherwise. Default value is truepublic void setUseFlatRates(Boolean useFlatRates)
FulfillmentOptionFulfillmentPricingProvider whether it should try to use the
flat rate cost for a Sku rather than try to factor that Sku
into its shipping calculation
setUseFlatRates in interface FulfillmentOptionpublic FulfillmentType getFulfillmentType()
FulfillmentOption
getFulfillmentType in interface FulfillmentOptionpublic void setFulfillmentType(FulfillmentType fulfillmentType)
FulfillmentOption
setFulfillmentType in interface FulfillmentOptionpublic boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic Boolean getTaxable()
FulfillmentOption
getTaxable in interface FulfillmentOptionpublic void setTaxable(Boolean taxable)
FulfillmentOption
setTaxable in interface FulfillmentOptionpublic void setTaxCode(String taxCode)
FulfillmentOption
setTaxCode in interface FulfillmentOptionpublic String getTaxCode()
FulfillmentOption
getTaxCode in interface FulfillmentOption
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||