Class DynamicShippingOption

java.lang.Object
com.softslate.commerce.businessobjects.shipping.DynamicShippingOption

public class DynamicShippingOption extends Object
This class is used to store 3rd party shipping quotes returned from web services. For example, when the USPS shipping calculator is enabled, this class stores the choices for shipping (based on the buyer's zip code and item weights) in the buyer's session. This allows SoftSlate to only query the 3rd party web service once, and keep the results around in between http requests.
Author:
Justin Casp
  • Field Details

    • optionId

      private String optionId
    • description

      private String description
    • price

      private Double price
  • Constructor Details

    • DynamicShippingOption

      public DynamicShippingOption(String optionId, String description, Double price)
  • Method Details

    • getDescription

      public String getDescription()
    • setDescription

      public void setDescription(String description)
    • getOptionId

      public String getOptionId()
    • setOptionId

      public void setOptionId(String optionId)
    • getPrice

      public Double getPrice()
    • setPrice

      public void setPrice(Double price)