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

public class CADunningItem extends VdmEntity<CADunningItem> implements VdmEntitySet
Dunning Item

Original entity name from the Odata EDM: CADunningItem_Type

  • Field Details

  • Constructor Details

    • CADunningItem

      public CADunningItem()
    • CADunningItem

      public CADunningItem(@Nullable LocalDate cAMassRunDate, @Nullable String cAMassRunID, @Nullable String businessPartner, @Nullable String contractAccount, @Nullable String cADunningCounter, @Nullable String cADocumentNumber, @Nullable String cARepetitionItemNumber, @Nullable String cABPItemNumber, @Nullable String cASubItemNumber, @Nullable String companyCode, @Nullable String cAContract, @Nullable String cASubApplication, @Nullable String segment, @Nullable String profitCenter, @Nullable String division, @Nullable String transactionCurrency, @Nullable BigDecimal cADunningAmount, @Nullable BigDecimal cADunningInterestAmount, @Nullable String cADocumentForDunningInterest, @Nullable LocalDate cANetDueDate, @Nullable LocalDate cADunningActivityRunDate, @Nullable LocalDate cAIssueDate, @Nullable String cADunningLevel, @Nullable String cADunningLevelCategory, @Nullable String cANextDunningLevel, @Nullable Boolean cADunningLevelIsOptional, @Nullable Boolean cADunningLevelIsOnlyForIntRsn, @Nullable Boolean cADunningNoticeIsReversed, @Nullable Boolean cADunningNoticeIsInfoOnly, @Nullable String cAStatisticalItemCode, @Nullable Boolean contractAccountIsNotUnique, @Nullable String cADunningProcedure, @Nullable Boolean cAItemHasHigherDunningLevel, @Nullable Boolean cAItemIsCreatedByDunActyRun, @Nullable CADunning to_DunHeader)
  • Method Details

    • getType

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

      public void setCAMassRunDate(@Nullable LocalDate cAMassRunDate)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: CAMassRunDate

      Parameters:
      cAMassRunDate - Date ID
    • setCAMassRunID

      public void setCAMassRunID(@Nullable String cAMassRunID)
      (Key Field) Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: CAMassRunID

      Parameters:
      cAMassRunID - Run ID
    • setBusinessPartner

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

      Original property name from the Odata EDM: BusinessPartner

      Parameters:
      businessPartner - Business Partner Number
    • setContractAccount

      public void setContractAccount(@Nullable String contractAccount)
      (Key Field) Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: ContractAccount

      Parameters:
      contractAccount - Contract Account
    • setCADunningCounter

      public void setCADunningCounter(@Nullable String cADunningCounter)
      (Key Field) Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: CADunningCounter

      Parameters:
      cADunningCounter - Counter for Several Dunning Notices to a Business Partner
    • setCADocumentNumber

      public void setCADocumentNumber(@Nullable String cADocumentNumber)
      (Key Field) Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: CADocumentNumber

      Parameters:
      cADocumentNumber - Number of a FI-CA Document
    • setCARepetitionItemNumber

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

      Original property name from the Odata EDM: CARepetitionItemNumber

      Parameters:
      cARepetitionItemNumber - Repetition Item in FI-CA Document
    • setCABPItemNumber

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

      Original property name from the Odata EDM: CABPItemNumber

      Parameters:
      cABPItemNumber - Item Number in FI-CA Document
    • setCASubItemNumber

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

      Original property name from the Odata EDM: CASubItemNumber

      Parameters:
      cASubItemNumber - Subitem for a Partial Clearing in Document
    • setCompanyCode

      public void setCompanyCode(@Nullable String companyCode)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: CompanyCode

      Parameters:
      companyCode - Company Code
    • setCAContract

      public void setCAContract(@Nullable String cAContract)
      Constraints: Not nullable, Maximum length: 20

      Original property name from the Odata EDM: CAContract

      Parameters:
      cAContract - Reference Specifications from Contract
    • setCASubApplication

      public void setCASubApplication(@Nullable String cASubApplication)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: CASubApplication

      Parameters:
      cASubApplication - Subapplication in Contract Accounts Receivable and Payable
    • setSegment

      public void setSegment(@Nullable String segment)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: Segment

      Parameters:
      segment - Segment for Segmental Reporting
    • setProfitCenter

      public void setProfitCenter(@Nullable String profitCenter)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: ProfitCenter

      Parameters:
      profitCenter - Profit Center
    • setDivision

      public void setDivision(@Nullable String division)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: Division

      Parameters:
      division - Division
    • setTransactionCurrency

      public void setTransactionCurrency(@Nullable String transactionCurrency)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: TransactionCurrency

      Parameters:
      transactionCurrency - Transaction Currency
    • setCADunningAmount

      public void setCADunningAmount(@Nullable BigDecimal cADunningAmount)
      Constraints: Not nullable, Precision: 13, Scale: 0

      Original property name from the Odata EDM: CADunningAmount

      Parameters:
      cADunningAmount - Dunned Amount in Transaction Currency
    • setCADunningInterestAmount

      public void setCADunningInterestAmount(@Nullable BigDecimal cADunningInterestAmount)
      Constraints: Not nullable, Precision: 13, Scale: 0

      Original property name from the Odata EDM: CADunningInterestAmount

      Parameters:
      cADunningInterestAmount - Dunning interest in transaction currency
    • setCADocumentForDunningInterest

      public void setCADocumentForDunningInterest(@Nullable String cADocumentForDunningInterest)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: CADocumentForDunningInterest

      Parameters:
      cADocumentForDunningInterest - Doc no. of interest posting
    • setCANetDueDate

      public void setCANetDueDate(@Nullable LocalDate cANetDueDate)
      Constraints: Nullable

      Original property name from the Odata EDM: CANetDueDate

      Parameters:
      cANetDueDate - Due date for net payment
    • setCADunningActivityRunDate

      public void setCADunningActivityRunDate(@Nullable LocalDate cADunningActivityRunDate)
      Constraints: Nullable

      Original property name from the Odata EDM: CADunningActivityRunDate

      Parameters:
      cADunningActivityRunDate - Execution Date of Dunning Notice
    • setCAIssueDate

      public void setCAIssueDate(@Nullable LocalDate cAIssueDate)
      Constraints: Nullable

      Original property name from the Odata EDM: CAIssueDate

      Parameters:
      cAIssueDate - Date of Issue
    • setCADunningLevel

      public void setCADunningLevel(@Nullable String cADunningLevel)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: CADunningLevel

      Parameters:
      cADunningLevel - Dunning Level
    • setCADunningLevelCategory

      public void setCADunningLevelCategory(@Nullable String cADunningLevelCategory)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: CADunningLevelCategory

      Parameters:
      cADunningLevelCategory - Dunning Level Category
    • setCANextDunningLevel

      public void setCANextDunningLevel(@Nullable String cANextDunningLevel)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: CANextDunningLevel

      Parameters:
      cANextDunningLevel - New dunning level
    • setCADunningLevelIsOptional

      public void setCADunningLevelIsOptional(@Nullable Boolean cADunningLevelIsOptional)
      Constraints: Not nullable

      Original property name from the Odata EDM: CADunningLevelIsOptional

      Parameters:
      cADunningLevelIsOptional - Dunning Level is Optional
    • setCADunningLevelIsOnlyForIntRsn

      public void setCADunningLevelIsOnlyForIntRsn(@Nullable Boolean cADunningLevelIsOnlyForIntRsn)
      Constraints: Not nullable

      Original property name from the Odata EDM: CADunningLevelIsOnlyForIntRsn

      Parameters:
      cADunningLevelIsOnlyForIntRsn - Entry in Dunning History only Technically Conditional
    • setCADunningNoticeIsReversed

      public void setCADunningNoticeIsReversed(@Nullable Boolean cADunningNoticeIsReversed)
      Constraints: Not nullable

      Original property name from the Odata EDM: CADunningNoticeIsReversed

      Parameters:
      cADunningNoticeIsReversed - Dunning Notice Reversed
    • setCADunningNoticeIsInfoOnly

      public void setCADunningNoticeIsInfoOnly(@Nullable Boolean cADunningNoticeIsInfoOnly)
      Constraints: Not nullable

      Original property name from the Odata EDM: CADunningNoticeIsInfoOnly

      Parameters:
      cADunningNoticeIsInfoOnly - Group Not Due For Dunning/Information Only
    • setCAStatisticalItemCode

      public void setCAStatisticalItemCode(@Nullable String cAStatisticalItemCode)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: CAStatisticalItemCode

      Parameters:
      cAStatisticalItemCode - Type of Statistical Line Item
    • setContractAccountIsNotUnique

      public void setContractAccountIsNotUnique(@Nullable Boolean contractAccountIsNotUnique)
      Constraints: Not nullable

      Original property name from the Odata EDM: ContractAccountIsNotUnique

      Parameters:
      contractAccountIsNotUnique - Contract Account Not Unique
    • setCADunningProcedure

      public void setCADunningProcedure(@Nullable String cADunningProcedure)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: CADunningProcedure

      Parameters:
      cADunningProcedure - Dunning Procedure
    • setCAItemHasHigherDunningLevel

      public void setCAItemHasHigherDunningLevel(@Nullable Boolean cAItemHasHigherDunningLevel)
      Constraints: Not nullable

      Original property name from the Odata EDM: CAItemHasHigherDunningLevel

      Parameters:
      cAItemHasHigherDunningLevel - Item has higher dunning level than dunning notice
    • setCAItemIsCreatedByDunActyRun

      public void setCAItemIsCreatedByDunActyRun(@Nullable Boolean cAItemIsCreatedByDunActyRun)
      Constraints: Not nullable

      Original property name from the Odata EDM: CAItemIsCreatedByDunActyRun

      Parameters:
      cAItemIsCreatedByDunActyRun - Dunning Item Created by Dunning Activity Run
    • getEntityCollection

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

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

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

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

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

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

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

      If the navigation property for an entity CADunningItem 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 _DunHeader is already loaded, the result will contain the CADunning entity. If not, an Option with result state empty is returned.
    • setDunHeader

      public void setDunHeader(CADunning value)
      Overwrites the associated CADunning entity for the loaded navigation property _DunHeader.
      Parameters:
      value - New CADunning entity.
    • builder

      @Nonnull public static CADunningItem.CADunningItemBuilder builder()
    • getCAMassRunDate

      @Nullable public LocalDate getCAMassRunDate()
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: CAMassRunDate

      Returns:
      Date ID
    • getCAMassRunID

      @Nullable public String getCAMassRunID()
      (Key Field) Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: CAMassRunID

      Returns:
      Run ID
    • getBusinessPartner

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

      Original property name from the Odata EDM: BusinessPartner

      Returns:
      Business Partner Number
    • getContractAccount

      @Nullable public String getContractAccount()
      (Key Field) Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: ContractAccount

      Returns:
      Contract Account
    • getCADunningCounter

      @Nullable public String getCADunningCounter()
      (Key Field) Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: CADunningCounter

      Returns:
      Counter for Several Dunning Notices to a Business Partner
    • getCADocumentNumber

      @Nullable public String getCADocumentNumber()
      (Key Field) Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: CADocumentNumber

      Returns:
      Number of a FI-CA Document
    • getCARepetitionItemNumber

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

      Original property name from the Odata EDM: CARepetitionItemNumber

      Returns:
      Repetition Item in FI-CA Document
    • getCABPItemNumber

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

      Original property name from the Odata EDM: CABPItemNumber

      Returns:
      Item Number in FI-CA Document
    • getCASubItemNumber

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

      Original property name from the Odata EDM: CASubItemNumber

      Returns:
      Subitem for a Partial Clearing in Document
    • getCompanyCode

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

      Original property name from the Odata EDM: CompanyCode

      Returns:
      Company Code
    • getCAContract

      @Nullable public String getCAContract()
      Constraints: Not nullable, Maximum length: 20

      Original property name from the Odata EDM: CAContract

      Returns:
      Reference Specifications from Contract
    • getCASubApplication

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

      Original property name from the Odata EDM: CASubApplication

      Returns:
      Subapplication in Contract Accounts Receivable and Payable
    • getSegment

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

      Original property name from the Odata EDM: Segment

      Returns:
      Segment for Segmental Reporting
    • getProfitCenter

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

      Original property name from the Odata EDM: ProfitCenter

      Returns:
      Profit Center
    • getDivision

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

      Original property name from the Odata EDM: Division

      Returns:
      Division
    • getTransactionCurrency

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

      Original property name from the Odata EDM: TransactionCurrency

      Returns:
      Transaction Currency
    • getCADunningAmount

      @Nullable public BigDecimal getCADunningAmount()
      Constraints: Not nullable, Precision: 13, Scale: 0

      Original property name from the Odata EDM: CADunningAmount

      Returns:
      Dunned Amount in Transaction Currency
    • getCADunningInterestAmount

      @Nullable public BigDecimal getCADunningInterestAmount()
      Constraints: Not nullable, Precision: 13, Scale: 0

      Original property name from the Odata EDM: CADunningInterestAmount

      Returns:
      Dunning interest in transaction currency
    • getCADocumentForDunningInterest

      @Nullable public String getCADocumentForDunningInterest()
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: CADocumentForDunningInterest

      Returns:
      Doc no. of interest posting
    • getCANetDueDate

      @Nullable public LocalDate getCANetDueDate()
      Constraints: Nullable

      Original property name from the Odata EDM: CANetDueDate

      Returns:
      Due date for net payment
    • getCADunningActivityRunDate

      @Nullable public LocalDate getCADunningActivityRunDate()
      Constraints: Nullable

      Original property name from the Odata EDM: CADunningActivityRunDate

      Returns:
      Execution Date of Dunning Notice
    • getCAIssueDate

      @Nullable public LocalDate getCAIssueDate()
      Constraints: Nullable

      Original property name from the Odata EDM: CAIssueDate

      Returns:
      Date of Issue
    • getCADunningLevel

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

      Original property name from the Odata EDM: CADunningLevel

      Returns:
      Dunning Level
    • getCADunningLevelCategory

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

      Original property name from the Odata EDM: CADunningLevelCategory

      Returns:
      Dunning Level Category
    • getCANextDunningLevel

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

      Original property name from the Odata EDM: CANextDunningLevel

      Returns:
      New dunning level
    • getCADunningLevelIsOptional

      @Nullable public Boolean getCADunningLevelIsOptional()
      Constraints: Not nullable

      Original property name from the Odata EDM: CADunningLevelIsOptional

      Returns:
      Dunning Level is Optional
    • getCADunningLevelIsOnlyForIntRsn

      @Nullable public Boolean getCADunningLevelIsOnlyForIntRsn()
      Constraints: Not nullable

      Original property name from the Odata EDM: CADunningLevelIsOnlyForIntRsn

      Returns:
      Entry in Dunning History only Technically Conditional
    • getCADunningNoticeIsReversed

      @Nullable public Boolean getCADunningNoticeIsReversed()
      Constraints: Not nullable

      Original property name from the Odata EDM: CADunningNoticeIsReversed

      Returns:
      Dunning Notice Reversed
    • getCADunningNoticeIsInfoOnly

      @Nullable public Boolean getCADunningNoticeIsInfoOnly()
      Constraints: Not nullable

      Original property name from the Odata EDM: CADunningNoticeIsInfoOnly

      Returns:
      Group Not Due For Dunning/Information Only
    • getCAStatisticalItemCode

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

      Original property name from the Odata EDM: CAStatisticalItemCode

      Returns:
      Type of Statistical Line Item
    • getContractAccountIsNotUnique

      @Nullable public Boolean getContractAccountIsNotUnique()
      Constraints: Not nullable

      Original property name from the Odata EDM: ContractAccountIsNotUnique

      Returns:
      Contract Account Not Unique
    • getCADunningProcedure

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

      Original property name from the Odata EDM: CADunningProcedure

      Returns:
      Dunning Procedure
    • getCAItemHasHigherDunningLevel

      @Nullable public Boolean getCAItemHasHigherDunningLevel()
      Constraints: Not nullable

      Original property name from the Odata EDM: CAItemHasHigherDunningLevel

      Returns:
      Item has higher dunning level than dunning notice
    • getCAItemIsCreatedByDunActyRun

      @Nullable public Boolean getCAItemIsCreatedByDunActyRun()
      Constraints: Not nullable

      Original property name from the Odata EDM: CAItemIsCreatedByDunActyRun

      Returns:
      Dunning Item Created by Dunning Activity Run
    • toString

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

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

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

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

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