Class ActualStock.ActualStockBuilder

java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.buffersizing.ActualStock.ActualStockBuilder
Enclosing class:
ActualStock

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

    • proposalHdr

      @Nonnull public ActualStock.ActualStockBuilder proposalHdr(ProposalHeader value)
      Navigation property to_ProposalHdr for ActualStock to single ProposalHeader.
      Parameters:
      value - The ProposalHeader to build this ActualStock with.
      Returns:
      This Builder to allow for a fluent interface.
    • material

      @Nonnull public ActualStock.ActualStockBuilder material(@Nullable String material)
      (Key Field) Constraints: Not nullable, Maximum length: 18

      Original property name from the Odata EDM: Material

      Returns:
      this.
    • plant

      @Nonnull public ActualStock.ActualStockBuilder plant(@Nullable String plant)
      (Key Field) Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: Plant

      Returns:
      this.
    • mRPArea

      @Nonnull public ActualStock.ActualStockBuilder mRPArea(@Nullable String mRPArea)
      (Key Field) Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: MRPArea

      Returns:
      this.
    • bufferLevelStartDate

      @Nonnull public ActualStock.ActualStockBuilder bufferLevelStartDate(@Nullable LocalDateTime bufferLevelStartDate)
      (Key Field) Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: BufferLevelStartDate

      Returns:
      this.
    • bufferLevelEndDate

      @Nonnull public ActualStock.ActualStockBuilder bufferLevelEndDate(@Nullable LocalDateTime bufferLevelEndDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: BufferLevelEndDate

      Returns:
      this.
    • materialSafetyStockQty

      @Nonnull public ActualStock.ActualStockBuilder materialSafetyStockQty(@Nullable BigDecimal materialSafetyStockQty)
      Constraints: Not nullable, Precision: 13, Scale: 3

      Original property name from the Odata EDM: MaterialSafetyStockQty

      Returns:
      this.
    • reorderThresholdQuantity

      @Nonnull public ActualStock.ActualStockBuilder reorderThresholdQuantity(@Nullable BigDecimal reorderThresholdQuantity)
      Constraints: Not nullable, Precision: 13, Scale: 3

      Original property name from the Odata EDM: ReorderThresholdQuantity

      Returns:
      this.
    • materialMaxStockLevelQuantity

      @Nonnull public ActualStock.ActualStockBuilder materialMaxStockLevelQuantity(@Nullable BigDecimal materialMaxStockLevelQuantity)
      Constraints: Not nullable, Precision: 13, Scale: 3

      Original property name from the Odata EDM: MaterialMaxStockLevelQuantity

      Returns:
      this.
    • baseUnit

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

      Original property name from the Odata EDM: BaseUnit

      Returns:
      this.
    • changeMode

      @Nonnull public ActualStock.ActualStockBuilder changeMode(@Nullable String changeMode)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: ChangeMode

      Returns:
      this.
    • stockLevelProposalID

      @Nonnull public ActualStock.ActualStockBuilder stockLevelProposalID(@Nullable String stockLevelProposalID)
      Constraints: Not nullable, Maximum length: 75

      Original property name from the Odata EDM: StockLevelProposalID

      Returns:
      this.
    • proposalVersion

      @Nonnull public ActualStock.ActualStockBuilder proposalVersion(@Nullable String proposalVersion)
      Constraints: Not nullable, Maximum length: 8

      Original property name from the Odata EDM: ProposalVersion

      Returns:
      this.
    • proposalStartDate

      @Nonnull public ActualStock.ActualStockBuilder proposalStartDate(@Nullable LocalDateTime proposalStartDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: ProposalStartDate

      Returns:
      this.
    • build

      @Nonnull public ActualStock build()
    • toString

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