java.lang.Object
com.sap.cloud.sdk.datamodel.odata.helper.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity<ProductValuationAccount>
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.productmaster.ProductValuationAccount

public class ProductValuationAccount extends VdmEntity<ProductValuationAccount>
Valuation Account Data

Original entity name from the Odata EDM: A_ProductValuationAccountType

  • Field Details

    • ALL_FIELDS

      public static final ProductValuationAccountSelectable ALL_FIELDS
      Selector for all available fields of ProductValuationAccount.
    • PRODUCT

      public static final ProductValuationAccountField<String> PRODUCT
      Use with available fluent helpers to apply the Product field to query operations.
    • VALUATION_AREA

      public static final ProductValuationAccountField<String> VALUATION_AREA
      Use with available fluent helpers to apply the ValuationArea field to query operations.
    • VALUATION_TYPE

      public static final ProductValuationAccountField<String> VALUATION_TYPE
      Use with available fluent helpers to apply the ValuationType field to query operations.
    • COMMERCIAL_PRICE1_IN_CO_CODE_CRCY

      public static final ProductValuationAccountField<BigDecimal> 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

      public static final ProductValuationAccountField<BigDecimal> 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

      public static final ProductValuationAccountField<BigDecimal> COMMERCIAL_PRICE3_IN_CO_CODE_CRCY
      Use with available fluent helpers to apply the CommercialPrice3InCoCodeCrcy field to query operations.
    • DEVALUATION_YEAR_COUNT

      public static final ProductValuationAccountField<String> DEVALUATION_YEAR_COUNT
      Use with available fluent helpers to apply the DevaluationYearCount field to query operations.
    • FUTURE_EVALUATED_AMOUNT_VALUE

      public static final ProductValuationAccountField<BigDecimal> FUTURE_EVALUATED_AMOUNT_VALUE
      Use with available fluent helpers to apply the FutureEvaluatedAmountValue field to query operations.
    • FUTURE_PRICE_VALIDITY_START_DATE

      public static final ProductValuationAccountField<LocalDateTime> FUTURE_PRICE_VALIDITY_START_DATE
      Use with available fluent helpers to apply the FuturePriceValidityStartDate field to query operations.
    • IS_LIFO_AND_FIFO_RELEVANT

      public static final ProductValuationAccountField<Boolean> IS_LIFO_AND_FIFO_RELEVANT
      Use with available fluent helpers to apply the IsLIFOAndFIFORelevant field to query operations.
    • LIFO_VALUATION_POOL_NUMBER

      public static final ProductValuationAccountField<String> LIFO_VALUATION_POOL_NUMBER
      Use with available fluent helpers to apply the LIFOValuationPoolNumber field to query operations.
    • TAX_PRICEL1_IN_CO_CODE_CRCY

      public static final ProductValuationAccountField<BigDecimal> 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

      public static final ProductValuationAccountField<BigDecimal> 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

      public static final ProductValuationAccountField<BigDecimal> TAX_PRICE3_IN_CO_CODE_CRCY
      Use with available fluent helpers to apply the TaxPrice3InCoCodeCrcy field to query operations.
    • CURRENCY

      public static final ProductValuationAccountField<String> 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

      @Nonnull public Class<ProductValuationAccount> getType()
      Specified by:
      getType in class VdmObject<ProductValuationAccount>
    • setProduct

      public void setProduct(@Nullable String product)
      (Key Field) Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: Product

      Parameters:
      product - Product Number
    • setValuationArea

      public void setValuationArea(@Nullable String valuationArea)
      (Key Field) Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: ValuationArea

      Parameters:
      valuationArea - Valuation Area
    • setValuationType

      public void setValuationType(@Nullable String valuationType)
      (Key Field) Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: ValuationType

      Parameters:
      valuationType - Valuation Type
    • setCommercialPrice1InCoCodeCrcy

      public void setCommercialPrice1InCoCodeCrcy(@Nullable BigDecimal commercialPrice1InCoCodeCrcy)
      Constraints: Not nullable, Precision: 12, Scale: 3

      Original property name from the Odata EDM: CommercialPrice1InCoCodeCrcy

      Parameters:
      commercialPrice1InCoCodeCrcy - Valuation price based on commercial law: level 1
    • setCommercialPrice2InCoCodeCrcy

      public void setCommercialPrice2InCoCodeCrcy(@Nullable BigDecimal commercialPrice2InCoCodeCrcy)
      Constraints: Not nullable, Precision: 12, Scale: 3

      Original property name from the Odata EDM: CommercialPrice2InCoCodeCrcy

      Parameters:
      commercialPrice2InCoCodeCrcy - Valuation price based on commercial law: level 2
    • setCommercialPrice3InCoCodeCrcy

      public void setCommercialPrice3InCoCodeCrcy(@Nullable BigDecimal commercialPrice3InCoCodeCrcy)
      Constraints: Not nullable, Precision: 12, Scale: 3

      Original property name from the Odata EDM: CommercialPrice3InCoCodeCrcy

      Parameters:
      commercialPrice3InCoCodeCrcy - Valuation price based on commercial law: level 3
    • setDevaluationYearCount

      public void setDevaluationYearCount(@Nullable String devaluationYearCount)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: DevaluationYearCount

      Parameters:
      devaluationYearCount - Lowest value: devaluation indicator
    • setFutureEvaluatedAmountValue

      public void setFutureEvaluatedAmountValue(@Nullable BigDecimal futureEvaluatedAmountValue)
      Constraints: Not nullable, Precision: 12, Scale: 3

      Original property name from the Odata EDM: FutureEvaluatedAmountValue

      Parameters:
      futureEvaluatedAmountValue - Future Price
    • setFuturePriceValidityStartDate

      public void setFuturePriceValidityStartDate(@Nullable LocalDateTime futurePriceValidityStartDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: FuturePriceValidityStartDate

      Parameters:
      futurePriceValidityStartDate - Date as of which the price is valid
    • setIsLIFOAndFIFORelevant

      public void setIsLIFOAndFIFORelevant(@Nullable Boolean isLIFOAndFIFORelevant)
      Constraints: none

      Original property name from the Odata EDM: IsLIFOAndFIFORelevant

      Parameters:
      isLIFOAndFIFORelevant - Data element for domain BOOLE: TRUE (='X') and FALSE (=' ')
    • setLIFOValuationPoolNumber

      public void setLIFOValuationPoolNumber(@Nullable String lIFOValuationPoolNumber)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: LIFOValuationPoolNumber

      Parameters:
      lIFOValuationPoolNumber - Pool number for LIFO valuation
    • setTaxPricel1InCoCodeCrcy

      public void setTaxPricel1InCoCodeCrcy(@Nullable BigDecimal taxPricel1InCoCodeCrcy)
      Constraints: Not nullable, Precision: 12, Scale: 3

      Original property name from the Odata EDM: TaxPricel1InCoCodeCrcy

      Parameters:
      taxPricel1InCoCodeCrcy - Valuation price based on tax law: level 1
    • setTaxPrice2InCoCodeCrcy

      public void setTaxPrice2InCoCodeCrcy(@Nullable BigDecimal taxPrice2InCoCodeCrcy)
      Constraints: Not nullable, Precision: 12, Scale: 3

      Original property name from the Odata EDM: TaxPrice2InCoCodeCrcy

      Parameters:
      taxPrice2InCoCodeCrcy - Valuation price based on tax law: level 2
    • setTaxPrice3InCoCodeCrcy

      public void setTaxPrice3InCoCodeCrcy(@Nullable BigDecimal taxPrice3InCoCodeCrcy)
      Constraints: Not nullable, Precision: 12, Scale: 3

      Original property name from the Odata EDM: TaxPrice3InCoCodeCrcy

      Parameters:
      taxPrice3InCoCodeCrcy - Valuation price based on tax law: level 3
    • setCurrency

      public void setCurrency(@Nullable String currency)
      Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: Currency

      Parameters:
      currency - Currency Key
    • getEntityCollection

      protected String getEntityCollection()
      Specified by:
      getEntityCollection in class VdmEntity<ProductValuationAccount>
    • getKey

      @Nonnull protected Map<String,Object> getKey()
      Overrides:
      getKey in class VdmObject<ProductValuationAccount>
    • toMapOfFields

      @Nonnull protected Map<String,Object> toMapOfFields()
      Overrides:
      toMapOfFields in class VdmObject<ProductValuationAccount>
    • fromMap

      protected void fromMap(Map<String,Object> inputValues)
      Overrides:
      fromMap in class VdmObject<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 field
      fieldName - 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

      @Nullable public HttpDestinationProperties getDestinationForFetch()
      Overrides:
      getDestinationForFetch in class VdmEntity<ProductValuationAccount>
    • setServicePathForFetch

      protected void setServicePathForFetch(@Nullable String servicePathForFetch)
      Overrides:
      setServicePathForFetch in class VdmEntity<ProductValuationAccount>
    • attachToService

      public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination)
      Overrides:
      attachToService in class VdmEntity<ProductValuationAccount>
    • getDefaultServicePath

      protected String getDefaultServicePath()
      Overrides:
      getDefaultServicePath in class VdmEntity<ProductValuationAccount>
    • builder

    • getProduct

      @Nullable public String getProduct()
      (Key Field) Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: Product

      Returns:
      Product Number
    • getValuationArea

      @Nullable public String getValuationArea()
      (Key Field) Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: ValuationArea

      Returns:
      Valuation Area
    • getValuationType

      @Nullable public String getValuationType()
      (Key Field) Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: ValuationType

      Returns:
      Valuation Type
    • getCommercialPrice1InCoCodeCrcy

      @Nullable public BigDecimal getCommercialPrice1InCoCodeCrcy()
      Constraints: Not nullable, Precision: 12, Scale: 3

      Original property name from the Odata EDM: CommercialPrice1InCoCodeCrcy

      Returns:
      Valuation price based on commercial law: level 1
    • getCommercialPrice2InCoCodeCrcy

      @Nullable public BigDecimal getCommercialPrice2InCoCodeCrcy()
      Constraints: Not nullable, Precision: 12, Scale: 3

      Original property name from the Odata EDM: CommercialPrice2InCoCodeCrcy

      Returns:
      Valuation price based on commercial law: level 2
    • getCommercialPrice3InCoCodeCrcy

      @Nullable public BigDecimal getCommercialPrice3InCoCodeCrcy()
      Constraints: Not nullable, Precision: 12, Scale: 3

      Original property name from the Odata EDM: CommercialPrice3InCoCodeCrcy

      Returns:
      Valuation price based on commercial law: level 3
    • getDevaluationYearCount

      @Nullable public String getDevaluationYearCount()
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: DevaluationYearCount

      Returns:
      Lowest value: devaluation indicator
    • getFutureEvaluatedAmountValue

      @Nullable public BigDecimal getFutureEvaluatedAmountValue()
      Constraints: Not nullable, Precision: 12, Scale: 3

      Original property name from the Odata EDM: FutureEvaluatedAmountValue

      Returns:
      Future Price
    • getFuturePriceValidityStartDate

      @Nullable public LocalDateTime getFuturePriceValidityStartDate()
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: FuturePriceValidityStartDate

      Returns:
      Date as of which the price is valid
    • getIsLIFOAndFIFORelevant

      @Nullable public Boolean getIsLIFOAndFIFORelevant()
      Constraints: none

      Original property name from the Odata EDM: IsLIFOAndFIFORelevant

      Returns:
      Data element for domain BOOLE: TRUE (='X') and FALSE (=' ')
    • getLIFOValuationPoolNumber

      @Nullable public String getLIFOValuationPoolNumber()
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: LIFOValuationPoolNumber

      Returns:
      Pool number for LIFO valuation
    • getTaxPricel1InCoCodeCrcy

      @Nullable public BigDecimal getTaxPricel1InCoCodeCrcy()
      Constraints: Not nullable, Precision: 12, Scale: 3

      Original property name from the Odata EDM: TaxPricel1InCoCodeCrcy

      Returns:
      Valuation price based on tax law: level 1
    • getTaxPrice2InCoCodeCrcy

      @Nullable public BigDecimal getTaxPrice2InCoCodeCrcy()
      Constraints: Not nullable, Precision: 12, Scale: 3

      Original property name from the Odata EDM: TaxPrice2InCoCodeCrcy

      Returns:
      Valuation price based on tax law: level 2
    • getTaxPrice3InCoCodeCrcy

      @Nullable public BigDecimal getTaxPrice3InCoCodeCrcy()
      Constraints: Not nullable, Precision: 12, Scale: 3

      Original property name from the Odata EDM: TaxPrice3InCoCodeCrcy

      Returns:
      Valuation price based on tax law: level 3
    • getCurrency

      @Nullable public String getCurrency()
      Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: Currency

      Returns:
      Currency Key
    • toString

      @Nonnull public String toString()
      Overrides:
      toString in class VdmObject<ProductValuationAccount>
    • equals

      public boolean equals(@Nullable Object o)
      Overrides:
      equals in class VdmEntity<ProductValuationAccount>
    • canEqual

      protected boolean canEqual(@Nullable Object other)
      Overrides:
      canEqual in class VdmEntity<ProductValuationAccount>
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class VdmEntity<ProductValuationAccount>