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()
           
 Country getDeliveryCountry()
           
 GeoZone[] getDeliveryGeoZoneArray()
           
 Zone getDeliveryZone()
           
 java.util.Locale getLocale()
           
 java.math.BigDecimal getMaxWeight()
           
 int getNumBookableProducts()
          The number of bookable products
 int getNumDigitalDownloads()
          The number of digital download products
 int getNumFreeShipping()
          The number of products that need to be shipped for free.
 int getNumGiftCertificates()
          The number of gift certificates
 int getNumProducts()
          The number of physical products to be shipped
 java.util.List<java.math.BigDecimal> getOrderWeightList()
           
 Country getOriginCountry()
           
 java.lang.String getOriginZip()
           
 void setBoxPadding(java.math.BigDecimal boxPadding)
           
 void setBoxWeight(java.math.BigDecimal boxWeight)
           
 void setDeliveryCountry(Country deliveryCountry)
           
 void setDeliveryGeoZoneArray(GeoZone[] deliveryGeoZoneArray)
           
 void setDeliveryZone(Zone deliveryZone)
           
 void setLocale(java.util.Locale locale)
           
 void setMaxWeight(java.math.BigDecimal maxWeight)
           
 void setNumBookableProducts(int numBookableProducts)
          The number of bookable products
 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 setNumGiftCertificates(int numGiftCertificates)
          The number of gift certificates
 void setNumProducts(int numProducts)
          The number of physical products to be shipped
 void setOrderWeightList(java.util.List<java.math.BigDecimal> orderWeightList)
           
 void setOriginCountry(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 Country getOriginCountry()
Returns:
Returns the originCountry.

setOriginCountry

public void setOriginCountry(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<java.math.BigDecimal> getOrderWeightList()
Returns:
Returns the orderWeightList.

setOrderWeightList

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

getDeliveryCountry

public Country getDeliveryCountry()
Returns:
Returns the deliveryCountry.

setDeliveryCountry

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

getDeliveryZone

public Zone getDeliveryZone()
Returns:
Returns the deliveryZone.

setDeliveryZone

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

getDeliveryGeoZoneArray

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

setDeliveryGeoZoneArray

public void setDeliveryGeoZoneArray(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.

getNumBookableProducts

public int getNumBookableProducts()
The number of bookable products

Returns:
the numBookableProducts

setNumBookableProducts

public void setNumBookableProducts(int numBookableProducts)
The number of bookable products

Parameters:
numBookableProducts - the numBookableProducts to set

getNumGiftCertificates

public int getNumGiftCertificates()
The number of gift certificates

Returns:
the numGiftCertificates

setNumGiftCertificates

public void setNumGiftCertificates(int numGiftCertificates)
The number of gift certificates

Parameters:
numGiftCertificates - the numGiftCertificates to set


Copyright © 2011 DS Data Systems UK Ltd.