public class ShippingMode extends ModelObject
Modifier and Type | Field and Description |
---|---|
static java.lang.String | PROP_DESCRIPTION
Constant for the description property name.
|
static java.lang.String | PROP_MODE_ID
Constant for the mode ID property name.
|
static java.lang.String | PROP_SHIP_CHARGES
Constant for the shipping charges property name.
|
Constructor and Description |
---|
ShippingMode()
Constructor for ShippingMode.
|
Modifier and Type | Method and Description |
---|---|
void | addShipCharge(ShipCharge shipCharge)
Add a shipping charge to this shipping mode
|
java.lang.String | getDescription()
This method is a convenience method for retrieving the current setting of the "description" property.
|
java.lang.String | getModeId()
This method is a convenience method for retrieving the current setting of the "modeId" property.
|
ShipCharge[] | getShipCharges()
Returns all available shipping charges
|
void | setDescription(java.lang.String description)
This method is a convenience method for setting the "description" property.
|
void | setModeId(java.lang.String modeId)
This method is a convenience method for setting the "modeId" property.
|
java.lang.String | toString()
Returns a string representation of this shipping mode.
|
public static final java.lang.String PROP_MODE_ID
The value is "modeId".
The data stored under the "modeId" property is a String that contains the shipping mode's primary ID.
public static final java.lang.String PROP_DESCRIPTION
The value is "description".
The data stored under the "description" property is a String that contains the shipping mode's description.
public static final java.lang.String PROP_SHIP_CHARGES
The value is "shipCharges".
The data stored under the "shipCharges" property is a ModelObjectList that contains a list of shipping charges information
public java.lang.String getDescription()
public java.lang.String getModeId()
public void setDescription(java.lang.String description)
public void setModeId(java.lang.String modeId)
public java.lang.String toString()
public ShipCharge[] getShipCharges()
public void addShipCharge(ShipCharge shipCharge)