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

public class REContrSalesRuleTerm extends VdmEntity<REContrSalesRuleTerm> implements VdmEntitySet
Sales Rule Terms

Original entity name from the Odata EDM: REContrSalesRuleTerm_Type

  • Field Details

  • Constructor Details

    • REContrSalesRuleTerm

      public REContrSalesRuleTerm()
    • REContrSalesRuleTerm

      public REContrSalesRuleTerm(@Nullable String internalRealEstateNumber, @Nullable String rETermNumber, @Nullable String rETermType, @Nullable String validityStartEndDateValue, @Nullable String rESalesReportingTermNumber, @Nullable String rESalesItemNumberGrading, @Nullable LocalDate validityStartDate, @Nullable LocalDate validityEndDate, @Nullable String rETermName, @Nullable String realEstateObjectType, @Nullable String rEStatusObject, @Nullable String rESalesRule, @Nullable Boolean rEIsPeakSalesRule, @Nullable Boolean rESalesRuleIsUsingPeriodicPost, @Nullable String rESalesCurrency, @Nullable String rESalesUnit, @Nullable String rESalesAmountType, @Nullable String rESalesQuantityAmountType, @Nullable BigDecimal rEMinSalesAmount, @Nullable BigDecimal rEMinSalesRptgIntervalAmount, @Nullable BigDecimal rEMinSalesQuantity, @Nullable BigDecimal rEMinSalesRptgIntervalQuantity, @Nullable BigDecimal rEMaxSalesAmount, @Nullable BigDecimal rEMaxSalesQuantity, @Nullable String rESalesUnitGrading, @Nullable BigDecimal rEMinSalesGradingAmount, @Nullable BigDecimal rEMaxSalesGradingAmount, @Nullable BigDecimal rEMinSalesGradingQuantity, @Nullable BigDecimal rEMaxSalesGradingQuantity, @Nullable BigDecimal rEPerUnitGradingPrice, @Nullable BigDecimal rESalesMinRentGradingAmount, @Nullable BigDecimal rESalesRentGradingPercent, @Nullable Collection<SAP__Message> _Messages, @Nullable REContract to_REContract)
  • Method Details

    • getType

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

      public void setInternalRealEstateNumber(@Nullable String internalRealEstateNumber)
      (Key Field) Constraints: Not nullable, Maximum length: 13

      Original property name from the Odata EDM: InternalRealEstateNumber

      Parameters:
      internalRealEstateNumber - Internal Key of Real Estate Object
    • setRETermNumber

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

      Original property name from the Odata EDM: RETermNumber

      Parameters:
      rETermNumber - Term Number
    • setRETermType

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

      Original property name from the Odata EDM: RETermType

      Parameters:
      rETermType - Term Category
    • setValidityStartEndDateValue

      public void setValidityStartEndDateValue(@Nullable String validityStartEndDateValue)
      (Key Field) Constraints: Not nullable, Maximum length: 16

      Original property name from the Odata EDM: ValidityStartEndDateValue

      Parameters:
      validityStartEndDateValue - Date from to (RAP Key)
    • setRESalesReportingTermNumber

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

      Original property name from the Odata EDM: RESalesReportingTermNumber

      Parameters:
      rESalesReportingTermNumber - Term Number of Reporting Rule
    • setRESalesItemNumberGrading

      public void setRESalesItemNumberGrading(@Nullable String rESalesItemNumberGrading)
      (Key Field) Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: RESalesItemNumberGrading

      Parameters:
      rESalesItemNumberGrading - Sequence number for sales amount and percentage
    • setValidityStartDate

      public void setValidityStartDate(@Nullable LocalDate validityStartDate)
      Constraints: Nullable

      Original property name from the Odata EDM: ValidityStartDate

      Parameters:
      validityStartDate - Validity Start Date
    • setValidityEndDate

      public void setValidityEndDate(@Nullable LocalDate validityEndDate)
      Constraints: Nullable

      Original property name from the Odata EDM: ValidityEndDate

      Parameters:
      validityEndDate - Validity End Date
    • setRETermName

      public void setRETermName(@Nullable String rETermName)
      Constraints: Not nullable, Maximum length: 60

      Original property name from the Odata EDM: RETermName

      Parameters:
      rETermName - Name of Term
    • setRealEstateObjectType

      public void setRealEstateObjectType(@Nullable String realEstateObjectType)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: RealEstateObjectType

      Parameters:
      realEstateObjectType - Object Type
    • setREStatusObject

      public void setREStatusObject(@Nullable String rEStatusObject)
      Constraints: Not nullable, Maximum length: 22

      Original property name from the Odata EDM: REStatusObject

      Parameters:
      rEStatusObject - Object Number
    • setRESalesRule

      public void setRESalesRule(@Nullable String rESalesRule)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: RESalesRule

      Parameters:
      rESalesRule - Type of Sales Rule
    • setREIsPeakSalesRule

      public void setREIsPeakSalesRule(@Nullable Boolean rEIsPeakSalesRule)
      Constraints: Not nullable

      Original property name from the Odata EDM: REIsPeakSalesRule

      Parameters:
      rEIsPeakSalesRule - Is a Peak Sales Rule
    • setRESalesRuleIsUsingPeriodicPost

      public void setRESalesRuleIsUsingPeriodicPost(@Nullable Boolean rESalesRuleIsUsingPeriodicPost)
      Constraints: Not nullable

      Original property name from the Odata EDM: RESalesRuleIsUsingPeriodicPost

      Parameters:
      rESalesRuleIsUsingPeriodicPost - Use Periodic Posting Run for Posting
    • setRESalesCurrency

      public void setRESalesCurrency(@Nullable String rESalesCurrency)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: RESalesCurrency

      Parameters:
      rESalesCurrency - Currency Key
    • setRESalesUnit

      public void setRESalesUnit(@Nullable String rESalesUnit)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: RESalesUnit

      Parameters:
      rESalesUnit - Unit of measurement of sales reporting values
    • setRESalesAmountType

      public void setRESalesAmountType(@Nullable String rESalesAmountType)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: RESalesAmountType

      Parameters:
      rESalesAmountType - What Sales Should Be Used for Calculation
    • setRESalesQuantityAmountType

      public void setRESalesQuantityAmountType(@Nullable String rESalesQuantityAmountType)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: RESalesQuantityAmountType

      Parameters:
      rESalesQuantityAmountType - Is Price per Unit of Measure a Net or Gross Pricee
    • setREMinSalesAmount

      public void setREMinSalesAmount(@Nullable BigDecimal rEMinSalesAmount)
      Constraints: Not nullable, Precision: 15, Scale: 0

      Original property name from the Odata EDM: REMinSalesAmount

      Parameters:
      rEMinSalesAmount - Minimum Monetary Sales in the Settlement Period
    • setREMinSalesRptgIntervalAmount

      public void setREMinSalesRptgIntervalAmount(@Nullable BigDecimal rEMinSalesRptgIntervalAmount)
      Constraints: Not nullable, Precision: 15, Scale: 0

      Original property name from the Odata EDM: REMinSalesRptgIntervalAmount

      Parameters:
      rEMinSalesRptgIntervalAmount - Minimum sales in reporting interval
    • setREMinSalesQuantity

      public void setREMinSalesQuantity(@Nullable BigDecimal rEMinSalesQuantity)
      Constraints: Not nullable, Precision: 17, Scale: 4

      Original property name from the Odata EDM: REMinSalesQuantity

      Parameters:
      rEMinSalesQuantity - Minimum Quantitative Sales in Settlement Period
    • setREMinSalesRptgIntervalQuantity

      public void setREMinSalesRptgIntervalQuantity(@Nullable BigDecimal rEMinSalesRptgIntervalQuantity)
      Constraints: Not nullable, Precision: 17, Scale: 4

      Original property name from the Odata EDM: REMinSalesRptgIntervalQuantity

      Parameters:
      rEMinSalesRptgIntervalQuantity - Minimum Quantitative Sales in Reporting Interval
    • setREMaxSalesAmount

      public void setREMaxSalesAmount(@Nullable BigDecimal rEMaxSalesAmount)
      Constraints: Not nullable, Precision: 15, Scale: 0

      Original property name from the Odata EDM: REMaxSalesAmount

      Parameters:
      rEMaxSalesAmount - Maximum (Monetary) Sales in the Settlement Period
    • setREMaxSalesQuantity

      public void setREMaxSalesQuantity(@Nullable BigDecimal rEMaxSalesQuantity)
      Constraints: Not nullable, Precision: 17, Scale: 4

      Original property name from the Odata EDM: REMaxSalesQuantity

      Parameters:
      rEMaxSalesQuantity - Maximum Quantitative Sales in Settlement Period
    • setRESalesUnitGrading

      public void setRESalesUnitGrading(@Nullable String rESalesUnitGrading)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: RESalesUnitGrading

      Parameters:
      rESalesUnitGrading - Unit of measurement of sales reporting values
    • setREMinSalesGradingAmount

      public void setREMinSalesGradingAmount(@Nullable BigDecimal rEMinSalesGradingAmount)
      Constraints: Not nullable, Precision: 15, Scale: 0

      Original property name from the Odata EDM: REMinSalesGradingAmount

      Parameters:
      rEMinSalesGradingAmount - Sales (minimum)
    • setREMaxSalesGradingAmount

      public void setREMaxSalesGradingAmount(@Nullable BigDecimal rEMaxSalesGradingAmount)
      Constraints: Not nullable, Precision: 15, Scale: 0

      Original property name from the Odata EDM: REMaxSalesGradingAmount

      Parameters:
      rEMaxSalesGradingAmount - Sales (maximum)
    • setREMinSalesGradingQuantity

      public void setREMinSalesGradingQuantity(@Nullable BigDecimal rEMinSalesGradingQuantity)
      Constraints: Not nullable, Precision: 17, Scale: 4

      Original property name from the Odata EDM: REMinSalesGradingQuantity

      Parameters:
      rEMinSalesGradingQuantity - Quantitative Sales (Minimum)
    • setREMaxSalesGradingQuantity

      public void setREMaxSalesGradingQuantity(@Nullable BigDecimal rEMaxSalesGradingQuantity)
      Constraints: Not nullable, Precision: 17, Scale: 4

      Original property name from the Odata EDM: REMaxSalesGradingQuantity

      Parameters:
      rEMaxSalesGradingQuantity - Quantitative Sales (Maximum)
    • setREPerUnitGradingPrice

      public void setREPerUnitGradingPrice(@Nullable BigDecimal rEPerUnitGradingPrice)
      Constraints: Not nullable, Precision: 19, Scale: 6

      Original property name from the Odata EDM: REPerUnitGradingPrice

      Parameters:
      rEPerUnitGradingPrice - Amount per unit of measure
    • setRESalesMinRentGradingAmount

      public void setRESalesMinRentGradingAmount(@Nullable BigDecimal rESalesMinRentGradingAmount)
      Constraints: Not nullable, Precision: 15, Scale: 0

      Original property name from the Odata EDM: RESalesMinRentGradingAmount

      Parameters:
      rESalesMinRentGradingAmount - Minimum Rent per Sales Grading
    • setRESalesRentGradingPercent

      public void setRESalesRentGradingPercent(@Nullable BigDecimal rESalesRentGradingPercent)
      Constraints: Not nullable, Precision: 5, Scale: 2

      Original property name from the Odata EDM: RESalesRentGradingPercent

      Parameters:
      rESalesRentGradingPercent - Percentage of sales as rent
    • set_Messages

      public void set_Messages(@Nullable Collection<SAP__Message> _Messages)
      Constraints: Not nullable

      Original property name from the Odata EDM: SAP__Messages

      Parameters:
      _Messages - The _Messages to set.
    • getEntityCollection

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

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

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

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

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

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

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

      If the navigation property for an entity REContrSalesRuleTerm 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 _REContract is already loaded, the result will contain the REContract entity. If not, an Option with result state empty is returned.
    • setREContract

      public void setREContract(REContract value)
      Overwrites the associated REContract entity for the loaded navigation property _REContract.
      Parameters:
      value - New REContract entity.
    • builder

      @Nonnull public static REContrSalesRuleTerm.REContrSalesRuleTermBuilder builder()
    • getInternalRealEstateNumber

      @Nullable public String getInternalRealEstateNumber()
      (Key Field) Constraints: Not nullable, Maximum length: 13

      Original property name from the Odata EDM: InternalRealEstateNumber

      Returns:
      Internal Key of Real Estate Object
    • getRETermNumber

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

      Original property name from the Odata EDM: RETermNumber

      Returns:
      Term Number
    • getRETermType

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

      Original property name from the Odata EDM: RETermType

      Returns:
      Term Category
    • getValidityStartEndDateValue

      @Nullable public String getValidityStartEndDateValue()
      (Key Field) Constraints: Not nullable, Maximum length: 16

      Original property name from the Odata EDM: ValidityStartEndDateValue

      Returns:
      Date from to (RAP Key)
    • getRESalesReportingTermNumber

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

      Original property name from the Odata EDM: RESalesReportingTermNumber

      Returns:
      Term Number of Reporting Rule
    • getRESalesItemNumberGrading

      @Nullable public String getRESalesItemNumberGrading()
      (Key Field) Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: RESalesItemNumberGrading

      Returns:
      Sequence number for sales amount and percentage
    • getValidityStartDate

      @Nullable public LocalDate getValidityStartDate()
      Constraints: Nullable

      Original property name from the Odata EDM: ValidityStartDate

      Returns:
      Validity Start Date
    • getValidityEndDate

      @Nullable public LocalDate getValidityEndDate()
      Constraints: Nullable

      Original property name from the Odata EDM: ValidityEndDate

      Returns:
      Validity End Date
    • getRETermName

      @Nullable public String getRETermName()
      Constraints: Not nullable, Maximum length: 60

      Original property name from the Odata EDM: RETermName

      Returns:
      Name of Term
    • getRealEstateObjectType

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

      Original property name from the Odata EDM: RealEstateObjectType

      Returns:
      Object Type
    • getREStatusObject

      @Nullable public String getREStatusObject()
      Constraints: Not nullable, Maximum length: 22

      Original property name from the Odata EDM: REStatusObject

      Returns:
      Object Number
    • getRESalesRule

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

      Original property name from the Odata EDM: RESalesRule

      Returns:
      Type of Sales Rule
    • getREIsPeakSalesRule

      @Nullable public Boolean getREIsPeakSalesRule()
      Constraints: Not nullable

      Original property name from the Odata EDM: REIsPeakSalesRule

      Returns:
      Is a Peak Sales Rule
    • getRESalesRuleIsUsingPeriodicPost

      @Nullable public Boolean getRESalesRuleIsUsingPeriodicPost()
      Constraints: Not nullable

      Original property name from the Odata EDM: RESalesRuleIsUsingPeriodicPost

      Returns:
      Use Periodic Posting Run for Posting
    • getRESalesCurrency

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

      Original property name from the Odata EDM: RESalesCurrency

      Returns:
      Currency Key
    • getRESalesUnit

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

      Original property name from the Odata EDM: RESalesUnit

      Returns:
      Unit of measurement of sales reporting values
    • getRESalesAmountType

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

      Original property name from the Odata EDM: RESalesAmountType

      Returns:
      What Sales Should Be Used for Calculation
    • getRESalesQuantityAmountType

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

      Original property name from the Odata EDM: RESalesQuantityAmountType

      Returns:
      Is Price per Unit of Measure a Net or Gross Pricee
    • getREMinSalesAmount

      @Nullable public BigDecimal getREMinSalesAmount()
      Constraints: Not nullable, Precision: 15, Scale: 0

      Original property name from the Odata EDM: REMinSalesAmount

      Returns:
      Minimum Monetary Sales in the Settlement Period
    • getREMinSalesRptgIntervalAmount

      @Nullable public BigDecimal getREMinSalesRptgIntervalAmount()
      Constraints: Not nullable, Precision: 15, Scale: 0

      Original property name from the Odata EDM: REMinSalesRptgIntervalAmount

      Returns:
      Minimum sales in reporting interval
    • getREMinSalesQuantity

      @Nullable public BigDecimal getREMinSalesQuantity()
      Constraints: Not nullable, Precision: 17, Scale: 4

      Original property name from the Odata EDM: REMinSalesQuantity

      Returns:
      Minimum Quantitative Sales in Settlement Period
    • getREMinSalesRptgIntervalQuantity

      @Nullable public BigDecimal getREMinSalesRptgIntervalQuantity()
      Constraints: Not nullable, Precision: 17, Scale: 4

      Original property name from the Odata EDM: REMinSalesRptgIntervalQuantity

      Returns:
      Minimum Quantitative Sales in Reporting Interval
    • getREMaxSalesAmount

      @Nullable public BigDecimal getREMaxSalesAmount()
      Constraints: Not nullable, Precision: 15, Scale: 0

      Original property name from the Odata EDM: REMaxSalesAmount

      Returns:
      Maximum (Monetary) Sales in the Settlement Period
    • getREMaxSalesQuantity

      @Nullable public BigDecimal getREMaxSalesQuantity()
      Constraints: Not nullable, Precision: 17, Scale: 4

      Original property name from the Odata EDM: REMaxSalesQuantity

      Returns:
      Maximum Quantitative Sales in Settlement Period
    • getRESalesUnitGrading

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

      Original property name from the Odata EDM: RESalesUnitGrading

      Returns:
      Unit of measurement of sales reporting values
    • getREMinSalesGradingAmount

      @Nullable public BigDecimal getREMinSalesGradingAmount()
      Constraints: Not nullable, Precision: 15, Scale: 0

      Original property name from the Odata EDM: REMinSalesGradingAmount

      Returns:
      Sales (minimum)
    • getREMaxSalesGradingAmount

      @Nullable public BigDecimal getREMaxSalesGradingAmount()
      Constraints: Not nullable, Precision: 15, Scale: 0

      Original property name from the Odata EDM: REMaxSalesGradingAmount

      Returns:
      Sales (maximum)
    • getREMinSalesGradingQuantity

      @Nullable public BigDecimal getREMinSalesGradingQuantity()
      Constraints: Not nullable, Precision: 17, Scale: 4

      Original property name from the Odata EDM: REMinSalesGradingQuantity

      Returns:
      Quantitative Sales (Minimum)
    • getREMaxSalesGradingQuantity

      @Nullable public BigDecimal getREMaxSalesGradingQuantity()
      Constraints: Not nullable, Precision: 17, Scale: 4

      Original property name from the Odata EDM: REMaxSalesGradingQuantity

      Returns:
      Quantitative Sales (Maximum)
    • getREPerUnitGradingPrice

      @Nullable public BigDecimal getREPerUnitGradingPrice()
      Constraints: Not nullable, Precision: 19, Scale: 6

      Original property name from the Odata EDM: REPerUnitGradingPrice

      Returns:
      Amount per unit of measure
    • getRESalesMinRentGradingAmount

      @Nullable public BigDecimal getRESalesMinRentGradingAmount()
      Constraints: Not nullable, Precision: 15, Scale: 0

      Original property name from the Odata EDM: RESalesMinRentGradingAmount

      Returns:
      Minimum Rent per Sales Grading
    • getRESalesRentGradingPercent

      @Nullable public BigDecimal getRESalesRentGradingPercent()
      Constraints: Not nullable, Precision: 5, Scale: 2

      Original property name from the Odata EDM: RESalesRentGradingPercent

      Returns:
      Percentage of sales as rent
    • get_Messages

      @Nullable public Collection<SAP__Message> get_Messages()
      Constraints: Not nullable

      Original property name from the Odata EDM: SAP__Messages

      Returns:
      The _Messages contained in this VdmEntity.
    • toString

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

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

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

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

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