Class ProductValuationLedgerPrices.ProductValuationLedgerPricesBuilder
java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odatav4.namespaces.productv2.ProductValuationLedgerPrices.ProductValuationLedgerPricesBuilder
- Enclosing class:
- ProductValuationLedgerPrices
public static final class ProductValuationLedgerPrices.ProductValuationLedgerPricesBuilder
extends Object
Helper class to allow for fluent creation of ProductValuationLedgerPrices instances.
-
Method Summary
Modifier and TypeMethodDescriptionbaseISOUnit(String baseISOUnit) Constraints: Not nullable, Maximum length: 3Constraints: Not nullable, Maximum length: 3build()Constraints: Not nullable, Maximum length: 3currencyRole(String currencyRole) (Key Field) Constraints: Not nullable, Maximum length: 2futurePrice(BigDecimal futurePrice) Constraints: Not nullable, Precision: 11, Scale: 0futurePriceValidityStartDate(LocalDate futurePriceValidityStartDate) Constraints: Nullable(Key Field) Constraints: Not nullable, Maximum length: 2Navigation property _Product for ProductValuationLedgerPrices to single Product.(Key Field) Constraints: Not nullable, Maximum length: 18productPriceUnitQuantity(BigDecimal productPriceUnitQuantity) Constraints: Not nullable, Precision: 5productValuation(ProductValuation value) Navigation property _ProductValuation for ProductValuationLedgerPrices to single ProductValuation.toString()valuationArea(String valuationArea) (Key Field) Constraints: Not nullable, Maximum length: 4valuationType(String valuationType) (Key Field) Constraints: Not nullable, Maximum length: 10
-
Method Details
-
product
@Nonnull public ProductValuationLedgerPrices.ProductValuationLedgerPricesBuilder product(Product value) Navigation property _Product for ProductValuationLedgerPrices to single Product.- Parameters:
value- The Product to build this ProductValuationLedgerPrices with.- Returns:
- This Builder to allow for a fluent interface.
-
product
@Nonnull public ProductValuationLedgerPrices.ProductValuationLedgerPricesBuilder product(String value) (Key Field) Constraints: Not nullable, Maximum length: 18Original property name from the Odata EDM: Product
- Parameters:
value- The product to build this ProductValuationLedgerPrices with.- Returns:
- This Builder to allow for a fluent interface.
-
productValuation
@Nonnull public ProductValuationLedgerPrices.ProductValuationLedgerPricesBuilder productValuation(ProductValuation value) Navigation property _ProductValuation for ProductValuationLedgerPrices to single ProductValuation.- Parameters:
value- The ProductValuation to build this ProductValuationLedgerPrices with.- Returns:
- This Builder to allow for a fluent interface.
-
valuationArea
@Nonnull public ProductValuationLedgerPrices.ProductValuationLedgerPricesBuilder valuationArea(@Nullable String valuationArea) (Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ValuationArea
- Returns:
this.
-
valuationType
@Nonnull public ProductValuationLedgerPrices.ProductValuationLedgerPricesBuilder valuationType(@Nullable String valuationType) (Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ValuationType
- Returns:
this.
-
currencyRole
@Nonnull public ProductValuationLedgerPrices.ProductValuationLedgerPricesBuilder currencyRole(@Nullable String currencyRole) (Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: CurrencyRole
- Returns:
this.
-
ledger
@Nonnull public ProductValuationLedgerPrices.ProductValuationLedgerPricesBuilder ledger(@Nullable String ledger) (Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Ledger
- Returns:
this.
-
productPriceUnitQuantity
@Nonnull public ProductValuationLedgerPrices.ProductValuationLedgerPricesBuilder productPriceUnitQuantity(@Nullable BigDecimal productPriceUnitQuantity) Constraints: Not nullable, Precision: 5Original property name from the Odata EDM: ProductPriceUnitQuantity
- Returns:
this.
-
currency
@Nonnull public ProductValuationLedgerPrices.ProductValuationLedgerPricesBuilder currency(@Nullable String currency) Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: Currency
- Returns:
this.
-
futurePrice
@Nonnull public ProductValuationLedgerPrices.ProductValuationLedgerPricesBuilder futurePrice(@Nullable BigDecimal futurePrice) Constraints: Not nullable, Precision: 11, Scale: 0Original property name from the Odata EDM: FuturePrice
- Returns:
this.
-
futurePriceValidityStartDate
@Nonnull public ProductValuationLedgerPrices.ProductValuationLedgerPricesBuilder futurePriceValidityStartDate(@Nullable LocalDate futurePriceValidityStartDate) Constraints: NullableOriginal property name from the Odata EDM: FuturePriceValidityStartDate
- Returns:
this.
-
baseUnit
@Nonnull public ProductValuationLedgerPrices.ProductValuationLedgerPricesBuilder baseUnit(@Nullable String baseUnit) Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: BaseUnit
- Returns:
this.
-
baseISOUnit
@Nonnull public ProductValuationLedgerPrices.ProductValuationLedgerPricesBuilder baseISOUnit(@Nullable String baseISOUnit) Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: BaseISOUnit
- Returns:
this.
-
build
-
toString
-