Class ProductPlant.ProductPlantBuilder

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

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

    • plantMRPArea

      @Nonnull public ProductPlant.ProductPlantBuilder plantMRPArea(ProductPlantMRPArea... value)
      Navigation property to_PlantMRPArea for ProductPlant to multiple ProductPlantMRPArea.
      Parameters:
      value - The ProductPlantMRPAreas to build this ProductPlant with.
      Returns:
      This Builder to allow for a fluent interface.
    • plantQualityMgmt

      @Nonnull public ProductPlant.ProductPlantBuilder plantQualityMgmt(ProductPlantQualityMgmt value)
      Navigation property to_PlantQualityMgmt for ProductPlant to single ProductPlantQualityMgmt.
      Parameters:
      value - The ProductPlantQualityMgmt to build this ProductPlant with.
      Returns:
      This Builder to allow for a fluent interface.
    • plantSales

      @Nonnull public ProductPlant.ProductPlantBuilder plantSales(ProductPlantSales value)
      Navigation property to_PlantSales for ProductPlant to single ProductPlantSales.
      Parameters:
      value - The ProductPlantSales to build this ProductPlant with.
      Returns:
      This Builder to allow for a fluent interface.
    • plantStorage

      @Nonnull public ProductPlant.ProductPlantBuilder plantStorage(ProductPlantStorage value)
      Navigation property to_PlantStorage for ProductPlant to single ProductPlantStorage.
      Parameters:
      value - The ProductPlantStorage to build this ProductPlant with.
      Returns:
      This Builder to allow for a fluent interface.
    • plantText

      @Nonnull public ProductPlant.ProductPlantBuilder plantText(ProductPlantText value)
      Navigation property to_PlantText for ProductPlant to single ProductPlantText.
      Parameters:
      value - The ProductPlantText to build this ProductPlant with.
      Returns:
      This Builder to allow for a fluent interface.
    • prodPlantInternationalTrade

      @Nonnull public ProductPlant.ProductPlantBuilder prodPlantInternationalTrade(ProductPlantIntlTrd value)
      Navigation property to_ProdPlantInternationalTrade for ProductPlant to single ProductPlantIntlTrd.
      Parameters:
      value - The ProductPlantIntlTrd to build this ProductPlant with.
      Returns:
      This Builder to allow for a fluent interface.
    • productPlantCosting

      @Nonnull public ProductPlant.ProductPlantBuilder productPlantCosting(ProductPlantCosting value)
      Navigation property to_ProductPlantCosting for ProductPlant to single ProductPlantCosting.
      Parameters:
      value - The ProductPlantCosting to build this ProductPlant with.
      Returns:
      This Builder to allow for a fluent interface.
    • productPlantForecast

      @Nonnull public ProductPlant.ProductPlantBuilder productPlantForecast(ProductPlantForecasting value)
      Navigation property to_ProductPlantForecast for ProductPlant to single ProductPlantForecasting.
      Parameters:
      value - The ProductPlantForecasting to build this ProductPlant with.
      Returns:
      This Builder to allow for a fluent interface.
    • productPlantProcurement

      @Nonnull public ProductPlant.ProductPlantBuilder productPlantProcurement(ProductPlantProcurement value)
      Navigation property to_ProductPlantProcurement for ProductPlant to single ProductPlantProcurement.
      Parameters:
      value - The ProductPlantProcurement to build this ProductPlant with.
      Returns:
      This Builder to allow for a fluent interface.
    • productSupplyPlanning

      @Nonnull public ProductPlant.ProductPlantBuilder productSupplyPlanning(ProductSupplyPlanning value)
      Navigation property to_ProductSupplyPlanning for ProductPlant to single ProductSupplyPlanning.
      Parameters:
      value - The ProductSupplyPlanning to build this ProductPlant with.
      Returns:
      This Builder to allow for a fluent interface.
    • productWorkScheduling

      @Nonnull public ProductPlant.ProductPlantBuilder productWorkScheduling(ProductWorkScheduling value)
      Navigation property to_ProductWorkScheduling for ProductPlant to single ProductWorkScheduling.
      Parameters:
      value - The ProductWorkScheduling to build this ProductPlant with.
      Returns:
      This Builder to allow for a fluent interface.
    • storageLocation

      @Nonnull public ProductPlant.ProductPlantBuilder storageLocation(ProductStorageLocation... value)
      Navigation property to_StorageLocation for ProductPlant to multiple ProductStorageLocation.
      Parameters:
      value - The ProductStorageLocations to build this ProductPlant with.
      Returns:
      This Builder to allow for a fluent interface.
    • product

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

      Original property name from the Odata EDM: Product

      Returns:
      this.
    • plant

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

      Original property name from the Odata EDM: Plant

      Returns:
      this.
    • purchasingGroup

      @Nonnull public ProductPlant.ProductPlantBuilder purchasingGroup(@Nullable String purchasingGroup)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: PurchasingGroup

      Returns:
      this.
    • countryOfOrigin

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

      Original property name from the Odata EDM: CountryOfOrigin

      Returns:
      this.
    • regionOfOrigin

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

      Original property name from the Odata EDM: RegionOfOrigin

      Returns:
      this.
    • productionInvtryManagedLoc

      @Nonnull public ProductPlant.ProductPlantBuilder productionInvtryManagedLoc(@Nullable String productionInvtryManagedLoc)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: ProductionInvtryManagedLoc

      Returns:
      this.
    • profileCode

      @Nonnull public ProductPlant.ProductPlantBuilder profileCode(@Nullable String profileCode)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: ProfileCode

      Returns:
      this.
    • profileValidityStartDate

      @Nonnull public ProductPlant.ProductPlantBuilder profileValidityStartDate(@Nullable LocalDateTime profileValidityStartDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: ProfileValidityStartDate

      Returns:
      this.
    • availabilityCheckType

      @Nonnull public ProductPlant.ProductPlantBuilder availabilityCheckType(@Nullable String availabilityCheckType)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: AvailabilityCheckType

      Returns:
      this.
    • fiscalYearVariant

      @Nonnull public ProductPlant.ProductPlantBuilder fiscalYearVariant(@Nullable String fiscalYearVariant)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: FiscalYearVariant

      Returns:
      this.
    • periodType

      @Nonnull public ProductPlant.ProductPlantBuilder periodType(@Nullable String periodType)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: PeriodType

      Returns:
      this.
    • profitCenter

      @Nonnull public ProductPlant.ProductPlantBuilder profitCenter(@Nullable String profitCenter)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: ProfitCenter

      Returns:
      this.
    • commodity

      @Nonnull public ProductPlant.ProductPlantBuilder commodity(@Nullable String commodity)
      Constraints: Not nullable, Maximum length: 17

      Original property name from the Odata EDM: Commodity

      Returns:
      this.
    • goodsReceiptDuration

      @Nonnull public ProductPlant.ProductPlantBuilder goodsReceiptDuration(@Nullable BigDecimal goodsReceiptDuration)
      Constraints: Not nullable, Precision: 3, Scale: 0

      Original property name from the Odata EDM: GoodsReceiptDuration

      Returns:
      this.
    • maintenanceStatusName

      @Nonnull public ProductPlant.ProductPlantBuilder maintenanceStatusName(@Nullable String maintenanceStatusName)
      Constraints: Not nullable, Maximum length: 15

      Original property name from the Odata EDM: MaintenanceStatusName

      Returns:
      this.
    • isMarkedForDeletion

      @Nonnull public ProductPlant.ProductPlantBuilder isMarkedForDeletion(@Nullable Boolean isMarkedForDeletion)
      Constraints: none

      Original property name from the Odata EDM: IsMarkedForDeletion

      Returns:
      this.
    • mRPType

      @Nonnull public ProductPlant.ProductPlantBuilder mRPType(@Nullable String mRPType)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: MRPType

      Returns:
      this.
    • mRPResponsible

      @Nonnull public ProductPlant.ProductPlantBuilder mRPResponsible(@Nullable String mRPResponsible)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: MRPResponsible

      Returns:
      this.
    • aBCIndicator

      @Nonnull public ProductPlant.ProductPlantBuilder aBCIndicator(@Nullable String aBCIndicator)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: ABCIndicator

      Returns:
      this.
    • minimumLotSizeQuantity

      @Nonnull public ProductPlant.ProductPlantBuilder minimumLotSizeQuantity(@Nullable BigDecimal minimumLotSizeQuantity)
      Constraints: Not nullable, Precision: 13, Scale: 3

      Original property name from the Odata EDM: MinimumLotSizeQuantity

      Returns:
      this.
    • maximumLotSizeQuantity

      @Nonnull public ProductPlant.ProductPlantBuilder maximumLotSizeQuantity(@Nullable BigDecimal maximumLotSizeQuantity)
      Constraints: Not nullable, Precision: 13, Scale: 3

      Original property name from the Odata EDM: MaximumLotSizeQuantity

      Returns:
      this.
    • fixedLotSizeQuantity

      @Nonnull public ProductPlant.ProductPlantBuilder fixedLotSizeQuantity(@Nullable BigDecimal fixedLotSizeQuantity)
      Constraints: Not nullable, Precision: 13, Scale: 3

      Original property name from the Odata EDM: FixedLotSizeQuantity

      Returns:
      this.
    • consumptionTaxCtrlCode

      @Nonnull public ProductPlant.ProductPlantBuilder consumptionTaxCtrlCode(@Nullable String consumptionTaxCtrlCode)
      Constraints: Not nullable, Maximum length: 16

      Original property name from the Odata EDM: ConsumptionTaxCtrlCode

      Returns:
      this.
    • isCoProduct

      @Nonnull public ProductPlant.ProductPlantBuilder isCoProduct(@Nullable Boolean isCoProduct)
      Constraints: none

      Original property name from the Odata EDM: IsCoProduct

      Returns:
      this.
    • productIsConfigurable

      @Nonnull public ProductPlant.ProductPlantBuilder productIsConfigurable(@Nullable String productIsConfigurable)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: ProductIsConfigurable

      Returns:
      this.
    • stockDeterminationGroup

      @Nonnull public ProductPlant.ProductPlantBuilder stockDeterminationGroup(@Nullable String stockDeterminationGroup)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: StockDeterminationGroup

      Returns:
      this.
    • stockInTransferQuantity

      @Nonnull public ProductPlant.ProductPlantBuilder stockInTransferQuantity(@Nullable BigDecimal stockInTransferQuantity)
      Constraints: Not nullable, Precision: 13, Scale: 3

      Original property name from the Odata EDM: StockInTransferQuantity

      Returns:
      this.
    • stockInTransitQuantity

      @Nonnull public ProductPlant.ProductPlantBuilder stockInTransitQuantity(@Nullable BigDecimal stockInTransitQuantity)
      Constraints: Not nullable, Precision: 13, Scale: 3

      Original property name from the Odata EDM: StockInTransitQuantity

      Returns:
      this.
    • hasPostToInspectionStock

      @Nonnull public ProductPlant.ProductPlantBuilder hasPostToInspectionStock(@Nullable Boolean hasPostToInspectionStock)
      Constraints: none

      Original property name from the Odata EDM: HasPostToInspectionStock

      Returns:
      this.
    • isBatchManagementRequired

      @Nonnull public ProductPlant.ProductPlantBuilder isBatchManagementRequired(@Nullable Boolean isBatchManagementRequired)
      Constraints: none

      Original property name from the Odata EDM: IsBatchManagementRequired

      Returns:
      this.
    • serialNumberProfile

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

      Original property name from the Odata EDM: SerialNumberProfile

      Returns:
      this.
    • isNegativeStockAllowed

      @Nonnull public ProductPlant.ProductPlantBuilder isNegativeStockAllowed(@Nullable Boolean isNegativeStockAllowed)
      Constraints: none

      Original property name from the Odata EDM: IsNegativeStockAllowed

      Returns:
      this.
    • goodsReceiptBlockedStockQty

      @Nonnull public ProductPlant.ProductPlantBuilder goodsReceiptBlockedStockQty(@Nullable BigDecimal goodsReceiptBlockedStockQty)
      Constraints: Not nullable, Precision: 13, Scale: 3

      Original property name from the Odata EDM: GoodsReceiptBlockedStockQty

      Returns:
      this.
    • hasConsignmentCtrl

      @Nonnull public ProductPlant.ProductPlantBuilder hasConsignmentCtrl(@Nullable String hasConsignmentCtrl)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: HasConsignmentCtrl

      Returns:
      this.
    • fiscalYearCurrentPeriod

      @Nonnull public ProductPlant.ProductPlantBuilder fiscalYearCurrentPeriod(@Nullable String fiscalYearCurrentPeriod)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: FiscalYearCurrentPeriod

      Returns:
      this.
    • fiscalMonthCurrentPeriod

      @Nonnull public ProductPlant.ProductPlantBuilder fiscalMonthCurrentPeriod(@Nullable String fiscalMonthCurrentPeriod)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: FiscalMonthCurrentPeriod

      Returns:
      this.
    • procurementType

      @Nonnull public ProductPlant.ProductPlantBuilder procurementType(@Nullable String procurementType)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: ProcurementType

      Returns:
      this.
    • isInternalBatchManaged

      @Nonnull public ProductPlant.ProductPlantBuilder isInternalBatchManaged(@Nullable Boolean isInternalBatchManaged)
      Constraints: none

      Original property name from the Odata EDM: IsInternalBatchManaged

      Returns:
      this.
    • productCFOPCategory

      @Nonnull public ProductPlant.ProductPlantBuilder productCFOPCategory(@Nullable String productCFOPCategory)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: ProductCFOPCategory

      Returns:
      this.
    • productIsExciseTaxRelevant

      @Nonnull public ProductPlant.ProductPlantBuilder productIsExciseTaxRelevant(@Nullable Boolean productIsExciseTaxRelevant)
      Constraints: none

      Original property name from the Odata EDM: ProductIsExciseTaxRelevant

      Returns:
      this.
    • baseUnit

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

      Original property name from the Odata EDM: BaseUnit

      Returns:
      this.
    • configurableProduct

      @Nonnull public ProductPlant.ProductPlantBuilder configurableProduct(@Nullable String configurableProduct)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: ConfigurableProduct

      Returns:
      this.
    • goodsIssueUnit

      @Nonnull public ProductPlant.ProductPlantBuilder goodsIssueUnit(@Nullable String goodsIssueUnit)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: GoodsIssueUnit

      Returns:
      this.
    • materialFreightGroup

      @Nonnull public ProductPlant.ProductPlantBuilder materialFreightGroup(@Nullable String materialFreightGroup)
      Constraints: Not nullable, Maximum length: 8

      Original property name from the Odata EDM: MaterialFreightGroup

      Returns:
      this.
    • originalBatchReferenceMaterial

      @Nonnull public ProductPlant.ProductPlantBuilder originalBatchReferenceMaterial(@Nullable String originalBatchReferenceMaterial)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: OriginalBatchReferenceMaterial

      Returns:
      this.
    • origlBatchManagementIsRequired

      @Nonnull public ProductPlant.ProductPlantBuilder origlBatchManagementIsRequired(@Nullable String origlBatchManagementIsRequired)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: OriglBatchManagementIsRequired

      Returns:
      this.
    • productIsCriticalPrt

      @Nonnull public ProductPlant.ProductPlantBuilder productIsCriticalPrt(@Nullable Boolean productIsCriticalPrt)
      Constraints: none

      Original property name from the Odata EDM: ProductIsCriticalPrt

      Returns:
      this.
    • productLogisticsHandlingGroup

      @Nonnull public ProductPlant.ProductPlantBuilder productLogisticsHandlingGroup(@Nullable String productLogisticsHandlingGroup)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: ProductLogisticsHandlingGroup

      Returns:
      this.
    • build

      @Nonnull public ProductPlant build()
    • toString

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