java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.productmasterdataincludingclassification.ProductClass.ProductClassBuilder
Enclosing class:
ProductClass

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

    • characteristics

      @Nonnull public ProductClass.ProductClassBuilder characteristics(ProductClassCharc... value)
      Navigation property to_Characteristics for ProductClass to multiple ProductClassCharc.
      Parameters:
      value - The ProductClassCharcs to build this ProductClass with.
      Returns:
      This Builder to allow for a fluent interface.
    • classDetails

      @Nonnull public ProductClass.ProductClassBuilder classDetails(ClfnClassForKeyDate value)
      Navigation property to_ClassDetails for ProductClass to single ClfnClassForKeyDate.
      Parameters:
      value - The ClfnClassForKeyDate to build this ProductClass with.
      Returns:
      This Builder to allow for a fluent interface.
    • product

      @Nonnull public ProductClass.ProductClassBuilder product(@Nullable String product)
      (Key Field) Constraints: Not nullable, Maximum length: 90

      Original property name from the Odata EDM: Product

      Returns:
      this.
    • classInternalID

      @Nonnull public ProductClass.ProductClassBuilder classInternalID(@Nullable String classInternalID)
      (Key Field) Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: ClassInternalID

      Returns:
      this.
    • keyDate

      @Nonnull public ProductClass.ProductClassBuilder keyDate(@Nullable LocalDateTime keyDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: KeyDate

      Returns:
      this.
    • changeNumber

      @Nonnull public ProductClass.ProductClassBuilder changeNumber(@Nullable String changeNumber)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: ChangeNumber

      Returns:
      this.
    • classType

      @Nonnull public ProductClass.ProductClassBuilder classType(@Nullable String classType)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: ClassType

      Returns:
      this.
    • build

      @Nonnull public ProductClass build()
    • toString

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