com.konakart.bl.modules.shipping
Class ShippingInfo

java.lang.Object
  extended by com.konakart.bl.modules.shipping.ShippingInfo

public class ShippingInfo
extends java.lang.Object

The object used by the engine to receive information from the modules


Constructor Summary
ShippingInfo()
           
 
Method Summary
 java.math.BigDecimal getBoxPadding()
           
 java.math.BigDecimal getBoxWeight()
           
 com.konakart.app.Country getDeliveryCountry()
           
 com.konakart.app.GeoZone[] getDeliveryGeoZoneArray()
           
 com.konakart.app.Zone getDeliveryZone()
           
 java.util.Locale getLocale()
           
 java.math.BigDecimal getMaxWeight()
           
 int getNumDigitalDownloads()
          The number of digital download products
 int getNumFreeShipping()
          The number of products that need to be shipped for free.
 int getNumProducts()
          The number of physical products to be shipped
 java.util.List getOrderWeightList()
           
 com.konakart.app.Country getOriginCountry()
           
 java.lang.String getOriginZip()
           
 void setBoxPadding(java.math.BigDecimal boxPadding)
           
 void setBoxWeight(java.math.BigDecimal boxWeight)
           
 void setDeliveryCountry(com.konakart.app.Country deliveryCountry)
           
 void setDeliveryGeoZoneArray(com.konakart.app.GeoZone[] deliveryGeoZoneArray)
           
 void setDeliveryZone(com.konakart.app.Zone deliveryZone)
           
 void setLocale(java.util.Locale locale)
           
 void setMaxWeight(java.math.BigDecimal maxWeight)
           
 void setNumDigitalDownloads(int numDigitalDownloads)
          The number of digital download products
 void setNumFreeShipping(int numFreeShipping)
          The number of products that need to be shipped for free.
 void setNumProducts(int numProducts)
          The number of physical products to be shipped
 void setOrderWeightList(java.util.List orderWeightList)
           
 void setOriginCountry(com.konakart.app.Country originCountry)
           
 void setOriginZip(java.lang.String originZip)
           
 java.lang.String toString()
          Returns a string containing the attributes of the ShippingDescription object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ShippingInfo

public ShippingInfo()
Method Detail

toString

public java.lang.String toString()
Returns a string containing the attributes of the ShippingDescription object

Overrides:
toString in class java.lang.Object

getBoxPadding

public java.math.BigDecimal getBoxPadding()
Returns:
Returns the boxPadding.

setBoxPadding

public void setBoxPadding(java.math.BigDecimal boxPadding)
Parameters:
boxPadding - The boxPadding to set.

getBoxWeight

public java.math.BigDecimal getBoxWeight()
Returns:
Returns the boxWeight.

setBoxWeight

public void setBoxWeight(java.math.BigDecimal boxWeight)
Parameters:
boxWeight - The boxWeight to set.

getMaxWeight

public java.math.BigDecimal getMaxWeight()
Returns:
Returns the maxWeight.

setMaxWeight

public void setMaxWeight(java.math.BigDecimal maxWeight)
Parameters:
maxWeight - The maxWeight to set.

getOriginCountry

public com.konakart.app.Country getOriginCountry()
Returns:
Returns the originCountry.

setOriginCountry

public void setOriginCountry(com.konakart.app.Country originCountry)
Parameters:
originCountry - The originCountry to set.

getOriginZip

public java.lang.String getOriginZip()
Returns:
Returns the originZip.

setOriginZip

public void setOriginZip(java.lang.String originZip)
Parameters:
originZip - The originZip to set.

getLocale

public java.util.Locale getLocale()
Returns:
Returns the locale.

setLocale

public void setLocale(java.util.Locale locale)
Parameters:
locale - The locale to set.

getOrderWeightList

public java.util.List getOrderWeightList()
Returns:
Returns the orderWeightList.

setOrderWeightList

public void setOrderWeightList(java.util.List orderWeightList)
Parameters:
orderWeightList - The orderWeightList to set.

getDeliveryCountry

public com.konakart.app.Country getDeliveryCountry()
Returns:
Returns the deliveryCountry.

setDeliveryCountry

public void setDeliveryCountry(com.konakart.app.Country deliveryCountry)
Parameters:
deliveryCountry - The deliveryCountry to set.

getDeliveryZone

public com.konakart.app.Zone getDeliveryZone()
Returns:
Returns the deliveryZone.

setDeliveryZone

public void setDeliveryZone(com.konakart.app.Zone deliveryZone)
Parameters:
deliveryZone - The deliveryZone to set.

getDeliveryGeoZoneArray

public com.konakart.app.GeoZone[] getDeliveryGeoZoneArray()
Returns:
Returns the deliveryGeoZoneArray.

setDeliveryGeoZoneArray

public void setDeliveryGeoZoneArray(com.konakart.app.GeoZone[] deliveryGeoZoneArray)
Parameters:
deliveryGeoZoneArray - The deliveryGeoZoneArray to set.

getNumProducts

public int getNumProducts()
The number of physical products to be shipped

Returns:
Returns the numProducts.

setNumProducts

public void setNumProducts(int numProducts)
The number of physical products to be shipped

Parameters:
numProducts - The numProducts to set.

getNumDigitalDownloads

public int getNumDigitalDownloads()
The number of digital download products

Returns:
Returns the numDigitalDownloads.

setNumDigitalDownloads

public void setNumDigitalDownloads(int numDigitalDownloads)
The number of digital download products

Parameters:
numDigitalDownloads - The numDigitalDownloads to set.

getNumFreeShipping

public int getNumFreeShipping()
The number of products that need to be shipped for free.

Returns:
Returns the numFreeShipping.

setNumFreeShipping

public void setNumFreeShipping(int numFreeShipping)
The number of products that need to be shipped for free.

Parameters:
numFreeShipping - The numFreeShipping to set.


Copyright © 2006 DS Data Systems UK Ltd.