Class ProductValuationCosting

java.lang.Object
com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odatav4.core.VdmEntity<ProductValuationCosting>
com.sap.cloud.sdk.s4hana.datamodel.odatav4.namespaces.product.ProductValuationCosting
All Implemented Interfaces:
VdmEntitySet

public class ProductValuationCosting extends VdmEntity<ProductValuationCosting> implements VdmEntitySet
Product Valuation Costing

Original entity name from the Odata EDM: ProductValuationCosting_Type

  • Field Details

  • Constructor Details

    • ProductValuationCosting

      public ProductValuationCosting()
    • ProductValuationCosting

      public ProductValuationCosting(@Nullable String product, @Nullable String valuationArea, @Nullable String valuationType, @Nullable Boolean productIsCostedWithQtyStruc, @Nullable Boolean isMaterialRelatedOrigin, @Nullable String costOriginGroup, @Nullable String costingOverheadGroup, @Nullable BigDecimal plannedPrice1InCoCodeCrcy, @Nullable BigDecimal plannedPrice2InCoCodeCrcy, @Nullable BigDecimal plannedPrice3InCoCodeCrcy, @Nullable LocalDate futurePlndPrice1ValdtyDate, @Nullable LocalDate futurePlndPrice2ValdtyDate, @Nullable LocalDate futurePlndPrice3ValdtyDate, @Nullable String currency, @Nullable Product to_Product, @Nullable ProductValuation to_ProductValuation)
  • Method Details

    • getType

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

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

      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
    • setProductIsCostedWithQtyStruc

      public void setProductIsCostedWithQtyStruc(@Nullable Boolean productIsCostedWithQtyStruc)
      Constraints: Not nullable

      Original property name from the Odata EDM: ProductIsCostedWithQtyStruc

      Parameters:
      productIsCostedWithQtyStruc - Material Is Costed with Quantity Structure
    • setIsMaterialRelatedOrigin

      public void setIsMaterialRelatedOrigin(@Nullable Boolean isMaterialRelatedOrigin)
      Constraints: Not nullable

      Original property name from the Odata EDM: IsMaterialRelatedOrigin

      Parameters:
      isMaterialRelatedOrigin - Material-related origin
    • setCostOriginGroup

      public void setCostOriginGroup(@Nullable String costOriginGroup)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: CostOriginGroup

      Parameters:
      costOriginGroup - Origin Group as Subdivision of Cost Element
    • setCostingOverheadGroup

      public void setCostingOverheadGroup(@Nullable String costingOverheadGroup)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: CostingOverheadGroup

      Parameters:
      costingOverheadGroup - Costing Overhead Group
    • setPlannedPrice1InCoCodeCrcy

      public void setPlannedPrice1InCoCodeCrcy(@Nullable BigDecimal plannedPrice1InCoCodeCrcy)
      Constraints: Not nullable, Precision: 11, Scale: 0

      Original property name from the Odata EDM: PlannedPrice1InCoCodeCrcy

      Parameters:
      plannedPrice1InCoCodeCrcy - Future Planned Price 1
    • setPlannedPrice2InCoCodeCrcy

      public void setPlannedPrice2InCoCodeCrcy(@Nullable BigDecimal plannedPrice2InCoCodeCrcy)
      Constraints: Not nullable, Precision: 11, Scale: 0

      Original property name from the Odata EDM: PlannedPrice2InCoCodeCrcy

      Parameters:
      plannedPrice2InCoCodeCrcy - Future Planned Price 2
    • setPlannedPrice3InCoCodeCrcy

      public void setPlannedPrice3InCoCodeCrcy(@Nullable BigDecimal plannedPrice3InCoCodeCrcy)
      Constraints: Not nullable, Precision: 11, Scale: 0

      Original property name from the Odata EDM: PlannedPrice3InCoCodeCrcy

      Parameters:
      plannedPrice3InCoCodeCrcy - Future Planned Price 3
    • setFuturePlndPrice1ValdtyDate

      public void setFuturePlndPrice1ValdtyDate(@Nullable LocalDate futurePlndPrice1ValdtyDate)
      Constraints: Nullable

      Original property name from the Odata EDM: FuturePlndPrice1ValdtyDate

      Parameters:
      futurePlndPrice1ValdtyDate - Date from Which Future Planned Price 1 Is Valid
    • setFuturePlndPrice2ValdtyDate

      public void setFuturePlndPrice2ValdtyDate(@Nullable LocalDate futurePlndPrice2ValdtyDate)
      Constraints: Nullable

      Original property name from the Odata EDM: FuturePlndPrice2ValdtyDate

      Parameters:
      futurePlndPrice2ValdtyDate - Date from Which Future Planned Price 2 Is Valid
    • setFuturePlndPrice3ValdtyDate

      public void setFuturePlndPrice3ValdtyDate(@Nullable LocalDate futurePlndPrice3ValdtyDate)
      Constraints: Nullable

      Original property name from the Odata EDM: FuturePlndPrice3ValdtyDate

      Parameters:
      futurePlndPrice3ValdtyDate - Date from Which Future Planned Price 3 Is Valid
    • setCurrency

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

      Original property name from the Odata EDM: Currency

      Parameters:
      currency - Currency Key
    • getEntityCollection

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

      @Nonnull protected ODataEntityKey getKey()
      Overrides:
      getKey in class VdmObject<ProductValuationCosting>
    • toMapOfFields

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

      protected void fromMap(Map<String,Object> inputValues)
      Overrides:
      fromMap in class VdmObject<ProductValuationCosting>
    • getDefaultServicePath

      protected String getDefaultServicePath()
      Overrides:
      getDefaultServicePath in class VdmEntity<ProductValuationCosting>
    • toMapOfNavigationProperties

      @Nonnull protected Map<String,Object> toMapOfNavigationProperties()
      Overrides:
      toMapOfNavigationProperties in class VdmObject<ProductValuationCosting>
    • getProductIfPresent

      @Nonnull public io.vavr.control.Option<Product> getProductIfPresent()
      Retrieval of associated Product entity (one to one). This corresponds to the OData navigation property _Product.

      If the navigation property for an entity ProductValuationCosting has not been resolved yet, this method will not query further information. Instead its Option result state will be empty.

      Returns:
      If the information for navigation property _Product is already loaded, the result will contain the Product entity. If not, an Option with result state empty is returned.
    • setProduct

      public void setProduct(Product value)
      Overwrites the associated Product entity for the loaded navigation property _Product.
      Parameters:
      value - New Product entity.
    • getProductValuationIfPresent

      @Nonnull public io.vavr.control.Option<ProductValuation> getProductValuationIfPresent()
      Retrieval of associated ProductValuation entity (one to one). This corresponds to the OData navigation property _ProductValuation.

      If the navigation property for an entity ProductValuationCosting has not been resolved yet, this method will not query further information. Instead its Option result state will be empty.

      Returns:
      If the information for navigation property _ProductValuation is already loaded, the result will contain the ProductValuation entity. If not, an Option with result state empty is returned.
    • setProductValuation

      public void setProductValuation(ProductValuation value)
      Overwrites the associated ProductValuation entity for the loaded navigation property _ProductValuation.
      Parameters:
      value - New ProductValuation entity.
    • builder

    • getProduct

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

      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
    • getProductIsCostedWithQtyStruc

      @Nullable public Boolean getProductIsCostedWithQtyStruc()
      Constraints: Not nullable

      Original property name from the Odata EDM: ProductIsCostedWithQtyStruc

      Returns:
      Material Is Costed with Quantity Structure
    • getIsMaterialRelatedOrigin

      @Nullable public Boolean getIsMaterialRelatedOrigin()
      Constraints: Not nullable

      Original property name from the Odata EDM: IsMaterialRelatedOrigin

      Returns:
      Material-related origin
    • getCostOriginGroup

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

      Original property name from the Odata EDM: CostOriginGroup

      Returns:
      Origin Group as Subdivision of Cost Element
    • getCostingOverheadGroup

      @Nullable public String getCostingOverheadGroup()
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: CostingOverheadGroup

      Returns:
      Costing Overhead Group
    • getPlannedPrice1InCoCodeCrcy

      @Nullable public BigDecimal getPlannedPrice1InCoCodeCrcy()
      Constraints: Not nullable, Precision: 11, Scale: 0

      Original property name from the Odata EDM: PlannedPrice1InCoCodeCrcy

      Returns:
      Future Planned Price 1
    • getPlannedPrice2InCoCodeCrcy

      @Nullable public BigDecimal getPlannedPrice2InCoCodeCrcy()
      Constraints: Not nullable, Precision: 11, Scale: 0

      Original property name from the Odata EDM: PlannedPrice2InCoCodeCrcy

      Returns:
      Future Planned Price 2
    • getPlannedPrice3InCoCodeCrcy

      @Nullable public BigDecimal getPlannedPrice3InCoCodeCrcy()
      Constraints: Not nullable, Precision: 11, Scale: 0

      Original property name from the Odata EDM: PlannedPrice3InCoCodeCrcy

      Returns:
      Future Planned Price 3
    • getFuturePlndPrice1ValdtyDate

      @Nullable public LocalDate getFuturePlndPrice1ValdtyDate()
      Constraints: Nullable

      Original property name from the Odata EDM: FuturePlndPrice1ValdtyDate

      Returns:
      Date from Which Future Planned Price 1 Is Valid
    • getFuturePlndPrice2ValdtyDate

      @Nullable public LocalDate getFuturePlndPrice2ValdtyDate()
      Constraints: Nullable

      Original property name from the Odata EDM: FuturePlndPrice2ValdtyDate

      Returns:
      Date from Which Future Planned Price 2 Is Valid
    • getFuturePlndPrice3ValdtyDate

      @Nullable public LocalDate getFuturePlndPrice3ValdtyDate()
      Constraints: Nullable

      Original property name from the Odata EDM: FuturePlndPrice3ValdtyDate

      Returns:
      Date from Which Future Planned Price 3 Is Valid
    • getCurrency

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

      Original property name from the Odata EDM: Currency

      Returns:
      Currency Key
    • toString

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

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

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

      public int hashCode()
      Overrides:
      hashCode in class VdmEntity<ProductValuationCosting>
    • getOdataType

      public String getOdataType()
      Specified by:
      getOdataType in class VdmObject<ProductValuationCosting>