public class ContractShipping extends Session
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
static java.lang.String | PROP_SHIPPING_ADDRESSES
Constant for the shipping addresses property name.
|
static java.lang.String | PROP_SHIPPING_MODES
Constant for the addresses property name.
|
Constructor and Description |
---|
ContractShipping()
The default Constructor
|
Modifier and Type | Method and Description |
---|---|
void | addAvailableAddress(Address address)
This method is a convenience method for updating the customer contract's available shipping address.
|
void | addAvailableShipMode(ShippingMode shipMode)
This method is a convenience method for updating the customer contract's available shipping modes.
|
ModelObjectList | getAvailableAddressesModelObjectList()
This method is a convenience method for retrieving the current setting of customer's contract shipping addresses.
|
ModelObjectList | getAvailableShipModesModelObjectList()
This method is a convenience method for retrieving the current setting of customer's contract shipping modes.
|
java.util.Vector | getAvailableShippingAddresses()
This method is a convenience method for retrieving the current setting of customer's contract shipping addresses.
|
Address | getAvailableShippingAddressForNickname(java.lang.String nickname)
This method is a convenience method for retrieving the customer's contract shipping address that match the specified nickname.
|
java.util.Vector | getAvailableShippingModes()
This method is a convenience method for retrieving the current setting of customer's contract shipping modes.
|
public static final java.lang.String COPYRIGHT
public static final java.lang.String PROP_SHIPPING_ADDRESSES
The value is "shippingAddresses".
The data stored under the "shippingAddresses" property is a ModelObjectList containing Address model object that represents the customer contract's available shipping addresses.
public static final java.lang.String PROP_SHIPPING_MODES
The value is "shippingModes".
The data stored under the "shippingModes" property is a ModelObjectList containing ShippingMode model object that represents the customer contract's shipping mode options.
public void addAvailableAddress(Address address)
public void addAvailableShipMode(ShippingMode shipMode)
public ModelObjectList getAvailableAddressesModelObjectList()
public ModelObjectList getAvailableShipModesModelObjectList()
public java.util.Vector getAvailableShippingAddresses()
public java.util.Vector getAvailableShippingModes()
public Address getAvailableShippingAddressForNickname(java.lang.String nickname)