java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.batch.Batch.BatchBuilder
Enclosing class:
Batch

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

    • batchCharc

      @Nonnull public Batch.BatchBuilder batchCharc(BatchCharc... value)
      Navigation property to_BatchCharc for Batch to multiple BatchCharc.
      Parameters:
      value - The BatchCharcs to build this Batch with.
      Returns:
      This Builder to allow for a fluent interface.
    • batchClass

      @Nonnull public Batch.BatchBuilder batchClass(BatchClass value)
      Navigation property to_BatchClass for Batch to single BatchClass.
      Parameters:
      value - The BatchClass to build this Batch with.
      Returns:
      This Builder to allow for a fluent interface.
    • batchPlant

      @Nonnull public Batch.BatchBuilder batchPlant(BatchPlant... value)
      Navigation property to_BatchPlant for Batch to multiple BatchPlant.
      Parameters:
      value - The BatchPlants to build this Batch with.
      Returns:
      This Builder to allow for a fluent interface.
    • batchText

      @Nonnull public Batch.BatchBuilder batchText(BatchText... value)
      Navigation property to_BatchText for Batch to multiple BatchText.
      Parameters:
      value - The BatchTexts to build this Batch with.
      Returns:
      This Builder to allow for a fluent interface.
    • material

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

      Original property name from the Odata EDM: Material

      Returns:
      this.
    • batchIdentifyingPlant

      @Nonnull public Batch.BatchBuilder batchIdentifyingPlant(@Nullable String batchIdentifyingPlant)
      (Key Field) Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: BatchIdentifyingPlant

      Returns:
      this.
    • batch

      @Nonnull public Batch.BatchBuilder batch(@Nullable String batch)
      (Key Field) Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: Batch

      Returns:
      this.
    • batchIsMarkedForDeletion

      @Nonnull public Batch.BatchBuilder batchIsMarkedForDeletion(@Nullable Boolean batchIsMarkedForDeletion)
      Constraints: none

      Original property name from the Odata EDM: BatchIsMarkedForDeletion

      Returns:
      this.
    • matlBatchIsInRstrcdUseStock

      @Nonnull public Batch.BatchBuilder matlBatchIsInRstrcdUseStock(@Nullable Boolean matlBatchIsInRstrcdUseStock)
      Constraints: none

      Original property name from the Odata EDM: MatlBatchIsInRstrcdUseStock

      Returns:
      this.
    • supplier

      @Nonnull public Batch.BatchBuilder supplier(@Nullable String supplier)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: Supplier

      Returns:
      this.
    • batchBySupplier

      @Nonnull public Batch.BatchBuilder batchBySupplier(@Nullable String batchBySupplier)
      Constraints: Not nullable, Maximum length: 15

      Original property name from the Odata EDM: BatchBySupplier

      Returns:
      this.
    • countryOfOrigin

      @Nonnull public Batch.BatchBuilder countryOfOrigin(@Nullable String countryOfOrigin)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: CountryOfOrigin

      Returns:
      this.
    • regionOfOrigin

      @Nonnull public Batch.BatchBuilder regionOfOrigin(@Nullable String regionOfOrigin)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: RegionOfOrigin

      Returns:
      this.
    • matlBatchAvailabilityDate

      @Nonnull public Batch.BatchBuilder matlBatchAvailabilityDate(@Nullable LocalDateTime matlBatchAvailabilityDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: MatlBatchAvailabilityDate

      Returns:
      this.
    • shelfLifeExpirationDate

      @Nonnull public Batch.BatchBuilder shelfLifeExpirationDate(@Nullable LocalDateTime shelfLifeExpirationDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: ShelfLifeExpirationDate

      Returns:
      this.
    • manufactureDate

      @Nonnull public Batch.BatchBuilder manufactureDate(@Nullable LocalDateTime manufactureDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: ManufactureDate

      Returns:
      this.
    • freeDefinedDate1

      @Nonnull public Batch.BatchBuilder freeDefinedDate1(@Nullable LocalDateTime freeDefinedDate1)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: FreeDefinedDate1

      Returns:
      this.
    • freeDefinedDate2

      @Nonnull public Batch.BatchBuilder freeDefinedDate2(@Nullable LocalDateTime freeDefinedDate2)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: FreeDefinedDate2

      Returns:
      this.
    • freeDefinedDate3

      @Nonnull public Batch.BatchBuilder freeDefinedDate3(@Nullable LocalDateTime freeDefinedDate3)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: FreeDefinedDate3

      Returns:
      this.
    • freeDefinedDate4

      @Nonnull public Batch.BatchBuilder freeDefinedDate4(@Nullable LocalDateTime freeDefinedDate4)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: FreeDefinedDate4

      Returns:
      this.
    • freeDefinedDate5

      @Nonnull public Batch.BatchBuilder freeDefinedDate5(@Nullable LocalDateTime freeDefinedDate5)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: FreeDefinedDate5

      Returns:
      this.
    • freeDefinedDate6

      @Nonnull public Batch.BatchBuilder freeDefinedDate6(@Nullable LocalDateTime freeDefinedDate6)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: FreeDefinedDate6

      Returns:
      this.
    • creationDateTime

      @Nonnull public Batch.BatchBuilder creationDateTime(@Nullable ZonedDateTime creationDateTime)
      Constraints: Not nullable, Precision: 7

      Original property name from the Odata EDM: CreationDateTime

      Returns:
      this.
    • lastChangeDateTime

      @Nonnull public Batch.BatchBuilder lastChangeDateTime(@Nullable ZonedDateTime lastChangeDateTime)
      Constraints: Not nullable, Precision: 7

      Original property name from the Odata EDM: LastChangeDateTime

      Returns:
      this.
    • batchExtWhseMgmtInternalId

      @Nonnull public Batch.BatchBuilder batchExtWhseMgmtInternalId(@Nullable UUID batchExtWhseMgmtInternalId)
      Constraints: none

      Original property name from the Odata EDM: BatchExtWhseMgmtInternalId

      Returns:
      this.
    • build

      @Nonnull public Batch build()
    • toString

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