Class ProductValuationAccount
Original entity name from the Odata EDM: A_ProductValuationAccountType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ProductValuationAccountSelectableSelector for all available fields of ProductValuationAccount.static final ProductValuationAccountField<BigDecimal>Use with available fluent helpers to apply the CommercialPrice1InCoCodeCrcy field to query operations.static final ProductValuationAccountField<BigDecimal>Use with available fluent helpers to apply the CommercialPrice2InCoCodeCrcy field to query operations.static final ProductValuationAccountField<BigDecimal>Use with available fluent helpers to apply the CommercialPrice3InCoCodeCrcy field to query operations.static final ProductValuationAccountField<String>Use with available fluent helpers to apply the Currency field to query operations.static final ProductValuationAccountField<String>Use with available fluent helpers to apply the DevaluationYearCount field to query operations.static final ProductValuationAccountField<BigDecimal>Use with available fluent helpers to apply the FutureEvaluatedAmountValue field to query operations.static final ProductValuationAccountField<LocalDateTime>Use with available fluent helpers to apply the FuturePriceValidityStartDate field to query operations.static final ProductValuationAccountField<Boolean>Use with available fluent helpers to apply the IsLIFOAndFIFORelevant field to query operations.static final ProductValuationAccountField<String>Use with available fluent helpers to apply the LIFOValuationPoolNumber field to query operations.static final ProductValuationAccountField<String>Use with available fluent helpers to apply the Product field to query operations.static final ProductValuationAccountField<BigDecimal>Use with available fluent helpers to apply the TaxPrice2InCoCodeCrcy field to query operations.static final ProductValuationAccountField<BigDecimal>Use with available fluent helpers to apply the TaxPrice3InCoCodeCrcy field to query operations.static final ProductValuationAccountField<BigDecimal>Use with available fluent helpers to apply the TaxPricel1InCoCodeCrcy field to query operations.static final ProductValuationAccountField<String>Use with available fluent helpers to apply the ValuationArea field to query operations.static final ProductValuationAccountField<String>Use with available fluent helpers to apply the ValuationType field to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
ConstructorsConstructorDescriptionProductValuationAccount(String product, String valuationArea, String valuationType, BigDecimal commercialPrice1InCoCodeCrcy, BigDecimal commercialPrice2InCoCodeCrcy, BigDecimal commercialPrice3InCoCodeCrcy, String devaluationYearCount, BigDecimal futureEvaluatedAmountValue, LocalDateTime futurePriceValidityStartDate, Boolean isLIFOAndFIFORelevant, String lIFOValuationPoolNumber, BigDecimal taxPricel1InCoCodeCrcy, BigDecimal taxPrice2InCoCodeCrcy, BigDecimal taxPrice3InCoCodeCrcy, String currency) -
Method Summary
Modifier and TypeMethodDescriptionvoidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanstatic <T,DomainT>
ProductValuationAccountField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> ProductValuationAccountField<T>Use with available fluent helpers to apply an extension field to query operations.protected voidConstraints: Not nullable, Precision: 12, Scale: 3Constraints: Not nullable, Precision: 12, Scale: 3Constraints: Not nullable, Precision: 12, Scale: 3Constraints: Not nullable, Maximum length: 5protected StringConstraints: Not nullable, Maximum length: 2protected StringConstraints: Not nullable, Precision: 12, Scale: 3Constraints: Not nullable, Precision: 0Constraints: nonegetKey()Constraints: Not nullable, Maximum length: 4(Key Field) Constraints: Not nullable, Maximum length: 40Constraints: Not nullable, Precision: 12, Scale: 3Constraints: Not nullable, Precision: 12, Scale: 3Constraints: Not nullable, Precision: 12, Scale: 3getType()(Key Field) Constraints: Not nullable, Maximum length: 4(Key Field) Constraints: Not nullable, Maximum length: 10inthashCode()voidsetCommercialPrice1InCoCodeCrcy(BigDecimal commercialPrice1InCoCodeCrcy) Constraints: Not nullable, Precision: 12, Scale: 3voidsetCommercialPrice2InCoCodeCrcy(BigDecimal commercialPrice2InCoCodeCrcy) Constraints: Not nullable, Precision: 12, Scale: 3voidsetCommercialPrice3InCoCodeCrcy(BigDecimal commercialPrice3InCoCodeCrcy) Constraints: Not nullable, Precision: 12, Scale: 3voidsetCurrency(String currency) Constraints: Not nullable, Maximum length: 5voidsetDevaluationYearCount(String devaluationYearCount) Constraints: Not nullable, Maximum length: 2voidsetFutureEvaluatedAmountValue(BigDecimal futureEvaluatedAmountValue) Constraints: Not nullable, Precision: 12, Scale: 3voidsetFuturePriceValidityStartDate(LocalDateTime futurePriceValidityStartDate) Constraints: Not nullable, Precision: 0voidsetIsLIFOAndFIFORelevant(Boolean isLIFOAndFIFORelevant) Constraints: nonevoidsetLIFOValuationPoolNumber(String lIFOValuationPoolNumber) Constraints: Not nullable, Maximum length: 4voidsetProduct(String product) (Key Field) Constraints: Not nullable, Maximum length: 40protected voidsetServicePathForFetch(String servicePathForFetch) voidsetTaxPrice2InCoCodeCrcy(BigDecimal taxPrice2InCoCodeCrcy) Constraints: Not nullable, Precision: 12, Scale: 3voidsetTaxPrice3InCoCodeCrcy(BigDecimal taxPrice3InCoCodeCrcy) Constraints: Not nullable, Precision: 12, Scale: 3voidsetTaxPricel1InCoCodeCrcy(BigDecimal taxPricel1InCoCodeCrcy) Constraints: Not nullable, Precision: 12, Scale: 3voidsetValuationArea(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.odata.helper.VdmEntity
fetchFieldAsList, fetchFieldAsSingle, getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setVersionIdentifierMethods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields, toMapOfNavigationProperties
-
Field Details
-
ALL_FIELDS
Selector for all available fields of ProductValuationAccount. -
PRODUCT
Use with available fluent helpers to apply the Product field to query operations. -
VALUATION_AREA
Use with available fluent helpers to apply the ValuationArea field to query operations. -
VALUATION_TYPE
Use with available fluent helpers to apply the ValuationType field to query operations. -
COMMERCIAL_PRICE1_IN_CO_CODE_CRCY
Use with available fluent helpers to apply the CommercialPrice1InCoCodeCrcy field to query operations. -
COMMERCIAL_PRICE2_IN_CO_CODE_CRCY
Use with available fluent helpers to apply the CommercialPrice2InCoCodeCrcy field to query operations. -
COMMERCIAL_PRICE3_IN_CO_CODE_CRCY
Use with available fluent helpers to apply the CommercialPrice3InCoCodeCrcy field to query operations. -
DEVALUATION_YEAR_COUNT
Use with available fluent helpers to apply the DevaluationYearCount field to query operations. -
FUTURE_EVALUATED_AMOUNT_VALUE
Use with available fluent helpers to apply the FutureEvaluatedAmountValue field to query operations. -
FUTURE_PRICE_VALIDITY_START_DATE
Use with available fluent helpers to apply the FuturePriceValidityStartDate field to query operations. -
IS_LIFO_AND_FIFO_RELEVANT
Use with available fluent helpers to apply the IsLIFOAndFIFORelevant field to query operations. -
LIFO_VALUATION_POOL_NUMBER
Use with available fluent helpers to apply the LIFOValuationPoolNumber field to query operations. -
TAX_PRICEL1_IN_CO_CODE_CRCY
Use with available fluent helpers to apply the TaxPricel1InCoCodeCrcy field to query operations. -
TAX_PRICE2_IN_CO_CODE_CRCY
Use with available fluent helpers to apply the TaxPrice2InCoCodeCrcy field to query operations. -
TAX_PRICE3_IN_CO_CODE_CRCY
Use with available fluent helpers to apply the TaxPrice3InCoCodeCrcy field to query operations. -
CURRENCY
Use with available fluent helpers to apply the Currency field to query operations.
-
-
Constructor Details
-
ProductValuationAccount
public ProductValuationAccount() -
ProductValuationAccount
public ProductValuationAccount(@Nullable String product, @Nullable String valuationArea, @Nullable String valuationType, @Nullable BigDecimal commercialPrice1InCoCodeCrcy, @Nullable BigDecimal commercialPrice2InCoCodeCrcy, @Nullable BigDecimal commercialPrice3InCoCodeCrcy, @Nullable String devaluationYearCount, @Nullable BigDecimal futureEvaluatedAmountValue, @Nullable LocalDateTime futurePriceValidityStartDate, @Nullable Boolean isLIFOAndFIFORelevant, @Nullable String lIFOValuationPoolNumber, @Nullable BigDecimal taxPricel1InCoCodeCrcy, @Nullable BigDecimal taxPrice2InCoCodeCrcy, @Nullable BigDecimal taxPrice3InCoCodeCrcy, @Nullable String currency)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<ProductValuationAccount>
-
setProduct
(Key Field) Constraints: Not nullable, Maximum length: 40Original 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
-
setCommercialPrice1InCoCodeCrcy
Constraints: Not nullable, Precision: 12, Scale: 3Original property name from the Odata EDM: CommercialPrice1InCoCodeCrcy
- Parameters:
commercialPrice1InCoCodeCrcy- Valuation price based on commercial law: level 1
-
setCommercialPrice2InCoCodeCrcy
Constraints: Not nullable, Precision: 12, Scale: 3Original property name from the Odata EDM: CommercialPrice2InCoCodeCrcy
- Parameters:
commercialPrice2InCoCodeCrcy- Valuation price based on commercial law: level 2
-
setCommercialPrice3InCoCodeCrcy
Constraints: Not nullable, Precision: 12, Scale: 3Original property name from the Odata EDM: CommercialPrice3InCoCodeCrcy
- Parameters:
commercialPrice3InCoCodeCrcy- Valuation price based on commercial law: level 3
-
setDevaluationYearCount
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: DevaluationYearCount
- Parameters:
devaluationYearCount- Lowest value: devaluation indicator
-
setFutureEvaluatedAmountValue
Constraints: Not nullable, Precision: 12, Scale: 3Original property name from the Odata EDM: FutureEvaluatedAmountValue
- Parameters:
futureEvaluatedAmountValue- Future Price
-
setFuturePriceValidityStartDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: FuturePriceValidityStartDate
- Parameters:
futurePriceValidityStartDate- Date as of which the price is valid
-
setIsLIFOAndFIFORelevant
Constraints: noneOriginal property name from the Odata EDM: IsLIFOAndFIFORelevant
- Parameters:
isLIFOAndFIFORelevant- Data element for domain BOOLE: TRUE (='X') and FALSE (=' ')
-
setLIFOValuationPoolNumber
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: LIFOValuationPoolNumber
- Parameters:
lIFOValuationPoolNumber- Pool number for LIFO valuation
-
setTaxPricel1InCoCodeCrcy
Constraints: Not nullable, Precision: 12, Scale: 3Original property name from the Odata EDM: TaxPricel1InCoCodeCrcy
- Parameters:
taxPricel1InCoCodeCrcy- Valuation price based on tax law: level 1
-
setTaxPrice2InCoCodeCrcy
Constraints: Not nullable, Precision: 12, Scale: 3Original property name from the Odata EDM: TaxPrice2InCoCodeCrcy
- Parameters:
taxPrice2InCoCodeCrcy- Valuation price based on tax law: level 2
-
setTaxPrice3InCoCodeCrcy
Constraints: Not nullable, Precision: 12, Scale: 3Original property name from the Odata EDM: TaxPrice3InCoCodeCrcy
- Parameters:
taxPrice3InCoCodeCrcy- Valuation price based on tax law: level 3
-
setCurrency
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: Currency
- Parameters:
currency- Currency Key
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<ProductValuationAccount>
-
getKey
- Overrides:
getKeyin classVdmObject<ProductValuationAccount>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<ProductValuationAccount>
-
fromMap
- Overrides:
fromMapin classVdmObject<ProductValuationAccount>
-
field
@Nonnull public static <T> ProductValuationAccountField<T> field(@Nonnull String fieldName, @Nonnull Class<T> fieldType) Use with available fluent helpers to apply an extension field to query operations.- Type Parameters:
T- The type of the extension field when performing value comparisons.- Parameters:
fieldName- The name of the extension field as returned by the OData service.fieldType- The Java type to use for the extension field when performing value comparisons.- Returns:
- A representation of an extension field from this entity.
-
field
@Nonnull public static <T,DomainT> ProductValuationAccountField<T> field(@Nonnull String fieldName, @Nonnull TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.- Type Parameters:
T- The type of the extension field when performing value comparisons.DomainT- The type of the extension field as returned by the OData service.- Parameters:
typeConverter- A TypeConverter<T, DomainT> instance whose first generic type matches the Java type of the fieldfieldName- The name of the extension field as returned by the OData service.- Returns:
- A representation of an extension field from this entity, holding a reference to the given TypeConverter.
-
getDestinationForFetch
- Overrides:
getDestinationForFetchin classVdmEntity<ProductValuationAccount>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<ProductValuationAccount>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<ProductValuationAccount>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<ProductValuationAccount>
-
builder
-
getProduct
(Key Field) Constraints: Not nullable, Maximum length: 40Original 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
-
getCommercialPrice1InCoCodeCrcy
Constraints: Not nullable, Precision: 12, Scale: 3Original property name from the Odata EDM: CommercialPrice1InCoCodeCrcy
- Returns:
- Valuation price based on commercial law: level 1
-
getCommercialPrice2InCoCodeCrcy
Constraints: Not nullable, Precision: 12, Scale: 3Original property name from the Odata EDM: CommercialPrice2InCoCodeCrcy
- Returns:
- Valuation price based on commercial law: level 2
-
getCommercialPrice3InCoCodeCrcy
Constraints: Not nullable, Precision: 12, Scale: 3Original property name from the Odata EDM: CommercialPrice3InCoCodeCrcy
- Returns:
- Valuation price based on commercial law: level 3
-
getDevaluationYearCount
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: DevaluationYearCount
- Returns:
- Lowest value: devaluation indicator
-
getFutureEvaluatedAmountValue
Constraints: Not nullable, Precision: 12, Scale: 3Original property name from the Odata EDM: FutureEvaluatedAmountValue
- Returns:
- Future Price
-
getFuturePriceValidityStartDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: FuturePriceValidityStartDate
- Returns:
- Date as of which the price is valid
-
getIsLIFOAndFIFORelevant
Constraints: noneOriginal property name from the Odata EDM: IsLIFOAndFIFORelevant
- Returns:
- Data element for domain BOOLE: TRUE (='X') and FALSE (=' ')
-
getLIFOValuationPoolNumber
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: LIFOValuationPoolNumber
- Returns:
- Pool number for LIFO valuation
-
getTaxPricel1InCoCodeCrcy
Constraints: Not nullable, Precision: 12, Scale: 3Original property name from the Odata EDM: TaxPricel1InCoCodeCrcy
- Returns:
- Valuation price based on tax law: level 1
-
getTaxPrice2InCoCodeCrcy
Constraints: Not nullable, Precision: 12, Scale: 3Original property name from the Odata EDM: TaxPrice2InCoCodeCrcy
- Returns:
- Valuation price based on tax law: level 2
-
getTaxPrice3InCoCodeCrcy
Constraints: Not nullable, Precision: 12, Scale: 3Original property name from the Odata EDM: TaxPrice3InCoCodeCrcy
- Returns:
- Valuation price based on tax law: level 3
-
getCurrency
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: Currency
- Returns:
- Currency Key
-
toString
- Overrides:
toStringin classVdmObject<ProductValuationAccount>
-
equals
- Overrides:
equalsin classVdmEntity<ProductValuationAccount>
-
canEqual
- Overrides:
canEqualin classVdmEntity<ProductValuationAccount>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<ProductValuationAccount>
-