Class InvoicingBusinessPartner.Builder
- java.lang.Object
-
- com.oracle.bmc.onesubscription.model.InvoicingBusinessPartner.Builder
-
- Enclosing class:
- InvoicingBusinessPartner
public static class InvoicingBusinessPartner.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InvoicingBusinessPartnerbuild()InvoicingBusinessPartner.Buildercopy(InvoicingBusinessPartner model)InvoicingBusinessPartner.BuildercustomerChainType(String customerChainType)Customer chain type.InvoicingBusinessPartner.BuilderisChainCustomer(Boolean isChainCustomer)Specifies whether or not the business partner is a chain customer.InvoicingBusinessPartner.BuilderisPublicSector(Boolean isPublicSector)Specifies whether or not the business partner is part of the public sector.InvoicingBusinessPartner.Buildername(String name)Commercial name, also referred to as customer name.InvoicingBusinessPartner.BuildernamePhonetic(String namePhonetic)Phonetic name.InvoicingBusinessPartner.BuildertcaCustomerAccountId(Long tcaCustomerAccountId)TCA customer account ID.InvoicingBusinessPartner.BuildertcaCustomerAccountNumber(String tcaCustomerAccountNumber)TCA (Trading Community Architecture) customer account number.InvoicingBusinessPartner.BuildertcaPartyId(Long tcaPartyId)TCA party ID.InvoicingBusinessPartner.BuildertcaPartyNumber(String tcaPartyNumber)TCA party number.
-
-
-
Method Detail
-
name
public InvoicingBusinessPartner.Builder name(String name)
Commercial name, also referred to as customer name.- Parameters:
name- the value to set- Returns:
- this builder
-
namePhonetic
public InvoicingBusinessPartner.Builder namePhonetic(String namePhonetic)
Phonetic name.- Parameters:
namePhonetic- the value to set- Returns:
- this builder
-
tcaCustomerAccountNumber
public InvoicingBusinessPartner.Builder tcaCustomerAccountNumber(String tcaCustomerAccountNumber)
TCA (Trading Community Architecture) customer account number.- Parameters:
tcaCustomerAccountNumber- the value to set- Returns:
- this builder
-
isPublicSector
public InvoicingBusinessPartner.Builder isPublicSector(Boolean isPublicSector)
Specifies whether or not the business partner is part of the public sector.- Parameters:
isPublicSector- the value to set- Returns:
- this builder
-
isChainCustomer
public InvoicingBusinessPartner.Builder isChainCustomer(Boolean isChainCustomer)
Specifies whether or not the business partner is a chain customer.- Parameters:
isChainCustomer- the value to set- Returns:
- this builder
-
customerChainType
public InvoicingBusinessPartner.Builder customerChainType(String customerChainType)
Customer chain type.- Parameters:
customerChainType- the value to set- Returns:
- this builder
-
tcaPartyNumber
public InvoicingBusinessPartner.Builder tcaPartyNumber(String tcaPartyNumber)
TCA party number.- Parameters:
tcaPartyNumber- the value to set- Returns:
- this builder
-
tcaPartyId
public InvoicingBusinessPartner.Builder tcaPartyId(Long tcaPartyId)
TCA party ID.- Parameters:
tcaPartyId- the value to set- Returns:
- this builder
-
tcaCustomerAccountId
public InvoicingBusinessPartner.Builder tcaCustomerAccountId(Long tcaCustomerAccountId)
TCA customer account ID.- Parameters:
tcaCustomerAccountId- the value to set- Returns:
- this builder
-
build
public InvoicingBusinessPartner build()
-
copy
public InvoicingBusinessPartner.Builder copy(InvoicingBusinessPartner model)
-
-