Class ShippingOptionsAndRates

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

public class ShippingOptionsAndRates extends Object
Java bean to encapsulate returned HashMap of shipping options and their rates.
Author:
AJain
  • Field Details

    • code

      private String code
    • originalPriceDouble

      private Double originalPriceDouble
    • originalPrice

      private String originalPrice
    • price

      private String price
    • discounts

      private Collection discounts
    • processorName

      private String processorName
    • currencyCode

      private String currencyCode
    • processorClass

      private String processorClass
    • priceDouble

      private Double priceDouble
    • name

      private String name
  • Constructor Details

    • ShippingOptionsAndRates

      public ShippingOptionsAndRates()
  • Method Details

    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • getCode

      public String getCode()
      Returns:
      the code
    • setCode

      public void setCode(String code)
      Parameters:
      code - the code to set
    • getCurrencyCode

      public String getCurrencyCode()
      Returns:
      the currencyCode
    • setCurrencyCode

      public void setCurrencyCode(String currencyCode)
      Parameters:
      currencyCode - the currencyCode to set
    • getName

      public String getName()
      Returns:
      the name
    • setName

      public void setName(String name)
      Parameters:
      name - the name to set
    • getOriginalPrice

      public String getOriginalPrice()
      Returns:
      the originalPrice
    • setOriginalPrice

      public void setOriginalPrice(String originalPrice)
      Parameters:
      originalPrice - the originalPrice to set
    • getOriginalPriceDouble

      public Double getOriginalPriceDouble()
      Returns:
      the originalPriceDouble
    • setOriginalPriceDouble

      public void setOriginalPriceDouble(Double originalPriceDouble)
      Parameters:
      originalPriceDouble - the originalPriceDouble to set
    • getPrice

      public String getPrice()
      Returns:
      the price
    • setPrice

      public void setPrice(String price)
      Parameters:
      price - the price to set
    • getPriceDouble

      public Double getPriceDouble()
      Returns:
      the priceDouble
    • setPriceDouble

      public void setPriceDouble(Double priceDouble)
      Parameters:
      priceDouble - the priceDouble to set
    • getProcessorClass

      public String getProcessorClass()
      Returns:
      the processorClass
    • setProcessorClass

      public void setProcessorClass(String processorClass)
      Parameters:
      processorClass - the processorClass to set
    • getProcessorName

      public String getProcessorName()
      Returns:
      the processorName
    • setProcessorName

      public void setProcessorName(String processorName)
      Parameters:
      processorName - the processorName to set
    • getDiscounts

      public Collection getDiscounts()
      Returns:
      the discounts
    • setDiscounts

      public void setDiscounts(Collection discounts)
      Parameters:
      discounts - the discounts to set