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

public class CABillgDocSource extends VdmEntity<CABillgDocSource> implements VdmEntitySet
Billing Document Source Item

Original entity name from the Odata EDM: CABillgDocSource_Type

  • Field Details

  • Constructor Details

    • CABillgDocSource

      public CABillgDocSource()
    • CABillgDocSource

      public CABillgDocSource(@Nullable String cABillgDocument, @Nullable String cABillgDocSourceItem, @Nullable String cABillgGroupingSourceItems, @Nullable String cABillgRecordType, @Nullable Boolean cABillgIsDocumentSimulated, @Nullable LocalDate cABillgDocCreationDate, @Nullable String cACnsmpnItmClass, @Nullable String cABllbleItmClass, @Nullable String cABllbleItmStatus, @Nullable String cABllbleItmRecordType, @Nullable String cABllbleItmDatabaseTable, @Nullable String cABillgGroupingBillableItem, @Nullable String cABillgSubprocess, @Nullable String cABllbleItmType, @Nullable String cABllbleItmSourceTransType, @Nullable String cABillgSourceTransRefType, @Nullable String cABillgSourceTransRef, @Nullable Boolean cABllbleItmPrimary, @Nullable String cABllbleItmPrimaryType, @Nullable String cABllbleItmOriginMonth, @Nullable String cABllbleItmCreationMonth, @Nullable BigDecimal cABllbleItmAmount, @Nullable String cABllbleItmCurrency, @Nullable Integer cABllbleItmNumber, @Nullable CABillgDocument to_CABillgDocument)
  • Method Details

    • getType

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

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

      Original property name from the Odata EDM: CABillgDocument

      Parameters:
      cABillgDocument - Number of Billing Document
    • setCABillgDocSourceItem

      public void setCABillgDocSourceItem(@Nullable String cABillgDocSourceItem)
      (Key Field) Constraints: Not nullable, Maximum length: 8

      Original property name from the Odata EDM: CABillgDocSourceItem

      Parameters:
      cABillgDocSourceItem - Sequence Number of Source Item
    • setCABillgGroupingSourceItems

      public void setCABillgGroupingSourceItems(@Nullable String cABillgGroupingSourceItems)
      Constraints: Not nullable, Maximum length: 8

      Original property name from the Odata EDM: CABillgGroupingSourceItems

      Parameters:
      cABillgGroupingSourceItems - Grouping of Source Items
    • setCABillgRecordType

      public void setCABillgRecordType(@Nullable String cABillgRecordType)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: CABillgRecordType

      Parameters:
      cABillgRecordType - Record Type in Billing Document
    • setCABillgIsDocumentSimulated

      public void setCABillgIsDocumentSimulated(@Nullable Boolean cABillgIsDocumentSimulated)
      Constraints: Not nullable

      Original property name from the Odata EDM: CABillgIsDocumentSimulated

      Parameters:
      cABillgIsDocumentSimulated - Billing Document Is Simulated
    • setCABillgDocCreationDate

      public void setCABillgDocCreationDate(@Nullable LocalDate cABillgDocCreationDate)
      Constraints: Nullable

      Original property name from the Odata EDM: CABillgDocCreationDate

      Parameters:
      cABillgDocCreationDate - Date on Which Billing Document Was Created
    • setCACnsmpnItmClass

      public void setCACnsmpnItmClass(@Nullable String cACnsmpnItmClass)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: CACnsmpnItmClass

      Parameters:
      cACnsmpnItmClass - Consumption Item Class
    • setCABllbleItmClass

      public void setCABllbleItmClass(@Nullable String cABllbleItmClass)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: CABllbleItmClass

      Parameters:
      cABllbleItmClass - Billable Item Class
    • setCABllbleItmStatus

      public void setCABllbleItmStatus(@Nullable String cABllbleItmStatus)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: CABllbleItmStatus

      Parameters:
      cABllbleItmStatus - Status of Billable Item
    • setCABllbleItmRecordType

      public void setCABllbleItmRecordType(@Nullable String cABllbleItmRecordType)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: CABllbleItmRecordType

      Parameters:
      cABllbleItmRecordType - Record Type of Billable Item
    • setCABllbleItmDatabaseTable

      public void setCABllbleItmDatabaseTable(@Nullable String cABllbleItmDatabaseTable)
      Constraints: Not nullable, Maximum length: 16

      Original property name from the Odata EDM: CABllbleItmDatabaseTable

      Parameters:
      cABllbleItmDatabaseTable - Billable Item Database Table
    • setCABillgGroupingBillableItem

      public void setCABillgGroupingBillableItem(@Nullable String cABillgGroupingBillableItem)
      Constraints: Not nullable, Maximum length: 8

      Original property name from the Odata EDM: CABillgGroupingBillableItem

      Parameters:
      cABillgGroupingBillableItem - Grouping of Billable Items in Billing Document
    • setCABillgSubprocess

      public void setCABillgSubprocess(@Nullable String cABillgSubprocess)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: CABillgSubprocess

      Parameters:
      cABillgSubprocess - Subprocess of Billing
    • setCABllbleItmType

      public void setCABllbleItmType(@Nullable String cABllbleItmType)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: CABllbleItmType

      Parameters:
      cABllbleItmType - Type of Billable Item
    • setCABllbleItmSourceTransType

      public void setCABllbleItmSourceTransType(@Nullable String cABllbleItmSourceTransType)
      Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: CABllbleItmSourceTransType

      Parameters:
      cABllbleItmSourceTransType - Source Transaction Type
    • setCABillgSourceTransRefType

      public void setCABillgSourceTransRefType(@Nullable String cABillgSourceTransRefType)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: CABillgSourceTransRefType

      Parameters:
      cABillgSourceTransRefType - Type of Reference to Source Transaction in Billing Document
    • setCABillgSourceTransRef

      public void setCABillgSourceTransRef(@Nullable String cABillgSourceTransRef)
      Constraints: Not nullable, Maximum length: 22

      Original property name from the Odata EDM: CABillgSourceTransRef

      Parameters:
      cABillgSourceTransRef - Reference to Source Transaction in Billing Document
    • setCABllbleItmPrimary

      public void setCABllbleItmPrimary(@Nullable Boolean cABllbleItmPrimary)
      Constraints: Not nullable

      Original property name from the Odata EDM: CABllbleItmPrimary

      Parameters:
      cABllbleItmPrimary - Primary Billable Item
    • setCABllbleItmPrimaryType

      public void setCABllbleItmPrimaryType(@Nullable String cABllbleItmPrimaryType)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: CABllbleItmPrimaryType

      Parameters:
      cABllbleItmPrimaryType - Type of Relationship to Primary Item
    • setCABllbleItmOriginMonth

      public void setCABllbleItmOriginMonth(@Nullable String cABllbleItmOriginMonth)
      Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: CABllbleItmOriginMonth

      Parameters:
      cABllbleItmOriginMonth - Month of Origin of Billable Item
    • setCABllbleItmCreationMonth

      public void setCABllbleItmCreationMonth(@Nullable String cABllbleItmCreationMonth)
      Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: CABllbleItmCreationMonth

      Parameters:
      cABllbleItmCreationMonth - Month in Which Billable Item Was Created
    • setCABllbleItmAmount

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

      Original property name from the Odata EDM: CABllbleItmAmount

      Parameters:
      cABllbleItmAmount - Amount of Billable Item
    • setCABllbleItmCurrency

      public void setCABllbleItmCurrency(@Nullable String cABllbleItmCurrency)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: CABllbleItmCurrency

      Parameters:
      cABllbleItmCurrency - Currency of Billable Item
    • setCABllbleItmNumber

      public void setCABllbleItmNumber(@Nullable Integer cABllbleItmNumber)
      Constraints: Not nullable

      Original property name from the Odata EDM: CABllbleItmNumber

      Parameters:
      cABllbleItmNumber - Number of Billable Items
    • getEntityCollection

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

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

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

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

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

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

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

      If the navigation property for an entity CABillgDocSource 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 _CABillgDocument is already loaded, the result will contain the CABillgDocument entity. If not, an Option with result state empty is returned.
    • setCABillgDocument

      public void setCABillgDocument(CABillgDocument value)
      Overwrites the associated CABillgDocument entity for the loaded navigation property _CABillgDocument.
      Parameters:
      value - New CABillgDocument entity.
    • builder

      @Nonnull public static CABillgDocSource.CABillgDocSourceBuilder builder()
    • getCABillgDocument

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

      Original property name from the Odata EDM: CABillgDocument

      Returns:
      Number of Billing Document
    • getCABillgDocSourceItem

      @Nullable public String getCABillgDocSourceItem()
      (Key Field) Constraints: Not nullable, Maximum length: 8

      Original property name from the Odata EDM: CABillgDocSourceItem

      Returns:
      Sequence Number of Source Item
    • getCABillgGroupingSourceItems

      @Nullable public String getCABillgGroupingSourceItems()
      Constraints: Not nullable, Maximum length: 8

      Original property name from the Odata EDM: CABillgGroupingSourceItems

      Returns:
      Grouping of Source Items
    • getCABillgRecordType

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

      Original property name from the Odata EDM: CABillgRecordType

      Returns:
      Record Type in Billing Document
    • getCABillgIsDocumentSimulated

      @Nullable public Boolean getCABillgIsDocumentSimulated()
      Constraints: Not nullable

      Original property name from the Odata EDM: CABillgIsDocumentSimulated

      Returns:
      Billing Document Is Simulated
    • getCABillgDocCreationDate

      @Nullable public LocalDate getCABillgDocCreationDate()
      Constraints: Nullable

      Original property name from the Odata EDM: CABillgDocCreationDate

      Returns:
      Date on Which Billing Document Was Created
    • getCACnsmpnItmClass

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

      Original property name from the Odata EDM: CACnsmpnItmClass

      Returns:
      Consumption Item Class
    • getCABllbleItmClass

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

      Original property name from the Odata EDM: CABllbleItmClass

      Returns:
      Billable Item Class
    • getCABllbleItmStatus

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

      Original property name from the Odata EDM: CABllbleItmStatus

      Returns:
      Status of Billable Item
    • getCABllbleItmRecordType

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

      Original property name from the Odata EDM: CABllbleItmRecordType

      Returns:
      Record Type of Billable Item
    • getCABllbleItmDatabaseTable

      @Nullable public String getCABllbleItmDatabaseTable()
      Constraints: Not nullable, Maximum length: 16

      Original property name from the Odata EDM: CABllbleItmDatabaseTable

      Returns:
      Billable Item Database Table
    • getCABillgGroupingBillableItem

      @Nullable public String getCABillgGroupingBillableItem()
      Constraints: Not nullable, Maximum length: 8

      Original property name from the Odata EDM: CABillgGroupingBillableItem

      Returns:
      Grouping of Billable Items in Billing Document
    • getCABillgSubprocess

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

      Original property name from the Odata EDM: CABillgSubprocess

      Returns:
      Subprocess of Billing
    • getCABllbleItmType

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

      Original property name from the Odata EDM: CABllbleItmType

      Returns:
      Type of Billable Item
    • getCABllbleItmSourceTransType

      @Nullable public String getCABllbleItmSourceTransType()
      Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: CABllbleItmSourceTransType

      Returns:
      Source Transaction Type
    • getCABillgSourceTransRefType

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

      Original property name from the Odata EDM: CABillgSourceTransRefType

      Returns:
      Type of Reference to Source Transaction in Billing Document
    • getCABillgSourceTransRef

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

      Original property name from the Odata EDM: CABillgSourceTransRef

      Returns:
      Reference to Source Transaction in Billing Document
    • getCABllbleItmPrimary

      @Nullable public Boolean getCABllbleItmPrimary()
      Constraints: Not nullable

      Original property name from the Odata EDM: CABllbleItmPrimary

      Returns:
      Primary Billable Item
    • getCABllbleItmPrimaryType

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

      Original property name from the Odata EDM: CABllbleItmPrimaryType

      Returns:
      Type of Relationship to Primary Item
    • getCABllbleItmOriginMonth

      @Nullable public String getCABllbleItmOriginMonth()
      Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: CABllbleItmOriginMonth

      Returns:
      Month of Origin of Billable Item
    • getCABllbleItmCreationMonth

      @Nullable public String getCABllbleItmCreationMonth()
      Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: CABllbleItmCreationMonth

      Returns:
      Month in Which Billable Item Was Created
    • getCABllbleItmAmount

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

      Original property name from the Odata EDM: CABllbleItmAmount

      Returns:
      Amount of Billable Item
    • getCABllbleItmCurrency

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

      Original property name from the Odata EDM: CABllbleItmCurrency

      Returns:
      Currency of Billable Item
    • getCABllbleItmNumber

      @Nullable public Integer getCABllbleItmNumber()
      Constraints: Not nullable

      Original property name from the Odata EDM: CABllbleItmNumber

      Returns:
      Number of Billable Items
    • toString

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

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

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

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

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