ShippingMethodValue Class

com.beasys.commerce.ebusiness.shipping
ShippingMethodValue Class

public class ShippingMethodValue

    extends SmartValue

A shipping method is a mechanism by which product is delivered. It stores a standard set of attributes and allows for complex shipping cost calculations.


Hierarchy
Object
  SmartValue
    ShippingMethodValue
All Implemented Interfaces

Serializable

Field Summary

public int
averageShippingTime
The average delivery time.
public String
carrier
The service provider used for delivery.
public String
costCalculationMechanism
Used to specify one of the pre-programmed shipping cost calculation mechanisms.
public String
description
A textual description of this shipping mechanism.
public String
identifier
A key that uniquely identifies this shipping method.
public boolean
internationalDelivery
True if this mechanism will deliver internationally.
public String
method
The mechanism by which the item will be shipped.
public String
packagingType
The packaging type.
public double
percentage
Used when the shipping cost is a percentage of the total value of the order.
public boolean
poBoxAllowed
True if this mechanism will allow delivery to a post office box.
public Money
price
The base shipping cost.
public String
restrictions
A description of any restrictions that apply to this shipping mechanism.
public boolean
saturdayDelivery
True if ths shipping mechanism will deliver on a Saturday.
public boolean
signatureRequired
True if the customer is required to acknowledge delivery with a signature.
public double
sizeLimit
The maximum deliverable quantity.
public double
weightLimit
The maximum weight limit for this shipping mechanism.
 

Constructor Summary

ShippingMethodValue()

Only get/setShippingMethodByValue methods are allowed to call this constructor.
 

Method Summary

 
Methods from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
   

Field Detail

averageShippingTime

public int averageShippingTime
The average delivery time.


carrier

public String carrier
The service provider used for delivery.


costCalculationMechanism

public String costCalculationMechanism
Used to specify one of the pre-programmed shipping cost calculation mechanisms.


description

public String description
A textual description of this shipping mechanism.


identifier

public String identifier
A key that uniquely identifies this shipping method.


internationalDelivery

public boolean internationalDelivery
True if this mechanism will deliver internationally.


method

public String method
The mechanism by which the item will be shipped. These include Air, Ship, Truck, etc..


packagingType

public String packagingType
The packaging type.


percentage

public double percentage
Used when the shipping cost is a percentage of the total value of the order.


poBoxAllowed

public boolean poBoxAllowed
True if this mechanism will allow delivery to a post office box.


price

public Money price
The base shipping cost.


restrictions

public String restrictions
A description of any restrictions that apply to this shipping mechanism.


saturdayDelivery

public boolean saturdayDelivery
True if ths shipping mechanism will deliver on a Saturday.


signatureRequired

public boolean signatureRequired
True if the customer is required to acknowledge delivery with a signature.


sizeLimit

public double sizeLimit
The maximum deliverable quantity.


weightLimit

public double weightLimit
The maximum weight limit for this shipping mechanism.

 

Constructor Detail

ShippingMethodValue

protected ShippingMethodValue()
Only get/setShippingMethodByValue methods are allowed to call this constructor.