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.ExplicitlySetBmcModelAddress.
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 classSubscribedServiceAddress.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.Builderbuilder()Create a new builder.booleanequals(Object o)LonggetBillSiteUseId()Bill to site use Id.BooleangetIsBillTo()Identify as the customer shipping address.BooleangetIsShipTo()Identify as the customer invoicing address.SubscribedServiceLocationgetLocation()StringgetName()Address name identifier.StringgetPhone()Phone.LonggetService2SiteUseId()Service to site use Id.LonggetTcaCustAcctSiteId()TCA customer account site Id.StringgetTcaPartySiteNumber()Party site number.inthashCode()SubscribedServiceAddress.BuildertoBuilder()StringtoString()StringtoString(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:
toStringin 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:
equalsin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCodein classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-