com.konakart.json.app
Class J_ShippingQuote

java.lang.Object
  extended by com.konakart.json.app.J_ShippingQuote
All Implemented Interfaces:
java.io.Serializable

public class J_ShippingQuote
extends java.lang.Object
implements java.io.Serializable

An order may have a ShippingQuote object to describe the shipping. This object is generated by a shipping module.

See Also:
Serialized Form

Constructor Summary
J_ShippingQuote()
           
 
Method Summary
 java.lang.String getCode()
          The code of the shipping module.
 java.math.BigDecimal getCost()
           
 java.lang.String getCustom1()
           
 java.lang.String getCustom2()
           
 java.lang.String getCustom3()
           
 java.lang.String getCustom4()
           
 java.lang.String getCustom5()
           
 java.lang.String getDescription()
          The shipping module description to put on the UI so that it can be selected.
 java.math.BigDecimal getFreeShippingOver()
          The value for freeShippingOver is set in a configuration variable.
 java.math.BigDecimal getHandlingCost()
           
 java.lang.String getIcon()
           
 java.lang.String getModuleCode()
          The code of the shipping module.
 J_ShippingQuote[] getQuotes()
           
 java.lang.String getResponseText()
          The response text that can be used in the UI.
 java.lang.String getShippingServiceCode()
           
 int getSortOrder()
          Defines the order in which the shipping modules are displayed.
 java.math.BigDecimal getTax()
           
 int getTaxClass()
           
 java.lang.String getTitle()
          The title of the shipping module which can be used in the UI.
 java.math.BigDecimal getTotalExTax()
           
 java.math.BigDecimal getTotalIncTax()
           
 boolean isFree()
          If set to true, the shipping is free.
 void setCode(java.lang.String _code)
          The code of the shipping module.
 void setCost(java.math.BigDecimal _cost)
           
 void setCustom1(java.lang.String _custom1)
           
 void setCustom2(java.lang.String _custom2)
           
 void setCustom3(java.lang.String _custom3)
           
 void setCustom4(java.lang.String _custom4)
           
 void setCustom5(java.lang.String _custom5)
           
 void setDescription(java.lang.String _description)
          The shipping module description to put on the UI so that it can be selected.
 void setFree(boolean _free)
          If set to true, the shipping is free.
 void setFreeShippingOver(java.math.BigDecimal _freeShippingOver)
          The value for freeShippingOver is set in a configuration variable.
 void setHandlingCost(java.math.BigDecimal _handlingCost)
           
 void setIcon(java.lang.String _icon)
           
 void setModuleCode(java.lang.String _moduleCode)
          The code of the shipping module.
 void setQuotes(J_ShippingQuote[] _quotes)
           
 void setResponseText(java.lang.String _responseText)
          The response text that can be used in the UI.
 void setShippingServiceCode(java.lang.String _shippingServiceCode)
           
 void setSortOrder(int _sortOrder)
          Defines the order in which the shipping modules are displayed.
 void setTax(java.math.BigDecimal _tax)
           
 void setTaxClass(int _taxClass)
           
 void setTitle(java.lang.String _title)
          The title of the shipping module which can be used in the UI.
 void setTotalExTax(java.math.BigDecimal _totalExTax)
           
 void setTotalIncTax(java.math.BigDecimal _totalIncTax)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

J_ShippingQuote

public J_ShippingQuote()
Method Detail

getCode

public java.lang.String getCode()
The code of the shipping module. e.g. flat, free, table etc. This can have "_n" appended to it (where n is an intege) to ensure uniqueness amongst a set of shipping quotes.

Returns:
Returns the code.

setCode

public void setCode(java.lang.String _code)
The code of the shipping module. e.g. flat, free, table etc. This can have "_n" appended to it (where n is an intege) to ensure uniqueness amongst a set of shipping quotes.

Parameters:
_code - The code to set.

getModuleCode

public java.lang.String getModuleCode()
The code of the shipping module. e.g. flat, free, table etc. This is always just the module code without any "_n" appended as in the code attribute.

Returns:
Returns the code.

setModuleCode

public void setModuleCode(java.lang.String _moduleCode)
The code of the shipping module. e.g. flat, free, table etc. This is always just the module code without any "_n" appended as in the code attribute.

Parameters:
_moduleCode - The code to set.

getDescription

public java.lang.String getDescription()
The shipping module description to put on the UI so that it can be selected.

Returns:
Returns the description.

setDescription

public void setDescription(java.lang.String _description)
The shipping module description to put on the UI so that it can be selected.

Parameters:
_description - The description to set.

getIcon

public java.lang.String getIcon()
Returns:
Returns the icon.

setIcon

public void setIcon(java.lang.String _icon)
Parameters:
_icon - The icon to set.

getSortOrder

public int getSortOrder()
Defines the order in which the shipping modules are displayed.

Returns:
Returns the sortOrder.

setSortOrder

public void setSortOrder(int _sortOrder)
Defines the order in which the shipping modules are displayed.

Parameters:
_sortOrder - The sortOrder to set.

getTitle

public java.lang.String getTitle()
The title of the shipping module which can be used in the UI.

Returns:
Returns the title.

setTitle

public void setTitle(java.lang.String _title)
The title of the shipping module which can be used in the UI.

Parameters:
_title - The title to set.

getHandlingCost

public java.math.BigDecimal getHandlingCost()
Returns:
Returns the handlingCost.

setHandlingCost

public void setHandlingCost(java.math.BigDecimal _handlingCost)
Parameters:
_handlingCost - The handlingCost to set.

getTax

public java.math.BigDecimal getTax()
Returns:
Returns the tax.

setTax

public void setTax(java.math.BigDecimal _tax)
Parameters:
_tax - The tax to set.

getResponseText

public java.lang.String getResponseText()
The response text that can be used in the UI.

Returns:
Returns the responseText.

setResponseText

public void setResponseText(java.lang.String _responseText)
The response text that can be used in the UI.

Parameters:
_responseText - The responseText to set.

getCost

public java.math.BigDecimal getCost()
Returns:
Returns the cost.

setCost

public void setCost(java.math.BigDecimal _cost)
Parameters:
_cost - The cost to set.

isFree

public boolean isFree()
If set to true, the shipping is free.

Returns:
Returns the free.

setFree

public void setFree(boolean _free)
If set to true, the shipping is free.

Parameters:
_free - The free to set.

getFreeShippingOver

public java.math.BigDecimal getFreeShippingOver()
The value for freeShippingOver is set in a configuration variable.

Returns:
Returns the freeShippingOver.

setFreeShippingOver

public void setFreeShippingOver(java.math.BigDecimal _freeShippingOver)
The value for freeShippingOver is set in a configuration variable.

Parameters:
_freeShippingOver - The freeShippingOver to set.

getTaxClass

public int getTaxClass()
Returns:
Returns the taxClass.

setTaxClass

public void setTaxClass(int _taxClass)
Parameters:
_taxClass - The taxClass to set.

getTotalExTax

public java.math.BigDecimal getTotalExTax()
Returns:
Returns the totalExTax.

setTotalExTax

public void setTotalExTax(java.math.BigDecimal _totalExTax)
Parameters:
_totalExTax - The totalExTax to set.

getTotalIncTax

public java.math.BigDecimal getTotalIncTax()
Returns:
Returns the totalIncTax.

setTotalIncTax

public void setTotalIncTax(java.math.BigDecimal _totalIncTax)
Parameters:
_totalIncTax - The totalIncTax to set.

getQuotes

public J_ShippingQuote[] getQuotes()
Returns:
Returns the quotes.

setQuotes

public void setQuotes(J_ShippingQuote[] _quotes)
Parameters:
_quotes - The quotes to set.

getShippingServiceCode

public java.lang.String getShippingServiceCode()
Returns:
the shippingServiceCode

setShippingServiceCode

public void setShippingServiceCode(java.lang.String _shippingServiceCode)
Parameters:
_shippingServiceCode - the shippingServiceCode to set

getCustom1

public java.lang.String getCustom1()
Returns:
Returns the custom1.

setCustom1

public void setCustom1(java.lang.String _custom1)
Parameters:
_custom1 - The custom1 to set.

getCustom2

public java.lang.String getCustom2()
Returns:
Returns the custom2.

setCustom2

public void setCustom2(java.lang.String _custom2)
Parameters:
_custom2 - The custom2 to set.

getCustom3

public java.lang.String getCustom3()
Returns:
Returns the custom3.

setCustom3

public void setCustom3(java.lang.String _custom3)
Parameters:
_custom3 - The custom3 to set.

getCustom4

public java.lang.String getCustom4()
Returns:
Returns the custom4.

setCustom4

public void setCustom4(java.lang.String _custom4)
Parameters:
_custom4 - The custom4 to set.

getCustom5

public java.lang.String getCustom5()
Returns:
Returns the custom5.

setCustom5

public void setCustom5(java.lang.String _custom5)
Parameters:
_custom5 - The custom5 to set.


Copyright © 2011 DS Data Systems UK Ltd.