Class FixedPriceFulfillmentOptionImpl
java.lang.Object
org.broadleafcommerce.core.order.domain.FulfillmentOptionImpl
org.broadleafcommerce.core.order.fulfillment.domain.FixedPriceFulfillmentOptionImpl
- All Implemented Interfaces:
Serializable,org.broadleafcommerce.common.copy.MultiTenantCloneable<FulfillmentOption>,FulfillmentOption,FixedPriceFulfillmentOption
@Entity
public class FixedPriceFulfillmentOptionImpl
extends FulfillmentOptionImpl
implements FixedPriceFulfillmentOption
- Author:
- Phillip Verheyden
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.broadleafcommerce.core.order.domain.FulfillmentOptionImpl
FulfillmentOptionImpl.Presentation -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.broadleafcommerce.common.currency.domain.BroadleafCurrencyprotected BigDecimalFields inherited from class org.broadleafcommerce.core.order.domain.FulfillmentOptionImpl
fulfillmentType, id, longDescription, name, taxable, taxCode, useFlatRates -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.broadleafcommerce.common.copy.CreateResponse<FixedPriceFulfillmentOption>createOrRetrieveCopyInstance(org.broadleafcommerce.common.copy.MultiTenantCopyContext context) booleanorg.broadleafcommerce.common.currency.domain.BroadleafCurrencyorg.broadleafcommerce.common.money.MoneygetPrice()inthashCode()voidsetCurrency(org.broadleafcommerce.common.currency.domain.BroadleafCurrency currency) voidsetPrice(org.broadleafcommerce.common.money.Money price) Methods inherited from class org.broadleafcommerce.core.order.domain.FulfillmentOptionImpl
getFulfillmentType, getId, getLongDescription, getName, getTaxable, getTaxCode, getUseFlatRates, setFulfillmentType, setId, setLongDescription, setName, setTaxable, setTaxCode, setUseFlatRatesMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.broadleafcommerce.core.order.domain.FulfillmentOption
getFulfillmentType, getId, getLongDescription, getName, getTaxable, getTaxCode, getUseFlatRates, setFulfillmentType, setId, setLongDescription, setName, setTaxable, setTaxCode, setUseFlatRates
-
Field Details
-
price
-
currency
protected org.broadleafcommerce.common.currency.domain.BroadleafCurrency currency
-
-
Constructor Details
-
FixedPriceFulfillmentOptionImpl
public FixedPriceFulfillmentOptionImpl()
-
-
Method Details
-
getPrice
public org.broadleafcommerce.common.money.Money getPrice()- Specified by:
getPricein interfaceFixedPriceFulfillmentOption
-
setPrice
public void setPrice(org.broadleafcommerce.common.money.Money price) - Specified by:
setPricein interfaceFixedPriceFulfillmentOption
-
getCurrency
public org.broadleafcommerce.common.currency.domain.BroadleafCurrency getCurrency()- Specified by:
getCurrencyin interfaceFixedPriceFulfillmentOption
-
setCurrency
public void setCurrency(org.broadleafcommerce.common.currency.domain.BroadleafCurrency currency) - Specified by:
setCurrencyin interfaceFixedPriceFulfillmentOption
-
equals
- Overrides:
equalsin classFulfillmentOptionImpl
-
hashCode
public int hashCode()- Overrides:
hashCodein classFulfillmentOptionImpl
-
createOrRetrieveCopyInstance
public org.broadleafcommerce.common.copy.CreateResponse<FixedPriceFulfillmentOption> createOrRetrieveCopyInstance(org.broadleafcommerce.common.copy.MultiTenantCopyContext context) throws CloneNotSupportedException - Specified by:
createOrRetrieveCopyInstancein interfaceorg.broadleafcommerce.common.copy.MultiTenantCloneable<FulfillmentOption>- Overrides:
createOrRetrieveCopyInstancein classFulfillmentOptionImpl- Throws:
CloneNotSupportedException
-