Class ProductValuation.ProductValuationBuilder

java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odatav4.namespaces.productv2.ProductValuation.ProductValuationBuilder
Enclosing class:
ProductValuation

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

    • product

      @Nonnull public ProductValuation.ProductValuationBuilder product(Product value)
      Navigation property _Product for ProductValuation to single Product.
      Parameters:
      value - The Product to build this ProductValuation with.
      Returns:
      This Builder to allow for a fluent interface.
    • product

      @Nonnull public ProductValuation.ProductValuationBuilder product(String value)
      (Key Field) Constraints: Not nullable, Maximum length: 18

      Original property name from the Odata EDM: Product

      Parameters:
      value - The product to build this ProductValuation with.
      Returns:
      This Builder to allow for a fluent interface.
    • productValuationAccounting

      @Nonnull public ProductValuation.ProductValuationBuilder productValuationAccounting(ProductValuationAccounting value)
      Navigation property _ProductValuationAccounting for ProductValuation to single ProductValuationAccounting.
      Parameters:
      value - The ProductValuationAccounting to build this ProductValuation with.
      Returns:
      This Builder to allow for a fluent interface.
    • productValuationCosting

      @Nonnull public ProductValuation.ProductValuationBuilder productValuationCosting(ProductValuationCosting value)
      Navigation property _ProductValuationCosting for ProductValuation to single ProductValuationCosting.
      Parameters:
      value - The ProductValuationCosting to build this ProductValuation with.
      Returns:
      This Builder to allow for a fluent interface.
    • productValuationLedgerAccount

      @Nonnull public ProductValuation.ProductValuationBuilder productValuationLedgerAccount(ProductValuationLedgerAccount... value)
      Navigation property _ProductValuationLedgerAccount for ProductValuation to multiple ProductValuationLedgerAccount.
      Parameters:
      value - The ProductValuationLedgerAccounts to build this ProductValuation with.
      Returns:
      This Builder to allow for a fluent interface.
    • productValuationLedgerPrices

      @Nonnull public ProductValuation.ProductValuationBuilder productValuationLedgerPrices(ProductValuationLedgerPrices... value)
      Navigation property _ProductValuationLedgerPrices for ProductValuation to multiple ProductValuationLedgerPrices.
      Parameters:
      value - The ProductValuationLedgerPricess to build this ProductValuation with.
      Returns:
      This Builder to allow for a fluent interface.
    • valuationArea

      @Nonnull public ProductValuation.ProductValuationBuilder valuationArea(@Nullable String valuationArea)
      (Key Field) Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: ValuationArea

      Returns:
      this.
    • valuationType

      @Nonnull public ProductValuation.ProductValuationBuilder valuationType(@Nullable String valuationType)
      (Key Field) Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: ValuationType

      Returns:
      this.
    • valuationClass

      @Nonnull public ProductValuation.ProductValuationBuilder valuationClass(@Nullable String valuationClass)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: ValuationClass

      Returns:
      this.
    • priceDeterminationControl

      @Nonnull public ProductValuation.ProductValuationBuilder priceDeterminationControl(@Nullable String priceDeterminationControl)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: PriceDeterminationControl

      Returns:
      this.
    • standardPrice

      @Nonnull public ProductValuation.ProductValuationBuilder standardPrice(@Nullable BigDecimal standardPrice)
      Constraints: Not nullable, Precision: 11, Scale: 0

      Original property name from the Odata EDM: StandardPrice

      Returns:
      this.
    • productPriceUnitQuantity

      @Nonnull public ProductValuation.ProductValuationBuilder productPriceUnitQuantity(@Nullable BigDecimal productPriceUnitQuantity)
      Constraints: Not nullable, Precision: 5

      Original property name from the Odata EDM: ProductPriceUnitQuantity

      Returns:
      this.
    • inventoryValuationProcedure

      @Nonnull public ProductValuation.ProductValuationBuilder inventoryValuationProcedure(@Nullable String inventoryValuationProcedure)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: InventoryValuationProcedure

      Returns:
      this.
    • movingAveragePrice

      @Nonnull public ProductValuation.ProductValuationBuilder movingAveragePrice(@Nullable BigDecimal movingAveragePrice)
      Constraints: Not nullable, Precision: 11, Scale: 0

      Original property name from the Odata EDM: MovingAveragePrice

      Returns:
      this.
    • valuationCategory

      @Nonnull public ProductValuation.ProductValuationBuilder valuationCategory(@Nullable String valuationCategory)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: ValuationCategory

      Returns:
      this.
    • productUsageType

      @Nonnull public ProductValuation.ProductValuationBuilder productUsageType(@Nullable String productUsageType)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: ProductUsageType

      Returns:
      this.
    • productOriginType

      @Nonnull public ProductValuation.ProductValuationBuilder productOriginType(@Nullable String productOriginType)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: ProductOriginType

      Returns:
      this.
    • isProducedInhouse

      @Nonnull public ProductValuation.ProductValuationBuilder isProducedInhouse(@Nullable Boolean isProducedInhouse)
      Constraints: Not nullable

      Original property name from the Odata EDM: IsProducedInhouse

      Returns:
      this.
    • isMarkedForDeletion

      @Nonnull public ProductValuation.ProductValuationBuilder isMarkedForDeletion(@Nullable Boolean isMarkedForDeletion)
      Constraints: Not nullable

      Original property name from the Odata EDM: IsMarkedForDeletion

      Returns:
      this.
    • valuationClassSalesOrderStock

      @Nonnull public ProductValuation.ProductValuationBuilder valuationClassSalesOrderStock(@Nullable String valuationClassSalesOrderStock)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: ValuationClassSalesOrderStock

      Returns:
      this.
    • projectStockValuationClass

      @Nonnull public ProductValuation.ProductValuationBuilder projectStockValuationClass(@Nullable String projectStockValuationClass)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: ProjectStockValuationClass

      Returns:
      this.
    • currency

      @Nonnull public ProductValuation.ProductValuationBuilder currency(@Nullable String currency)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: Currency

      Returns:
      this.
    • baseUnit

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

      Original property name from the Odata EDM: BaseUnit

      Returns:
      this.
    • baseISOUnit

      @Nonnull public ProductValuation.ProductValuationBuilder baseISOUnit(@Nullable String baseISOUnit)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: BaseISOUnit

      Returns:
      this.
    • build

      @Nonnull public ProductValuation build()
    • toString

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