@Generated(value="OracleSDKGenerator", comments="API Version: 20201210") public final class ShippingAddress extends Object
Shipping address for rover devices.
Note: Objects should always be created or deserialized using the ShippingAddress.Builder
. This model distinguishes fields
that are null
because they are unset from fields that are explicitly set to null
. This is done in
the setter methods of the ShippingAddress.Builder
, which maintain a set of all explicitly set fields called
__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take
__explicitlySet__
into account. The constructor, on the other hand, does not set __explicitlySet__
(since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
ShippingAddress.Builder |
Constructor and Description |
---|
ShippingAddress(String addressee,
String careOf,
String address1,
String address2,
String address3,
String address4,
String cityOrLocality,
String stateOrRegion,
String zipcode,
String country,
String phoneNumber,
String email)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static ShippingAddress.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Set<String> |
get__explicitlySet__() |
String |
getAddress1()
Address line 1.
|
String |
getAddress2()
Address line 2.
|
String |
getAddress3()
Address line 3.
|
String |
getAddress4()
Address line 4.
|
String |
getAddressee()
Addressee in shipping address.
|
String |
getCareOf()
CareOf for shipping address.
|
String |
getCityOrLocality()
city or locality for shipping address.
|
String |
getCountry()
country for shipping address.
|
String |
getEmail()
recepient email address.
|
String |
getPhoneNumber()
recepient phone number.
|
String |
getStateOrRegion()
state or region for shipping address.
|
String |
getZipcode()
zipcode for shipping address.
|
int |
hashCode() |
ShippingAddress.Builder |
toBuilder() |
String |
toString() |
@ConstructorProperties(value={"addressee","careOf","address1","address2","address3","address4","cityOrLocality","stateOrRegion","zipcode","country","phoneNumber","email"}) @Deprecated public ShippingAddress(String addressee, String careOf, String address1, String address2, String address3, String address4, String cityOrLocality, String stateOrRegion, String zipcode, String country, String phoneNumber, String email)
public static ShippingAddress.Builder builder()
Create a new builder.
public ShippingAddress.Builder toBuilder()
public String getAddressee()
Addressee in shipping address.
public String getCareOf()
CareOf for shipping address.
public String getAddress1()
Address line 1.
public String getAddress2()
Address line 2.
public String getAddress3()
Address line 3.
public String getAddress4()
Address line 4.
public String getCityOrLocality()
city or locality for shipping address.
public String getStateOrRegion()
state or region for shipping address.
public String getZipcode()
zipcode for shipping address.
public String getCountry()
country for shipping address.
public String getPhoneNumber()
recepient phone number.
public String getEmail()
recepient email address.
Copyright © 2016–2022. All rights reserved.