com.ibm.commerce.me.datatype
Class ShippingInfo

java.lang.Object
  com.ibm.commerce.me.datatype.ShippingInfo
All Implemented Interfaces:
java.io.Serializable

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

Stores Shipping information such as charge, currency, description, shipping comapny, tracking ID

See Also:
Serialized Form

Field Summary
static java.lang.String COPYRIGHT
IBM Copyright field
Constructor Summary
ShippingInfo()
ShippingInfo default constructor
Method Summary
java.math.BigDecimal getCharge()
Gets the shipping charge
java.lang.String getCurrency()
Gets the currency used for shipping charge
java.lang.String getDescription()
Gets the description
java.lang.String getShippingCompany()
Gets the name of the shipping company
java.lang.String getTrackingId()
Gets the tracking id
void setCharge(java.math.BigDecimal newCharge)
Sets the shipping charge
void setCurrency(java.lang.String newCurrency)
Sets the currency used for shipping charge
void setDescription(java.lang.String newDescription)
Sets the description
void setShippingCompany(java.lang.String newShippingCompany)
Sets the name of the shipping company
void setTrackingId(java.lang.String newTrackingId)
Sets the tracking id
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT
IBM Copyright field
See Also:
Constant Field Values
Constructor Detail

ShippingInfo

public ShippingInfo()
ShippingInfo default constructor
Method Detail

getCharge

public java.math.BigDecimal getCharge()
Gets the shipping charge
Returns:
the amount of shipping charge

getCurrency

public java.lang.String getCurrency()
Gets the currency used for shipping charge
Returns:
the currency used for shipping charge

getDescription

public java.lang.String getDescription()
Gets the description
Returns:
the description of shipping information

getShippingCompany

public java.lang.String getShippingCompany()
Gets the name of the shipping company
Returns:
the name of shipping company

getTrackingId

public java.lang.String getTrackingId()
Gets the tracking id
Returns:
the tracking id

setCharge

public void setCharge(java.math.BigDecimal newCharge)
Sets the shipping charge
Parameters:
newCharge - the new shipping charge

setCurrency

public void setCurrency(java.lang.String newCurrency)
Sets the currency used for shipping charge
Parameters:
newCurrency - the currency used for the charge

setDescription

public void setDescription(java.lang.String newDescription)
Sets the description
Parameters:
newDescription - the new shipping information description

setShippingCompany

public void setShippingCompany(java.lang.String newShippingCompany)
Sets the name of the shipping company
Parameters:
newShippingCompany - the name of shipping company

setTrackingId

public void setTrackingId(java.lang.String newTrackingId)
Sets the tracking id
Parameters:
newTrackingId - the new tracking id

Feedback