public class ShippingQuote extends java.lang.Object implements ShippingQuoteIf
| Constructor and Description |
|---|
ShippingQuote() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
ShippingQuoteIf[] |
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.math.BigDecimal |
getTaxRate() |
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(ShippingQuoteIf[] 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 |
setTaxRate(java.math.BigDecimal taxRate) |
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) |
java.lang.String |
toString()
Returns a string containing the attributes of the ShippingDescription object
|
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getCode()
ShippingQuoteIfgetCode in interface ShippingQuoteIfpublic void setCode(java.lang.String code)
ShippingQuoteIfsetCode in interface ShippingQuoteIfcode - The code to set.public java.lang.String getDescription()
ShippingQuoteIfgetDescription in interface ShippingQuoteIfpublic void setDescription(java.lang.String description)
ShippingQuoteIfsetDescription in interface ShippingQuoteIfdescription - The description to set.public java.lang.String getIcon()
getIcon in interface ShippingQuoteIfpublic void setIcon(java.lang.String icon)
setIcon in interface ShippingQuoteIficon - The icon to set.public int getSortOrder()
ShippingQuoteIfgetSortOrder in interface ShippingQuoteIfpublic void setSortOrder(int sortOrder)
ShippingQuoteIfsetSortOrder in interface ShippingQuoteIfsortOrder - The sortOrder to set.public java.lang.String getTitle()
ShippingQuoteIfgetTitle in interface ShippingQuoteIfpublic void setTitle(java.lang.String title)
ShippingQuoteIfsetTitle in interface ShippingQuoteIftitle - The title to set.public java.math.BigDecimal getHandlingCost()
getHandlingCost in interface ShippingQuoteIfpublic void setHandlingCost(java.math.BigDecimal handlingCost)
setHandlingCost in interface ShippingQuoteIfhandlingCost - The handlingCost to set.public java.math.BigDecimal getTax()
getTax in interface ShippingQuoteIfpublic void setTax(java.math.BigDecimal tax)
setTax in interface ShippingQuoteIftax - The tax to set.public java.lang.String getResponseText()
ShippingQuoteIfgetResponseText in interface ShippingQuoteIfpublic void setResponseText(java.lang.String responseText)
ShippingQuoteIfsetResponseText in interface ShippingQuoteIfresponseText - The responseText to set.public java.math.BigDecimal getCost()
getCost in interface ShippingQuoteIfpublic void setCost(java.math.BigDecimal cost)
setCost in interface ShippingQuoteIfcost - The cost to set.public boolean isFree()
ShippingQuoteIfisFree in interface ShippingQuoteIfpublic void setFree(boolean free)
ShippingQuoteIfsetFree in interface ShippingQuoteIffree - The free to set.public java.math.BigDecimal getFreeShippingOver()
ShippingQuoteIfgetFreeShippingOver in interface ShippingQuoteIfpublic void setFreeShippingOver(java.math.BigDecimal freeShippingOver)
ShippingQuoteIfsetFreeShippingOver in interface ShippingQuoteIffreeShippingOver - The freeShippingOver to set.public int getTaxClass()
getTaxClass in interface ShippingQuoteIfpublic void setTaxClass(int taxClass)
setTaxClass in interface ShippingQuoteIftaxClass - The taxClass to set.public java.math.BigDecimal getTotalExTax()
getTotalExTax in interface ShippingQuoteIfpublic void setTotalExTax(java.math.BigDecimal totalExTax)
setTotalExTax in interface ShippingQuoteIftotalExTax - The totalExTax to set.public java.math.BigDecimal getTotalIncTax()
getTotalIncTax in interface ShippingQuoteIfpublic void setTotalIncTax(java.math.BigDecimal totalIncTax)
setTotalIncTax in interface ShippingQuoteIftotalIncTax - The totalIncTax to set.public ShippingQuoteIf[] getQuotes()
getQuotes in interface ShippingQuoteIfpublic void setQuotes(ShippingQuoteIf[] quotes)
setQuotes in interface ShippingQuoteIfquotes - The quotes to set.public java.lang.String getCustom1()
getCustom1 in interface ShippingQuoteIfpublic void setCustom1(java.lang.String custom1)
setCustom1 in interface ShippingQuoteIfcustom1 - The custom1 to set.public java.lang.String getCustom2()
getCustom2 in interface ShippingQuoteIfpublic void setCustom2(java.lang.String custom2)
setCustom2 in interface ShippingQuoteIfcustom2 - The custom2 to set.public java.lang.String getCustom3()
getCustom3 in interface ShippingQuoteIfpublic void setCustom3(java.lang.String custom3)
setCustom3 in interface ShippingQuoteIfcustom3 - The custom3 to set.public java.lang.String getCustom4()
getCustom4 in interface ShippingQuoteIfpublic void setCustom4(java.lang.String custom4)
setCustom4 in interface ShippingQuoteIfcustom4 - The custom4 to set.public java.lang.String getCustom5()
getCustom5 in interface ShippingQuoteIfpublic void setCustom5(java.lang.String custom5)
setCustom5 in interface ShippingQuoteIfcustom5 - The custom5 to set.public java.lang.String getShippingServiceCode()
getShippingServiceCode in interface ShippingQuoteIfpublic void setShippingServiceCode(java.lang.String shippingServiceCode)
setShippingServiceCode in interface ShippingQuoteIfshippingServiceCode - the shippingServiceCode to setpublic java.lang.String getModuleCode()
ShippingQuoteIfgetModuleCode in interface ShippingQuoteIfpublic void setModuleCode(java.lang.String moduleCode)
ShippingQuoteIfsetModuleCode in interface ShippingQuoteIfmoduleCode - the moduleCode to setpublic java.math.BigDecimal getTaxRate()
getTaxRate in interface ShippingQuoteIfpublic void setTaxRate(java.math.BigDecimal taxRate)
setTaxRate in interface ShippingQuoteIftaxRate - the taxRate to setCopyright © 2018 DS Data Systems UK Ltd.