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

public class CABillgRequestItem extends VdmEntity<CABillgRequestItem> implements VdmEntitySet
Billing Request Item

Original entity name from the Odata EDM: CABillgRequestItem_Type

  • Field Details

  • Constructor Details

    • CABillgRequestItem

      public CABillgRequestItem()
    • CABillgRequestItem

      public CABillgRequestItem(@Nullable String cABillgReqDocument, @Nullable String cABillgReqItem, @Nullable String cABllbleItmListId, @Nullable String cAInvcgReferenceObject, @Nullable String cAReferenceObjectID, @Nullable BigDecimal cABillgReqItmAmount, @Nullable String cABillgReqItmAmountCurrency, @Nullable LocalDate cABillgFirstDate, @Nullable String cABllbleItmClass, @Nullable String cABllbleItmSourceTransType, @Nullable String cABllbleItmSourceTransId, @Nullable UUID cABllbleItmPackageUUID, @Nullable String cABllbleItmPackNo, @Nullable LocalDate cABllbleItmCreationDate, @Nullable UUID cAReferenceBllbleItmPackUUID, @Nullable String cAReferenceBllbleItmPackNo, @Nullable String cAReferenceInvcgDocItem, @Nullable CABillgRequest to_CABillgRequest)
  • Method Details

    • getType

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

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

      Original property name from the Odata EDM: CABillgReqDocument

      Parameters:
      cABillgReqDocument - Billing Request Number
    • setCABillgReqItem

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

      Original property name from the Odata EDM: CABillgReqItem

      Parameters:
      cABillgReqItem - Current Billing Request Item Number
    • setCABllbleItmListId

      public void setCABllbleItmListId(@Nullable String cABllbleItmListId)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: CABllbleItmListId

      Parameters:
      cABllbleItmListId - List ID
    • setCAInvcgReferenceObject

      public void setCAInvcgReferenceObject(@Nullable String cAInvcgReferenceObject)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: CAInvcgReferenceObject

      Parameters:
      cAInvcgReferenceObject - Reference Object
    • setCAReferenceObjectID

      public void setCAReferenceObjectID(@Nullable String cAReferenceObjectID)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: CAReferenceObjectID

      Parameters:
      cAReferenceObjectID - Reference Object ID
    • setCABillgReqItmAmount

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

      Original property name from the Odata EDM: CABillgReqItmAmount

      Parameters:
      cABillgReqItmAmount - Billing Request Item Amount
    • setCABillgReqItmAmountCurrency

      public void setCABillgReqItmAmountCurrency(@Nullable String cABillgReqItmAmountCurrency)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: CABillgReqItmAmountCurrency

      Parameters:
      cABillgReqItmAmountCurrency - Currency of Billing Request Item
    • setCABillgFirstDate

      public void setCABillgFirstDate(@Nullable LocalDate cABillgFirstDate)
      Constraints: Nullable

      Original property name from the Odata EDM: CABillgFirstDate

      Parameters:
      cABillgFirstDate - Target Date for Billing
    • 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
    • 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
    • setCABllbleItmSourceTransId

      public void setCABllbleItmSourceTransId(@Nullable String cABllbleItmSourceTransId)
      Constraints: Not nullable, Maximum length: 22

      Original property name from the Odata EDM: CABllbleItmSourceTransId

      Parameters:
      cABllbleItmSourceTransId - Source Transaction ID
    • setCABllbleItmPackageUUID

      public void setCABllbleItmPackageUUID(@Nullable UUID cABllbleItmPackageUUID)
      Constraints: Nullable

      Original property name from the Odata EDM: CABllbleItmPackageUUID

      Parameters:
      cABllbleItmPackageUUID - GUID of Package of Billable Items
    • setCABllbleItmPackNo

      public void setCABllbleItmPackNo(@Nullable String cABllbleItmPackNo)
      Constraints: Not nullable, Maximum length: 8

      Original property name from the Odata EDM: CABllbleItmPackNo

      Parameters:
      cABllbleItmPackNo - Sequence Number of Billable Item in Package
    • setCABllbleItmCreationDate

      public void setCABllbleItmCreationDate(@Nullable LocalDate cABllbleItmCreationDate)
      Constraints: Nullable

      Original property name from the Odata EDM: CABllbleItmCreationDate

      Parameters:
      cABllbleItmCreationDate - Created On
    • setCAReferenceBllbleItmPackUUID

      public void setCAReferenceBllbleItmPackUUID(@Nullable UUID cAReferenceBllbleItmPackUUID)
      Constraints: Nullable

      Original property name from the Odata EDM: CAReferenceBllbleItmPackUUID

      Parameters:
      cAReferenceBllbleItmPackUUID - GUID of Package of Billable Items
    • setCAReferenceBllbleItmPackNo

      public void setCAReferenceBllbleItmPackNo(@Nullable String cAReferenceBllbleItmPackNo)
      Constraints: Not nullable, Maximum length: 8

      Original property name from the Odata EDM: CAReferenceBllbleItmPackNo

      Parameters:
      cAReferenceBllbleItmPackNo - Sequence Number of Billable Item in Package
    • setCAReferenceInvcgDocItem

      public void setCAReferenceInvcgDocItem(@Nullable String cAReferenceInvcgDocItem)
      Constraints: Not nullable, Maximum length: 8

      Original property name from the Odata EDM: CAReferenceInvcgDocItem

      Parameters:
      cAReferenceInvcgDocItem - Sequential Number of Document Item
    • getEntityCollection

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

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

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

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

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

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

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

      If the navigation property for an entity CABillgRequestItem 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 _CABillgRequest is already loaded, the result will contain the CABillgRequest entity. If not, an Option with result state empty is returned.
    • setCABillgRequest

      public void setCABillgRequest(CABillgRequest value)
      Overwrites the associated CABillgRequest entity for the loaded navigation property _CABillgRequest.
      Parameters:
      value - New CABillgRequest entity.
    • builder

      @Nonnull public static CABillgRequestItem.CABillgRequestItemBuilder builder()
    • getCABillgReqDocument

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

      Original property name from the Odata EDM: CABillgReqDocument

      Returns:
      Billing Request Number
    • getCABillgReqItem

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

      Original property name from the Odata EDM: CABillgReqItem

      Returns:
      Current Billing Request Item Number
    • getCABllbleItmListId

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

      Original property name from the Odata EDM: CABllbleItmListId

      Returns:
      List ID
    • getCAInvcgReferenceObject

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

      Original property name from the Odata EDM: CAInvcgReferenceObject

      Returns:
      Reference Object
    • getCAReferenceObjectID

      @Nullable public String getCAReferenceObjectID()
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: CAReferenceObjectID

      Returns:
      Reference Object ID
    • getCABillgReqItmAmount

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

      Original property name from the Odata EDM: CABillgReqItmAmount

      Returns:
      Billing Request Item Amount
    • getCABillgReqItmAmountCurrency

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

      Original property name from the Odata EDM: CABillgReqItmAmountCurrency

      Returns:
      Currency of Billing Request Item
    • getCABillgFirstDate

      @Nullable public LocalDate getCABillgFirstDate()
      Constraints: Nullable

      Original property name from the Odata EDM: CABillgFirstDate

      Returns:
      Target Date for Billing
    • getCABllbleItmClass

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

      Original property name from the Odata EDM: CABllbleItmClass

      Returns:
      Billable Item Class
    • getCABllbleItmSourceTransType

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

      Original property name from the Odata EDM: CABllbleItmSourceTransType

      Returns:
      Source Transaction Type
    • getCABllbleItmSourceTransId

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

      Original property name from the Odata EDM: CABllbleItmSourceTransId

      Returns:
      Source Transaction ID
    • getCABllbleItmPackageUUID

      @Nullable public UUID getCABllbleItmPackageUUID()
      Constraints: Nullable

      Original property name from the Odata EDM: CABllbleItmPackageUUID

      Returns:
      GUID of Package of Billable Items
    • getCABllbleItmPackNo

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

      Original property name from the Odata EDM: CABllbleItmPackNo

      Returns:
      Sequence Number of Billable Item in Package
    • getCABllbleItmCreationDate

      @Nullable public LocalDate getCABllbleItmCreationDate()
      Constraints: Nullable

      Original property name from the Odata EDM: CABllbleItmCreationDate

      Returns:
      Created On
    • getCAReferenceBllbleItmPackUUID

      @Nullable public UUID getCAReferenceBllbleItmPackUUID()
      Constraints: Nullable

      Original property name from the Odata EDM: CAReferenceBllbleItmPackUUID

      Returns:
      GUID of Package of Billable Items
    • getCAReferenceBllbleItmPackNo

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

      Original property name from the Odata EDM: CAReferenceBllbleItmPackNo

      Returns:
      Sequence Number of Billable Item in Package
    • getCAReferenceInvcgDocItem

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

      Original property name from the Odata EDM: CAReferenceInvcgDocItem

      Returns:
      Sequential Number of Document Item
    • toString

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

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

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

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

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