@Entity public class FulfillmentOptionImpl extends Object implements FulfillmentOption
| Modifier and Type | Class and Description |
|---|---|
static class |
FulfillmentOptionImpl.Presentation |
| Modifier and Type | Field and Description |
|---|---|
protected String |
fulfillmentType |
protected Long |
id |
protected String |
longDescription |
protected String |
name |
protected Boolean |
taxable |
protected String |
taxCode |
protected Boolean |
useFlatRates |
| Constructor and Description |
|---|
FulfillmentOptionImpl() |
| Modifier and Type | Method and Description |
|---|---|
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 |
protected Long id
protected String name
protected String longDescription
protected Boolean useFlatRates
protected String fulfillmentType
protected String taxCode
protected Boolean taxable
public Long getId()
getId in interface FulfillmentOptionpublic void setId(Long id)
setId in interface FulfillmentOptionpublic String getName()
FulfillmentOptiongetName in interface FulfillmentOptionpublic void setName(String name)
FulfillmentOptionsetName in interface FulfillmentOptionname - - the display name for this optionpublic String getLongDescription()
FulfillmentOptiongetLongDescription in interface FulfillmentOptionpublic void setLongDescription(String longDescription)
FulfillmentOptionsetLongDescription 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 truegetUseFlatRates 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 calculationsetUseFlatRates in interface FulfillmentOptionpublic FulfillmentType getFulfillmentType()
FulfillmentOptiongetFulfillmentType in interface FulfillmentOptionpublic void setFulfillmentType(FulfillmentType fulfillmentType)
FulfillmentOptionsetFulfillmentType in interface FulfillmentOptionpublic Boolean getTaxable()
FulfillmentOptiongetTaxable in interface FulfillmentOptionpublic void setTaxable(Boolean taxable)
FulfillmentOptionsetTaxable in interface FulfillmentOptionpublic void setTaxCode(String taxCode)
FulfillmentOptionsetTaxCode in interface FulfillmentOptionpublic String getTaxCode()
FulfillmentOptiongetTaxCode in interface FulfillmentOptionCopyright © 2015. All Rights Reserved.