@Entity public class FulfillmentOptionImpl extends java.lang.Object implements FulfillmentOption
| Modifier and Type | Class and Description |
|---|---|
static class |
FulfillmentOptionImpl.Presentation |
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
fulfillmentType |
protected java.lang.Long |
id |
protected java.lang.String |
longDescription |
protected java.lang.String |
name |
protected java.lang.Boolean |
taxable |
protected java.lang.String |
taxCode |
protected java.lang.Boolean |
useFlatRates |
| Constructor and Description |
|---|
FulfillmentOptionImpl() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
FulfillmentType |
getFulfillmentType()
Gets the type of fulfillment that this option supports
|
java.lang.Long |
getId() |
java.lang.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.
|
java.lang.String |
getName()
Gets the name displayed to the user when they selected the FulfillmentOption for
their order.
|
java.lang.Boolean |
getTaxable()
Returns if option is taxable
|
java.lang.String |
getTaxCode()
Returns taxCode of option
|
java.lang.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(java.lang.Long id) |
void |
setLongDescription(java.lang.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(java.lang.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(java.lang.Boolean taxable)
Sets taxability of option
|
void |
setTaxCode(java.lang.String taxCode)
Sets the taxCode of the particular option
|
void |
setUseFlatRates(java.lang.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 java.lang.Long id
protected java.lang.String name
protected java.lang.String longDescription
protected java.lang.Boolean useFlatRates
protected java.lang.String fulfillmentType
protected java.lang.String taxCode
protected java.lang.Boolean taxable
public java.lang.Long getId()
getId in interface FulfillmentOptionpublic void setId(java.lang.Long id)
setId in interface FulfillmentOptionpublic java.lang.String getName()
FulfillmentOptiongetName in interface FulfillmentOptionpublic void setName(java.lang.String name)
FulfillmentOptionsetName in interface FulfillmentOptionname - - the display name for this optionpublic java.lang.String getLongDescription()
FulfillmentOptiongetLongDescription in interface FulfillmentOptionpublic void setLongDescription(java.lang.String longDescription)
FulfillmentOptionsetLongDescription in interface FulfillmentOptionlongDescription - - the description to show to the userpublic java.lang.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(java.lang.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 equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.Boolean getTaxable()
FulfillmentOptiongetTaxable in interface FulfillmentOptionpublic void setTaxable(java.lang.Boolean taxable)
FulfillmentOptionsetTaxable in interface FulfillmentOptionpublic void setTaxCode(java.lang.String taxCode)
FulfillmentOptionsetTaxCode in interface FulfillmentOptionpublic java.lang.String getTaxCode()
FulfillmentOptiongetTaxCode in interface FulfillmentOptionCopyright © 2018. All Rights Reserved.