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 carrier roleType idget contact mech idget facility Idget gift messageget isGiftget may splitget order type idgetOriginAddress
(ShoppingCart cart) get origin addressget productStoreShipMeth idget ship after dateget ship before dateget ship estimatevoid
getShipEstimate
(BigDecimal shipEstimate) set ship estimateget ship group seq idget ship item infoget ship item infoget ship itemsget shipment method type idget shippingInstructionsget supplier agreement idget supplier party idget telecom contact mech 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
setCarrierRoleTypeId
(String carrierRoleTypeId) set carrier roleType idvoid
setContactMechId
(String contactMechId) set contact mech idvoid
setFacilityId
(String facilityId) set facility idvoid
setGiftMessage
(String giftMessage) set gift messagevoid
set isGiftsetItemInfo
(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
setOrderTypeId
(String orderTypeId) set order type idvoid
setProductStoreShipMethId
(String productStoreShipMethId) set productStoreShipMeth idvoid
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
setTelecomContactMechId
(String telecomContactMechId) set telecom contact mech idvoid
setVendorPartyId
(String vendorPartyId) set vendor party
-
Constructor Details
-
CartShipInfo
public CartShipInfo()
-
-
Method Details
-
getShipBeforeDate
get ship before date -
setShipBeforeDate
set ship before date -
getShipAfterDate
get ship after date -
setShipAfterDate
set ship after date -
getShipItemInfo
get ship item info -
setAttribute
set attribute -
getGiftMessage
get gift message -
setGiftMessage
set gift message -
getShippingInstructions
get shippingInstructions -
setShippingInstructions
set shipping instructions -
removeAttribute
remove attribute -
getAttribute
get attribute -
getOrderTypeId
get order type id -
setOrderTypeId
set order type id -
getContactMechId
get contact mech id -
setContactMechId
set contact mech id -
getCarrierPartyId
get carrier party id -
setCarrierPartyId
set carrier party id -
getCarrierRoleTypeId
get carrier roleType id -
setCarrierRoleTypeId
set carrier roleType id -
getProductStoreShipMethId
get productStoreShipMeth id -
setProductStoreShipMethId
set productStoreShipMeth 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 -
getShipEstimate
set ship estimate -
getShipGroupSeqId
get ship group seq id -
setShipGroupSeqId
set ship group seq id -
getTelecomContactMechId
get telecom contact mech id -
setTelecomContactMechId
set telecom contact mech 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 -
getMaySplit
get may split -
setMaySplit
set may split -
getIsGift
get isGift -
setIsGift
set isGift -
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
-