Class ShippingAddress.ShippingAddressBuilder
java.lang.Object
com.broadleafcommerce.shipping.domain.ShippingAddress.ShippingAddressBuilder
- Enclosing class:
- ShippingAddress
-
Method Summary
Modifier and TypeMethodDescriptionaddressLine1
(String addressLine1) Primary address information, typically street name and building number.addressLine2
(String addressLine2) Secondary address information, like apartment, suite, or unit number.addressLine3
(String addressLine3) Tertiary address information, typically for international addresses.build()
The city, town or village of this address.The country for this address.The county of this address.postalCode
(String postalCode) Postal code or ZIP code for this address.stateProvinceRegion
(String stateProvinceRegion) The state, province or region of this address.toString()
-
Method Details
-
addressLine1
Primary address information, typically street name and building number.- Parameters:
addressLine1
- Primary address information, typically street name and building number.- Returns:
this
.
-
addressLine2
Secondary address information, like apartment, suite, or unit number.- Parameters:
addressLine2
- Secondary address information, like apartment number or suite number.- Returns:
this
.
-
addressLine3
Tertiary address information, typically for international addresses.- Parameters:
addressLine3
- Tertiary address information, typically for international addresses.- Returns:
this
.
-
city
The city, town or village of this address.- Parameters:
city
- The city, town or village of this address.- Returns:
this
.
-
county
The county of this address.- Parameters:
county
- The county of this address.- Returns:
this
.
-
stateProvinceRegion
The state, province or region of this address.- Parameters:
stateProvinceRegion
- The state, province or region of this address.- Returns:
this
.
-
country
The country for this address.- Parameters:
country
- The country for this address.- Returns:
this
.
-
postalCode
Postal code or ZIP code for this address.- Parameters:
postalCode
- Postal code or ZIP code for this address.- Returns:
this
.
-
build
-
toString
-