@Generated(value="OracleSDKGenerator", comments="API Version: 20191001") public final class BillToAddress extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Address details model
Note: Objects should always be created or deserialized using the BillToAddress.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 BillToAddress.Builder
, which maintain a
set of all explicitly set fields called BillToAddress.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 |
BillToAddress.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
BillToAddress(String contactName,
String companyName,
String addressLine1,
String addressLine2,
String addressLine3,
String addressLine4,
String streetName,
String streetNumber,
String city,
Country country,
String county,
String state,
String postalCode,
String province)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static BillToAddress.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getAddressLine1()
Address line 1
|
String |
getAddressLine2()
Address line 2
|
String |
getAddressLine3()
Address line 3
|
String |
getAddressLine4()
Address line 4
|
String |
getCity()
Name of the city
|
String |
getCompanyName()
Name of the customer company
|
String |
getContactName()
Name of the contact person
|
Country |
getCountry() |
String |
getCounty()
County name
|
String |
getPostalCode()
ZIP no
|
String |
getProvince()
Name of the province
|
String |
getState()
Name of the state
|
String |
getStreetName()
Street name
|
String |
getStreetNumber()
House no
|
int |
hashCode() |
BillToAddress.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"contactName","companyName","addressLine1","addressLine2","addressLine3","addressLine4","streetName","streetNumber","city","country","county","state","postalCode","province"}) public BillToAddress(String contactName, String companyName, String addressLine1, String addressLine2, String addressLine3, String addressLine4, String streetName, String streetNumber, String city, Country country, String county, String state, String postalCode, String province)
public static BillToAddress.Builder builder()
Create a new builder.
public BillToAddress.Builder toBuilder()
public String getContactName()
Name of the contact person
public String getCompanyName()
Name of the customer company
public String getAddressLine1()
Address line 1
public String getAddressLine2()
Address line 2
public String getAddressLine3()
Address line 3
public String getAddressLine4()
Address line 4
public String getStreetName()
Street name
public String getStreetNumber()
House no
public String getCity()
Name of the city
public Country getCountry()
public String getCounty()
County name
public String getState()
Name of the state
public String getPostalCode()
ZIP no
public String getProvince()
Name of the province
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.