@Generated(value="OracleSDKGenerator", comments="API Version: 20201210") public final class ShippingAddress extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
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 ShippingAddress.Builder.__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take the explicitly set
fields into account. The constructor, on the other hand, does not take the explicitly set fields
into account (since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
ShippingAddress.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
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) |
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()
recipient email address.
|
String |
getPhoneNumber()
recipient phone number.
|
String |
getStateOrRegion()
state or region for shipping address.
|
String |
getZipcode()
zipcode for shipping address.
|
int |
hashCode() |
ShippingAddress.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"addressee","careOf","address1","address2","address3","address4","cityOrLocality","stateOrRegion","zipcode","country","phoneNumber","email"}) 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()
recipient phone number.
public String getEmail()
recipient email address.
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2024. All rights reserved.