Class ProductType.ProductTypeBuilder

java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odatav4.namespaces.producttype.ProductType.ProductTypeBuilder
Enclosing class:
ProductType

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

    • text

      @Nonnull public ProductType.ProductTypeBuilder text(ProductTypeText... value)
      Navigation property _Text for ProductType to multiple ProductTypeText.
      Parameters:
      value - The ProductTypeTexts to build this ProductType with.
      Returns:
      This Builder to allow for a fluent interface.
    • productType

      @Nonnull public ProductType.ProductTypeBuilder productType(@Nullable String productType)
      (Key Field) Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: ProductType

      Returns:
      this.
    • productTypeName

      @Nonnull public ProductType.ProductTypeBuilder productTypeName(@Nullable String productTypeName)
      Constraints: Not nullable, Maximum length: 25

      Original property name from the Odata EDM: ProductTypeName

      Returns:
      this.
    • build

      @Nonnull public ProductType build()
    • toString

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