org.ofbiz.order.shoppingcart
Class ShoppingCart.CartShipInfo
java.lang.Object
org.ofbiz.order.shoppingcart.ShoppingCart.CartShipInfo
- All Implemented Interfaces:
- java.io.Serializable
- Enclosing class:
- ShoppingCart
public static class ShoppingCart.CartShipInfo
- extends java.lang.Object
- implements java.io.Serializable
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
shipItemInfo
public java.util.Map<ShoppingCartItem,ShoppingCart.CartShipInfo.CartShipItemInfo> shipItemInfo
shipTaxAdj
public java.util.List<GenericValue> shipTaxAdj
orderTypeId
public java.lang.String orderTypeId
telecomContactMechId
public java.lang.String telecomContactMechId
shipmentMethodTypeId
public java.lang.String shipmentMethodTypeId
supplierPartyId
public java.lang.String supplierPartyId
carrierRoleTypeId
public java.lang.String carrierRoleTypeId
carrierPartyId
public java.lang.String carrierPartyId
giftMessage
public java.lang.String giftMessage
shippingInstructions
public java.lang.String shippingInstructions
maySplit
public java.lang.String maySplit
isGift
public java.lang.String isGift
shipEstimate
public java.math.BigDecimal shipEstimate
shipBeforeDate
public java.sql.Timestamp shipBeforeDate
shipAfterDate
public java.sql.Timestamp shipAfterDate
vendorPartyId
public java.lang.String vendorPartyId
productStoreShipMethId
public java.lang.String productStoreShipMethId
attributes
public java.util.Map<java.lang.String,java.lang.Object> attributes
ShoppingCart.CartShipInfo
public ShoppingCart.CartShipInfo()
setAttribute
public void setAttribute(java.lang.String name,
java.lang.Object value)
removeAttribute
public void removeAttribute(java.lang.String name)
getAttribute
public <T> T getAttribute(java.lang.String name)
getOrderTypeId
public java.lang.String getOrderTypeId()
getContactMechId
public java.lang.String getContactMechId()
setContactMechId
public void setContactMechId(java.lang.String contactMechId)
getCarrierPartyId
public java.lang.String getCarrierPartyId()
getSupplierPartyId
public java.lang.String getSupplierPartyId()
getShipmentMethodTypeId
public java.lang.String getShipmentMethodTypeId()
getShipEstimate
public java.math.BigDecimal getShipEstimate()
getShipGroupSeqId
public java.lang.String getShipGroupSeqId()
setShipGroupSeqId
public void setShipGroupSeqId(java.lang.String shipGroupSeqId)
getAssociatedShipGroupSeqId
public java.lang.String getAssociatedShipGroupSeqId()
setAssociatedShipGroupSeqId
public void setAssociatedShipGroupSeqId(java.lang.String shipGroupSeqId)
getFacilityId
public java.lang.String getFacilityId()
setFacilityId
public void setFacilityId(java.lang.String facilityId)
getVendorPartyId
public java.lang.String getVendorPartyId()
setVendorPartyId
public void setVendorPartyId(java.lang.String vendorPartyId)
setMaySplit
public void setMaySplit(java.lang.Boolean maySplit)
clearAllTaxInfo
public void clearAllTaxInfo()
makeItemShipGroupAndAssoc
public java.util.List<GenericValue> makeItemShipGroupAndAssoc(Delegator delegator,
ShoppingCart cart,
long groupIndex)
setItemInfo
public ShoppingCart.CartShipInfo.CartShipItemInfo setItemInfo(ShoppingCartItem item,
java.math.BigDecimal quantity,
java.util.List<GenericValue> taxAdj)
setItemInfo
public ShoppingCart.CartShipInfo.CartShipItemInfo setItemInfo(ShoppingCartItem item,
java.util.List<GenericValue> taxAdj)
setItemInfo
public ShoppingCart.CartShipInfo.CartShipItemInfo setItemInfo(ShoppingCartItem item,
java.math.BigDecimal quantity)
getShipItemInfo
public ShoppingCart.CartShipInfo.CartShipItemInfo getShipItemInfo(ShoppingCartItem item)
getShipItems
public java.util.Set<ShoppingCartItem> getShipItems()
resetShipBeforeDateIfAfter
public void resetShipBeforeDateIfAfter(java.sql.Timestamp newShipBeforeDate)
- Reset the ship group's shipBeforeDate if it is after the parameter
- Parameters:
newShipBeforeDate - the ship group's shipBeforeDate to be reset
resetShipAfterDateIfBefore
public void resetShipAfterDateIfBefore(java.sql.Timestamp newShipAfterDate)
- Reset the ship group's shipAfterDate if it is before the parameter
- Parameters:
newShipAfterDate - the ship group's shipAfterDate to be reset
getTotalTax
public java.math.BigDecimal getTotalTax(ShoppingCart cart)
getTotal
public java.math.BigDecimal getTotal()