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

public class CAInvcgDocSource extends VdmEntity<CAInvcgDocSource> implements VdmEntitySet
Invoicing Document Source Item

Original entity name from the Odata EDM: CAInvcgDocSource_Type

  • Field Details

  • Constructor Details

    • CAInvcgDocSource

      public CAInvcgDocSource()
    • CAInvcgDocSource

      public CAInvcgDocSource(@Nullable String cAInvcgSourceDocumentCat, @Nullable String cAInvcgSourceDocumentNumber, @Nullable String cAInvoicingDocument, @Nullable String cAInvcgSourceDocumentType, @Nullable String logicalSystem, @Nullable String cAApplicationArea, @Nullable Boolean cAInvcgIsDocumentPosted, @Nullable Boolean cAInvcgIsDocumentSimulated, @Nullable Boolean cAInvcgIsDocumentPreliminary, @Nullable String cAInvcgReversalDocument, @Nullable String cAInvcgReversedDocument, @Nullable LocalDate cAInvcgCreationDate, @Nullable LocalTime cAInvcgCreationTime, @Nullable CAInvcgDocument to_CAInvcgDocument)
  • Method Details

    • getType

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

      public void setCAInvcgSourceDocumentCat(@Nullable String cAInvcgSourceDocumentCat)
      (Key Field) Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: CAInvcgSourceDocumentCat

      Parameters:
      cAInvcgSourceDocumentCat - Category of Source Document To Be Invoiced
    • setCAInvcgSourceDocumentNumber

      public void setCAInvcgSourceDocumentNumber(@Nullable String cAInvcgSourceDocumentNumber)
      (Key Field) Constraints: Not nullable, Maximum length: 20

      Original property name from the Odata EDM: CAInvcgSourceDocumentNumber

      Parameters:
      cAInvcgSourceDocumentNumber - Source Document Number
    • 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
    • setCAInvcgSourceDocumentType

      public void setCAInvcgSourceDocumentType(@Nullable String cAInvcgSourceDocumentType)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: CAInvcgSourceDocumentType

      Parameters:
      cAInvcgSourceDocumentType - Type of Source Document to Be Invoiced
    • setLogicalSystem

      public void setLogicalSystem(@Nullable String logicalSystem)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: LogicalSystem

      Parameters:
      logicalSystem - Logical System
    • setCAApplicationArea

      public void setCAApplicationArea(@Nullable String cAApplicationArea)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: CAApplicationArea

      Parameters:
      cAApplicationArea - Application area
    • setCAInvcgIsDocumentPosted

      public void setCAInvcgIsDocumentPosted(@Nullable Boolean cAInvcgIsDocumentPosted)
      Constraints: Not nullable

      Original property name from the Odata EDM: CAInvcgIsDocumentPosted

      Parameters:
      cAInvcgIsDocumentPosted - Invoicing Document Posted
    • setCAInvcgIsDocumentSimulated

      public void setCAInvcgIsDocumentSimulated(@Nullable Boolean cAInvcgIsDocumentSimulated)
      Constraints: Not nullable

      Original property name from the Odata EDM: CAInvcgIsDocumentSimulated

      Parameters:
      cAInvcgIsDocumentSimulated - Invoicing Document Is Simulated
    • setCAInvcgIsDocumentPreliminary

      public void setCAInvcgIsDocumentPreliminary(@Nullable Boolean cAInvcgIsDocumentPreliminary)
      Constraints: Not nullable

      Original property name from the Odata EDM: CAInvcgIsDocumentPreliminary

      Parameters:
      cAInvcgIsDocumentPreliminary - Preliminary Invoice
    • setCAInvcgReversalDocument

      public void setCAInvcgReversalDocument(@Nullable String cAInvcgReversalDocument)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: CAInvcgReversalDocument

      Parameters:
      cAInvcgReversalDocument - Number of Reversal Document for Invoicing Document
    • setCAInvcgReversedDocument

      public void setCAInvcgReversedDocument(@Nullable String cAInvcgReversedDocument)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: CAInvcgReversedDocument

      Parameters:
      cAInvcgReversedDocument - Number of Reversed Invoicing Document
    • setCAInvcgCreationDate

      public void setCAInvcgCreationDate(@Nullable LocalDate cAInvcgCreationDate)
      Constraints: Nullable

      Original property name from the Odata EDM: CAInvcgCreationDate

      Parameters:
      cAInvcgCreationDate - Creation Date of Invoicing Document
    • setCAInvcgCreationTime

      public void setCAInvcgCreationTime(@Nullable LocalTime cAInvcgCreationTime)
      Constraints: Not nullable

      Original property name from the Odata EDM: CAInvcgCreationTime

      Parameters:
      cAInvcgCreationTime - Time of Creation of Invoicing Document
    • getEntityCollection

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

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

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

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

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

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

      @Nullable public String getCAInvcgSourceDocumentCat()
      (Key Field) Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: CAInvcgSourceDocumentCat

      Returns:
      Category of Source Document To Be Invoiced
    • getCAInvcgSourceDocumentNumber

      @Nullable public String getCAInvcgSourceDocumentNumber()
      (Key Field) Constraints: Not nullable, Maximum length: 20

      Original property name from the Odata EDM: CAInvcgSourceDocumentNumber

      Returns:
      Source Document Number
    • 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
    • getCAInvcgSourceDocumentType

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

      Original property name from the Odata EDM: CAInvcgSourceDocumentType

      Returns:
      Type of Source Document to Be Invoiced
    • getLogicalSystem

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

      Original property name from the Odata EDM: LogicalSystem

      Returns:
      Logical System
    • getCAApplicationArea

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

      Original property name from the Odata EDM: CAApplicationArea

      Returns:
      Application area
    • getCAInvcgIsDocumentPosted

      @Nullable public Boolean getCAInvcgIsDocumentPosted()
      Constraints: Not nullable

      Original property name from the Odata EDM: CAInvcgIsDocumentPosted

      Returns:
      Invoicing Document Posted
    • getCAInvcgIsDocumentSimulated

      @Nullable public Boolean getCAInvcgIsDocumentSimulated()
      Constraints: Not nullable

      Original property name from the Odata EDM: CAInvcgIsDocumentSimulated

      Returns:
      Invoicing Document Is Simulated
    • getCAInvcgIsDocumentPreliminary

      @Nullable public Boolean getCAInvcgIsDocumentPreliminary()
      Constraints: Not nullable

      Original property name from the Odata EDM: CAInvcgIsDocumentPreliminary

      Returns:
      Preliminary Invoice
    • getCAInvcgReversalDocument

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

      Original property name from the Odata EDM: CAInvcgReversalDocument

      Returns:
      Number of Reversal Document for Invoicing Document
    • getCAInvcgReversedDocument

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

      Original property name from the Odata EDM: CAInvcgReversedDocument

      Returns:
      Number of Reversed Invoicing Document
    • getCAInvcgCreationDate

      @Nullable public LocalDate getCAInvcgCreationDate()
      Constraints: Nullable

      Original property name from the Odata EDM: CAInvcgCreationDate

      Returns:
      Creation Date of Invoicing Document
    • getCAInvcgCreationTime

      @Nullable public LocalTime getCAInvcgCreationTime()
      Constraints: Not nullable

      Original property name from the Odata EDM: CAInvcgCreationTime

      Returns:
      Time of Creation of Invoicing Document
    • toString

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

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

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

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

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