Class ShoppingCart.CartShipInfo

java.lang.Object
org.apache.ofbiz.order.shoppingcart.ShoppingCart.CartShipInfo
All Implemented Interfaces:
Serializable
Enclosing class:
ShoppingCart

public static class ShoppingCart.CartShipInfo extends Object implements Serializable
See Also:
  • Constructor Details

    • CartShipInfo

      public CartShipInfo()
  • Method Details

    • getShipBeforeDate

      public Timestamp getShipBeforeDate()
      get ship before date
    • setShipBeforeDate

      public void setShipBeforeDate(Timestamp shipBeforeDate)
      set ship before date
    • getShipAfterDate

      public Timestamp getShipAfterDate()
      get ship after date
    • setShipAfterDate

      public void setShipAfterDate(Timestamp shipAfterDate)
      set ship after date
    • getShipItemInfo

      get ship item info
    • setAttribute

      public void setAttribute(String name, Object value)
      set attribute
    • getGiftMessage

      public String getGiftMessage()
      get gift message
    • setGiftMessage

      public void setGiftMessage(String giftMessage)
      set gift message
    • getShippingInstructions

      public String getShippingInstructions()
      get shippingInstructions
    • setShippingInstructions

      public void setShippingInstructions(String shippingInstructions)
      set shipping instructions
    • removeAttribute

      public void removeAttribute(String name)
      remove attribute
    • getAttribute

      public <T> T getAttribute(String name)
      get attribute
    • getOrderTypeId

      public String getOrderTypeId()
      get order type id
    • setOrderTypeId

      public void setOrderTypeId(String orderTypeId)
      set order type id
    • getContactMechId

      public String getContactMechId()
      get contact mech id
    • setContactMechId

      public void setContactMechId(String contactMechId)
      set contact mech id
    • getCarrierPartyId

      public String getCarrierPartyId()
      get carrier party id
    • setCarrierPartyId

      public void setCarrierPartyId(String carrierPartyId)
      set carrier party id
    • getCarrierRoleTypeId

      public String getCarrierRoleTypeId()
      get carrier roleType id
    • setCarrierRoleTypeId

      public void setCarrierRoleTypeId(String carrierRoleTypeId)
      set carrier roleType id
    • getProductStoreShipMethId

      public String getProductStoreShipMethId()
      get productStoreShipMeth id
    • setProductStoreShipMethId

      public void setProductStoreShipMethId(String productStoreShipMethId)
      set productStoreShipMeth id
    • getSupplierPartyId

      public String getSupplierPartyId()
      get supplier party id
    • setSupplierPartyId

      public void setSupplierPartyId(String supplierPartyId)
      set supplier party id
    • getSupplierAgreementId

      public String getSupplierAgreementId()
      get supplier agreement id
    • getShipmentMethodTypeId

      public String getShipmentMethodTypeId()
      get shipment method type id
    • setShipmentMethodTypeId

      public void setShipmentMethodTypeId(String shipmentMethodTypeId)
      set shipment method type id
    • getShipEstimate

      public BigDecimal getShipEstimate()
      get ship estimate
    • getShipEstimate

      public void getShipEstimate(BigDecimal shipEstimate)
      set ship estimate
    • getShipGroupSeqId

      public String getShipGroupSeqId()
      get ship group seq id
    • setShipGroupSeqId

      public void setShipGroupSeqId(String shipGroupSeqId)
      set ship group seq id
    • getTelecomContactMechId

      public String getTelecomContactMechId()
      get telecom contact mech id
    • setTelecomContactMechId

      public void setTelecomContactMechId(String telecomContactMechId)
      set telecom contact mech id
    • getAssociatedShipGroupSeqId

      public String getAssociatedShipGroupSeqId()
      get associated ship groups eq id
    • setAssociatedShipGroupSeqId

      public void setAssociatedShipGroupSeqId(String shipGroupSeqId)
      set associated ship grou seq id
    • getFacilityId

      public String getFacilityId()
      get facility Id
    • setFacilityId

      public void setFacilityId(String facilityId)
      set facility id
    • getVendorPartyId

      public String getVendorPartyId()
      get vendor party
    • setVendorPartyId

      public void setVendorPartyId(String vendorPartyId)
      set vendor party
    • getMaySplit

      public String getMaySplit()
      get may split
    • setMaySplit

      public void setMaySplit(Boolean maySplit)
      set may split
    • getIsGift

      public String getIsGift()
      get isGift
    • setIsGift

      public void setIsGift(String isGift)
      set isGift
    • getOriginAddress

      public GenericValue getOriginAddress(ShoppingCart cart)
      get origin address
    • clearShipTaxAdj

      public void clearShipTaxAdj()
      clear all tax info
    • addShipTaxAdj

      public void addShipTaxAdj(GenericValue shipTaxAdj)
      add ship tax adj
    • addShipTaxAdj

      public void addShipTaxAdj(List<GenericValue> shipTaxAdj)
      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

      set item info
    • setItemInfo

      set item info
    • setItemInfo

      set item info
    • getShipItemInfo

      get ship item info
    • getShipItems

      public Set<ShoppingCartItem> getShipItems()
      get ship items
    • resetShipBeforeDateIfAfter

      public void resetShipBeforeDateIfAfter(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(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 BigDecimal getTotalTax(ShoppingCart cart)
      get total tax
    • getTotal

      public BigDecimal getTotal()
      get total