Overview | Package | Class | Tree | Deprecated | Index | Help
| Copyright © 2000, 2009, Oracle and/or its affiliates. All rights reserved.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.beasys.commerce.ebusiness.shipping
Interface ShippingMethod

All Superinterfaces
  BusinessSmartComponent, javax.ejb.EJBObject, Entity, Remote, RemoteRelationalReference, Serializable

Deprecated

    @Deprecated
    public interface ShippingMethod

extends Entity

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

     Primary Key = com.beasys.commerce.ebusiness.shipping.ShippingMethodPk

A key that uniquely identifies this shipping method.

- Containment: By Value
- Multiplicity: 1:1
- PRIMARY KEY FIELD

Attribute: sizeLimit The maximum deliverable quantity.

- Containment: By Value
- Multiplicity: 1:1

Attribute: description An textual description of this shipping mechanism.

- Containment: By Value
- Multiplicity: 1:1

Attribute: signatureRequired True if the customer is required to acknowled delivery with a signature.

- Containment: By Value
- Multiplicity: 1:1

Attribute: weightLimit The maximum weight limit for this shipping mechanism.

- Containment: By Value
- Multiplicity: 1:1

Attribute: percentage Used when the shipping cost is a percentage of the total value of the order.

- Containment: By Value
- Multiplicity: 1:1

Attribute: poBoxAllowed True if this mechanism will allow delivery to a post office box.

- Containment: By Value
- Multiplicity: 1:1

Attribute: restrictions A description of any restrictions that apply to this shipping mechanism.

- Containment: By Value
- Multiplicity: 1:1

Attribute: averageShippingTime The average delivery time.

- Containment: By Value
- Multiplicity: 1:1

Attribute: carrier The service provider used for delivery.

- Containment: By Value
- Multiplicity: 1:1

Attribute: saturdayDelivery True if ths shipping mechanism will deliver on a Saturday.

- Containment: By Value
- Multiplicity: 1:1

Attribute: price The base shipping cost.

- Containment: By Value
- Multiplicity: 1:1

Attribute: packagingType

- Containment: By Value
- Multiplicity: 1:1

Attribute: costCalculationMechanism Used to specify one of the pre-programmed shipping cost calculation mechanisms. * Policy:Uses the Shipping Cost Calculation Policy to determine the total cost. * FlatRate: A single flat rate price is returned as specified in the price field. * PerItem: The count of items in the order is multiplied by the price field to determine the shipping cost. * Percentage: The total cost of the order is multiplied by the percenate specified to determine the cost.

- Containment: By Value
- Multiplicity: 1:1

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

- Containment: By Value
- Multiplicity: 1:1

Attribute: internationalDelivery True if this mechanism will deliver internationally.

- Containment: By Value
- Multiplicity: 1:1

See Also
  `ShippingMethodPk`, `ShippingMethodHome`, `ShippingMethodImpl`, `ShippingMethodValue`

Method Summary
`int` | `getAverageShippingTime()` Deprecated Get the value of averageShippingTime
`String` | `getCarrier()` Deprecated Get the value of carrier
`String` | `getCostCalculationMechanism()` Deprecated Get the value of costCalculationMechanism
`String` | `getDescription()` Deprecated Get the value of description
`String` | `getIdentifier()` Deprecated
`boolean` | `getInternationalDelivery()` Deprecated Get the value of internationalDelivery
`String` | `getMethod()` Deprecated Get the value of method
`String` | `getPackagingType()` Deprecated Get the value of packagingType
`double` | `getPercentage()` Deprecated Get the value of percentage
`boolean` | `getPoBoxAllowed()` Deprecated Get the value of poBoxAllowed
`Money` | `getPrice()` Deprecated Get the value of price
`String` | `getRestrictions()` Deprecated Get the value of restrictions
`boolean` | `getSaturdayDelivery()` Deprecated Get the value of saturdayDelivery
`ShippingMethodValue` | `getShippingMethodByValue()` Deprecated Get all of ShippingMethod's attributes.
`boolean` | `getSignatureRequired()` Deprecated Get the value of signatureRequired
`double` | `getSizeLimit()` Deprecated Get the value of sizeLimit
`double` | `getWeightLimit()` Deprecated Get the value of weightLimit
`void` | `setAverageShippingTime(int averageShippingTime)` Deprecated Set the value of averageShippingTime
`void` | `setCarrier(String carrier)` Deprecated Set the value of carrier
`void` | `setCostCalculationMechanism(String costCalculationMechanism)` Deprecated Set the value of costCalculationMechanism
`void` | `setDescription(String description)` Deprecated Set the value of description
`void` | `setInternationalDelivery(boolean internationalDelivery)` Deprecated Set the value of internationalDelivery
`void` | `setMethod(String method)` Deprecated Set the value of method
`void` | `setPackagingType(String packagingType)` Deprecated Set the value of packagingType
`void` | `setPercentage(double percentage)` Deprecated Set the value of percentage
`void` | `setPoBoxAllowed(boolean poBoxAllowed)` Deprecated Set the value of poBoxAllowed
`void` | `setPrice(Money price)` Deprecated Set the value of price
`void` | `setRestrictions(String restrictions)` Deprecated Set the value of restrictions
`void` | `setSaturdayDelivery(boolean saturdayDelivery)` Deprecated Set the value of saturdayDelivery
`void` | `setShippingMethodByValue(ShippingMethodValue value)` Deprecated Set all of ShippingMethod's attributes to the passed in value.
`void` | `setSignatureRequired(boolean signatureRequired)` Deprecated Set the value of signatureRequired
`void` | `setSizeLimit(double sizeLimit)` Deprecated Set the value of sizeLimit
`void` | `setWeightLimit(double weightLimit)` Deprecated Set the value of weightLimit

Methods inherited from interface javax.ejb.EJBObject
`getEJBHome, getHandle, getPrimaryKey, isIdentical, remove`

Methods inherited from interface com.beasys.commerce.foundation.RemoteRelationalReference
`get__classIdentifier, get__containingBelonging, get__containingEntity, get__mapKey, get__sequenceNumber, set__containingBelonging, set__containingEntity, set__mapKey`

Method Detail

### getShippingMethodByValue

    ShippingMethodValue getShippingMethodByValue()
                                                 throws RemoteException

  Deprecated
  Get all of ShippingMethod's attributes.

  Returns
    ShippingMethodValue the ShippingMethod value object
  Throws
    `RemoteException`

### setShippingMethodByValue

    void setShippingMethodByValue(ShippingMethodValue value)
                                  throws RemoteException

  Deprecated
  Set all of ShippingMethod's attributes to the passed in value. Note: Primary key attributes are not set.

  Parameters
    `ShippingMethodValue` - the ShippingMethod value object
  Throws
    `RemoteException`

### getIdentifier

    String getIdentifier()
                         throws RemoteException

  Deprecated
  Throws
    `RemoteException`

### getSizeLimit

    double getSizeLimit()
                        throws RemoteException

  Deprecated
  Get the value of sizeLimit

  Returns
    sizeLimit.
  Throws
    `RemoteException`

### setSizeLimit

    void setSizeLimit(double sizeLimit)
                      throws RemoteException

  Deprecated
  Set the value of sizeLimit

  Parameters
    `sizeLimit` - sizeLimit to be added
  Throws
    `RemoteException`

### getDescription

    String getDescription()
                          throws RemoteException

  Deprecated
  Get the value of description

  Returns
    description.
  Throws
    `RemoteException`

### setDescription

    void setDescription(String description)
                        throws RemoteException

  Deprecated
  Set the value of description

  Parameters
    `description` - description to be added
  Throws
    `RemoteException`

### getSignatureRequired

    boolean getSignatureRequired()
                                 throws RemoteException

  Deprecated
  Get the value of signatureRequired

  Returns
    signatureRequired.
  Throws
    `RemoteException`

### setSignatureRequired

    void setSignatureRequired(boolean signatureRequired)
                              throws RemoteException

  Deprecated
  Set the value of signatureRequired

  Parameters
    `signatureRequired` - signatureRequired to be added
  Throws
    `RemoteException`

### getWeightLimit

    double getWeightLimit()
                          throws RemoteException

  Deprecated
  Get the value of weightLimit

  Returns
    weightLimit.
  Throws
    `RemoteException`

### setWeightLimit

    void setWeightLimit(double weightLimit)
                        throws RemoteException

  Deprecated
  Set the value of weightLimit

  Parameters
    `weightLimit` - weightLimit to be added
  Throws
    `RemoteException`

### getPercentage

    double getPercentage()
                         throws RemoteException

  Deprecated
  Get the value of percentage

  Returns
    percentage.
  Throws
    `RemoteException`

### setPercentage

    void setPercentage(double percentage)
                       throws RemoteException

  Deprecated
  Set the value of percentage

  Parameters
    `percentage` - percentage to be added
  Throws
    `RemoteException`

### getPoBoxAllowed

    boolean getPoBoxAllowed()
                            throws RemoteException

  Deprecated
  Get the value of poBoxAllowed

  Returns
    poBoxAllowed.
  Throws
    `RemoteException`

### setPoBoxAllowed

    void setPoBoxAllowed(boolean poBoxAllowed)
                         throws RemoteException

  Deprecated
  Set the value of poBoxAllowed

  Parameters
    `poBoxAllowed` - poBoxAllowed to be added
  Throws
    `RemoteException`

### getRestrictions

    String getRestrictions()
                           throws RemoteException

  Deprecated
  Get the value of restrictions

  Returns
    restrictions.
  Throws
    `RemoteException`

### setRestrictions

    void setRestrictions(String restrictions)
                         throws RemoteException

  Deprecated
  Set the value of restrictions

  Parameters
    `restrictions` - restrictions to be added
  Throws
    `RemoteException`

### getAverageShippingTime

    int getAverageShippingTime()
                               throws RemoteException

  Deprecated
  Get the value of averageShippingTime

  Returns
    averageShippingTime.
  Throws
    `RemoteException`

### setAverageShippingTime

    void setAverageShippingTime(int averageShippingTime)
                                throws RemoteException

  Deprecated
  Set the value of averageShippingTime

  Parameters
    `averageShippingTime` - averageShippingTime to be added
  Throws
    `RemoteException`

### getCarrier

    String getCarrier()
                      throws RemoteException

  Deprecated
  Get the value of carrier

  Returns
    carrier.
  Throws
    `RemoteException`

### setCarrier

    void setCarrier(String carrier)
                    throws RemoteException

  Deprecated
  Set the value of carrier

  Parameters
    `carrier` - carrier to be added
  Throws
    `RemoteException`

### getSaturdayDelivery

    boolean getSaturdayDelivery()
                                throws RemoteException

  Deprecated
  Get the value of saturdayDelivery

  Returns
    saturdayDelivery.
  Throws
    `RemoteException`

### setSaturdayDelivery

    void setSaturdayDelivery(boolean saturdayDelivery)
                             throws RemoteException

  Deprecated
  Set the value of saturdayDelivery

  Parameters
    `saturdayDelivery` - saturdayDelivery to be added
  Throws
    `RemoteException`

### getPrice

    Money getPrice()
                   throws RemoteException

  Deprecated
  Get the value of price

  Returns
    price.
  Throws
    `RemoteException`

### setPrice

    void setPrice(Money price)
                  throws RemoteException

  Deprecated
  Set the value of price

  Parameters
    `price` - price to be added
  Throws
    `RemoteException`

### getPackagingType

    String getPackagingType()
                            throws RemoteException

  Deprecated
  Get the value of packagingType

  Returns
    packagingType.
  Throws
    `RemoteException`

### setPackagingType

    void setPackagingType(String packagingType)
                          throws RemoteException

  Deprecated
  Set the value of packagingType

  Parameters
    `packagingType` - packagingType to be added
  Throws
    `RemoteException`

### getCostCalculationMechanism

    String getCostCalculationMechanism()
                                       throws RemoteException

  Deprecated
  Get the value of costCalculationMechanism

  Returns
    costCalculationMechanism.
  Throws
    `RemoteException`

### setCostCalculationMechanism

    void setCostCalculationMechanism(String costCalculationMechanism)
                                     throws RemoteException

  Deprecated
  Set the value of costCalculationMechanism

  Parameters
    `costCalculationMechanism` - costCalculationMechanism to be added
  Throws
    `RemoteException`

### getMethod

    String getMethod()
                     throws RemoteException

  Deprecated
  Get the value of method

  Returns
    method.
  Throws
    `RemoteException`

### setMethod

    void setMethod(String method)
                   throws RemoteException

  Deprecated
  Set the value of method

  Parameters
    `method` - method to be added
  Throws
    `RemoteException`

### getInternationalDelivery

    boolean getInternationalDelivery()
                                     throws RemoteException

  Deprecated
  Get the value of internationalDelivery

  Returns
    internationalDelivery.
  Throws
    `RemoteException`

### setInternationalDelivery

    void setInternationalDelivery(boolean internationalDelivery)
                                  throws RemoteException

  Deprecated
  Set the value of internationalDelivery

  Parameters
    `internationalDelivery` - internationalDelivery to be added
  Throws
    `RemoteException`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2000, 2009, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its affiliates.
Other names may be trademarks of their respective owners.