Class InvoicingAddress
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.onesubscription.model.InvoicingAddress
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20190111") public final class InvoicingAddress extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelAddress.
Note: Objects should always be created or deserialized using theInvoicingAddress.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 theInvoicingAddress.Builder, which maintain a set of all explicitly set fields calledInvoicingAddress.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 classInvoicingAddress.Builder
-
Constructor Summary
Constructors Constructor Description InvoicingAddress(InvoicingLocation 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 InvoicingAddress.Builderbuilder()Create a new builder.booleanequals(Object o)LonggetBillSiteUseId()Bill to site use Id.BooleangetIsBillTo()Identify as the customer’s billing address.BooleangetIsShipTo()Identify as the customer’s shipping address.InvoicingLocationgetLocation()StringgetName()Address name identifier.StringgetPhone()Phone.LonggetService2SiteUseId()Service to site use Id.LonggetTcaCustAcctSiteId()TCA customer account site Id.StringgetTcaPartySiteNumber()Party site number.inthashCode()InvoicingAddress.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
InvoicingAddress
@Deprecated @ConstructorProperties({"location","name","phone","isBillTo","isShipTo","billSiteUseId","service2SiteUseId","tcaCustAcctSiteId","tcaPartySiteNumber"}) public InvoicingAddress(InvoicingLocation location, String name, String phone, Boolean isBillTo, Boolean isShipTo, Long billSiteUseId, Long service2SiteUseId, Long tcaCustAcctSiteId, String tcaPartySiteNumber)
Deprecated.
-
-
Method Detail
-
builder
public static InvoicingAddress.Builder builder()
Create a new builder.
-
toBuilder
public InvoicingAddress.Builder toBuilder()
-
getLocation
public InvoicingLocation 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’s billing address.- Returns:
- the value
-
getIsShipTo
public Boolean getIsShipTo()
Identify as the customer’s shipping 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
-
-