public class ProductValuationAccount extends VdmEntity<ProductValuationAccount>
Original entity name from the Odata EDM: A_ProductValuationAccountType
Modifier and Type | Class and Description |
---|---|
static class |
ProductValuationAccount.ProductValuationAccountBuilder |
Modifier and Type | Field and Description |
---|---|
static ProductValuationAccountSelectable |
ALL_FIELDS
Selector for all available fields of ProductValuationAccount.
|
static ProductValuationAccountField<BigDecimal> |
COMMERCIAL_PRICE1_IN_CO_CODE_CRCY
Use with available fluent helpers to apply the CommercialPrice1InCoCodeCrcy field to query operations.
|
static ProductValuationAccountField<BigDecimal> |
COMMERCIAL_PRICE2_IN_CO_CODE_CRCY
Use with available fluent helpers to apply the CommercialPrice2InCoCodeCrcy field to query operations.
|
static ProductValuationAccountField<BigDecimal> |
COMMERCIAL_PRICE3_IN_CO_CODE_CRCY
Use with available fluent helpers to apply the CommercialPrice3InCoCodeCrcy field to query operations.
|
static ProductValuationAccountField<String> |
CURRENCY
Use with available fluent helpers to apply the Currency field to query operations.
|
static ProductValuationAccountField<String> |
DEVALUATION_YEAR_COUNT
Use with available fluent helpers to apply the DevaluationYearCount field to query operations.
|
static ProductValuationAccountField<BigDecimal> |
FUTURE_EVALUATED_AMOUNT_VALUE
Use with available fluent helpers to apply the FutureEvaluatedAmountValue field to query operations.
|
static ProductValuationAccountField<LocalDateTime> |
FUTURE_PRICE_VALIDITY_START_DATE
Use with available fluent helpers to apply the FuturePriceValidityStartDate field to query operations.
|
static ProductValuationAccountField<Boolean> |
IS_LIFO_AND_FIFO_RELEVANT
Use with available fluent helpers to apply the IsLIFOAndFIFORelevant field to query operations.
|
static ProductValuationAccountField<String> |
LIFO_VALUATION_POOL_NUMBER
Use with available fluent helpers to apply the LIFOValuationPoolNumber field to query operations.
|
static ProductValuationAccountField<String> |
PRODUCT
Use with available fluent helpers to apply the Product field to query operations.
|
static ProductValuationAccountField<BigDecimal> |
TAX_PRICE2_IN_CO_CODE_CRCY
Use with available fluent helpers to apply the TaxPrice2InCoCodeCrcy field to query operations.
|
static ProductValuationAccountField<BigDecimal> |
TAX_PRICE3_IN_CO_CODE_CRCY
Use with available fluent helpers to apply the TaxPrice3InCoCodeCrcy field to query operations.
|
static ProductValuationAccountField<BigDecimal> |
TAX_PRICEL1_IN_CO_CODE_CRCY
Use with available fluent helpers to apply the TaxPricel1InCoCodeCrcy field to query operations.
|
static ProductValuationAccountField<String> |
VALUATION_AREA
Use with available fluent helpers to apply the ValuationArea field to query operations.
|
static ProductValuationAccountField<String> |
VALUATION_TYPE
Use with available fluent helpers to apply the ValuationType field to query operations.
|
changedOriginalFields
Constructor and Description |
---|
ProductValuationAccount() |
ProductValuationAccount(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) |
Modifier and Type | Method and Description |
---|---|
void |
attachToService(String servicePath,
HttpDestinationProperties destination)
Sets the service path and destination for the fetch commands of this entity.
|
static ProductValuationAccount.ProductValuationAccountBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
static <T> ProductValuationAccountField<T> |
field(String fieldName,
Class<T> fieldType)
Use with available fluent helpers to apply an extension field to query operations.
|
static <T,DomainT> |
field(String fieldName,
TypeConverter<T,DomainT> typeConverter)
Use with available fluent helpers to apply an extension field to query operations.
|
protected void |
fromMap(Map<String,Object> inputValues) |
BigDecimal |
getCommercialPrice1InCoCodeCrcy()
Constraints: Not nullable, Precision: 12, Scale: 3
|
BigDecimal |
getCommercialPrice2InCoCodeCrcy()
Constraints: Not nullable, Precision: 12, Scale: 3
|
BigDecimal |
getCommercialPrice3InCoCodeCrcy()
Constraints: Not nullable, Precision: 12, Scale: 3
|
String |
getCurrency()
Constraints: Not nullable, Maximum length: 5
|
protected String |
getDefaultServicePath()
Used by fluent helpers and navigation property methods to construct OData queries.
|
HttpDestinationProperties |
getDestinationForFetch()
Convienence field for reusing the same destination with multiple queries (e.g.
|
String |
getDevaluationYearCount()
Constraints: Not nullable, Maximum length: 2
|
protected String |
getEntityCollection()
Used by fluent helpers and navigation property methods to construct OData queries.
|
BigDecimal |
getFutureEvaluatedAmountValue()
Constraints: Not nullable, Precision: 12, Scale: 3
|
LocalDateTime |
getFuturePriceValidityStartDate()
Constraints: Not nullable, Precision: 0
|
Boolean |
getIsLIFOAndFIFORelevant()
Constraints: none
|
protected Map<String,Object> |
getKey() |
String |
getLIFOValuationPoolNumber()
Constraints: Not nullable, Maximum length: 4
|
String |
getProduct()
(Key Field) Constraints: Not nullable, Maximum length: 40
|
BigDecimal |
getTaxPrice2InCoCodeCrcy()
Constraints: Not nullable, Precision: 12, Scale: 3
|
BigDecimal |
getTaxPrice3InCoCodeCrcy()
Constraints: Not nullable, Precision: 12, Scale: 3
|
BigDecimal |
getTaxPricel1InCoCodeCrcy()
Constraints: Not nullable, Precision: 12, Scale: 3
|
Class<ProductValuationAccount> |
getType() |
String |
getValuationArea()
(Key Field) Constraints: Not nullable, Maximum length: 4
|
String |
getValuationType()
(Key Field) Constraints: Not nullable, Maximum length: 10
|
int |
hashCode() |
void |
setCommercialPrice1InCoCodeCrcy(BigDecimal commercialPrice1InCoCodeCrcy)
Constraints: Not nullable, Precision: 12, Scale: 3
|
void |
setCommercialPrice2InCoCodeCrcy(BigDecimal commercialPrice2InCoCodeCrcy)
Constraints: Not nullable, Precision: 12, Scale: 3
|
void |
setCommercialPrice3InCoCodeCrcy(BigDecimal commercialPrice3InCoCodeCrcy)
Constraints: Not nullable, Precision: 12, Scale: 3
|
void |
setCurrency(String currency)
Constraints: Not nullable, Maximum length: 5
|
void |
setDevaluationYearCount(String devaluationYearCount)
Constraints: Not nullable, Maximum length: 2
|
void |
setFutureEvaluatedAmountValue(BigDecimal futureEvaluatedAmountValue)
Constraints: Not nullable, Precision: 12, Scale: 3
|
void |
setFuturePriceValidityStartDate(LocalDateTime futurePriceValidityStartDate)
Constraints: Not nullable, Precision: 0
|
void |
setIsLIFOAndFIFORelevant(Boolean isLIFOAndFIFORelevant)
Constraints: none
|
void |
setLIFOValuationPoolNumber(String lIFOValuationPoolNumber)
Constraints: Not nullable, Maximum length: 4
|
void |
setProduct(String product)
(Key Field) Constraints: Not nullable, Maximum length: 40
|
protected void |
setServicePathForFetch(String servicePathForFetch)
The service path only used for the fetch commands of this entity.
|
void |
setTaxPrice2InCoCodeCrcy(BigDecimal taxPrice2InCoCodeCrcy)
Constraints: Not nullable, Precision: 12, Scale: 3
|
void |
setTaxPrice3InCoCodeCrcy(BigDecimal taxPrice3InCoCodeCrcy)
Constraints: Not nullable, Precision: 12, Scale: 3
|
void |
setTaxPricel1InCoCodeCrcy(BigDecimal taxPricel1InCoCodeCrcy)
Constraints: Not nullable, Precision: 12, Scale: 3
|
void |
setValuationArea(String valuationArea)
(Key Field) Constraints: Not nullable, Maximum length: 4
|
void |
setValuationType(String valuationType)
(Key Field) Constraints: Not nullable, Maximum length: 10
|
protected Map<String,Object> |
toMapOfFields() |
String |
toString() |
getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setVersionIdentifier
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields, toMapOfNavigationProperties
public static final ProductValuationAccountSelectable ALL_FIELDS
public static final ProductValuationAccountField<String> PRODUCT
public static final ProductValuationAccountField<String> VALUATION_AREA
public static final ProductValuationAccountField<String> VALUATION_TYPE
public static final ProductValuationAccountField<BigDecimal> COMMERCIAL_PRICE1_IN_CO_CODE_CRCY
public static final ProductValuationAccountField<BigDecimal> COMMERCIAL_PRICE2_IN_CO_CODE_CRCY
public static final ProductValuationAccountField<BigDecimal> COMMERCIAL_PRICE3_IN_CO_CODE_CRCY
public static final ProductValuationAccountField<String> DEVALUATION_YEAR_COUNT
public static final ProductValuationAccountField<BigDecimal> FUTURE_EVALUATED_AMOUNT_VALUE
public static final ProductValuationAccountField<LocalDateTime> FUTURE_PRICE_VALIDITY_START_DATE
public static final ProductValuationAccountField<Boolean> IS_LIFO_AND_FIFO_RELEVANT
public static final ProductValuationAccountField<String> LIFO_VALUATION_POOL_NUMBER
public static final ProductValuationAccountField<BigDecimal> TAX_PRICEL1_IN_CO_CODE_CRCY
public static final ProductValuationAccountField<BigDecimal> TAX_PRICE2_IN_CO_CODE_CRCY
public static final ProductValuationAccountField<BigDecimal> TAX_PRICE3_IN_CO_CODE_CRCY
public static final ProductValuationAccountField<String> CURRENCY
public 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)
@Nonnull public Class<ProductValuationAccount> getType()
getType
in class VdmObject<ProductValuationAccount>
public void setProduct(@Nullable String product)
Original property name from the Odata EDM: Product
product
- Material Numberpublic void setValuationArea(@Nullable String valuationArea)
Original property name from the Odata EDM: ValuationArea
valuationArea
- Valuation areapublic void setValuationType(@Nullable String valuationType)
Original property name from the Odata EDM: ValuationType
valuationType
- Valuation Typepublic void setCommercialPrice1InCoCodeCrcy(@Nullable BigDecimal commercialPrice1InCoCodeCrcy)
Original property name from the Odata EDM: CommercialPrice1InCoCodeCrcy
commercialPrice1InCoCodeCrcy
- Valuation price based on commercial law: level 1public void setCommercialPrice2InCoCodeCrcy(@Nullable BigDecimal commercialPrice2InCoCodeCrcy)
Original property name from the Odata EDM: CommercialPrice2InCoCodeCrcy
commercialPrice2InCoCodeCrcy
- Valuation price based on commercial law: level 2public void setCommercialPrice3InCoCodeCrcy(@Nullable BigDecimal commercialPrice3InCoCodeCrcy)
Original property name from the Odata EDM: CommercialPrice3InCoCodeCrcy
commercialPrice3InCoCodeCrcy
- Valuation price based on commercial law: level 3public void setDevaluationYearCount(@Nullable String devaluationYearCount)
Original property name from the Odata EDM: DevaluationYearCount
devaluationYearCount
- Lowest value: devaluation indicatorpublic void setFutureEvaluatedAmountValue(@Nullable BigDecimal futureEvaluatedAmountValue)
Original property name from the Odata EDM: FutureEvaluatedAmountValue
futureEvaluatedAmountValue
- Future pricepublic void setFuturePriceValidityStartDate(@Nullable LocalDateTime futurePriceValidityStartDate)
Original property name from the Odata EDM: FuturePriceValidityStartDate
futurePriceValidityStartDate
- Date as of which the price is validpublic void setIsLIFOAndFIFORelevant(@Nullable Boolean isLIFOAndFIFORelevant)
Original property name from the Odata EDM: IsLIFOAndFIFORelevant
isLIFOAndFIFORelevant
- Data element for domain BOOLE: TRUE (='X') and FALSE (=' ')public void setLIFOValuationPoolNumber(@Nullable String lIFOValuationPoolNumber)
Original property name from the Odata EDM: LIFOValuationPoolNumber
lIFOValuationPoolNumber
- Pool number for LIFO valuationpublic void setTaxPricel1InCoCodeCrcy(@Nullable BigDecimal taxPricel1InCoCodeCrcy)
Original property name from the Odata EDM: TaxPricel1InCoCodeCrcy
taxPricel1InCoCodeCrcy
- Valuation price based on tax law: level 1public void setTaxPrice2InCoCodeCrcy(@Nullable BigDecimal taxPrice2InCoCodeCrcy)
Original property name from the Odata EDM: TaxPrice2InCoCodeCrcy
taxPrice2InCoCodeCrcy
- Valuation price based on tax law: level 2public void setTaxPrice3InCoCodeCrcy(@Nullable BigDecimal taxPrice3InCoCodeCrcy)
Original property name from the Odata EDM: TaxPrice3InCoCodeCrcy
taxPrice3InCoCodeCrcy
- Valuation price based on tax law: level 3public void setCurrency(@Nullable String currency)
Original property name from the Odata EDM: Currency
currency
- Currency Keyprotected String getEntityCollection()
VdmEntity
getEntityCollection
in class VdmEntity<ProductValuationAccount>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<ProductValuationAccount>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<ProductValuationAccount>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<ProductValuationAccount>
@Nonnull public static <T> ProductValuationAccountField<T> field(@Nonnull String fieldName, @Nonnull Class<T> fieldType)
T
- The type of the extension field when performing value comparisons.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.@Nonnull public static <T,DomainT> ProductValuationAccountField<T> field(@Nonnull String fieldName, @Nonnull TypeConverter<T,DomainT> typeConverter)
T
- The type of the extension field when performing value comparisons.DomainT
- The type of the extension field as returned by the OData service.typeConverter
- A TypeConverterfieldName
- The name of the extension field as returned by the OData service.@Nullable public HttpDestinationProperties getDestinationForFetch()
VdmEntity
getDestinationForFetch
in class VdmEntity<ProductValuationAccount>
protected void setServicePathForFetch(@Nullable String servicePathForFetch)
VdmEntity
Note: Use with caution, as this can easily break the fetch call on this entity. See the interface of the corresponding service for the default service path.
setServicePathForFetch
in class VdmEntity<ProductValuationAccount>
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination)
VdmEntity
Note: Use with caution, as this can easily break the fetch calls on this entity. See the interface of the corresponding service for the default service path.
attachToService
in class VdmEntity<ProductValuationAccount>
servicePath
- Optional parameter. New service path to apply to this entity and any associated entities that were
previously fetched. If a null value is provided and the service path has never been set, then the
service path will be set to the default defined in the corresponding service interface.destination
- New destination to apply to this entity and any associated entities that were previously fetched.protected String getDefaultServicePath()
VdmEntity
getDefaultServicePath
in class VdmEntity<ProductValuationAccount>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull public static ProductValuationAccount.ProductValuationAccountBuilder builder()
@Nullable public String getProduct()
Original property name from the Odata EDM: Product
@Nullable public String getValuationArea()
Original property name from the Odata EDM: ValuationArea
@Nullable public String getValuationType()
Original property name from the Odata EDM: ValuationType
@Nullable public BigDecimal getCommercialPrice1InCoCodeCrcy()
Original property name from the Odata EDM: CommercialPrice1InCoCodeCrcy
@Nullable public BigDecimal getCommercialPrice2InCoCodeCrcy()
Original property name from the Odata EDM: CommercialPrice2InCoCodeCrcy
@Nullable public BigDecimal getCommercialPrice3InCoCodeCrcy()
Original property name from the Odata EDM: CommercialPrice3InCoCodeCrcy
@Nullable public String getDevaluationYearCount()
Original property name from the Odata EDM: DevaluationYearCount
@Nullable public BigDecimal getFutureEvaluatedAmountValue()
Original property name from the Odata EDM: FutureEvaluatedAmountValue
@Nullable public LocalDateTime getFuturePriceValidityStartDate()
Original property name from the Odata EDM: FuturePriceValidityStartDate
@Nullable public Boolean getIsLIFOAndFIFORelevant()
Original property name from the Odata EDM: IsLIFOAndFIFORelevant
@Nullable public String getLIFOValuationPoolNumber()
Original property name from the Odata EDM: LIFOValuationPoolNumber
@Nullable public BigDecimal getTaxPricel1InCoCodeCrcy()
Original property name from the Odata EDM: TaxPricel1InCoCodeCrcy
@Nullable public BigDecimal getTaxPrice2InCoCodeCrcy()
Original property name from the Odata EDM: TaxPrice2InCoCodeCrcy
@Nullable public BigDecimal getTaxPrice3InCoCodeCrcy()
Original property name from the Odata EDM: TaxPrice3InCoCodeCrcy
@Nullable public String getCurrency()
Original property name from the Odata EDM: Currency
@Nonnull public String toString()
toString
in class VdmObject<ProductValuationAccount>
public boolean equals(@Nullable Object o)
equals
in class VdmObject<ProductValuationAccount>
protected boolean canEqual(@Nullable Object other)
canEqual
in class VdmObject<ProductValuationAccount>
public int hashCode()
hashCode
in class VdmObject<ProductValuationAccount>
Copyright © 2021 SAP SE. All rights reserved.