org.broadleafcommerce.core.order.domain
Class FulfillmentGroupImpl

java.lang.Object
  extended by org.broadleafcommerce.core.order.domain.FulfillmentGroupImpl
All Implemented Interfaces:
java.io.Serializable, FulfillmentGroup

@Entity
public class FulfillmentGroupImpl
extends java.lang.Object
implements FulfillmentGroup

See Also:
Serialized Form

Field Summary
protected  Address address
           
protected  java.util.List<CandidateFulfillmentGroupOffer> candidateOffers
           
protected  java.math.BigDecimal cityTax
           
protected  java.math.BigDecimal countryTax
           
protected  java.math.BigDecimal countyTax
           
protected  java.lang.String deliveryInstruction
           
protected  java.math.BigDecimal districtTax
           
protected  java.util.List<FulfillmentGroupAdjustment> fulfillmentGroupAdjustments
           
protected  java.util.List<FulfillmentGroupFee> fulfillmentGroupFees
           
protected  java.util.List<FulfillmentGroupItem> fulfillmentGroupItems
           
protected  java.lang.Long id
           
protected  java.lang.Boolean isShippingPriceTaxable
           
protected  java.math.BigDecimal merchandiseTotal
           
protected  java.lang.String method
           
protected  Order order
           
protected  PersonalMessage personalMessage
           
protected  Phone phone
           
protected  boolean primary
           
protected  java.lang.String referenceNumber
           
protected  java.math.BigDecimal retailShippingPrice
           
protected  java.math.BigDecimal saleShippingPrice
           
protected  java.lang.String service
           
protected  java.math.BigDecimal shippingPrice
           
protected  java.math.BigDecimal stateTax
           
protected  java.lang.String status
           
protected  java.math.BigDecimal total
           
protected  java.math.BigDecimal totalTax
           
protected  java.lang.String type
           
 
Constructor Summary
FulfillmentGroupImpl()
           
 
Method Summary
 void addCandidateFulfillmentGroupOffer(CandidateFulfillmentGroupOffer candidateOffer)
           
 void addFulfillmentGroupFee(FulfillmentGroupFee fulfillmentGroupFee)
           
 void addFulfillmentGroupItem(FulfillmentGroupItem fulfillmentGroupItem)
           
 boolean equals(java.lang.Object obj)
           
 Address getAddress()
           
 java.util.List<CandidateFulfillmentGroupOffer> getCandidateFulfillmentGroupOffers()
           
 Money getCityTax()
           
 Money getCountryTax()
           
 Money getCountyTax()
           
 java.lang.String getDeliveryInstruction()
           
 java.util.List<DiscreteOrderItem> getDiscreteOrderItems()
           
 Money getDistrictTax()
           
 java.util.List<FulfillmentGroupAdjustment> getFulfillmentGroupAdjustments()
           
 Money getFulfillmentGroupAdjustmentsValue()
           
 java.util.List<FulfillmentGroupFee> getFulfillmentGroupFees()
           
 java.util.List<FulfillmentGroupItem> getFulfillmentGroupItems()
           
 java.lang.Long getId()
           
 Money getMerchandiseTotal()
           
 java.lang.String getMethod()
           
 Order getOrder()
           
 PersonalMessage getPersonalMessage()
           
 Phone getPhone()
           
 java.lang.String getReferenceNumber()
           
 Money getRetailShippingPrice()
           
 Money getSaleShippingPrice()
           
 java.lang.String getService()
           
 Money getShippingPrice()
           
 Money getStateTax()
           
 FulfillmentGroupStatusType getStatus()
           
 Money getTotal()
           
 Money getTotalTax()
           
 FulfillmentGroupType getType()
           
 int hashCode()
           
 boolean isPrimary()
           
 java.lang.Boolean isShippingPriceTaxable()
           
 void removeAllAdjustments()
           
 void removeAllCandidateOffers()
           
 void removeAllFulfillmentGroupFees()
           
 void setAddress(Address address)
           
 void setCandidateFulfillmentGroupOffer(java.util.List<CandidateFulfillmentGroupOffer> candidateOffers)
           
 void setCityTax(Money cityTax)
           
 void setCountryTax(Money countryTax)
           
 void setCountyTax(Money countyTax)
           
 void setDeliveryInstruction(java.lang.String deliveryInstruction)
           
 void setDistrictTax(Money districtTax)
           
 void setFulfillmentGroupAdjustments(java.util.List<FulfillmentGroupAdjustment> fulfillmentGroupAdjustments)
           
 void setFulfillmentGroupFees(java.util.List<FulfillmentGroupFee> fulfillmentGroupFees)
           
 void setFulfillmentGroupItems(java.util.List<FulfillmentGroupItem> fulfillmentGroupItems)
           
 void setId(java.lang.Long id)
           
 void setIsShippingPriceTaxable(java.lang.Boolean isShippingPriceTaxable)
           
 void setMerchandiseTotal(Money merchandiseTotal)
           
 void setMethod(java.lang.String fulfillmentMethod)
           
 void setOrder(Order order)
           
 void setPersonalMessage(PersonalMessage personalMessage)
           
 void setPhone(Phone phone)
           
 void setPrimary(boolean primary)
           
 void setReferenceNumber(java.lang.String referenceNumber)
           
 void setRetailShippingPrice(Money retailShippingPrice)
           
 void setSaleShippingPrice(Money saleShippingPrice)
           
 void setService(java.lang.String service)
           
 void setShippingPrice(Money shippingPrice)
           
 void setStateTax(Money stateTax)
           
 void setStatus(FulfillmentGroupStatusType status)
           
 void setTotal(Money orderTotal)
           
 void setTotalTax(Money totalTax)
           
 void setType(FulfillmentGroupType type)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

protected java.lang.Long id

order

protected Order order

referenceNumber

protected java.lang.String referenceNumber

fulfillmentGroupItems

protected java.util.List<FulfillmentGroupItem> fulfillmentGroupItems

address

protected Address address

phone

protected Phone phone

method

protected java.lang.String method

service

protected java.lang.String service

retailShippingPrice

protected java.math.BigDecimal retailShippingPrice

saleShippingPrice

protected java.math.BigDecimal saleShippingPrice

shippingPrice

protected java.math.BigDecimal shippingPrice

type

protected java.lang.String type

candidateOffers

protected java.util.List<CandidateFulfillmentGroupOffer> candidateOffers

fulfillmentGroupAdjustments

protected java.util.List<FulfillmentGroupAdjustment> fulfillmentGroupAdjustments

cityTax

protected java.math.BigDecimal cityTax

countyTax

protected java.math.BigDecimal countyTax

stateTax

protected java.math.BigDecimal stateTax

districtTax

protected java.math.BigDecimal districtTax

countryTax

protected java.math.BigDecimal countryTax

totalTax

protected java.math.BigDecimal totalTax

deliveryInstruction

protected java.lang.String deliveryInstruction

primary

protected boolean primary

personalMessage

protected PersonalMessage personalMessage

merchandiseTotal

protected java.math.BigDecimal merchandiseTotal

total

protected java.math.BigDecimal total

status

protected java.lang.String status

fulfillmentGroupFees

protected java.util.List<FulfillmentGroupFee> fulfillmentGroupFees

isShippingPriceTaxable

protected java.lang.Boolean isShippingPriceTaxable
Constructor Detail

FulfillmentGroupImpl

public FulfillmentGroupImpl()
Method Detail

getId

public java.lang.Long getId()
Specified by:
getId in interface FulfillmentGroup

setId

public void setId(java.lang.Long id)
Specified by:
setId in interface FulfillmentGroup

getOrder

public Order getOrder()
Specified by:
getOrder in interface FulfillmentGroup

setOrder

public void setOrder(Order order)
Specified by:
setOrder in interface FulfillmentGroup

getReferenceNumber

public java.lang.String getReferenceNumber()
Specified by:
getReferenceNumber in interface FulfillmentGroup

setReferenceNumber

public void setReferenceNumber(java.lang.String referenceNumber)
Specified by:
setReferenceNumber in interface FulfillmentGroup

getFulfillmentGroupItems

public java.util.List<FulfillmentGroupItem> getFulfillmentGroupItems()
Specified by:
getFulfillmentGroupItems in interface FulfillmentGroup

getDiscreteOrderItems

public java.util.List<DiscreteOrderItem> getDiscreteOrderItems()
Specified by:
getDiscreteOrderItems in interface FulfillmentGroup

setFulfillmentGroupItems

public void setFulfillmentGroupItems(java.util.List<FulfillmentGroupItem> fulfillmentGroupItems)
Specified by:
setFulfillmentGroupItems in interface FulfillmentGroup

addFulfillmentGroupItem

public void addFulfillmentGroupItem(FulfillmentGroupItem fulfillmentGroupItem)
Specified by:
addFulfillmentGroupItem in interface FulfillmentGroup

getAddress

public Address getAddress()
Specified by:
getAddress in interface FulfillmentGroup

setAddress

public void setAddress(Address address)
Specified by:
setAddress in interface FulfillmentGroup

getPhone

public Phone getPhone()
Specified by:
getPhone in interface FulfillmentGroup

setPhone

public void setPhone(Phone phone)
Specified by:
setPhone in interface FulfillmentGroup

getMethod

public java.lang.String getMethod()
Specified by:
getMethod in interface FulfillmentGroup

setMethod

public void setMethod(java.lang.String fulfillmentMethod)
Specified by:
setMethod in interface FulfillmentGroup

getRetailShippingPrice

public Money getRetailShippingPrice()
Specified by:
getRetailShippingPrice in interface FulfillmentGroup

setRetailShippingPrice

public void setRetailShippingPrice(Money retailShippingPrice)
Specified by:
setRetailShippingPrice in interface FulfillmentGroup

getType

public FulfillmentGroupType getType()
Specified by:
getType in interface FulfillmentGroup

setType

public void setType(FulfillmentGroupType type)
Specified by:
setType in interface FulfillmentGroup

addCandidateFulfillmentGroupOffer

public void addCandidateFulfillmentGroupOffer(CandidateFulfillmentGroupOffer candidateOffer)
Specified by:
addCandidateFulfillmentGroupOffer in interface FulfillmentGroup

getCandidateFulfillmentGroupOffers

public java.util.List<CandidateFulfillmentGroupOffer> getCandidateFulfillmentGroupOffers()
Specified by:
getCandidateFulfillmentGroupOffers in interface FulfillmentGroup

setCandidateFulfillmentGroupOffer

public void setCandidateFulfillmentGroupOffer(java.util.List<CandidateFulfillmentGroupOffer> candidateOffers)
Specified by:
setCandidateFulfillmentGroupOffer in interface FulfillmentGroup

removeAllCandidateOffers

public void removeAllCandidateOffers()
Specified by:
removeAllCandidateOffers in interface FulfillmentGroup

getFulfillmentGroupAdjustments

public java.util.List<FulfillmentGroupAdjustment> getFulfillmentGroupAdjustments()
Specified by:
getFulfillmentGroupAdjustments in interface FulfillmentGroup

getFulfillmentGroupAdjustmentsValue

public Money getFulfillmentGroupAdjustmentsValue()
Specified by:
getFulfillmentGroupAdjustmentsValue in interface FulfillmentGroup

removeAllAdjustments

public void removeAllAdjustments()
Specified by:
removeAllAdjustments in interface FulfillmentGroup

setFulfillmentGroupAdjustments

public void setFulfillmentGroupAdjustments(java.util.List<FulfillmentGroupAdjustment> fulfillmentGroupAdjustments)
Specified by:
setFulfillmentGroupAdjustments in interface FulfillmentGroup

getSaleShippingPrice

public Money getSaleShippingPrice()
Specified by:
getSaleShippingPrice in interface FulfillmentGroup

setSaleShippingPrice

public void setSaleShippingPrice(Money saleShippingPrice)
Specified by:
setSaleShippingPrice in interface FulfillmentGroup

getShippingPrice

public Money getShippingPrice()
Specified by:
getShippingPrice in interface FulfillmentGroup

setShippingPrice

public void setShippingPrice(Money shippingPrice)
Specified by:
setShippingPrice in interface FulfillmentGroup

getCityTax

public Money getCityTax()
Specified by:
getCityTax in interface FulfillmentGroup

setCityTax

public void setCityTax(Money cityTax)
Specified by:
setCityTax in interface FulfillmentGroup

getCountyTax

public Money getCountyTax()
Specified by:
getCountyTax in interface FulfillmentGroup

setCountyTax

public void setCountyTax(Money countyTax)
Specified by:
setCountyTax in interface FulfillmentGroup

getStateTax

public Money getStateTax()
Specified by:
getStateTax in interface FulfillmentGroup

setStateTax

public void setStateTax(Money stateTax)
Specified by:
setStateTax in interface FulfillmentGroup

getDistrictTax

public Money getDistrictTax()
Specified by:
getDistrictTax in interface FulfillmentGroup

setDistrictTax

public void setDistrictTax(Money districtTax)
Specified by:
setDistrictTax in interface FulfillmentGroup

getCountryTax

public Money getCountryTax()
Specified by:
getCountryTax in interface FulfillmentGroup

setCountryTax

public void setCountryTax(Money countryTax)
Specified by:
setCountryTax in interface FulfillmentGroup

getTotalTax

public Money getTotalTax()
Specified by:
getTotalTax in interface FulfillmentGroup

setTotalTax

public void setTotalTax(Money totalTax)
Specified by:
setTotalTax in interface FulfillmentGroup

getDeliveryInstruction

public java.lang.String getDeliveryInstruction()
Specified by:
getDeliveryInstruction in interface FulfillmentGroup

setDeliveryInstruction

public void setDeliveryInstruction(java.lang.String deliveryInstruction)
Specified by:
setDeliveryInstruction in interface FulfillmentGroup

getPersonalMessage

public PersonalMessage getPersonalMessage()
Specified by:
getPersonalMessage in interface FulfillmentGroup

setPersonalMessage

public void setPersonalMessage(PersonalMessage personalMessage)
Specified by:
setPersonalMessage in interface FulfillmentGroup

isPrimary

public boolean isPrimary()
Specified by:
isPrimary in interface FulfillmentGroup

setPrimary

public void setPrimary(boolean primary)
Specified by:
setPrimary in interface FulfillmentGroup

getMerchandiseTotal

public Money getMerchandiseTotal()
Specified by:
getMerchandiseTotal in interface FulfillmentGroup

setMerchandiseTotal

public void setMerchandiseTotal(Money merchandiseTotal)
Specified by:
setMerchandiseTotal in interface FulfillmentGroup

getTotal

public Money getTotal()
Specified by:
getTotal in interface FulfillmentGroup

setTotal

public void setTotal(Money orderTotal)
Specified by:
setTotal in interface FulfillmentGroup

getStatus

public FulfillmentGroupStatusType getStatus()
Specified by:
getStatus in interface FulfillmentGroup

setStatus

public void setStatus(FulfillmentGroupStatusType status)
Specified by:
setStatus in interface FulfillmentGroup

getFulfillmentGroupFees

public java.util.List<FulfillmentGroupFee> getFulfillmentGroupFees()
Specified by:
getFulfillmentGroupFees in interface FulfillmentGroup

setFulfillmentGroupFees

public void setFulfillmentGroupFees(java.util.List<FulfillmentGroupFee> fulfillmentGroupFees)
Specified by:
setFulfillmentGroupFees in interface FulfillmentGroup

addFulfillmentGroupFee

public void addFulfillmentGroupFee(FulfillmentGroupFee fulfillmentGroupFee)
Specified by:
addFulfillmentGroupFee in interface FulfillmentGroup

removeAllFulfillmentGroupFees

public void removeAllFulfillmentGroupFees()
Specified by:
removeAllFulfillmentGroupFees in interface FulfillmentGroup

isShippingPriceTaxable

public java.lang.Boolean isShippingPriceTaxable()
Specified by:
isShippingPriceTaxable in interface FulfillmentGroup

setIsShippingPriceTaxable

public void setIsShippingPriceTaxable(java.lang.Boolean isShippingPriceTaxable)
Specified by:
setIsShippingPriceTaxable in interface FulfillmentGroup

getService

public java.lang.String getService()
Specified by:
getService in interface FulfillmentGroup

setService

public void setService(java.lang.String service)
Specified by:
setService in interface FulfillmentGroup

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


Copyright © 2012. All Rights Reserved.