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.Object
public java.lang.String getCode()
ShippingQuoteIf
getCode
in interface ShippingQuoteIf
public void setCode(java.lang.String code)
ShippingQuoteIf
setCode
in interface ShippingQuoteIf
code
- The code to set.public java.lang.String getDescription()
ShippingQuoteIf
getDescription
in interface ShippingQuoteIf
public void setDescription(java.lang.String description)
ShippingQuoteIf
setDescription
in interface ShippingQuoteIf
description
- The description to set.public java.lang.String getIcon()
getIcon
in interface ShippingQuoteIf
public void setIcon(java.lang.String icon)
setIcon
in interface ShippingQuoteIf
icon
- The icon to set.public int getSortOrder()
ShippingQuoteIf
getSortOrder
in interface ShippingQuoteIf
public void setSortOrder(int sortOrder)
ShippingQuoteIf
setSortOrder
in interface ShippingQuoteIf
sortOrder
- The sortOrder to set.public java.lang.String getTitle()
ShippingQuoteIf
getTitle
in interface ShippingQuoteIf
public void setTitle(java.lang.String title)
ShippingQuoteIf
setTitle
in interface ShippingQuoteIf
title
- The title to set.public java.math.BigDecimal getHandlingCost()
getHandlingCost
in interface ShippingQuoteIf
public void setHandlingCost(java.math.BigDecimal handlingCost)
setHandlingCost
in interface ShippingQuoteIf
handlingCost
- The handlingCost to set.public java.math.BigDecimal getTax()
getTax
in interface ShippingQuoteIf
public void setTax(java.math.BigDecimal tax)
setTax
in interface ShippingQuoteIf
tax
- The tax to set.public java.lang.String getResponseText()
ShippingQuoteIf
getResponseText
in interface ShippingQuoteIf
public void setResponseText(java.lang.String responseText)
ShippingQuoteIf
setResponseText
in interface ShippingQuoteIf
responseText
- The responseText to set.public java.math.BigDecimal getCost()
getCost
in interface ShippingQuoteIf
public void setCost(java.math.BigDecimal cost)
setCost
in interface ShippingQuoteIf
cost
- The cost to set.public boolean isFree()
ShippingQuoteIf
isFree
in interface ShippingQuoteIf
public void setFree(boolean free)
ShippingQuoteIf
setFree
in interface ShippingQuoteIf
free
- The free to set.public java.math.BigDecimal getFreeShippingOver()
ShippingQuoteIf
getFreeShippingOver
in interface ShippingQuoteIf
public void setFreeShippingOver(java.math.BigDecimal freeShippingOver)
ShippingQuoteIf
setFreeShippingOver
in interface ShippingQuoteIf
freeShippingOver
- The freeShippingOver to set.public int getTaxClass()
getTaxClass
in interface ShippingQuoteIf
public void setTaxClass(int taxClass)
setTaxClass
in interface ShippingQuoteIf
taxClass
- The taxClass to set.public java.math.BigDecimal getTotalExTax()
getTotalExTax
in interface ShippingQuoteIf
public void setTotalExTax(java.math.BigDecimal totalExTax)
setTotalExTax
in interface ShippingQuoteIf
totalExTax
- The totalExTax to set.public java.math.BigDecimal getTotalIncTax()
getTotalIncTax
in interface ShippingQuoteIf
public void setTotalIncTax(java.math.BigDecimal totalIncTax)
setTotalIncTax
in interface ShippingQuoteIf
totalIncTax
- The totalIncTax to set.public ShippingQuoteIf[] getQuotes()
getQuotes
in interface ShippingQuoteIf
public void setQuotes(ShippingQuoteIf[] quotes)
setQuotes
in interface ShippingQuoteIf
quotes
- The quotes to set.public java.lang.String getCustom1()
getCustom1
in interface ShippingQuoteIf
public void setCustom1(java.lang.String custom1)
setCustom1
in interface ShippingQuoteIf
custom1
- The custom1 to set.public java.lang.String getCustom2()
getCustom2
in interface ShippingQuoteIf
public void setCustom2(java.lang.String custom2)
setCustom2
in interface ShippingQuoteIf
custom2
- The custom2 to set.public java.lang.String getCustom3()
getCustom3
in interface ShippingQuoteIf
public void setCustom3(java.lang.String custom3)
setCustom3
in interface ShippingQuoteIf
custom3
- The custom3 to set.public java.lang.String getCustom4()
getCustom4
in interface ShippingQuoteIf
public void setCustom4(java.lang.String custom4)
setCustom4
in interface ShippingQuoteIf
custom4
- The custom4 to set.public java.lang.String getCustom5()
getCustom5
in interface ShippingQuoteIf
public void setCustom5(java.lang.String custom5)
setCustom5
in interface ShippingQuoteIf
custom5
- The custom5 to set.public java.lang.String getShippingServiceCode()
getShippingServiceCode
in interface ShippingQuoteIf
public void setShippingServiceCode(java.lang.String shippingServiceCode)
setShippingServiceCode
in interface ShippingQuoteIf
shippingServiceCode
- the shippingServiceCode to setpublic java.lang.String getModuleCode()
ShippingQuoteIf
getModuleCode
in interface ShippingQuoteIf
public void setModuleCode(java.lang.String moduleCode)
ShippingQuoteIf
setModuleCode
in interface ShippingQuoteIf
moduleCode
- the moduleCode to setpublic java.math.BigDecimal getTaxRate()
getTaxRate
in interface ShippingQuoteIf
public void setTaxRate(java.math.BigDecimal taxRate)
setTaxRate
in interface ShippingQuoteIf
taxRate
- the taxRate to setCopyright © 2018 DS Data Systems UK Ltd.