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

public class CABillgRequest extends VdmEntity<CABillgRequest> implements VdmEntitySet
Billing Request

Original entity name from the Odata EDM: CABillgRequest_Type

  • Field Details

  • Constructor Details

    • CABillgRequest

      public CABillgRequest()
    • CABillgRequest

      public CABillgRequest(@Nullable String cABillgReqDocument, @Nullable String cABillgReqCategory, @Nullable String cABillgReqType, @Nullable String cABillgReqReason, @Nullable String cAApplicationArea, @Nullable String contractAccount, @Nullable String businessPartner, @Nullable String cAInvoicingDocument, @Nullable String cABillgReqDescription, @Nullable String cABillgReqStatus, @Nullable BigDecimal cABillgReqTotalAmount, @Nullable String cABillgReqTotalAmountCurrency, @Nullable String cABillgReqCreationUser, @Nullable LocalDate cABillgReqCreationDate, @Nullable LocalTime cABillgReqCreationTime, @Nullable String cABillgReqChangeUser, @Nullable LocalDate cABillgReqChangeDate, @Nullable LocalTime cABillgReqChangeTime, @Nullable Boolean cAClrfctnExist, @Nullable String cABillgReqReference, @Nullable Integer cABillgReqNumberOfItems, @Nullable String logicalSystem, @Nullable String cABllbleItmListId, @Nullable LocalDate cADeletionDate, @Nullable LocalDate cABillgReqCompletionDate, @Nullable Collection<SAP__Message> _Messages, List<CABillgRequestItem> to_CABillgRequestItem)
  • Method Details

    • getType

      @Nonnull public Class<CABillgRequest> getType()
      Specified by:
      getType in class VdmObject<CABillgRequest>
    • 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
    • setCABillgReqCategory

      public void setCABillgReqCategory(@Nullable String cABillgReqCategory)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: CABillgReqCategory

      Parameters:
      cABillgReqCategory - Billing Request Category
    • setCABillgReqType

      public void setCABillgReqType(@Nullable String cABillgReqType)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: CABillgReqType

      Parameters:
      cABillgReqType - Billing Request Type
    • setCABillgReqReason

      public void setCABillgReqReason(@Nullable String cABillgReqReason)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: CABillgReqReason

      Parameters:
      cABillgReqReason - Reason for Billing Request
    • 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
    • setContractAccount

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

      Original property name from the Odata EDM: ContractAccount

      Parameters:
      contractAccount - Contract Account Number
    • setBusinessPartner

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

      Original property name from the Odata EDM: BusinessPartner

      Parameters:
      businessPartner - Business Partner Number
    • setCAInvoicingDocument

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

      Original property name from the Odata EDM: CAInvoicingDocument

      Parameters:
      cAInvoicingDocument - Number of Invoicing Document
    • setCABillgReqDescription

      public void setCABillgReqDescription(@Nullable String cABillgReqDescription)
      Constraints: Not nullable, Maximum length: 60

      Original property name from the Odata EDM: CABillgReqDescription

      Parameters:
      cABillgReqDescription - Billing Request Description
    • setCABillgReqStatus

      public void setCABillgReqStatus(@Nullable String cABillgReqStatus)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: CABillgReqStatus

      Parameters:
      cABillgReqStatus - Status of Billing Order
    • setCABillgReqTotalAmount

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

      Original property name from the Odata EDM: CABillgReqTotalAmount

      Parameters:
      cABillgReqTotalAmount - Total Amount of Billing Request
    • setCABillgReqTotalAmountCurrency

      public void setCABillgReqTotalAmountCurrency(@Nullable String cABillgReqTotalAmountCurrency)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: CABillgReqTotalAmountCurrency

      Parameters:
      cABillgReqTotalAmountCurrency - Transaction Currency
    • setCABillgReqCreationUser

      public void setCABillgReqCreationUser(@Nullable String cABillgReqCreationUser)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: CABillgReqCreationUser

      Parameters:
      cABillgReqCreationUser - User Who Created the Billing Request
    • setCABillgReqCreationDate

      public void setCABillgReqCreationDate(@Nullable LocalDate cABillgReqCreationDate)
      Constraints: Nullable

      Original property name from the Odata EDM: CABillgReqCreationDate

      Parameters:
      cABillgReqCreationDate - Creation Date of Billing Request
    • setCABillgReqCreationTime

      public void setCABillgReqCreationTime(@Nullable LocalTime cABillgReqCreationTime)
      Constraints: Not nullable

      Original property name from the Odata EDM: CABillgReqCreationTime

      Parameters:
      cABillgReqCreationTime - Creation Time of Billing Request
    • setCABillgReqChangeUser

      public void setCABillgReqChangeUser(@Nullable String cABillgReqChangeUser)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: CABillgReqChangeUser

      Parameters:
      cABillgReqChangeUser - User Who Changed the Billing Request
    • setCABillgReqChangeDate

      public void setCABillgReqChangeDate(@Nullable LocalDate cABillgReqChangeDate)
      Constraints: Nullable

      Original property name from the Odata EDM: CABillgReqChangeDate

      Parameters:
      cABillgReqChangeDate - Change Date of Billing Request
    • setCABillgReqChangeTime

      public void setCABillgReqChangeTime(@Nullable LocalTime cABillgReqChangeTime)
      Constraints: Not nullable

      Original property name from the Odata EDM: CABillgReqChangeTime

      Parameters:
      cABillgReqChangeTime - Billing Request Last Changed At
    • setCAClrfctnExist

      public void setCAClrfctnExist(@Nullable Boolean cAClrfctnExist)
      Constraints: Not nullable

      Original property name from the Odata EDM: CAClrfctnExist

      Parameters:
      cAClrfctnExist - Validity Test Negative
    • setCABillgReqReference

      public void setCABillgReqReference(@Nullable String cABillgReqReference)
      Constraints: Not nullable, Maximum length: 32

      Original property name from the Odata EDM: CABillgReqReference

      Parameters:
      cABillgReqReference - External Reference of Billing Request
    • setCABillgReqNumberOfItems

      public void setCABillgReqNumberOfItems(@Nullable Integer cABillgReqNumberOfItems)
      Constraints: Not nullable

      Original property name from the Odata EDM: CABillgReqNumberOfItems

      Parameters:
      cABillgReqNumberOfItems - Total Number of Billing Request Items
    • 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
    • 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
    • setCADeletionDate

      public void setCADeletionDate(@Nullable LocalDate cADeletionDate)
      Constraints: Nullable

      Original property name from the Odata EDM: CADeletionDate

      Parameters:
      cADeletionDate - Date on which the entry can be deleted again
    • setCABillgReqCompletionDate

      public void setCABillgReqCompletionDate(@Nullable LocalDate cABillgReqCompletionDate)
      Constraints: Nullable

      Original property name from the Odata EDM: CABillgReqCompletionDate

      Parameters:
      cABillgReqCompletionDate - Completion Date of Billing Request
    • set_Messages

      public void set_Messages(@Nullable Collection<SAP__Message> _Messages)
      Constraints: Not nullable

      Original property name from the Odata EDM: SAP__Messages

      Parameters:
      _Messages - The _Messages to set.
    • getEntityCollection

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

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

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

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

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

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

      @Nonnull public io.vavr.control.Option<List<CABillgRequestItem>> getCABillgRequestItemIfPresent()
      Retrieval of associated CABillgRequestItem entities (one to many). This corresponds to the OData navigation property _CABillgRequestItem.

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

      public void setCABillgRequestItem(@Nonnull List<CABillgRequestItem> value)
      Overwrites the list of associated CABillgRequestItem entities for the loaded navigation property _CABillgRequestItem.

      If the navigation property _CABillgRequestItem of a queried CABillgRequest is operated lazily, an ODataException can be thrown in case of an OData query error.

      Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.

      Parameters:
      value - List of CABillgRequestItem entities.
    • addCABillgRequestItem

      public void addCABillgRequestItem(CABillgRequestItem... entity)
      Adds elements to the list of associated CABillgRequestItem entities. This corresponds to the OData navigation property _CABillgRequestItem.

      If the navigation property _CABillgRequestItem of a queried CABillgRequest is operated lazily, an ODataException can be thrown in case of an OData query error.

      Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.

      Parameters:
      entity - Array of CABillgRequestItem entities.
    • reject

      @Nonnull public static BoundAction.SingleToSingle<CABillgRequest,CABillgRequest> reject()
      Action that can be applied to any entity object of this class.

      Returns:
      Action object prepared with the given parameters to be applied to any entity object of this class.

      To execute it use the service.forEntity(entity).applyAction(thisAction) API.
    • release

      @Nonnull public static BoundAction.SingleToSingle<CABillgRequest,CABillgRequest> release()
      Action that can be applied to any entity object of this class.

      Returns:
      Action object prepared with the given parameters to be applied to any entity object of this class.

      To execute it use the service.forEntity(entity).applyAction(thisAction) API.
    • cancel

      @Nonnull public static BoundAction.SingleToSingle<CABillgRequest,CABillgRequest> cancel()
      Action that can be applied to any entity object of this class.

      Returns:
      Action object prepared with the given parameters to be applied to any entity object of this class.

      To execute it use the service.forEntity(entity).applyAction(thisAction) API.
    • setToForChecking

      @Nonnull public static BoundAction.SingleToSingle<CABillgRequest,CABillgRequest> setToForChecking()
      Action that can be applied to any entity object of this class.

      Returns:
      Action object prepared with the given parameters to be applied to any entity object of this class.

      To execute it use the service.forEntity(entity).applyAction(thisAction) API.
    • builder

      @Nonnull public static CABillgRequest.CABillgRequestBuilder 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
    • getCABillgReqCategory

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

      Original property name from the Odata EDM: CABillgReqCategory

      Returns:
      Billing Request Category
    • getCABillgReqType

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

      Original property name from the Odata EDM: CABillgReqType

      Returns:
      Billing Request Type
    • getCABillgReqReason

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

      Original property name from the Odata EDM: CABillgReqReason

      Returns:
      Reason for Billing Request
    • getCAApplicationArea

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

      Original property name from the Odata EDM: CAApplicationArea

      Returns:
      Application area
    • getContractAccount

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

      Original property name from the Odata EDM: ContractAccount

      Returns:
      Contract Account Number
    • getBusinessPartner

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

      Original property name from the Odata EDM: BusinessPartner

      Returns:
      Business Partner Number
    • getCAInvoicingDocument

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

      Original property name from the Odata EDM: CAInvoicingDocument

      Returns:
      Number of Invoicing Document
    • getCABillgReqDescription

      @Nullable public String getCABillgReqDescription()
      Constraints: Not nullable, Maximum length: 60

      Original property name from the Odata EDM: CABillgReqDescription

      Returns:
      Billing Request Description
    • getCABillgReqStatus

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

      Original property name from the Odata EDM: CABillgReqStatus

      Returns:
      Status of Billing Order
    • getCABillgReqTotalAmount

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

      Original property name from the Odata EDM: CABillgReqTotalAmount

      Returns:
      Total Amount of Billing Request
    • getCABillgReqTotalAmountCurrency

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

      Original property name from the Odata EDM: CABillgReqTotalAmountCurrency

      Returns:
      Transaction Currency
    • getCABillgReqCreationUser

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

      Original property name from the Odata EDM: CABillgReqCreationUser

      Returns:
      User Who Created the Billing Request
    • getCABillgReqCreationDate

      @Nullable public LocalDate getCABillgReqCreationDate()
      Constraints: Nullable

      Original property name from the Odata EDM: CABillgReqCreationDate

      Returns:
      Creation Date of Billing Request
    • getCABillgReqCreationTime

      @Nullable public LocalTime getCABillgReqCreationTime()
      Constraints: Not nullable

      Original property name from the Odata EDM: CABillgReqCreationTime

      Returns:
      Creation Time of Billing Request
    • getCABillgReqChangeUser

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

      Original property name from the Odata EDM: CABillgReqChangeUser

      Returns:
      User Who Changed the Billing Request
    • getCABillgReqChangeDate

      @Nullable public LocalDate getCABillgReqChangeDate()
      Constraints: Nullable

      Original property name from the Odata EDM: CABillgReqChangeDate

      Returns:
      Change Date of Billing Request
    • getCABillgReqChangeTime

      @Nullable public LocalTime getCABillgReqChangeTime()
      Constraints: Not nullable

      Original property name from the Odata EDM: CABillgReqChangeTime

      Returns:
      Billing Request Last Changed At
    • getCAClrfctnExist

      @Nullable public Boolean getCAClrfctnExist()
      Constraints: Not nullable

      Original property name from the Odata EDM: CAClrfctnExist

      Returns:
      Validity Test Negative
    • getCABillgReqReference

      @Nullable public String getCABillgReqReference()
      Constraints: Not nullable, Maximum length: 32

      Original property name from the Odata EDM: CABillgReqReference

      Returns:
      External Reference of Billing Request
    • getCABillgReqNumberOfItems

      @Nullable public Integer getCABillgReqNumberOfItems()
      Constraints: Not nullable

      Original property name from the Odata EDM: CABillgReqNumberOfItems

      Returns:
      Total Number of Billing Request Items
    • getLogicalSystem

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

      Original property name from the Odata EDM: LogicalSystem

      Returns:
      Logical System
    • getCABllbleItmListId

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

      Original property name from the Odata EDM: CABllbleItmListId

      Returns:
      List ID
    • getCADeletionDate

      @Nullable public LocalDate getCADeletionDate()
      Constraints: Nullable

      Original property name from the Odata EDM: CADeletionDate

      Returns:
      Date on which the entry can be deleted again
    • getCABillgReqCompletionDate

      @Nullable public LocalDate getCABillgReqCompletionDate()
      Constraints: Nullable

      Original property name from the Odata EDM: CABillgReqCompletionDate

      Returns:
      Completion Date of Billing Request
    • get_Messages

      @Nullable public Collection<SAP__Message> get_Messages()
      Constraints: Not nullable

      Original property name from the Odata EDM: SAP__Messages

      Returns:
      The _Messages contained in this VdmEntity.
    • toString

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

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

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

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

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