Class InvoicingAddress.Builder
- java.lang.Object
-
- com.oracle.bmc.onesubscription.model.InvoicingAddress.Builder
-
- Enclosing class:
- InvoicingAddress
public static class InvoicingAddress.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InvoicingAddress.Builder
billSiteUseId(Long billSiteUseId)
Bill to site use Id.InvoicingAddress
build()
InvoicingAddress.Builder
copy(InvoicingAddress model)
InvoicingAddress.Builder
isBillTo(Boolean isBillTo)
Identify as the customer’s billing address.InvoicingAddress.Builder
isShipTo(Boolean isShipTo)
Identify as the customer’s shipping address.InvoicingAddress.Builder
location(InvoicingLocation location)
InvoicingAddress.Builder
name(String name)
Address name identifier.InvoicingAddress.Builder
phone(String phone)
Phone.InvoicingAddress.Builder
service2SiteUseId(Long service2SiteUseId)
Service to site use Id.InvoicingAddress.Builder
tcaCustAcctSiteId(Long tcaCustAcctSiteId)
TCA customer account site Id.InvoicingAddress.Builder
tcaPartySiteNumber(String tcaPartySiteNumber)
Party site number.
-
-
-
Method Detail
-
location
public InvoicingAddress.Builder location(InvoicingLocation location)
-
name
public InvoicingAddress.Builder name(String name)
Address name identifier.- Parameters:
name
- the value to set- Returns:
- this builder
-
phone
public InvoicingAddress.Builder phone(String phone)
Phone.- Parameters:
phone
- the value to set- Returns:
- this builder
-
isBillTo
public InvoicingAddress.Builder isBillTo(Boolean isBillTo)
Identify as the customer’s billing address.- Parameters:
isBillTo
- the value to set- Returns:
- this builder
-
isShipTo
public InvoicingAddress.Builder isShipTo(Boolean isShipTo)
Identify as the customer’s shipping address.- Parameters:
isShipTo
- the value to set- Returns:
- this builder
-
billSiteUseId
public InvoicingAddress.Builder billSiteUseId(Long billSiteUseId)
Bill to site use Id.- Parameters:
billSiteUseId
- the value to set- Returns:
- this builder
-
service2SiteUseId
public InvoicingAddress.Builder service2SiteUseId(Long service2SiteUseId)
Service to site use Id.- Parameters:
service2SiteUseId
- the value to set- Returns:
- this builder
-
tcaCustAcctSiteId
public InvoicingAddress.Builder tcaCustAcctSiteId(Long tcaCustAcctSiteId)
TCA customer account site Id.- Parameters:
tcaCustAcctSiteId
- the value to set- Returns:
- this builder
-
tcaPartySiteNumber
public InvoicingAddress.Builder tcaPartySiteNumber(String tcaPartySiteNumber)
Party site number.- Parameters:
tcaPartySiteNumber
- the value to set- Returns:
- this builder
-
build
public InvoicingAddress build()
-
copy
public InvoicingAddress.Builder copy(InvoicingAddress model)
-
-