Class SubscribedServiceAddress
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.onesubscription.model.SubscribedServiceAddress
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20190111") public final class SubscribedServiceAddress extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Address.
Note: Objects should always be created or deserialized using theSubscribedServiceAddress.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 theSubscribedServiceAddress.Builder
, which maintain a set of all explicitly set fields calledSubscribedServiceAddress.Builder.__explicitlySet__
. ThehashCode()
andequals(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).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SubscribedServiceAddress.Builder
-
Constructor Summary
Constructors Constructor Description SubscribedServiceAddress(SubscribedServiceLocation location, String name, String phone, Boolean isBillTo, Boolean isShipTo, Long billSiteUseId, Long service2SiteUseId, Long tcaCustAcctSiteId, String tcaPartySiteNumber)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SubscribedServiceAddress.Builder
builder()
Create a new builder.boolean
equals(Object o)
Long
getBillSiteUseId()
Bill to site use Id.Boolean
getIsBillTo()
Identify as the customer shipping address.Boolean
getIsShipTo()
Identify as the customer invoicing address.SubscribedServiceLocation
getLocation()
String
getName()
Address name identifier.String
getPhone()
Phone.Long
getService2SiteUseId()
Service to site use Id.Long
getTcaCustAcctSiteId()
TCA customer account site Id.String
getTcaPartySiteNumber()
Party site number.int
hashCode()
SubscribedServiceAddress.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
SubscribedServiceAddress
@Deprecated @ConstructorProperties({"location","name","phone","isBillTo","isShipTo","billSiteUseId","service2SiteUseId","tcaCustAcctSiteId","tcaPartySiteNumber"}) public SubscribedServiceAddress(SubscribedServiceLocation location, String name, String phone, Boolean isBillTo, Boolean isShipTo, Long billSiteUseId, Long service2SiteUseId, Long tcaCustAcctSiteId, String tcaPartySiteNumber)
Deprecated.
-
-
Method Detail
-
builder
public static SubscribedServiceAddress.Builder builder()
Create a new builder.
-
toBuilder
public SubscribedServiceAddress.Builder toBuilder()
-
getLocation
public SubscribedServiceLocation getLocation()
-
getName
public String getName()
Address name identifier.- Returns:
- the value
-
getPhone
public String getPhone()
Phone.- Returns:
- the value
-
getIsBillTo
public Boolean getIsBillTo()
Identify as the customer shipping address.- Returns:
- the value
-
getIsShipTo
public Boolean getIsShipTo()
Identify as the customer invoicing address.- Returns:
- the value
-
getBillSiteUseId
public Long getBillSiteUseId()
Bill to site use Id.- Returns:
- the value
-
getService2SiteUseId
public Long getService2SiteUseId()
Service to site use Id.- Returns:
- the value
-
getTcaCustAcctSiteId
public Long getTcaCustAcctSiteId()
TCA customer account site Id.- Returns:
- the value
-
getTcaPartySiteNumber
public String getTcaPartySiteNumber()
Party site number.- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Parameters:
includeByteArrayContents
- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-