Class ProductValuationLedgerAccount.ProductValuationLedgerAccountBuilder
java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odatav4.namespaces.product.ProductValuationLedgerAccount.ProductValuationLedgerAccountBuilder
- Enclosing class:
- ProductValuationLedgerAccount
public static final class ProductValuationLedgerAccount.ProductValuationLedgerAccountBuilder
extends Object
Helper class to allow for fluent creation of ProductValuationLedgerAccount 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: 2(Key Field) Constraints: Not nullable, Maximum length: 2movingAveragePrice(BigDecimal movingAveragePrice) Constraints: Not nullable, Precision: 11, Scale: 0Navigation property _Product for ProductValuationLedgerAccount to single Product.(Key Field) Constraints: Not nullable, Maximum length: 18productPriceControl(String productPriceControl) Constraints: Not nullable, Maximum length: 1productPriceUnitQuantity(BigDecimal productPriceUnitQuantity) Constraints: Not nullable, Precision: 5productValuation(ProductValuation value) Navigation property _ProductValuation for ProductValuationLedgerAccount to single ProductValuation.standardPrice(BigDecimal standardPrice) Constraints: Not nullable, Precision: 11, Scale: 0toString()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 ProductValuationLedgerAccount.ProductValuationLedgerAccountBuilder product(Product value) Navigation property _Product for ProductValuationLedgerAccount to single Product.- Parameters:
value- The Product to build this ProductValuationLedgerAccount with.- Returns:
- This Builder to allow for a fluent interface.
-
product
@Nonnull public ProductValuationLedgerAccount.ProductValuationLedgerAccountBuilder 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 ProductValuationLedgerAccount with.- Returns:
- This Builder to allow for a fluent interface.
-
productValuation
@Nonnull public ProductValuationLedgerAccount.ProductValuationLedgerAccountBuilder productValuation(ProductValuation value) Navigation property _ProductValuation for ProductValuationLedgerAccount to single ProductValuation.- Parameters:
value- The ProductValuation to build this ProductValuationLedgerAccount with.- Returns:
- This Builder to allow for a fluent interface.
-
valuationArea
@Nonnull public ProductValuationLedgerAccount.ProductValuationLedgerAccountBuilder valuationArea(@Nullable String valuationArea) (Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ValuationArea
- Returns:
this.
-
valuationType
@Nonnull public ProductValuationLedgerAccount.ProductValuationLedgerAccountBuilder valuationType(@Nullable String valuationType) (Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ValuationType
- Returns:
this.
-
currencyRole
@Nonnull public ProductValuationLedgerAccount.ProductValuationLedgerAccountBuilder currencyRole(@Nullable String currencyRole) (Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: CurrencyRole
- Returns:
this.
-
ledger
@Nonnull public ProductValuationLedgerAccount.ProductValuationLedgerAccountBuilder ledger(@Nullable String ledger) (Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Ledger
- Returns:
this.
-
productPriceControl
@Nonnull public ProductValuationLedgerAccount.ProductValuationLedgerAccountBuilder productPriceControl(@Nullable String productPriceControl) Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: ProductPriceControl
- Returns:
this.
-
productPriceUnitQuantity
@Nonnull public ProductValuationLedgerAccount.ProductValuationLedgerAccountBuilder productPriceUnitQuantity(@Nullable BigDecimal productPriceUnitQuantity) Constraints: Not nullable, Precision: 5Original property name from the Odata EDM: ProductPriceUnitQuantity
- Returns:
this.
-
currency
@Nonnull public ProductValuationLedgerAccount.ProductValuationLedgerAccountBuilder currency(@Nullable String currency) Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: Currency
- Returns:
this.
-
movingAveragePrice
@Nonnull public ProductValuationLedgerAccount.ProductValuationLedgerAccountBuilder movingAveragePrice(@Nullable BigDecimal movingAveragePrice) Constraints: Not nullable, Precision: 11, Scale: 0Original property name from the Odata EDM: MovingAveragePrice
- Returns:
this.
-
standardPrice
@Nonnull public ProductValuationLedgerAccount.ProductValuationLedgerAccountBuilder standardPrice(@Nullable BigDecimal standardPrice) Constraints: Not nullable, Precision: 11, Scale: 0Original property name from the Odata EDM: StandardPrice
- Returns:
this.
-
baseUnit
@Nonnull public ProductValuationLedgerAccount.ProductValuationLedgerAccountBuilder baseUnit(@Nullable String baseUnit) Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: BaseUnit
- Returns:
this.
-
baseISOUnit
@Nonnull public ProductValuationLedgerAccount.ProductValuationLedgerAccountBuilder baseISOUnit(@Nullable String baseISOUnit) Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: BaseISOUnit
- Returns:
this.
-
build
-
toString
-