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

    • setShipBeforeDate

      public void setShipBeforeDate(Timestamp shipBeforeDate)
      set ship before 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
    • setGiftMessage

      public void setGiftMessage(String giftMessage)
      set gift message
    • 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
    • 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
    • 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
    • getShipGroupSeqId

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

      public void setShipGroupSeqId(String shipGroupSeqId)
      set ship group seq 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
    • setMaySplit

      public void setMaySplit(Boolean maySplit)
      set may split
    • 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