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

public class REContrSalesRuleFrqcyTerm extends VdmEntity<REContrSalesRuleFrqcyTerm> implements VdmEntitySet
Sales Rule Frequencies

Original entity name from the Odata EDM: REContrSalesRuleFrqcyTerm_Type

  • Field Details

  • Constructor Details

    • REContrSalesRuleFrqcyTerm

      public REContrSalesRuleFrqcyTerm()
    • REContrSalesRuleFrqcyTerm

      public REContrSalesRuleFrqcyTerm(@Nullable String internalRealEstateNumber, @Nullable String rETermNumber, @Nullable String rETermType, @Nullable String rESalesRhythmType, @Nullable String validityStartEndDateValue, @Nullable LocalDate validityStartDate, @Nullable LocalDate validityEndDate, @Nullable String realEstateObjectType, @Nullable String rEStatusObject, @Nullable String rETermName, @Nullable LocalDate rEFrequencyStartDate, @Nullable String rENumberOfFrequencyUnits, @Nullable String rEFrequencyUnit, @Nullable String rEProRataMethod, @Nullable String rEProRataMethodCalc, @Nullable String rEFixedPeriod, @Nullable Boolean rESalesIsCreditPayback, @Nullable Collection<SAP__Message> _Messages, @Nullable REContract to_REContract)
  • Method Details

    • getType

      @Nonnull public Class<REContrSalesRuleFrqcyTerm> getType()
      Specified by:
      getType in class VdmObject<REContrSalesRuleFrqcyTerm>
    • 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 of Sales Rule
    • 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
    • setRESalesRhythmType

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

      Original property name from the Odata EDM: RESalesRhythmType

      Parameters:
      rESalesRhythmType - Type of Frequency
    • 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)
    • 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
    • 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
    • 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
    • setREFrequencyStartDate

      public void setREFrequencyStartDate(@Nullable LocalDate rEFrequencyStartDate)
      Constraints: Nullable

      Original property name from the Odata EDM: REFrequencyStartDate

      Parameters:
      rEFrequencyStartDate - Start of Frequency
    • setRENumberOfFrequencyUnits

      public void setRENumberOfFrequencyUnits(@Nullable String rENumberOfFrequencyUnits)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: RENumberOfFrequencyUnits

      Parameters:
      rENumberOfFrequencyUnits - Number of Frequency Units of Period
    • setREFrequencyUnit

      public void setREFrequencyUnit(@Nullable String rEFrequencyUnit)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: REFrequencyUnit

      Parameters:
      rEFrequencyUnit - Frequency Unit
    • setREProRataMethod

      public void setREProRataMethod(@Nullable String rEProRataMethod)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: REProRataMethod

      Parameters:
      rEProRataMethod - Pro Rata Method
    • setREProRataMethodCalc

      public void setREProRataMethodCalc(@Nullable String rEProRataMethodCalc)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: REProRataMethodCalc

      Parameters:
      rEProRataMethodCalc - Calculation method for time-dependent periods
    • setREFixedPeriod

      public void setREFixedPeriod(@Nullable String rEFixedPeriod)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: REFixedPeriod

      Parameters:
      rEFixedPeriod - Fixed Periods
    • setRESalesIsCreditPayback

      public void setRESalesIsCreditPayback(@Nullable Boolean rESalesIsCreditPayback)
      Constraints: Not nullable

      Original property name from the Odata EDM: RESalesIsCreditPayback

      Parameters:
      rESalesIsCreditPayback - Credits Withing Cumulative Settlement Are Paid
    • 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<REContrSalesRuleFrqcyTerm>
    • getKey

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

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

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

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

      @Nonnull protected Map<String,Object> toMapOfNavigationProperties()
      Overrides:
      toMapOfNavigationProperties in class VdmObject<REContrSalesRuleFrqcyTerm>
    • 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 REContrSalesRuleFrqcyTerm 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

    • 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 of Sales Rule
    • getRETermType

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

      Original property name from the Odata EDM: RETermType

      Returns:
      Term Category
    • getRESalesRhythmType

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

      Original property name from the Odata EDM: RESalesRhythmType

      Returns:
      Type of Frequency
    • 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)
    • 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
    • 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
    • getRETermName

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

      Original property name from the Odata EDM: RETermName

      Returns:
      Name of Term
    • getREFrequencyStartDate

      @Nullable public LocalDate getREFrequencyStartDate()
      Constraints: Nullable

      Original property name from the Odata EDM: REFrequencyStartDate

      Returns:
      Start of Frequency
    • getRENumberOfFrequencyUnits

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

      Original property name from the Odata EDM: RENumberOfFrequencyUnits

      Returns:
      Number of Frequency Units of Period
    • getREFrequencyUnit

      @Nullable public String getREFrequencyUnit()
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: REFrequencyUnit

      Returns:
      Frequency Unit
    • getREProRataMethod

      @Nullable public String getREProRataMethod()
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: REProRataMethod

      Returns:
      Pro Rata Method
    • getREProRataMethodCalc

      @Nullable public String getREProRataMethodCalc()
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: REProRataMethodCalc

      Returns:
      Calculation method for time-dependent periods
    • getREFixedPeriod

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

      Original property name from the Odata EDM: REFixedPeriod

      Returns:
      Fixed Periods
    • getRESalesIsCreditPayback

      @Nullable public Boolean getRESalesIsCreditPayback()
      Constraints: Not nullable

      Original property name from the Odata EDM: RESalesIsCreditPayback

      Returns:
      Credits Withing Cumulative Settlement Are Paid
    • 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<REContrSalesRuleFrqcyTerm>
    • equals

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

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

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

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