Class BusinessPlace.BusinessPlaceBuilder

java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.businessplace.BusinessPlace.BusinessPlaceBuilder
Enclosing class:
BusinessPlace

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

    • businessPlaceCntryInfoSet

      @Nonnull public BusinessPlace.BusinessPlaceBuilder businessPlaceCntryInfoSet(BusinessPlaceCntryInfo... value)
      Navigation property BusinessPlaceCntryInfoSet for BusinessPlace to multiple BusinessPlaceCntryInfo.
      Parameters:
      value - The BusinessPlaceCntryInfos to build this BusinessPlace with.
      Returns:
      This Builder to allow for a fluent interface.
    • companyCode

      @Nonnull public BusinessPlace.BusinessPlaceBuilder companyCode(@Nullable String companyCode)
      (Key Field) Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: CompanyCode

      Returns:
      this.
    • businessPlaceID

      @Nonnull public BusinessPlace.BusinessPlaceBuilder businessPlaceID(@Nullable String businessPlaceID)
      (Key Field) Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: BusinessPlaceID

      Returns:
      this.
    • addressID

      @Nonnull public BusinessPlace.BusinessPlaceBuilder addressID(@Nullable String addressID)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: AddressID

      Returns:
      this.
    • taxNumber1

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

      Original property name from the Odata EDM: TaxNumber1

      Returns:
      this.
    • taxNumber2

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

      Original property name from the Odata EDM: TaxNumber2

      Returns:
      this.
    • businessPlaceDescription

      @Nonnull public BusinessPlace.BusinessPlaceBuilder businessPlaceDescription(@Nullable String businessPlaceDescription)
      Constraints: Not nullable, Maximum length: 30

      Original property name from the Odata EDM: BusinessPlaceDescription

      Returns:
      this.
    • build

      @Nonnull public BusinessPlace build()
    • toString

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