public class ShippingInformation extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ShippingInformation.Builder
Class to build instances of
ShippingInformation. |
| Constructor and Description |
|---|
ShippingInformation()
Default constructor.
|
ShippingInformation(String name,
String method,
SimplePostalAddressCoarseGrained address,
SimplePostalAddressCoarseGrained secondaryShippingAddress)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
SimplePostalAddressCoarseGrained |
getAddress()
Getter for Address.
|
String |
getMethod()
Getter for Method.
|
String |
getName()
Getter for Name.
|
SimplePostalAddressCoarseGrained |
getSecondaryShippingAddress()
Getter for SecondaryShippingAddress.
|
void |
setAddress(SimplePostalAddressCoarseGrained address)
Setter for Address.
|
void |
setMethod(String method)
Setter for Method.
|
void |
setName(String name)
Setter for Name.
|
void |
setSecondaryShippingAddress(SimplePostalAddressCoarseGrained secondaryShippingAddress)
Setter for SecondaryShippingAddress.
|
ShippingInformation.Builder |
toBuilder()
Builds a new
ShippingInformation.Builder object. |
String |
toString()
Converts this ShippingInformation into string format.
|
public ShippingInformation()
public ShippingInformation(String name, String method, SimplePostalAddressCoarseGrained address, SimplePostalAddressCoarseGrained secondaryShippingAddress)
name - String value for name.method - String value for method.address - SimplePostalAddressCoarseGrained value for address.secondaryShippingAddress - SimplePostalAddressCoarseGrained value for
secondaryShippingAddress.public String getName()
public void setName(String name)
name - Value for Stringpublic String getMethod()
public void setMethod(String method)
method - Value for Stringpublic SimplePostalAddressCoarseGrained getAddress()
public void setAddress(SimplePostalAddressCoarseGrained address)
address - Value for SimplePostalAddressCoarseGrainedpublic SimplePostalAddressCoarseGrained getSecondaryShippingAddress()
public void setSecondaryShippingAddress(SimplePostalAddressCoarseGrained secondaryShippingAddress)
secondaryShippingAddress - Value for SimplePostalAddressCoarseGrainedpublic String toString()
public ShippingInformation.Builder toBuilder()
ShippingInformation.Builder object.
Creates the instance with the state of the current model.ShippingInformation.Builder objectCopyright © 2026. All rights reserved.