@Generated(value="OracleSDKGenerator", comments="API Version: 1.0.017") public final class ShippingAddress extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
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 ExplicitlySetBmcModel.__explicitlySet__
. The hashCode()
and
equals(Object)
methods are implemented to take ExplicitlySetBmcModel.__explicitlySet__
into account.
The constructor, on the other hand, does not set ExplicitlySetBmcModel.__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) |
String |
getAddress1() |
String |
getAddress2() |
String |
getAddress3() |
String |
getAddress4() |
String |
getAddressee() |
String |
getCareOf() |
String |
getCityOrLocality() |
String |
getCountry() |
String |
getEmail() |
String |
getPhoneNumber() |
String |
getStateOrRegion() |
String |
getZipcode() |
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()
public String getCareOf()
public String getAddress1()
public String getAddress2()
public String getAddress3()
public String getAddress4()
public String getCityOrLocality()
public String getStateOrRegion()
public String getZipcode()
public String getCountry()
public String getPhoneNumber()
public String getEmail()
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–2023. All rights reserved.