Package bakery.logic.usermailobject
Class ShopUserMailLO
- java.lang.Object
-
- bakery.logic.usermailobject.UserMailLO
-
- bakery.logic.usermailobject.ShopUserMailLO
-
- All Implemented Interfaces:
bakery.logic.valueobject.OrderLogicObject
,java.io.Serializable
- Direct Known Subclasses:
ShopUserMailDispatchLO
,ShopUserMailInvoicingLO
,ShopUserMailOrderLO
,ShopUserMailResponseLO
,ShopUserMailReturnAnnouncementLO
,ShopUserMailReturnLO
public class ShopUserMailLO extends UserMailLO implements bakery.logic.valueobject.OrderLogicObject
ExtendedUserMailLO
that covers information about an order. It will be used for final e-mail creation than can be of several types business objects, e.g. order, dispatch, response and more.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ShopUserMailLO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ShopUserMailChargeLO
getChargeByChargeTypeName(java.lang.String chargeTypeDefDOName)
java.sql.Timestamp
getOrderEntryDate()
java.lang.String
getOrderPropertyValue(java.lang.String group, java.lang.String key)
java.math.BigDecimal
getPositionTotalGross()
java.math.BigDecimal
getPositionTotalGrossDiscounted()
java.math.BigDecimal
getPositionTotalGrossSubDiscounted()
java.math.BigDecimal
getPositionTotalNet()
java.math.BigDecimal
getPositionTotalNetDiscounted()
java.math.BigDecimal
getPositionTotalNetSubDiscounted()
java.math.BigDecimal
getPositionTotalTax()
java.math.BigDecimal
getPositionTotalTaxDiscounted()
java.math.BigDecimal
getPositionTotalTaxSubDiscounted()
java.lang.Long
getShopId()
java.lang.String
getShopOrderId()
java.math.BigDecimal
getTotalGross()
java.math.BigDecimal
getTotalNet()
java.math.BigDecimal
getTotalTax()
void
setOrderEntryDate(java.sql.Timestamp orderEntryDate)
void
setShopId(java.lang.Long shopId)
void
setShopOrderId(java.lang.String shopOrderId)
-
-
-
Method Detail
-
getShopId
public java.lang.Long getShopId()
- Specified by:
getShopId
in interfacebakery.logic.valueobject.OrderLogicObject
-
setShopId
public void setShopId(java.lang.Long shopId)
-
getShopOrderId
public java.lang.String getShopOrderId()
- Specified by:
getShopOrderId
in interfacebakery.logic.valueobject.OrderLogicObject
-
setShopOrderId
public void setShopOrderId(java.lang.String shopOrderId)
-
getOrderEntryDate
public java.sql.Timestamp getOrderEntryDate()
-
setOrderEntryDate
public void setOrderEntryDate(java.sql.Timestamp orderEntryDate)
-
getPositionTotalGross
public java.math.BigDecimal getPositionTotalGross()
- Returns:
- the position total gross amount without any promotions
-
getTotalGross
public java.math.BigDecimal getTotalGross()
- Returns:
- returns the order total gross amount including all promotions and charges
-
getPositionTotalNet
public java.math.BigDecimal getPositionTotalNet()
- Returns:
- the position total net amount without any promotions
-
getPositionTotalTax
public java.math.BigDecimal getPositionTotalTax()
- Returns:
- the position total tax amount without any promotions
-
getPositionTotalGrossDiscounted
public java.math.BigDecimal getPositionTotalGrossDiscounted()
- Returns:
- the position total gross amount including the position and order promotions
-
getPositionTotalNetDiscounted
public java.math.BigDecimal getPositionTotalNetDiscounted()
- Returns:
- the position total net amount including the position and order promotions
-
getPositionTotalTaxDiscounted
public java.math.BigDecimal getPositionTotalTaxDiscounted()
- Returns:
- the position total tax amount including the position and order promotions
-
getPositionTotalGrossSubDiscounted
public java.math.BigDecimal getPositionTotalGrossSubDiscounted()
- Returns:
- the position total gross amount including only the position promotions
-
getPositionTotalNetSubDiscounted
public java.math.BigDecimal getPositionTotalNetSubDiscounted()
- Returns:
- the position total net amount including only the position promotions
-
getPositionTotalTaxSubDiscounted
public java.math.BigDecimal getPositionTotalTaxSubDiscounted()
- Returns:
- the position total tax amount including only the position promotions
-
getTotalNet
public java.math.BigDecimal getTotalNet()
- Returns:
- the order total net amount including all promotions and charges
-
getTotalTax
public java.math.BigDecimal getTotalTax()
- Returns:
- the order total tax amount including all promotions and charges
-
getChargeByChargeTypeName
public ShopUserMailChargeLO getChargeByChargeTypeName(java.lang.String chargeTypeDefDOName)
- Parameters:
chargeTypeDefDOName
- the named type of the charge- Returns:
- the related charge type object1
-
getOrderPropertyValue
public java.lang.String getOrderPropertyValue(java.lang.String group, java.lang.String key)
-
-