java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.productmaster.Product.ProductBuilder
Enclosing class:
Product

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

    • description

      @Nonnull public Product.ProductBuilder description(ProductDescription... value)
      Navigation property to_Description for Product to multiple ProductDescription.
      Parameters:
      value - The ProductDescriptions to build this Product with.
      Returns:
      This Builder to allow for a fluent interface.
    • plant

      @Nonnull public Product.ProductBuilder plant(ProductPlant... value)
      Navigation property to_Plant for Product to multiple ProductPlant.
      Parameters:
      value - The ProductPlants to build this Product with.
      Returns:
      This Builder to allow for a fluent interface.
    • productBasicText

      @Nonnull public Product.ProductBuilder productBasicText(ProductBasicText... value)
      Navigation property to_ProductBasicText for Product to multiple ProductBasicText.
      Parameters:
      value - The ProductBasicTexts to build this Product with.
      Returns:
      This Builder to allow for a fluent interface.
    • productInspectionText

      @Nonnull public Product.ProductBuilder productInspectionText(ProductInspectionText... value)
      Navigation property to_ProductInspectionText for Product to multiple ProductInspectionText.
      Parameters:
      value - The ProductInspectionTexts to build this Product with.
      Returns:
      This Builder to allow for a fluent interface.
    • productProcurement

      @Nonnull public Product.ProductBuilder productProcurement(ProductProcurement value)
      Navigation property to_ProductProcurement for Product to single ProductProcurement.
      Parameters:
      value - The ProductProcurement to build this Product with.
      Returns:
      This Builder to allow for a fluent interface.
    • productPurchaseText

      @Nonnull public Product.ProductBuilder productPurchaseText(ProductPurchaseText... value)
      Navigation property to_ProductPurchaseText for Product to multiple ProductPurchaseText.
      Parameters:
      value - The ProductPurchaseTexts to build this Product with.
      Returns:
      This Builder to allow for a fluent interface.
    • productQualityMgmt

      @Nonnull public Product.ProductBuilder productQualityMgmt(ProductQualityMgmt value)
      Navigation property to_ProductQualityMgmt for Product to single ProductQualityMgmt.
      Parameters:
      value - The ProductQualityMgmt to build this Product with.
      Returns:
      This Builder to allow for a fluent interface.
    • productSales

      @Nonnull public Product.ProductBuilder productSales(ProductSales value)
      Navigation property to_ProductSales for Product to single ProductSales.
      Parameters:
      value - The ProductSales to build this Product with.
      Returns:
      This Builder to allow for a fluent interface.
    • productSalesTax

      @Nonnull public Product.ProductBuilder productSalesTax(ProductSalesTax... value)
      Navigation property to_ProductSalesTax for Product to multiple ProductSalesTax.
      Parameters:
      value - The ProductSalesTaxs to build this Product with.
      Returns:
      This Builder to allow for a fluent interface.
    • productStorage

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

      @Nonnull public Product.ProductBuilder productUnitsOfMeasure(ProductUnitsOfMeasure... value)
      Navigation property to_ProductUnitsOfMeasure for Product to multiple ProductUnitsOfMeasure.
      Parameters:
      value - The ProductUnitsOfMeasures to build this Product with.
      Returns:
      This Builder to allow for a fluent interface.
    • salesDelivery

      @Nonnull public Product.ProductBuilder salesDelivery(ProductSalesDelivery... value)
      Navigation property to_SalesDelivery for Product to multiple ProductSalesDelivery.
      Parameters:
      value - The ProductSalesDeliverys to build this Product with.
      Returns:
      This Builder to allow for a fluent interface.
    • valuation

      @Nonnull public Product.ProductBuilder valuation(ProductValuation... value)
      Navigation property to_Valuation for Product to multiple ProductValuation.
      Parameters:
      value - The ProductValuations to build this Product with.
      Returns:
      This Builder to allow for a fluent interface.
    • product

      @Nonnull public Product.ProductBuilder product(@Nullable String product)
      (Key Field) Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: Product

      Returns:
      this.
    • productType

      @Nonnull public Product.ProductBuilder productType(@Nullable String productType)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: ProductType

      Returns:
      this.
    • crossPlantStatus

      @Nonnull public Product.ProductBuilder crossPlantStatus(@Nullable String crossPlantStatus)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: CrossPlantStatus

      Returns:
      this.
    • crossPlantStatusValidityDate

      @Nonnull public Product.ProductBuilder crossPlantStatusValidityDate(@Nullable LocalDateTime crossPlantStatusValidityDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: CrossPlantStatusValidityDate

      Returns:
      this.
    • creationDate

      @Nonnull public Product.ProductBuilder creationDate(@Nullable LocalDateTime creationDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: CreationDate

      Returns:
      this.
    • createdByUser

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

      Original property name from the Odata EDM: CreatedByUser

      Returns:
      this.
    • lastChangeDate

      @Nonnull public Product.ProductBuilder lastChangeDate(@Nullable LocalDateTime lastChangeDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: LastChangeDate

      Returns:
      this.
    • lastChangedByUser

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

      Original property name from the Odata EDM: LastChangedByUser

      Returns:
      this.
    • lastChangeDateTime

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

      Original property name from the Odata EDM: LastChangeDateTime

      Returns:
      this.
    • isMarkedForDeletion

      @Nonnull public Product.ProductBuilder isMarkedForDeletion(@Nullable Boolean isMarkedForDeletion)
      Constraints: none

      Original property name from the Odata EDM: IsMarkedForDeletion

      Returns:
      this.
    • productOldID

      @Nonnull public Product.ProductBuilder productOldID(@Nullable String productOldID)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: ProductOldID

      Returns:
      this.
    • grossWeight

      @Nonnull public Product.ProductBuilder grossWeight(@Nullable BigDecimal grossWeight)
      Constraints: Not nullable, Precision: 13, Scale: 3

      Original property name from the Odata EDM: GrossWeight

      Returns:
      this.
    • purchaseOrderQuantityUnit

      @Nonnull public Product.ProductBuilder purchaseOrderQuantityUnit(@Nullable String purchaseOrderQuantityUnit)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: PurchaseOrderQuantityUnit

      Returns:
      this.
    • sourceOfSupply

      @Nonnull public Product.ProductBuilder sourceOfSupply(@Nullable String sourceOfSupply)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: SourceOfSupply

      Returns:
      this.
    • weightUnit

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

      Original property name from the Odata EDM: WeightUnit

      Returns:
      this.
    • netWeight

      @Nonnull public Product.ProductBuilder netWeight(@Nullable BigDecimal netWeight)
      Constraints: Not nullable, Precision: 13, Scale: 3

      Original property name from the Odata EDM: NetWeight

      Returns:
      this.
    • countryOfOrigin

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

      Original property name from the Odata EDM: CountryOfOrigin

      Returns:
      this.
    • competitorID

      @Nonnull public Product.ProductBuilder competitorID(@Nullable String competitorID)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: CompetitorID

      Returns:
      this.
    • productGroup

      @Nonnull public Product.ProductBuilder productGroup(@Nullable String productGroup)
      Constraints: Not nullable, Maximum length: 9

      Original property name from the Odata EDM: ProductGroup

      Returns:
      this.
    • baseUnit

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

      Original property name from the Odata EDM: BaseUnit

      Returns:
      this.
    • itemCategoryGroup

      @Nonnull public Product.ProductBuilder itemCategoryGroup(@Nullable String itemCategoryGroup)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: ItemCategoryGroup

      Returns:
      this.
    • productHierarchy

      @Nonnull public Product.ProductBuilder productHierarchy(@Nullable String productHierarchy)
      Constraints: Not nullable, Maximum length: 18

      Original property name from the Odata EDM: ProductHierarchy

      Returns:
      this.
    • division

      @Nonnull public Product.ProductBuilder division(@Nullable String division)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: Division

      Returns:
      this.
    • varblPurOrdUnitIsActive

      @Nonnull public Product.ProductBuilder varblPurOrdUnitIsActive(@Nullable String varblPurOrdUnitIsActive)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: VarblPurOrdUnitIsActive

      Returns:
      this.
    • volumeUnit

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

      Original property name from the Odata EDM: VolumeUnit

      Returns:
      this.
    • materialVolume

      @Nonnull public Product.ProductBuilder materialVolume(@Nullable BigDecimal materialVolume)
      Constraints: Not nullable, Precision: 13, Scale: 3

      Original property name from the Odata EDM: MaterialVolume

      Returns:
      this.
    • aNPCode

      @Nonnull public Product.ProductBuilder aNPCode(@Nullable String aNPCode)
      Constraints: Not nullable, Maximum length: 9

      Original property name from the Odata EDM: ANPCode

      Returns:
      this.
    • brand

      @Nonnull public Product.ProductBuilder brand(@Nullable String brand)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: Brand

      Returns:
      this.
    • procurementRule

      @Nonnull public Product.ProductBuilder procurementRule(@Nullable String procurementRule)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: ProcurementRule

      Returns:
      this.
    • validityStartDate

      @Nonnull public Product.ProductBuilder validityStartDate(@Nullable LocalDateTime validityStartDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: ValidityStartDate

      Returns:
      this.
    • lowLevelCode

      @Nonnull public Product.ProductBuilder lowLevelCode(@Nullable String lowLevelCode)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: LowLevelCode

      Returns:
      this.
    • prodNoInGenProdInPrepackProd

      @Nonnull public Product.ProductBuilder prodNoInGenProdInPrepackProd(@Nullable String prodNoInGenProdInPrepackProd)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: ProdNoInGenProdInPrepackProd

      Returns:
      this.
    • serialIdentifierAssgmtProfile

      @Nonnull public Product.ProductBuilder serialIdentifierAssgmtProfile(@Nullable String serialIdentifierAssgmtProfile)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: SerialIdentifierAssgmtProfile

      Returns:
      this.
    • sizeOrDimensionText

      @Nonnull public Product.ProductBuilder sizeOrDimensionText(@Nullable String sizeOrDimensionText)
      Constraints: Not nullable, Maximum length: 32

      Original property name from the Odata EDM: SizeOrDimensionText

      Returns:
      this.
    • industryStandardName

      @Nonnull public Product.ProductBuilder industryStandardName(@Nullable String industryStandardName)
      Constraints: Not nullable, Maximum length: 18

      Original property name from the Odata EDM: IndustryStandardName

      Returns:
      this.
    • productStandardID

      @Nonnull public Product.ProductBuilder productStandardID(@Nullable String productStandardID)
      Constraints: Not nullable, Maximum length: 18

      Original property name from the Odata EDM: ProductStandardID

      Returns:
      this.
    • internationalArticleNumberCat

      @Nonnull public Product.ProductBuilder internationalArticleNumberCat(@Nullable String internationalArticleNumberCat)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: InternationalArticleNumberCat

      Returns:
      this.
    • productIsConfigurable

      @Nonnull public Product.ProductBuilder productIsConfigurable(@Nullable Boolean productIsConfigurable)
      Constraints: none

      Original property name from the Odata EDM: ProductIsConfigurable

      Returns:
      this.
    • isBatchManagementRequired

      @Nonnull public Product.ProductBuilder isBatchManagementRequired(@Nullable Boolean isBatchManagementRequired)
      Constraints: none

      Original property name from the Odata EDM: IsBatchManagementRequired

      Returns:
      this.
    • externalProductGroup

      @Nonnull public Product.ProductBuilder externalProductGroup(@Nullable String externalProductGroup)
      Constraints: Not nullable, Maximum length: 18

      Original property name from the Odata EDM: ExternalProductGroup

      Returns:
      this.
    • crossPlantConfigurableProduct

      @Nonnull public Product.ProductBuilder crossPlantConfigurableProduct(@Nullable String crossPlantConfigurableProduct)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: CrossPlantConfigurableProduct

      Returns:
      this.
    • serialNoExplicitnessLevel

      @Nonnull public Product.ProductBuilder serialNoExplicitnessLevel(@Nullable String serialNoExplicitnessLevel)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: SerialNoExplicitnessLevel

      Returns:
      this.
    • productManufacturerNumber

      @Nonnull public Product.ProductBuilder productManufacturerNumber(@Nullable String productManufacturerNumber)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: ProductManufacturerNumber

      Returns:
      this.
    • manufacturerNumber

      @Nonnull public Product.ProductBuilder manufacturerNumber(@Nullable String manufacturerNumber)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: ManufacturerNumber

      Returns:
      this.
    • manufacturerPartProfile

      @Nonnull public Product.ProductBuilder manufacturerPartProfile(@Nullable String manufacturerPartProfile)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: ManufacturerPartProfile

      Returns:
      this.
    • qltyMgmtInProcmtIsActive

      @Nonnull public Product.ProductBuilder qltyMgmtInProcmtIsActive(@Nullable Boolean qltyMgmtInProcmtIsActive)
      Constraints: none

      Original property name from the Odata EDM: QltyMgmtInProcmtIsActive

      Returns:
      this.
    • industrySector

      @Nonnull public Product.ProductBuilder industrySector(@Nullable String industrySector)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: IndustrySector

      Returns:
      this.
    • changeNumber

      @Nonnull public Product.ProductBuilder changeNumber(@Nullable String changeNumber)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: ChangeNumber

      Returns:
      this.
    • materialRevisionLevel

      @Nonnull public Product.ProductBuilder materialRevisionLevel(@Nullable String materialRevisionLevel)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: MaterialRevisionLevel

      Returns:
      this.
    • handlingIndicator

      @Nonnull public Product.ProductBuilder handlingIndicator(@Nullable String handlingIndicator)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: HandlingIndicator

      Returns:
      this.
    • warehouseProductGroup

      @Nonnull public Product.ProductBuilder warehouseProductGroup(@Nullable String warehouseProductGroup)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: WarehouseProductGroup

      Returns:
      this.
    • warehouseStorageCondition

      @Nonnull public Product.ProductBuilder warehouseStorageCondition(@Nullable String warehouseStorageCondition)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: WarehouseStorageCondition

      Returns:
      this.
    • standardHandlingUnitType

      @Nonnull public Product.ProductBuilder standardHandlingUnitType(@Nullable String standardHandlingUnitType)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: StandardHandlingUnitType

      Returns:
      this.
    • serialNumberProfile

      @Nonnull public Product.ProductBuilder serialNumberProfile(@Nullable String serialNumberProfile)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: SerialNumberProfile

      Returns:
      this.
    • adjustmentProfile

      @Nonnull public Product.ProductBuilder adjustmentProfile(@Nullable String adjustmentProfile)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: AdjustmentProfile

      Returns:
      this.
    • preferredUnitOfMeasure

      @Nonnull public Product.ProductBuilder preferredUnitOfMeasure(@Nullable String preferredUnitOfMeasure)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: PreferredUnitOfMeasure

      Returns:
      this.
    • isPilferable

      @Nonnull public Product.ProductBuilder isPilferable(@Nullable Boolean isPilferable)
      Constraints: none

      Original property name from the Odata EDM: IsPilferable

      Returns:
      this.
    • isRelevantForHzdsSubstances

      @Nonnull public Product.ProductBuilder isRelevantForHzdsSubstances(@Nullable Boolean isRelevantForHzdsSubstances)
      Constraints: none

      Original property name from the Odata EDM: IsRelevantForHzdsSubstances

      Returns:
      this.
    • quarantinePeriod

      @Nonnull public Product.ProductBuilder quarantinePeriod(@Nullable BigDecimal quarantinePeriod)
      Constraints: Not nullable, Precision: 3, Scale: 0

      Original property name from the Odata EDM: QuarantinePeriod

      Returns:
      this.
    • timeUnitForQuarantinePeriod

      @Nonnull public Product.ProductBuilder timeUnitForQuarantinePeriod(@Nullable String timeUnitForQuarantinePeriod)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: TimeUnitForQuarantinePeriod

      Returns:
      this.
    • qualityInspectionGroup

      @Nonnull public Product.ProductBuilder qualityInspectionGroup(@Nullable String qualityInspectionGroup)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: QualityInspectionGroup

      Returns:
      this.
    • authorizationGroup

      @Nonnull public Product.ProductBuilder authorizationGroup(@Nullable String authorizationGroup)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: AuthorizationGroup

      Returns:
      this.
    • documentIsCreatedByCAD

      @Nonnull public Product.ProductBuilder documentIsCreatedByCAD(@Nullable Boolean documentIsCreatedByCAD)
      Constraints: none

      Original property name from the Odata EDM: DocumentIsCreatedByCAD

      Returns:
      this.
    • handlingUnitType

      @Nonnull public Product.ProductBuilder handlingUnitType(@Nullable String handlingUnitType)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: HandlingUnitType

      Returns:
      this.
    • hasVariableTareWeight

      @Nonnull public Product.ProductBuilder hasVariableTareWeight(@Nullable Boolean hasVariableTareWeight)
      Constraints: none

      Original property name from the Odata EDM: HasVariableTareWeight

      Returns:
      this.
    • maximumPackagingLength

      @Nonnull public Product.ProductBuilder maximumPackagingLength(@Nullable BigDecimal maximumPackagingLength)
      Constraints: Not nullable, Precision: 15, Scale: 3

      Original property name from the Odata EDM: MaximumPackagingLength

      Returns:
      this.
    • maximumPackagingWidth

      @Nonnull public Product.ProductBuilder maximumPackagingWidth(@Nullable BigDecimal maximumPackagingWidth)
      Constraints: Not nullable, Precision: 15, Scale: 3

      Original property name from the Odata EDM: MaximumPackagingWidth

      Returns:
      this.
    • maximumPackagingHeight

      @Nonnull public Product.ProductBuilder maximumPackagingHeight(@Nullable BigDecimal maximumPackagingHeight)
      Constraints: Not nullable, Precision: 15, Scale: 3

      Original property name from the Odata EDM: MaximumPackagingHeight

      Returns:
      this.
    • unitForMaxPackagingDimensions

      @Nonnull public Product.ProductBuilder unitForMaxPackagingDimensions(@Nullable String unitForMaxPackagingDimensions)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: UnitForMaxPackagingDimensions

      Returns:
      this.
    • build

      @Nonnull public Product build()
    • toString

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