Class ProductValuationLedgerPrices
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: ProductValuationLedgerPrices_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of ProductValuationLedgerPrices instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<ProductValuationLedgerPrices>Selector for all available fields of ProductValuationLedgerPrices.static final SimpleProperty.String<ProductValuationLedgerPrices>static final SimpleProperty.String<ProductValuationLedgerPrices>static final SimpleProperty.String<ProductValuationLedgerPrices>static final SimpleProperty.String<ProductValuationLedgerPrices>static final SimpleProperty.NumericDecimal<ProductValuationLedgerPrices>static final SimpleProperty.Date<ProductValuationLedgerPrices>static final SimpleProperty.String<ProductValuationLedgerPrices>static final SimpleProperty.String<ProductValuationLedgerPrices>static final SimpleProperty.NumericDecimal<ProductValuationLedgerPrices>static final NavigationProperty.Single<ProductValuationLedgerPrices,Product> Use with available request builders to apply the _Product navigation property to query operations.Use with available request builders to apply the _ProductValuation navigation property to query operations.static final SimpleProperty.String<ProductValuationLedgerPrices>static final SimpleProperty.String<ProductValuationLedgerPrices>Fields inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS -
Constructor Summary
ConstructorsConstructorDescriptionProductValuationLedgerPrices(String product, String valuationArea, String valuationType, String currencyRole, String ledger, BigDecimal productPriceUnitQuantity, String currency, BigDecimal futurePrice, LocalDate futurePriceValidityStartDate, String baseUnit, String baseISOUnit, Product to_Product, ProductValuation to_ProductValuation) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanprotected voidConstraints: Not nullable, Maximum length: 3Constraints: Not nullable, Maximum length: 3Constraints: Not nullable, Maximum length: 3(Key Field) Constraints: Not nullable, Maximum length: 2protected Stringprotected StringConstraints: Not nullable, Precision: 11, Scale: 0Constraints: Nullableprotected ODataEntityKeygetKey()(Key Field) Constraints: Not nullable, Maximum length: 2(Key Field) Constraints: Not nullable, Maximum length: 18io.vavr.control.Option<Product>Retrieval of associated Product entity (one to one).Constraints: Not nullable, Precision: 5io.vavr.control.Option<ProductValuation>Retrieval of associated ProductValuation entity (one to one).getType()(Key Field) Constraints: Not nullable, Maximum length: 4(Key Field) Constraints: Not nullable, Maximum length: 10inthashCode()voidsetBaseISOUnit(String baseISOUnit) Constraints: Not nullable, Maximum length: 3voidsetBaseUnit(String baseUnit) Constraints: Not nullable, Maximum length: 3voidsetCurrency(String currency) Constraints: Not nullable, Maximum length: 3voidsetCurrencyRole(String currencyRole) (Key Field) Constraints: Not nullable, Maximum length: 2voidsetFuturePrice(BigDecimal futurePrice) Constraints: Not nullable, Precision: 11, Scale: 0voidsetFuturePriceValidityStartDate(LocalDate futurePriceValidityStartDate) Constraints: Nullablevoid(Key Field) Constraints: Not nullable, Maximum length: 2voidsetProduct(Product value) Overwrites the associated Product entity for the loaded navigation property _Product.voidsetProduct(String product) (Key Field) Constraints: Not nullable, Maximum length: 18voidsetProductPriceUnitQuantity(BigDecimal productPriceUnitQuantity) Constraints: Not nullable, Precision: 5voidOverwrites the associated ProductValuation entity for the loaded navigation property _ProductValuation.voidsetValuationArea(String valuationArea) (Key Field) Constraints: Not nullable, Maximum length: 4voidsetValuationType(String valuationType) (Key Field) Constraints: Not nullable, Maximum length: 10toString()Methods inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmEntity
all, attachToService, getDestinationForFetch, getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setServicePathForFetch, setVersionIdentifierMethods inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
getAnnotationProperties, getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields
-
Field Details
-
ALL_FIELDS
Selector for all available fields of ProductValuationLedgerPrices. -
PRODUCT
-
VALUATION_AREA
-
VALUATION_TYPE
-
CURRENCY_ROLE
-
LEDGER
-
PRODUCT_PRICE_UNIT_QUANTITY
public static final SimpleProperty.NumericDecimal<ProductValuationLedgerPrices> PRODUCT_PRICE_UNIT_QUANTITY -
CURRENCY
-
FUTURE_PRICE
-
FUTURE_PRICE_VALIDITY_START_DATE
public static final SimpleProperty.Date<ProductValuationLedgerPrices> FUTURE_PRICE_VALIDITY_START_DATE -
BASE_UNIT
-
BASE_ISO_UNIT
-
TO__PRODUCT
Use with available request builders to apply the _Product navigation property to query operations. -
TO__PRODUCT_VALUATION
public static final NavigationProperty.Single<ProductValuationLedgerPrices,ProductValuation> TO__PRODUCT_VALUATIONUse with available request builders to apply the _ProductValuation navigation property to query operations.
-
-
Constructor Details
-
ProductValuationLedgerPrices
public ProductValuationLedgerPrices() -
ProductValuationLedgerPrices
public ProductValuationLedgerPrices(@Nullable String product, @Nullable String valuationArea, @Nullable String valuationType, @Nullable String currencyRole, @Nullable String ledger, @Nullable BigDecimal productPriceUnitQuantity, @Nullable String currency, @Nullable BigDecimal futurePrice, @Nullable LocalDate futurePriceValidityStartDate, @Nullable String baseUnit, @Nullable String baseISOUnit, @Nullable Product to_Product, @Nullable ProductValuation to_ProductValuation)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<ProductValuationLedgerPrices>
-
setProduct
(Key Field) Constraints: Not nullable, Maximum length: 18Original property name from the Odata EDM: Product
- Parameters:
product- Product Number
-
setValuationArea
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ValuationArea
- Parameters:
valuationArea- Valuation Area
-
setValuationType
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ValuationType
- Parameters:
valuationType- Valuation Type
-
setCurrencyRole
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: CurrencyRole
- Parameters:
currencyRole- External Currency Type and Valuation View
-
setLedger
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Ledger
- Parameters:
ledger- The ledger to set.
-
setProductPriceUnitQuantity
Constraints: Not nullable, Precision: 5Original property name from the Odata EDM: ProductPriceUnitQuantity
- Parameters:
productPriceUnitQuantity- Price unit
-
setCurrency
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: Currency
- Parameters:
currency- Currency Key
-
setFuturePrice
Constraints: Not nullable, Precision: 11, Scale: 0Original property name from the Odata EDM: FuturePrice
- Parameters:
futurePrice- Future Price
-
setFuturePriceValidityStartDate
Constraints: NullableOriginal property name from the Odata EDM: FuturePriceValidityStartDate
- Parameters:
futurePriceValidityStartDate- Date from Which a Future Valuation Price Is to Be Valid
-
setBaseUnit
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: BaseUnit
- Parameters:
baseUnit- Base Unit of Measure
-
setBaseISOUnit
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: BaseISOUnit
- Parameters:
baseISOUnit- Base unit of measure in ISO code
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<ProductValuationLedgerPrices>
-
getKey
- Overrides:
getKeyin classVdmObject<ProductValuationLedgerPrices>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<ProductValuationLedgerPrices>
-
fromMap
- Overrides:
fromMapin classVdmObject<ProductValuationLedgerPrices>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<ProductValuationLedgerPrices>
-
getProductIfPresent
Retrieval of associated Product entity (one to one). This corresponds to the OData navigation property _Product.If the navigation property for an entity ProductValuationLedgerPrices has not been resolved yet, this method will not query further information. Instead its
Optionresult state will beempty.- Returns:
- If the information for navigation property _Product is already loaded, the result will contain the
Product entity. If not, an
Optionwith result stateemptyis returned.
-
setProduct
Overwrites the associated Product entity for the loaded navigation property _Product.- Parameters:
value- New Product entity.
-
getProductValuationIfPresent
Retrieval of associated ProductValuation entity (one to one). This corresponds to the OData navigation property _ProductValuation.If the navigation property for an entity ProductValuationLedgerPrices has not been resolved yet, this method will not query further information. Instead its
Optionresult state will beempty.- Returns:
- If the information for navigation property _ProductValuation is already loaded, the result will
contain the ProductValuation entity. If not, an
Optionwith result stateemptyis returned.
-
setProductValuation
Overwrites the associated ProductValuation entity for the loaded navigation property _ProductValuation.- Parameters:
value- New ProductValuation entity.
-
builder
-
getProduct
(Key Field) Constraints: Not nullable, Maximum length: 18Original property name from the Odata EDM: Product
- Returns:
- Product Number
-
getValuationArea
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ValuationArea
- Returns:
- Valuation Area
-
getValuationType
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ValuationType
- Returns:
- Valuation Type
-
getCurrencyRole
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: CurrencyRole
- Returns:
- External Currency Type and Valuation View
-
getLedger
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Ledger
- Returns:
- The ledger contained in this
VdmEntity.
-
getProductPriceUnitQuantity
Constraints: Not nullable, Precision: 5Original property name from the Odata EDM: ProductPriceUnitQuantity
- Returns:
- Price unit
-
getCurrency
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: Currency
- Returns:
- Currency Key
-
getFuturePrice
Constraints: Not nullable, Precision: 11, Scale: 0Original property name from the Odata EDM: FuturePrice
- Returns:
- Future Price
-
getFuturePriceValidityStartDate
Constraints: NullableOriginal property name from the Odata EDM: FuturePriceValidityStartDate
- Returns:
- Date from Which a Future Valuation Price Is to Be Valid
-
getBaseUnit
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: BaseUnit
- Returns:
- Base Unit of Measure
-
getBaseISOUnit
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: BaseISOUnit
- Returns:
- Base unit of measure in ISO code
-
toString
- Overrides:
toStringin classVdmObject<ProductValuationLedgerPrices>
-
equals
- Overrides:
equalsin classVdmEntity<ProductValuationLedgerPrices>
-
canEqual
- Overrides:
canEqualin classVdmEntity<ProductValuationLedgerPrices>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<ProductValuationLedgerPrices>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<ProductValuationLedgerPrices>
-