Class ShoppingCart.CartShipInfo
java.lang.Object
org.apache.ofbiz.order.shoppingcart.ShoppingCart.CartShipInfo
- All Implemented Interfaces:
Serializable
- Enclosing class:
- ShoppingCart
- See Also:
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addShipTaxAdj
(List<GenericValue> shipTaxAdj) add ship tax adjvoid
addShipTaxAdj
(GenericValue shipTaxAdj) add ship tax adjvoid
clear all tax infovoid
clear all tax infoget associated ship groups eq id<T> T
getAttribute
(String name) get attributeget carrier party idget contact mech idget facility Idget order type idgetOriginAddress
(ShoppingCart cart) get origin addressget ship estimateget ship group seq idget ship item infoget ship item infoget ship itemsget shipment method type idget supplier agreement idget supplier party idgetTotal()
get totalgetTotalTax
(ShoppingCart cart) get total taxget vendor partymakeItemShipGroupAndAssoc
(LocalDispatcher dispatcher, Delegator delegator, ShoppingCart cart, String shipGroupSeqId) make item ship group assocmakeItemShipGroupAndAssoc
(LocalDispatcher dispatcher, Delegator delegator, ShoppingCart cart, String shipGroupSeqId, boolean newShipGroup) Deprecated.void
removeAttribute
(String name) remove attributevoid
resetShipAfterDateIfBefore
(Timestamp newShipAfterDate) Reset the ship group's shipAfterDate if it is before the parametervoid
resetShipBeforeDateIfAfter
(Timestamp newShipBeforeDate) Reset the ship group's shipBeforeDate if it is after the parametervoid
setAssociatedShipGroupSeqId
(String shipGroupSeqId) set associated ship grou seq idvoid
setAttribute
(String name, Object value) set attributevoid
setCarrierPartyId
(String carrierPartyId) set carrier party idvoid
setContactMechId
(String contactMechId) set contact mech idvoid
setFacilityId
(String facilityId) set facility idvoid
setGiftMessage
(String giftMessage) set gift messagesetItemInfo
(ShoppingCartItem item, BigDecimal quantity) set item infosetItemInfo
(ShoppingCartItem item, BigDecimal quantity, List<GenericValue> taxAdj) set item infosetItemInfo
(ShoppingCartItem item, List<GenericValue> taxAdj) set item infovoid
setMaySplit
(Boolean maySplit) set may splitvoid
setShipAfterDate
(Timestamp shipAfterDate) set ship after datevoid
setShipBeforeDate
(Timestamp shipBeforeDate) set ship before datevoid
setShipGroupSeqId
(String shipGroupSeqId) set ship group seq idvoid
setShipmentMethodTypeId
(String shipmentMethodTypeId) set shipment method type idvoid
setShippingInstructions
(String shippingInstructions) set shipping instructionsvoid
setSupplierPartyId
(String supplierPartyId) set supplier party idvoid
setVendorPartyId
(String vendorPartyId) set vendor party
-
Constructor Details
-
CartShipInfo
public CartShipInfo()
-
-
Method Details
-
setShipBeforeDate
set ship before date -
setShipAfterDate
set ship after date -
getShipItemInfo
get ship item info -
setAttribute
set attribute -
setGiftMessage
set gift message -
setShippingInstructions
set shipping instructions -
removeAttribute
remove attribute -
getAttribute
get attribute -
getOrderTypeId
get order type id -
getContactMechId
get contact mech id -
setContactMechId
set contact mech id -
getCarrierPartyId
get carrier party id -
setCarrierPartyId
set carrier party id -
getSupplierPartyId
get supplier party id -
setSupplierPartyId
set supplier party id -
getSupplierAgreementId
get supplier agreement id -
getShipmentMethodTypeId
get shipment method type id -
setShipmentMethodTypeId
set shipment method type id -
getShipEstimate
get ship estimate -
getShipGroupSeqId
get ship group seq id -
setShipGroupSeqId
set ship group seq id -
getAssociatedShipGroupSeqId
get associated ship groups eq id -
setAssociatedShipGroupSeqId
set associated ship grou seq id -
getFacilityId
get facility Id -
setFacilityId
set facility id -
getVendorPartyId
get vendor party -
setVendorPartyId
set vendor party -
setMaySplit
set may split -
getOriginAddress
get origin address -
clearShipTaxAdj
public void clearShipTaxAdj()clear all tax info -
addShipTaxAdj
add ship tax adj -
addShipTaxAdj
add ship tax adj -
clearAllTaxInfo
public void clearAllTaxInfo()clear all tax info -
makeItemShipGroupAndAssoc
@Deprecated public List<GenericValue> makeItemShipGroupAndAssoc(LocalDispatcher dispatcher, Delegator delegator, ShoppingCart cart, String shipGroupSeqId, boolean newShipGroup) Deprecated.make Item Ship Group And Assoc -
makeItemShipGroupAndAssoc
public List<GenericValue> makeItemShipGroupAndAssoc(LocalDispatcher dispatcher, Delegator delegator, ShoppingCart cart, String shipGroupSeqId) make item ship group assoc -
setItemInfo
public ShoppingCart.CartShipInfo.CartShipItemInfo setItemInfo(ShoppingCartItem item, BigDecimal quantity, List<GenericValue> taxAdj) set item info -
setItemInfo
public ShoppingCart.CartShipInfo.CartShipItemInfo setItemInfo(ShoppingCartItem item, List<GenericValue> taxAdj) set item info -
setItemInfo
public ShoppingCart.CartShipInfo.CartShipItemInfo setItemInfo(ShoppingCartItem item, BigDecimal quantity) set item info -
getShipItemInfo
get ship item info -
getShipItems
get ship items -
resetShipBeforeDateIfAfter
Reset the ship group's shipBeforeDate if it is after the parameter- Parameters:
newShipBeforeDate
- the ship group's shipBeforeDate to be reset
-
resetShipAfterDateIfBefore
Reset the ship group's shipAfterDate if it is before the parameter- Parameters:
newShipAfterDate
- the ship group's shipAfterDate to be reset
-
getTotalTax
get total tax -
getTotal
get total
-