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
Salesforce Commerce Cloud Courses
Salesforce B2C Commerce Developer - Certification Tests
Why risk failing the SFCC exam? Get 180 real questions, killer content, and everything you need to crush the Salesforce B2C Commerce Developer certification.

Becoming a Salesforce B2C Commerce Developer is your ticket to higher salaries, better job opportunities, and the credibility to stand out from the competition. But let's be honestβ€”passing the certification exam isn't easy. That's where we come in.
Salesforce Javascript Developer I - Certification Tests
Not just another prep courseβ€”this is your shortcut to passing. Master JavaScript for Salesforce and go from 'hoping to pass' to knowing you will. Ready to start?

This isn't just another prep courseβ€”it's your shortcut to mastering the skills and confidence you need to pass. With multiple practice tests covering every section and a final exam simulation designed to mirror the real thing, you'll feel like you've already aced it before test day.
Salesforce B2C Commerce Architect - Certification Tests
Think the Developer exam was hard? Welcome to the next level.

The Salesforce B2C Commerce Architect certification is a whole different gameβ€”complex solutions, elevated difficulty, and skills that set you apart in the eCommerce industry. That's why we're including 11 downloadable PDF guides, packed with best practices and strategies to help you prepare for the exam and build confidence in every topic.
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

β™₯
Notifications pending to read