org.broadleafcommerce.core.order.domain
Class FulfillmentGroupImpl

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

@Entity
public class FulfillmentGroupImpl
extends Object
implements FulfillmentGroup

See Also:
Serialized Form

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

order

protected Order order

referenceNumber

protected String referenceNumber

fulfillmentGroupItems

protected List<FulfillmentGroupItem> fulfillmentGroupItems

address

protected Address address

phone

protected Phone phone

method

protected String method

service

protected String service

retailShippingPrice

protected BigDecimal retailShippingPrice

saleShippingPrice

protected BigDecimal saleShippingPrice

shippingPrice

protected BigDecimal shippingPrice

type

protected String type

candidateOffers

protected List<CandidateFulfillmentGroupOffer> candidateOffers

fulfillmentGroupAdjustments

protected List<FulfillmentGroupAdjustment> fulfillmentGroupAdjustments

cityTax

protected BigDecimal cityTax

countyTax

protected BigDecimal countyTax

stateTax

protected BigDecimal stateTax

districtTax

protected BigDecimal districtTax

countryTax

protected BigDecimal countryTax

totalTax

protected BigDecimal totalTax

deliveryInstruction

protected String deliveryInstruction

primary

protected boolean primary

personalMessage

protected PersonalMessage personalMessage

merchandiseTotal

protected BigDecimal merchandiseTotal

total

protected BigDecimal total

status

protected String status

fulfillmentGroupFees

protected List<FulfillmentGroupFee> fulfillmentGroupFees

isShippingPriceTaxable

protected Boolean isShippingPriceTaxable
Constructor Detail

FulfillmentGroupImpl

public FulfillmentGroupImpl()
Method Detail

getId

public Long getId()
Specified by:
getId in interface FulfillmentGroup

setId

public void setId(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 String getReferenceNumber()
Specified by:
getReferenceNumber in interface FulfillmentGroup

setReferenceNumber

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

getFulfillmentGroupItems

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

getDiscreteOrderItems

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

setFulfillmentGroupItems

public void setFulfillmentGroupItems(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 String getMethod()
Specified by:
getMethod in interface FulfillmentGroup

setMethod

public void setMethod(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 List<CandidateFulfillmentGroupOffer> getCandidateFulfillmentGroupOffers()
Specified by:
getCandidateFulfillmentGroupOffers in interface FulfillmentGroup

setCandidateFulfillmentGroupOffer

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

removeAllCandidateOffers

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

getFulfillmentGroupAdjustments

public 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(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 String getDeliveryInstruction()
Specified by:
getDeliveryInstruction in interface FulfillmentGroup

setDeliveryInstruction

public void setDeliveryInstruction(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 List<FulfillmentGroupFee> getFulfillmentGroupFees()
Specified by:
getFulfillmentGroupFees in interface FulfillmentGroup

setFulfillmentGroupFees

public void setFulfillmentGroupFees(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 Boolean isShippingPriceTaxable()
Specified by:
isShippingPriceTaxable in interface FulfillmentGroup

setIsShippingPriceTaxable

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

getService

public String getService()
Specified by:
getService in interface FulfillmentGroup

setService

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2012. All Rights Reserved.