Class ProductStorage.ProductStorageBuilder

java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odatav4.namespaces.productv2.ProductStorage.ProductStorageBuilder
Enclosing class:
ProductStorage

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

    • product

      @Nonnull public ProductStorage.ProductStorageBuilder product(Product value)
      Navigation property _Product for ProductStorage to single Product.
      Parameters:
      value - The Product to build this ProductStorage with.
      Returns:
      This Builder to allow for a fluent interface.
    • product

      @Nonnull public ProductStorage.ProductStorageBuilder product(String value)
      (Key Field) Constraints: Not nullable, Maximum length: 18

      Original property name from the Odata EDM: Product

      Parameters:
      value - The product to build this ProductStorage with.
      Returns:
      This Builder to allow for a fluent interface.
    • storageConditions

      @Nonnull public ProductStorage.ProductStorageBuilder storageConditions(@Nullable String storageConditions)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: StorageConditions

      Returns:
      this.
    • prodTemperatureConditionCode

      @Nonnull public ProductStorage.ProductStorageBuilder prodTemperatureConditionCode(@Nullable String prodTemperatureConditionCode)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: ProdTemperatureConditionCode

      Returns:
      this.
    • hazardousProduct

      @Nonnull public ProductStorage.ProductStorageBuilder hazardousProduct(@Nullable String hazardousProduct)
      Constraints: Not nullable, Maximum length: 18

      Original property name from the Odata EDM: HazardousProduct

      Returns:
      this.
    • nmbrOfGROrGISlipsToPrintQty

      @Nonnull public ProductStorage.ProductStorageBuilder nmbrOfGROrGISlipsToPrintQty(@Nullable BigDecimal nmbrOfGROrGISlipsToPrintQty)
      Constraints: Not nullable, Precision: 13, Scale: 3

      Original property name from the Odata EDM: NmbrOfGROrGISlipsToPrintQty

      Returns:
      this.
    • labelType

      @Nonnull public ProductStorage.ProductStorageBuilder labelType(@Nullable String labelType)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: LabelType

      Returns:
      this.
    • labelForm

      @Nonnull public ProductStorage.ProductStorageBuilder labelForm(@Nullable String labelForm)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: LabelForm

      Returns:
      this.
    • minRemainingShelfLife

      @Nonnull public ProductStorage.ProductStorageBuilder minRemainingShelfLife(@Nullable BigDecimal minRemainingShelfLife)
      Constraints: Not nullable, Precision: 4

      Original property name from the Odata EDM: MinRemainingShelfLife

      Returns:
      this.
    • productExpirationDateType

      @Nonnull public ProductStorage.ProductStorageBuilder productExpirationDateType(@Nullable String productExpirationDateType)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: ProductExpirationDateType

      Returns:
      this.
    • storageBinInstruction

      @Nonnull public ProductStorage.ProductStorageBuilder storageBinInstruction(@Nullable String storageBinInstruction)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: StorageBinInstruction

      Returns:
      this.
    • shelfLifeExpirationDatePeriod

      @Nonnull public ProductStorage.ProductStorageBuilder shelfLifeExpirationDatePeriod(@Nullable String shelfLifeExpirationDatePeriod)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: ShelfLifeExpirationDatePeriod

      Returns:
      this.
    • shelfLifeExprtnDateRndngRule

      @Nonnull public ProductStorage.ProductStorageBuilder shelfLifeExprtnDateRndngRule(@Nullable String shelfLifeExprtnDateRndngRule)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: ShelfLifeExprtnDateRndngRule

      Returns:
      this.
    • totalShelfLifeStoragePercent

      @Nonnull public ProductStorage.ProductStorageBuilder totalShelfLifeStoragePercent(@Nullable BigDecimal totalShelfLifeStoragePercent)
      Constraints: Not nullable, Precision: 3

      Original property name from the Odata EDM: TotalShelfLifeStoragePercent

      Returns:
      this.
    • totalShelfLife

      @Nonnull public ProductStorage.ProductStorageBuilder totalShelfLife(@Nullable BigDecimal totalShelfLife)
      Constraints: Not nullable, Precision: 4

      Original property name from the Odata EDM: TotalShelfLife

      Returns:
      this.
    • baseUnit

      @Nonnull public ProductStorage.ProductStorageBuilder baseUnit(@Nullable String baseUnit)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: BaseUnit

      Returns:
      this.
    • baseISOUnit

      @Nonnull public ProductStorage.ProductStorageBuilder baseISOUnit(@Nullable String baseISOUnit)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: BaseISOUnit

      Returns:
      this.
    • build

      @Nonnull public ProductStorage build()
    • toString

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