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

public class CAInvcgDocPosting extends VdmEntity<CAInvcgDocPosting> implements VdmEntitySet
Invoicing Document Posting Doc Reference

Original entity name from the Odata EDM: CAInvcgDocPosting_Type

  • Field Details

  • Constructor Details

    • CAInvcgDocPosting

      public CAInvcgDocPosting()
    • CAInvcgDocPosting

      public CAInvcgDocPosting(@Nullable String cAInvoicingDocument, @Nullable String cASequenceNumber, @Nullable String cAInvcgRefPostingDocType, @Nullable String cADocumentNumber, @Nullable String cARepetitionItemNumber, @Nullable String cABPItemNumber, @Nullable Boolean cAInvcgIsPostedInCurrentInvcg, @Nullable CAInvcgDocument to_CAInvcgDocument)
  • Method Details

    • getType

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

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

      Original property name from the Odata EDM: CAInvoicingDocument

      Parameters:
      cAInvoicingDocument - Number of Invoicing Document
    • setCASequenceNumber

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

      Original property name from the Odata EDM: CASequenceNumber

      Parameters:
      cASequenceNumber - Sequence Number
    • setCAInvcgRefPostingDocType

      public void setCAInvcgRefPostingDocType(@Nullable String cAInvcgRefPostingDocType)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: CAInvcgRefPostingDocType

      Parameters:
      cAInvcgRefPostingDocType - Reference Document Type of Posting Document for Invoicing
    • setCADocumentNumber

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

      Original property name from the Odata EDM: CADocumentNumber

      Parameters:
      cADocumentNumber - Document
    • setCARepetitionItemNumber

      public void setCARepetitionItemNumber(@Nullable String cARepetitionItemNumber)
      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)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: CABPItemNumber

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

      public void setCAInvcgIsPostedInCurrentInvcg(@Nullable Boolean cAInvcgIsPostedInCurrentInvcg)
      Constraints: Not nullable

      Original property name from the Odata EDM: CAInvcgIsPostedInCurrentInvcg

      Parameters:
      cAInvcgIsPostedInCurrentInvcg - Document Posted in Current Invoicing
    • getEntityCollection

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

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

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

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

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

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

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

      If the navigation property for an entity CAInvcgDocPosting 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 _CAInvcgDocument is already loaded, the result will contain the CAInvcgDocument entity. If not, an Option with result state empty is returned.
    • setCAInvcgDocument

      public void setCAInvcgDocument(CAInvcgDocument value)
      Overwrites the associated CAInvcgDocument entity for the loaded navigation property _CAInvcgDocument.
      Parameters:
      value - New CAInvcgDocument entity.
    • builder

      @Nonnull public static CAInvcgDocPosting.CAInvcgDocPostingBuilder builder()
    • getCAInvoicingDocument

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

      Original property name from the Odata EDM: CAInvoicingDocument

      Returns:
      Number of Invoicing Document
    • getCASequenceNumber

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

      Original property name from the Odata EDM: CASequenceNumber

      Returns:
      Sequence Number
    • getCAInvcgRefPostingDocType

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

      Original property name from the Odata EDM: CAInvcgRefPostingDocType

      Returns:
      Reference Document Type of Posting Document for Invoicing
    • getCADocumentNumber

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

      Original property name from the Odata EDM: CADocumentNumber

      Returns:
      Document
    • getCARepetitionItemNumber

      @Nullable public String getCARepetitionItemNumber()
      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()
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: CABPItemNumber

      Returns:
      Item Number in FI-CA Document
    • getCAInvcgIsPostedInCurrentInvcg

      @Nullable public Boolean getCAInvcgIsPostedInCurrentInvcg()
      Constraints: Not nullable

      Original property name from the Odata EDM: CAInvcgIsPostedInCurrentInvcg

      Returns:
      Document Posted in Current Invoicing
    • toString

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

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

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

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

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