Class ProductValuationLedgerAccount
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: ProductValuationLedgerAccount_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of ProductValuationLedgerAccount instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<ProductValuationLedgerAccount>Selector for all available fields of ProductValuationLedgerAccount.static final SimpleProperty.String<ProductValuationLedgerAccount>static final SimpleProperty.String<ProductValuationLedgerAccount>static final SimpleProperty.String<ProductValuationLedgerAccount>static final SimpleProperty.String<ProductValuationLedgerAccount>static final SimpleProperty.String<ProductValuationLedgerAccount>static final SimpleProperty.NumericDecimal<ProductValuationLedgerAccount>static final SimpleProperty.String<ProductValuationLedgerAccount>static final SimpleProperty.String<ProductValuationLedgerAccount>static final SimpleProperty.NumericDecimal<ProductValuationLedgerAccount>static final SimpleProperty.NumericDecimal<ProductValuationLedgerAccount>static final NavigationProperty.Single<ProductValuationLedgerAccount,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<ProductValuationLedgerAccount>static final SimpleProperty.String<ProductValuationLedgerAccount>Fields inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS -
Constructor Summary
ConstructorsConstructorDescriptionProductValuationLedgerAccount(String product, String valuationArea, String valuationType, String currencyRole, String ledger, String productPriceControl, BigDecimal productPriceUnitQuantity, String currency, BigDecimal movingAveragePrice, BigDecimal standardPrice, 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 Stringprotected ODataEntityKeygetKey()(Key Field) Constraints: Not nullable, Maximum length: 2Constraints: Not nullable, Precision: 11, Scale: 0(Key Field) Constraints: Not nullable, Maximum length: 18io.vavr.control.Option<Product>Retrieval of associated Product entity (one to one).Constraints: Not nullable, Maximum length: 1Constraints: Not nullable, Precision: 5io.vavr.control.Option<ProductValuation>Retrieval of associated ProductValuation entity (one to one).Constraints: Not nullable, Precision: 11, Scale: 0getType()(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: 2void(Key Field) Constraints: Not nullable, Maximum length: 2voidsetMovingAveragePrice(BigDecimal movingAveragePrice) Constraints: Not nullable, Precision: 11, Scale: 0voidsetProduct(Product value) Overwrites the associated Product entity for the loaded navigation property _Product.voidsetProduct(String product) (Key Field) Constraints: Not nullable, Maximum length: 18voidsetProductPriceControl(String productPriceControl) Constraints: Not nullable, Maximum length: 1voidsetProductPriceUnitQuantity(BigDecimal productPriceUnitQuantity) Constraints: Not nullable, Precision: 5voidOverwrites the associated ProductValuation entity for the loaded navigation property _ProductValuation.voidsetStandardPrice(BigDecimal standardPrice) Constraints: Not nullable, Precision: 11, Scale: 0voidsetValuationArea(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 ProductValuationLedgerAccount. -
PRODUCT
-
VALUATION_AREA
-
VALUATION_TYPE
-
CURRENCY_ROLE
-
LEDGER
-
PRODUCT_PRICE_CONTROL
-
PRODUCT_PRICE_UNIT_QUANTITY
public static final SimpleProperty.NumericDecimal<ProductValuationLedgerAccount> PRODUCT_PRICE_UNIT_QUANTITY -
CURRENCY
-
MOVING_AVERAGE_PRICE
public static final SimpleProperty.NumericDecimal<ProductValuationLedgerAccount> MOVING_AVERAGE_PRICE -
STANDARD_PRICE
-
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<ProductValuationLedgerAccount,ProductValuation> TO__PRODUCT_VALUATIONUse with available request builders to apply the _ProductValuation navigation property to query operations.
-
-
Constructor Details
-
ProductValuationLedgerAccount
public ProductValuationLedgerAccount() -
ProductValuationLedgerAccount
public ProductValuationLedgerAccount(@Nullable String product, @Nullable String valuationArea, @Nullable String valuationType, @Nullable String currencyRole, @Nullable String ledger, @Nullable String productPriceControl, @Nullable BigDecimal productPriceUnitQuantity, @Nullable String currency, @Nullable BigDecimal movingAveragePrice, @Nullable BigDecimal standardPrice, @Nullable String baseUnit, @Nullable String baseISOUnit, @Nullable Product to_Product, @Nullable ProductValuation to_ProductValuation)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<ProductValuationLedgerAccount>
-
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.
-
setProductPriceControl
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: ProductPriceControl
- Parameters:
productPriceControl- Price control indicator
-
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
-
setMovingAveragePrice
Constraints: Not nullable, Precision: 11, Scale: 0Original property name from the Odata EDM: MovingAveragePrice
- Parameters:
movingAveragePrice- Periodic unit price
-
setStandardPrice
Constraints: Not nullable, Precision: 11, Scale: 0Original property name from the Odata EDM: StandardPrice
- Parameters:
standardPrice- Standard price
-
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<ProductValuationLedgerAccount>
-
getKey
- Overrides:
getKeyin classVdmObject<ProductValuationLedgerAccount>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<ProductValuationLedgerAccount>
-
fromMap
- Overrides:
fromMapin classVdmObject<ProductValuationLedgerAccount>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<ProductValuationLedgerAccount>
-
getProductIfPresent
Retrieval of associated Product entity (one to one). This corresponds to the OData navigation property _Product.If the navigation property for an entity ProductValuationLedgerAccount 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 ProductValuationLedgerAccount 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.
-
getProductPriceControl
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: ProductPriceControl
- Returns:
- Price control indicator
-
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
-
getMovingAveragePrice
Constraints: Not nullable, Precision: 11, Scale: 0Original property name from the Odata EDM: MovingAveragePrice
- Returns:
- Periodic unit price
-
getStandardPrice
Constraints: Not nullable, Precision: 11, Scale: 0Original property name from the Odata EDM: StandardPrice
- Returns:
- Standard price
-
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<ProductValuationLedgerAccount>
-
equals
- Overrides:
equalsin classVdmEntity<ProductValuationLedgerAccount>
-
canEqual
- Overrides:
canEqualin classVdmEntity<ProductValuationLedgerAccount>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<ProductValuationLedgerAccount>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<ProductValuationLedgerAccount>
-