Class ShippingMethod
dw.order
Class ShippingMethod
ShippingMethod represents how the shipment will be shipped.
Properties
baseMethod  :  ShippingMethod  (Read Only)
The base shipping method or null if undefined.
currencyCode  :  String  (Read Only)
The currency code associated with the shipping method
customerGroups  :  Collection  (Read Only)
The customer groups assigned to the shipping method. Assigned ids that do not belong to an existing customer group are ignored.
defaultMethod  :  boolean  (Read Only)
Returns 'true' if the shipping method is marked as 'default' for the current session's currency. Otherwise 'false' is returned.
dependentMethods  :  Collection  (Read Only)
The dependent shipping methods of this shipping method, regardless of the online status of the methods.
Dependent shipping methods have this method as their base method.
description  :  String  (Read Only)
The description of the shipping method as specified in the current locale or null if it could not be found.
displayName  :  String  (Read Only)
The display name of the shipping method in the current locale or null if it could not be found.
ID  :  String  (Read Only)
The ID of the shipping method.
online  :  boolean  (Read Only)
Returns true if shipping method is online, false otherwise
taxClassID  :  String  (Read Only)
The tax class id of the shipping method.
Constructor Summary
This class does not have a constructor, so you cannot create it directly.
Method Summary
getBaseMethod() : ShippingMethod
Returns the base shipping method or null if undefined.
getCurrencyCode() : String
Returns the currency code associated with the shipping method
getCustomerGroups() : Collection
Returns the customer groups assigned to the shipping method.
getDependentMethods() : Collection
Returns the dependent shipping methods of this shipping method, regardless of the online status of the methods.
getDescription() : String
Returns the description of the shipping method as specified in the current locale or null if it could not be found.
getDisplayName() : String
Returns the display name of the shipping method in the current locale or null if it could not be found.
getID() : String
Returns the ID of the shipping method.
getTaxClassID() : String
Returns the tax class id of the shipping method.
isDefaultMethod() : boolean
Returns 'true' if the shipping method is marked as 'default' for the current session's currency.
isOnline() : boolean
Returns true if shipping method is online, false otherwise
Methods inherited from class ExtensibleObject
Methods inherited from class PersistentObject
Method Detail
getBaseMethod
getBaseMethod() : ShippingMethod
Returns the base shipping method or null if undefined.
Returns:
Base shipping method

getCurrencyCode
getCurrencyCode() : String
Returns the currency code associated with the shipping method
Returns:
currency code

getCustomerGroups
getCustomerGroups() : Collection
Returns the customer groups assigned to the shipping method. Assigned ids that do not belong to an existing customer group are ignored.
Returns:
customer groups

getDependentMethods
getDependentMethods() : Collection
Returns the dependent shipping methods of this shipping method, regardless of the online status of the methods.
Dependent shipping methods have this method as their base method.
Returns:
Dependent shipping methods

getDescription
getDescription() : String
Returns the description of the shipping method as specified in the current locale or null if it could not be found.
Returns:
he description of the shipping method as specified in the current locale or null if it could not be found.

getDisplayName
getDisplayName() : String
Returns the display name of the shipping method in the current locale or null if it could not be found.
Returns:
the display name of the shipping method or null if it could not be found.

getID
getID() : String
Returns the ID of the shipping method.
Returns:
the ID of the shipping method.

getTaxClassID
getTaxClassID() : String
Returns the tax class id of the shipping method.
Returns:
the tax class id of the shipping method.

isDefaultMethod
isDefaultMethod() : boolean
Returns 'true' if the shipping method is marked as 'default' for the current session's currency. Otherwise 'false' is returned.
Returns:
'true' if it is the default shipping method of the site

isOnline
isOnline() : boolean
Returns true if shipping method is online, false otherwise