dw.order
Class ShippingLocation

Represents a specific location for a shipment.
Note: this class allows access to sensitive personal and private information. Pay attention to appropriate legal and regulatory requirements related to this data.
Properties
address1
:
String
The shipping location's first address.
address2
:
String
The shipping location's second address.
city
:
String
The shipping location's city.
countryCode
:
String
The shipping location's country code.
postalCode
:
String
The shipping location's postal code.
postBox
:
String
The shipping location's post box.
stateCode
:
String
The shipping location's state code.
suite
:
String
The shipping location's suite.
Constructor Summary
ShippingLocation()
Constructs a new shipping location.
ShippingLocation(address
:
CustomerAddress)
Constructs a new shipping location and initializes it with the values of the specified address object.
ShippingLocation(address
:
OrderAddress)
Constructs a new shipping location and initializes it with the values of the specified address object.
Method Summary
getAddress1()
:
String
Returns the shipping location's first address.
getAddress2()
:
String
Returns the shipping location's second address.
getCountryCode()
:
String
Returns the shipping location's country code.
getPostalCode()
:
String
Returns the shipping location's postal code.
getPostBox()
:
String
Returns the shipping location's post box.
getStateCode()
:
String
Returns the shipping location's state code.
setAddress1(aValue
:
String)
:
void
Sets the shipping location's first address.
setAddress2(aValue
:
String)
:
void
Sets the shipping location's second address.
setCountryCode(aValue
:
String)
:
void
Sets the shipping location's country code.
setPostalCode(aValue
:
String)
:
void
Sets the shipping location's postal code.
setPostBox(aValue
:
String)
:
void
Sets the shipping location's post box.
setStateCode(aValue
:
String)
:
void
Sets the shipping location's state code.
Methods inherited from class
Object
assign, create, create, defineProperties, defineProperty, entries, freeze, fromEntries, getOwnPropertyDescriptor, getOwnPropertyNames, getOwnPropertySymbols, getPrototypeOf, hasOwnProperty, is, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, preventExtensions, propertyIsEnumerable, seal, setPrototypeOf, toLocaleString, toString, valueOf, values
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.
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.
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.
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.
Constructor Detail
ShippingLocation
public ShippingLocation(address
:
CustomerAddress)
Constructs a new shipping location and initializes it with the values of the
specified address object.
Parameters:
address
-
the address that the shipping location represents.
ShippingLocation
public ShippingLocation(address
:
OrderAddress)
Constructs a new shipping location and initializes it with the values of the
specified address object.
Parameters:
address
-
the address that the shipping location represents.
Method Detail
getAddress1
getAddress1()
:
String
Returns the shipping location's first address.
Returns:
the shipping location's first address.
getAddress2
getAddress2()
:
String
Returns the shipping location's second address.
Returns:
the shipping location's second address.
getCity
getCity()
:
String
Returns the shipping location's city.
Returns:
the shipping location's city.
getCountryCode
getCountryCode()
:
String
Returns the shipping location's country code.
Returns:
the shipping location's country code.
getPostalCode
getPostalCode()
:
String
Returns the shipping location's postal code.
Returns:
the shipping location's postal code.
getPostBox
getPostBox()
:
String
Returns the shipping location's post box.
Returns:
the shipping location's post box.
getStateCode
getStateCode()
:
String
Returns the shipping location's state code.
Returns:
the shipping location's state code.
getSuite
getSuite()
:
String
Returns the shipping location's suite.
Returns:
the shipping location's suite.
setAddress1
setAddress1(aValue
:
String)
:
void
Sets the shipping location's first address.
Parameters:
aValue
-
the shipping location's first address.
setAddress2
setAddress2(aValue
:
String)
:
void
Sets the shipping location's second address.
Parameters:
aValue
-
the shipping location's second address.
setCity
setCity(aValue
:
String)
:
void
Sets the shipping location's city.
Parameters:
aValue
-
the shipping location's city.
setCountryCode
setCountryCode(aValue
:
String)
:
void
Sets the shipping location's country code.
Parameters:
aValue
-
the shipping location's country code.
setPostalCode
setPostalCode(aValue
:
String)
:
void
Sets the shipping location's postal code.
Parameters:
aValue
-
the shipping location's postal code.
setPostBox
setPostBox(aValue
:
String)
:
void
Sets the shipping location's post box.
Parameters:
aValue
-
the shipping location's post box.
setStateCode
setStateCode(aValue
:
String)
:
void
Sets the shipping location's state code.
Parameters:
aValue
-
the shipping location's state code.
setSuite
setSuite(aValue
:
String)
:
void
Sets the shipping location's suite.
Parameters:
aValue
-
the shipping location's suite.