java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.businesspartner.Customer.CustomerBuilder
Enclosing class:
Customer

public static final class Customer.CustomerBuilder extends Object
Helper class to allow for fluent creation of Customer instances.
  • Method Details

    • custAddrDepdntExtIdentifier

      @Nonnull public Customer.CustomerBuilder custAddrDepdntExtIdentifier(CustAddrDepdntExtIdentifier... value)
      Navigation property to_CustAddrDepdntExtIdentifier for Customer to multiple CustAddrDepdntExtIdentifier.
      Parameters:
      value - The CustAddrDepdntExtIdentifiers to build this Customer with.
      Returns:
      This Builder to allow for a fluent interface.
    • custAddrDepdntInformation

      @Nonnull public Customer.CustomerBuilder custAddrDepdntInformation(CustAddrDepdntInformation... value)
      Navigation property to_CustAddrDepdntInformation for Customer to multiple CustAddrDepdntInformation.
      Parameters:
      value - The CustAddrDepdntInformations to build this Customer with.
      Returns:
      This Builder to allow for a fluent interface.
    • customerCompany

      @Nonnull public Customer.CustomerBuilder customerCompany(CustomerCompany... value)
      Navigation property to_CustomerCompany for Customer to multiple CustomerCompany.
      Parameters:
      value - The CustomerCompanys to build this Customer with.
      Returns:
      This Builder to allow for a fluent interface.
    • customerSalesArea

      @Nonnull public Customer.CustomerBuilder customerSalesArea(CustomerSalesArea... value)
      Navigation property to_CustomerSalesArea for Customer to multiple CustomerSalesArea.
      Parameters:
      value - The CustomerSalesAreas to build this Customer with.
      Returns:
      This Builder to allow for a fluent interface.
    • customerTaxGrouping

      @Nonnull public Customer.CustomerBuilder customerTaxGrouping(CustomerTaxGrouping... value)
      Navigation property to_CustomerTaxGrouping for Customer to multiple CustomerTaxGrouping.
      Parameters:
      value - The CustomerTaxGroupings to build this Customer with.
      Returns:
      This Builder to allow for a fluent interface.
    • customerText

      @Nonnull public Customer.CustomerBuilder customerText(CustomerText... value)
      Navigation property to_CustomerText for Customer to multiple CustomerText.
      Parameters:
      value - The CustomerTexts to build this Customer with.
      Returns:
      This Builder to allow for a fluent interface.
    • customerUnloadingPoint

      @Nonnull public Customer.CustomerBuilder customerUnloadingPoint(CustomerUnloadingPoint... value)
      Navigation property to_CustomerUnloadingPoint for Customer to multiple CustomerUnloadingPoint.
      Parameters:
      value - The CustomerUnloadingPoints to build this Customer with.
      Returns:
      This Builder to allow for a fluent interface.
    • custUnldgPtAddrDepdntInfo

      @Nonnull public Customer.CustomerBuilder custUnldgPtAddrDepdntInfo(CustUnldgPtAddrDepdntInfo... value)
      Navigation property to_CustUnldgPtAddrDepdntInfo for Customer to multiple CustUnldgPtAddrDepdntInfo.
      Parameters:
      value - The CustUnldgPtAddrDepdntInfos to build this Customer with.
      Returns:
      This Builder to allow for a fluent interface.
    • customer

      @Nonnull public Customer.CustomerBuilder customer(@Nullable String customer)
      (Key Field) Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: Customer

      Returns:
      this.
    • authorizationGroup

      @Nonnull public Customer.CustomerBuilder authorizationGroup(@Nullable String authorizationGroup)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: AuthorizationGroup

      Returns:
      this.
    • billingIsBlockedForCustomer

      @Nonnull public Customer.CustomerBuilder billingIsBlockedForCustomer(@Nullable String billingIsBlockedForCustomer)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: BillingIsBlockedForCustomer

      Returns:
      this.
    • createdByUser

      @Nonnull public Customer.CustomerBuilder createdByUser(@Nullable String createdByUser)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: CreatedByUser

      Returns:
      this.
    • creationDate

      @Nonnull public Customer.CustomerBuilder creationDate(@Nullable LocalDateTime creationDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: CreationDate

      Returns:
      this.
    • customerAccountGroup

      @Nonnull public Customer.CustomerBuilder customerAccountGroup(@Nullable String customerAccountGroup)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: CustomerAccountGroup

      Returns:
      this.
    • customerClassification

      @Nonnull public Customer.CustomerBuilder customerClassification(@Nullable String customerClassification)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: CustomerClassification

      Returns:
      this.
    • customerFullName

      @Nonnull public Customer.CustomerBuilder customerFullName(@Nullable String customerFullName)
      Constraints: Not nullable, Maximum length: 220

      Original property name from the Odata EDM: CustomerFullName

      Returns:
      this.
    • customerName

      @Nonnull public Customer.CustomerBuilder customerName(@Nullable String customerName)
      Constraints: Not nullable, Maximum length: 80

      Original property name from the Odata EDM: CustomerName

      Returns:
      this.
    • deliveryIsBlocked

      @Nonnull public Customer.CustomerBuilder deliveryIsBlocked(@Nullable String deliveryIsBlocked)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: DeliveryIsBlocked

      Returns:
      this.
    • freeDefinedAttribute01

      @Nonnull public Customer.CustomerBuilder freeDefinedAttribute01(@Nullable String freeDefinedAttribute01)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: FreeDefinedAttribute01

      Returns:
      this.
    • freeDefinedAttribute02

      @Nonnull public Customer.CustomerBuilder freeDefinedAttribute02(@Nullable String freeDefinedAttribute02)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: FreeDefinedAttribute02

      Returns:
      this.
    • freeDefinedAttribute03

      @Nonnull public Customer.CustomerBuilder freeDefinedAttribute03(@Nullable String freeDefinedAttribute03)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: FreeDefinedAttribute03

      Returns:
      this.
    • freeDefinedAttribute04

      @Nonnull public Customer.CustomerBuilder freeDefinedAttribute04(@Nullable String freeDefinedAttribute04)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: FreeDefinedAttribute04

      Returns:
      this.
    • freeDefinedAttribute05

      @Nonnull public Customer.CustomerBuilder freeDefinedAttribute05(@Nullable String freeDefinedAttribute05)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: FreeDefinedAttribute05

      Returns:
      this.
    • freeDefinedAttribute06

      @Nonnull public Customer.CustomerBuilder freeDefinedAttribute06(@Nullable String freeDefinedAttribute06)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: FreeDefinedAttribute06

      Returns:
      this.
    • freeDefinedAttribute07

      @Nonnull public Customer.CustomerBuilder freeDefinedAttribute07(@Nullable String freeDefinedAttribute07)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: FreeDefinedAttribute07

      Returns:
      this.
    • freeDefinedAttribute08

      @Nonnull public Customer.CustomerBuilder freeDefinedAttribute08(@Nullable String freeDefinedAttribute08)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: FreeDefinedAttribute08

      Returns:
      this.
    • freeDefinedAttribute09

      @Nonnull public Customer.CustomerBuilder freeDefinedAttribute09(@Nullable String freeDefinedAttribute09)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: FreeDefinedAttribute09

      Returns:
      this.
    • freeDefinedAttribute10

      @Nonnull public Customer.CustomerBuilder freeDefinedAttribute10(@Nullable String freeDefinedAttribute10)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: FreeDefinedAttribute10

      Returns:
      this.
    • nFPartnerIsNaturalPerson

      @Nonnull public Customer.CustomerBuilder nFPartnerIsNaturalPerson(@Nullable String nFPartnerIsNaturalPerson)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: NFPartnerIsNaturalPerson

      Returns:
      this.
    • orderIsBlockedForCustomer

      @Nonnull public Customer.CustomerBuilder orderIsBlockedForCustomer(@Nullable String orderIsBlockedForCustomer)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: OrderIsBlockedForCustomer

      Returns:
      this.
    • postingIsBlocked

      @Nonnull public Customer.CustomerBuilder postingIsBlocked(@Nullable Boolean postingIsBlocked)
      Constraints: none

      Original property name from the Odata EDM: PostingIsBlocked

      Returns:
      this.
    • supplier

      @Nonnull public Customer.CustomerBuilder supplier(@Nullable String supplier)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: Supplier

      Returns:
      this.
    • customerCorporateGroup

      @Nonnull public Customer.CustomerBuilder customerCorporateGroup(@Nullable String customerCorporateGroup)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: CustomerCorporateGroup

      Returns:
      this.
    • fiscalAddress

      @Nonnull public Customer.CustomerBuilder fiscalAddress(@Nullable String fiscalAddress)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: FiscalAddress

      Returns:
      this.
    • industry

      @Nonnull public Customer.CustomerBuilder industry(@Nullable String industry)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: Industry

      Returns:
      this.
    • industryCode1

      @Nonnull public Customer.CustomerBuilder industryCode1(@Nullable String industryCode1)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: IndustryCode1

      Returns:
      this.
    • industryCode2

      @Nonnull public Customer.CustomerBuilder industryCode2(@Nullable String industryCode2)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: IndustryCode2

      Returns:
      this.
    • industryCode3

      @Nonnull public Customer.CustomerBuilder industryCode3(@Nullable String industryCode3)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: IndustryCode3

      Returns:
      this.
    • industryCode4

      @Nonnull public Customer.CustomerBuilder industryCode4(@Nullable String industryCode4)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: IndustryCode4

      Returns:
      this.
    • industryCode5

      @Nonnull public Customer.CustomerBuilder industryCode5(@Nullable String industryCode5)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: IndustryCode5

      Returns:
      this.
    • internationalLocationNumber1

      @Nonnull public Customer.CustomerBuilder internationalLocationNumber1(@Nullable String internationalLocationNumber1)
      Constraints: Not nullable, Maximum length: 7

      Original property name from the Odata EDM: InternationalLocationNumber1

      Returns:
      this.
    • internationalLocationNumber2

      @Nonnull public Customer.CustomerBuilder internationalLocationNumber2(@Nullable String internationalLocationNumber2)
      Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: InternationalLocationNumber2

      Returns:
      this.
    • internationalLocationNumber3

      @Nonnull public Customer.CustomerBuilder internationalLocationNumber3(@Nullable String internationalLocationNumber3)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: InternationalLocationNumber3

      Returns:
      this.
    • nielsenRegion

      @Nonnull public Customer.CustomerBuilder nielsenRegion(@Nullable String nielsenRegion)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: NielsenRegion

      Returns:
      this.
    • responsibleType

      @Nonnull public Customer.CustomerBuilder responsibleType(@Nullable String responsibleType)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: ResponsibleType

      Returns:
      this.
    • taxNumber1

      @Nonnull public Customer.CustomerBuilder taxNumber1(@Nullable String taxNumber1)
      Constraints: Not nullable, Maximum length: 16

      Original property name from the Odata EDM: TaxNumber1

      Returns:
      this.
    • taxNumber2

      @Nonnull public Customer.CustomerBuilder taxNumber2(@Nullable String taxNumber2)
      Constraints: Not nullable, Maximum length: 11

      Original property name from the Odata EDM: TaxNumber2

      Returns:
      this.
    • taxNumber3

      @Nonnull public Customer.CustomerBuilder taxNumber3(@Nullable String taxNumber3)
      Constraints: Not nullable, Maximum length: 18

      Original property name from the Odata EDM: TaxNumber3

      Returns:
      this.
    • taxNumber4

      @Nonnull public Customer.CustomerBuilder taxNumber4(@Nullable String taxNumber4)
      Constraints: Not nullable, Maximum length: 18

      Original property name from the Odata EDM: TaxNumber4

      Returns:
      this.
    • taxNumber5

      @Nonnull public Customer.CustomerBuilder taxNumber5(@Nullable String taxNumber5)
      Constraints: Not nullable, Maximum length: 60

      Original property name from the Odata EDM: TaxNumber5

      Returns:
      this.
    • taxNumberType

      @Nonnull public Customer.CustomerBuilder taxNumberType(@Nullable String taxNumberType)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: TaxNumberType

      Returns:
      this.
    • vATRegistration

      @Nonnull public Customer.CustomerBuilder vATRegistration(@Nullable String vATRegistration)
      Constraints: Not nullable, Maximum length: 20

      Original property name from the Odata EDM: VATRegistration

      Returns:
      this.
    • deletionIndicator

      @Nonnull public Customer.CustomerBuilder deletionIndicator(@Nullable Boolean deletionIndicator)
      Constraints: none

      Original property name from the Odata EDM: DeletionIndicator

      Returns:
      this.
    • expressTrainStationName

      @Nonnull public Customer.CustomerBuilder expressTrainStationName(@Nullable String expressTrainStationName)
      Constraints: Not nullable, Maximum length: 25

      Original property name from the Odata EDM: ExpressTrainStationName

      Returns:
      this.
    • trainStationName

      @Nonnull public Customer.CustomerBuilder trainStationName(@Nullable String trainStationName)
      Constraints: Not nullable, Maximum length: 25

      Original property name from the Odata EDM: TrainStationName

      Returns:
      this.
    • cityCode

      @Nonnull public Customer.CustomerBuilder cityCode(@Nullable String cityCode)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: CityCode

      Returns:
      this.
    • county

      @Nonnull public Customer.CustomerBuilder county(@Nullable String county)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: County

      Returns:
      this.
    • build

      @Nonnull public Customer build()
    • toString

      @Nonnull public String toString()
      Overrides:
      toString in class Object