Class HandlingUnit.HandlingUnitBuilder

java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odatav4.namespaces.handlingunit.HandlingUnit.HandlingUnitBuilder
Enclosing class:
HandlingUnit

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

    • handlingUnitItem

      @Nonnull public HandlingUnit.HandlingUnitBuilder handlingUnitItem(HandlingUnitItem... value)
      Navigation property _HandlingUnitItem for HandlingUnit to multiple HandlingUnitItem.
      Parameters:
      value - The HandlingUnitItems to build this HandlingUnit with.
      Returns:
      This Builder to allow for a fluent interface.
    • handlingUnitReferenceDoc

      @Nonnull public HandlingUnit.HandlingUnitBuilder handlingUnitReferenceDoc(HandlingUnitReferenceDoc... value)
      Navigation property _HandlingUnitReferenceDoc for HandlingUnit to multiple HandlingUnitReferenceDoc.
      Parameters:
      value - The HandlingUnitReferenceDocs to build this HandlingUnit with.
      Returns:
      This Builder to allow for a fluent interface.
    • handlingUnitExternalID

      @Nonnull public HandlingUnit.HandlingUnitBuilder handlingUnitExternalID(@Nullable String handlingUnitExternalID)
      (Key Field) Constraints: Not nullable, Maximum length: 20

      Original property name from the Odata EDM: HandlingUnitExternalID

      Returns:
      this.
    • warehouse

      @Nonnull public HandlingUnit.HandlingUnitBuilder warehouse(@Nullable String warehouse)
      (Key Field) Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: Warehouse

      Returns:
      this.
    • packagingMaterial

      @Nonnull public HandlingUnit.HandlingUnitBuilder packagingMaterial(@Nullable String packagingMaterial)
      Constraints: Not nullable, Maximum length: 18

      Original property name from the Odata EDM: PackagingMaterial

      Returns:
      this.
    • packagingMaterialType

      @Nonnull public HandlingUnit.HandlingUnitBuilder packagingMaterialType(@Nullable String packagingMaterialType)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: PackagingMaterialType

      Returns:
      this.
    • plant

      @Nonnull public HandlingUnit.HandlingUnitBuilder plant(@Nullable String plant)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: Plant

      Returns:
      this.
    • storageLocation

      @Nonnull public HandlingUnit.HandlingUnitBuilder storageLocation(@Nullable String storageLocation)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: StorageLocation

      Returns:
      this.
    • shippingPoint

      @Nonnull public HandlingUnit.HandlingUnitBuilder shippingPoint(@Nullable String shippingPoint)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: ShippingPoint

      Returns:
      this.
    • parentHandlingUnitNumber

      @Nonnull public HandlingUnit.HandlingUnitBuilder parentHandlingUnitNumber(@Nullable String parentHandlingUnitNumber)
      Constraints: Not nullable, Maximum length: 20

      Original property name from the Odata EDM: ParentHandlingUnitNumber

      Returns:
      this.
    • grossWeight

      @Nonnull public HandlingUnit.HandlingUnitBuilder grossWeight(@Nullable BigDecimal grossWeight)
      Constraints: Not nullable, Precision: 15, Scale: 3

      Original property name from the Odata EDM: GrossWeight

      Returns:
      this.
    • netWeight

      @Nonnull public HandlingUnit.HandlingUnitBuilder netWeight(@Nullable BigDecimal netWeight)
      Constraints: Not nullable, Precision: 15, Scale: 3

      Original property name from the Odata EDM: NetWeight

      Returns:
      this.
    • handlingUnitMaxWeight

      @Nonnull public HandlingUnit.HandlingUnitBuilder handlingUnitMaxWeight(@Nullable BigDecimal handlingUnitMaxWeight)
      Constraints: Not nullable, Precision: 15, Scale: 3

      Original property name from the Odata EDM: HandlingUnitMaxWeight

      Returns:
      this.
    • weightUnit

      @Nonnull public HandlingUnit.HandlingUnitBuilder weightUnit(@Nullable String weightUnit)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: WeightUnit

      Returns:
      this.
    • handlingUnitTareWeight

      @Nonnull public HandlingUnit.HandlingUnitBuilder handlingUnitTareWeight(@Nullable BigDecimal handlingUnitTareWeight)
      Constraints: Not nullable, Precision: 15, Scale: 3

      Original property name from the Odata EDM: HandlingUnitTareWeight

      Returns:
      this.
    • handlingUnitTareWeightUnit

      @Nonnull public HandlingUnit.HandlingUnitBuilder handlingUnitTareWeightUnit(@Nullable String handlingUnitTareWeightUnit)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: HandlingUnitTareWeightUnit

      Returns:
      this.
    • grossVolume

      @Nonnull public HandlingUnit.HandlingUnitBuilder grossVolume(@Nullable BigDecimal grossVolume)
      Constraints: Not nullable, Precision: 15, Scale: 3

      Original property name from the Odata EDM: GrossVolume

      Returns:
      this.
    • handlingUnitNetVolume

      @Nonnull public HandlingUnit.HandlingUnitBuilder handlingUnitNetVolume(@Nullable BigDecimal handlingUnitNetVolume)
      Constraints: Not nullable, Precision: 15, Scale: 3

      Original property name from the Odata EDM: HandlingUnitNetVolume

      Returns:
      this.
    • handlingUnitMaxVolume

      @Nonnull public HandlingUnit.HandlingUnitBuilder handlingUnitMaxVolume(@Nullable BigDecimal handlingUnitMaxVolume)
      Constraints: Not nullable, Precision: 15, Scale: 3

      Original property name from the Odata EDM: HandlingUnitMaxVolume

      Returns:
      this.
    • volumeUnit

      @Nonnull public HandlingUnit.HandlingUnitBuilder volumeUnit(@Nullable String volumeUnit)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: VolumeUnit

      Returns:
      this.
    • handlingUnitTareVolume

      @Nonnull public HandlingUnit.HandlingUnitBuilder handlingUnitTareVolume(@Nullable BigDecimal handlingUnitTareVolume)
      Constraints: Not nullable, Precision: 15, Scale: 3

      Original property name from the Odata EDM: HandlingUnitTareVolume

      Returns:
      this.
    • handlingUnitTareVolumeUnit

      @Nonnull public HandlingUnit.HandlingUnitBuilder handlingUnitTareVolumeUnit(@Nullable String handlingUnitTareVolumeUnit)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: HandlingUnitTareVolumeUnit

      Returns:
      this.
    • handlingUnitLength

      @Nonnull public HandlingUnit.HandlingUnitBuilder handlingUnitLength(@Nullable BigDecimal handlingUnitLength)
      Constraints: Not nullable, Precision: 13, Scale: 3

      Original property name from the Odata EDM: HandlingUnitLength

      Returns:
      this.
    • handlingUnitWidth

      @Nonnull public HandlingUnit.HandlingUnitBuilder handlingUnitWidth(@Nullable BigDecimal handlingUnitWidth)
      Constraints: Not nullable, Precision: 13, Scale: 3

      Original property name from the Odata EDM: HandlingUnitWidth

      Returns:
      this.
    • handlingUnitHeight

      @Nonnull public HandlingUnit.HandlingUnitBuilder handlingUnitHeight(@Nullable BigDecimal handlingUnitHeight)
      Constraints: Not nullable, Precision: 13, Scale: 3

      Original property name from the Odata EDM: HandlingUnitHeight

      Returns:
      this.
    • unitOfMeasureDimension

      @Nonnull public HandlingUnit.HandlingUnitBuilder unitOfMeasureDimension(@Nullable String unitOfMeasureDimension)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: UnitOfMeasureDimension

      Returns:
      this.
    • handlingUnitReferenceDocument

      @Nonnull public HandlingUnit.HandlingUnitBuilder handlingUnitReferenceDocument(@Nullable String handlingUnitReferenceDocument)
      Constraints: Not nullable, Maximum length: 20

      Original property name from the Odata EDM: HandlingUnitReferenceDocument

      Returns:
      this.
    • handlingUnitRefDocType

      @Nonnull public HandlingUnit.HandlingUnitBuilder handlingUnitRefDocType(@Nullable String handlingUnitRefDocType)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: HandlingUnitRefDocType

      Returns:
      this.
    • handlingUnitHasCrossRefDoc

      @Nonnull public HandlingUnit.HandlingUnitBuilder handlingUnitHasCrossRefDoc(@Nullable Boolean handlingUnitHasCrossRefDoc)
      Constraints: Not nullable

      Original property name from the Odata EDM: HandlingUnitHasCrossRefDoc

      Returns:
      this.
    • packingInstruction

      @Nonnull public HandlingUnit.HandlingUnitBuilder packingInstruction(@Nullable UUID packingInstruction)
      Constraints: Nullable

      Original property name from the Odata EDM: PackingInstruction

      Returns:
      this.
    • handlingUnitSecondExternalId

      @Nonnull public HandlingUnit.HandlingUnitBuilder handlingUnitSecondExternalId(@Nullable String handlingUnitSecondExternalId)
      Constraints: Not nullable, Maximum length: 20

      Original property name from the Odata EDM: HandlingUnitSecondExternalId

      Returns:
      this.
    • createdByUser

      @Nonnull public HandlingUnit.HandlingUnitBuilder createdByUser(@Nullable String createdByUser)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: CreatedByUser

      Returns:
      this.
    • creationDateTime

      @Nonnull public HandlingUnit.HandlingUnitBuilder creationDateTime(@Nullable OffsetDateTime creationDateTime)
      Constraints: Nullable

      Original property name from the Odata EDM: CreationDateTime

      Returns:
      this.
    • lastChangedByUser

      @Nonnull public HandlingUnit.HandlingUnitBuilder lastChangedByUser(@Nullable String lastChangedByUser)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: LastChangedByUser

      Returns:
      this.
    • lastChangeDateTime

      @Nonnull public HandlingUnit.HandlingUnitBuilder lastChangeDateTime(@Nullable OffsetDateTime lastChangeDateTime)
      Constraints: Nullable

      Original property name from the Odata EDM: LastChangeDateTime

      Returns:
      this.
    • storageType

      @Nonnull public HandlingUnit.HandlingUnitBuilder storageType(@Nullable String storageType)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: StorageType

      Returns:
      this.
    • storageSection

      @Nonnull public HandlingUnit.HandlingUnitBuilder storageSection(@Nullable String storageSection)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: StorageSection

      Returns:
      this.
    • storageBin

      @Nonnull public HandlingUnit.HandlingUnitBuilder storageBin(@Nullable String storageBin)
      Constraints: Not nullable, Maximum length: 18

      Original property name from the Odata EDM: StorageBin

      Returns:
      this.
    • eWMResource

      @Nonnull public HandlingUnit.HandlingUnitBuilder eWMResource(@Nullable String eWMResource)
      Constraints: Not nullable, Maximum length: 18

      Original property name from the Odata EDM: EWMResource

      Returns:
      this.
    • eWMConsolidationGroup

      @Nonnull public HandlingUnit.HandlingUnitBuilder eWMConsolidationGroup(@Nullable String eWMConsolidationGroup)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: EWMConsolidationGroup

      Returns:
      this.
    • handlingUnitIsClosed

      @Nonnull public HandlingUnit.HandlingUnitBuilder handlingUnitIsClosed(@Nullable Boolean handlingUnitIsClosed)
      Constraints: Not nullable

      Original property name from the Odata EDM: HandlingUnitIsClosed

      Returns:
      this.
    • eWMHandlingUnitIsPlanned

      @Nonnull public HandlingUnit.HandlingUnitBuilder eWMHandlingUnitIsPlanned(@Nullable Boolean eWMHandlingUnitIsPlanned)
      Constraints: Not nullable

      Original property name from the Odata EDM: EWMHandlingUnitIsPlanned

      Returns:
      this.
    • eWMHandlingUnitIsInStock

      @Nonnull public HandlingUnit.HandlingUnitBuilder eWMHandlingUnitIsInStock(@Nullable Boolean eWMHandlingUnitIsInStock)
      Constraints: Not nullable

      Original property name from the Odata EDM: EWMHandlingUnitIsInStock

      Returns:
      this.
    • eWMHandlingUnitIsLoaded

      @Nonnull public HandlingUnit.HandlingUnitBuilder eWMHandlingUnitIsLoaded(@Nullable Boolean eWMHandlingUnitIsLoaded)
      Constraints: Not nullable

      Original property name from the Odata EDM: EWMHandlingUnitIsLoaded

      Returns:
      this.
    • eWMHUContentChangeIsBlocked

      @Nonnull public HandlingUnit.HandlingUnitBuilder eWMHUContentChangeIsBlocked(@Nullable Boolean eWMHUContentChangeIsBlocked)
      Constraints: Not nullable

      Original property name from the Odata EDM: EWMHUContentChangeIsBlocked

      Returns:
      this.
    • eWMHUMovementChangeIsBlocked

      @Nonnull public HandlingUnit.HandlingUnitBuilder eWMHUMovementChangeIsBlocked(@Nullable Boolean eWMHUMovementChangeIsBlocked)
      Constraints: Not nullable

      Original property name from the Odata EDM: EWMHUMovementChangeIsBlocked

      Returns:
      this.
    • eWMHUAttributeChangeIsBlocked

      @Nonnull public HandlingUnit.HandlingUnitBuilder eWMHUAttributeChangeIsBlocked(@Nullable Boolean eWMHUAttributeChangeIsBlocked)
      Constraints: Not nullable

      Original property name from the Odata EDM: EWMHUAttributeChangeIsBlocked

      Returns:
      this.
    • eWMHUPostingChangeIsBlocked

      @Nonnull public HandlingUnit.HandlingUnitBuilder eWMHUPostingChangeIsBlocked(@Nullable Boolean eWMHUPostingChangeIsBlocked)
      Constraints: Not nullable

      Original property name from the Odata EDM: EWMHUPostingChangeIsBlocked

      Returns:
      this.
    • eWMHUIsBlockedByCustoms

      @Nonnull public HandlingUnit.HandlingUnitBuilder eWMHUIsBlockedByCustoms(@Nullable Boolean eWMHUIsBlockedByCustoms)
      Constraints: Not nullable

      Original property name from the Odata EDM: EWMHUIsBlockedByCustoms

      Returns:
      this.
    • _Messages

      @Nonnull public HandlingUnit.HandlingUnitBuilder _Messages(@Nullable Collection<SAP__Message> _Messages)
      Constraints: Not nullable

      Original property name from the Odata EDM: SAP__Messages

      Returns:
      this.
    • build

      @Nonnull public HandlingUnit build()
    • toString

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