java.lang.Object
com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odatav4.core.VdmEntity<CABPInvcEnhcdForDspCrcy>
com.sap.cloud.sdk.s4hana.datamodel.odatav4.namespaces.contractaccountingbusinesspartnerinvoicev2.CABPInvcEnhcdForDspCrcy

public class CABPInvcEnhcdForDspCrcy extends VdmEntity<CABPInvcEnhcdForDspCrcy>

Original entity name from the Odata EDM: CABPInvcEnhcdForDspCrcyType

  • Field Details

  • Constructor Details

  • Method Details

    • getType

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

      public void setCABusPartnerInvoiceUUID(@Nullable UUID cABusPartnerInvoiceUUID)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: CABusPartnerInvoiceUUID

      Parameters:
      cABusPartnerInvoiceUUID - Document Container ID
    • setCABusPartnerInvoiceStatus

      public void setCABusPartnerInvoiceStatus(@Nullable String cABusPartnerInvoiceStatus)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: CABusPartnerInvoiceStatus

      Parameters:
      cABusPartnerInvoiceStatus - Invoice Status
    • setCADocumentContainerRefType

      public void setCADocumentContainerRefType(@Nullable String cADocumentContainerRefType)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: CADocumentContainerRefType

      Parameters:
      cADocumentContainerRefType - Document Container - Reference Type
    • setCADocumentContainerReference

      public void setCADocumentContainerReference(@Nullable String cADocumentContainerReference)
      Constraints: Not nullable, Maximum length: 50

      Original property name from the Odata EDM: CADocumentContainerReference

      Parameters:
      cADocumentContainerReference - Document Container - Identification for Reference Category
    • setCreationDate

      public void setCreationDate(@Nullable LocalDate creationDate)
      Constraints: Nullable

      Original property name from the Odata EDM: CreationDate

      Parameters:
      creationDate - Day On Which Accounting Document Was Entered
    • setCreationTime

      public void setCreationTime(@Nullable LocalTime creationTime)
      Constraints: Not nullable

      Original property name from the Odata EDM: CreationTime

      Parameters:
      creationTime - Time of Entry
    • setDisplayCurrency

      public void setDisplayCurrency(@Nullable String displayCurrency)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: DisplayCurrency

      Parameters:
      displayCurrency - Currency Key
    • setCAInvoiceAmountInDisplayCrcy

      public void setCAInvoiceAmountInDisplayCrcy(@Nullable BigDecimal cAInvoiceAmountInDisplayCrcy)
      Constraints: Not nullable, Precision: 23, Scale: 0

      Original property name from the Odata EDM: CAInvoiceAmountInDisplayCrcy

      Parameters:
      cAInvoiceAmountInDisplayCrcy - The cAInvoiceAmountInDisplayCrcy to set.
    • setOpenAmountInDisplayCrcy

      public void setOpenAmountInDisplayCrcy(@Nullable BigDecimal openAmountInDisplayCrcy)
      Constraints: Not nullable, Precision: 23, Scale: 0

      Original property name from the Odata EDM: OpenAmountInDisplayCrcy

      Parameters:
      openAmountInDisplayCrcy - The openAmountInDisplayCrcy to set.
    • setCashDiscountAmountInDspCrcy

      public void setCashDiscountAmountInDspCrcy(@Nullable BigDecimal cashDiscountAmountInDspCrcy)
      Constraints: Not nullable, Precision: 23, Scale: 0

      Original property name from the Odata EDM: CashDiscountAmountInDspCrcy

      Parameters:
      cashDiscountAmountInDspCrcy - The cashDiscountAmountInDspCrcy to set.
    • setCAEligibleAmountForCshDiscInDC

      public void setCAEligibleAmountForCshDiscInDC(@Nullable BigDecimal cAEligibleAmountForCshDiscInDC)
      Constraints: Not nullable, Precision: 23, Scale: 0

      Original property name from the Odata EDM: CAEligibleAmountForCshDiscInDC

      Parameters:
      cAEligibleAmountForCshDiscInDC - The cAEligibleAmountForCshDiscInDC to set.
    • setCAReleasedAmtInDisplayCurrency

      public void setCAReleasedAmtInDisplayCurrency(@Nullable BigDecimal cAReleasedAmtInDisplayCurrency)
      Constraints: Not nullable, Precision: 23, Scale: 0

      Original property name from the Odata EDM: CAReleasedAmtInDisplayCurrency

      Parameters:
      cAReleasedAmtInDisplayCurrency - The cAReleasedAmtInDisplayCurrency to set.
    • setCAClearingAmountInDisplayCrcy

      public void setCAClearingAmountInDisplayCrcy(@Nullable BigDecimal cAClearingAmountInDisplayCrcy)
      Constraints: Not nullable, Precision: 23, Scale: 0

      Original property name from the Odata EDM: CAClearingAmountInDisplayCrcy

      Parameters:
      cAClearingAmountInDisplayCrcy - The cAClearingAmountInDisplayCrcy to set.
    • getEntityCollection

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

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

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

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

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

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

      If the navigation property for an entity CABPInvcEnhcdForDspCrcy 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 Parameters is already loaded, the result will contain the CABPInvcEnhcdForDspCrcyParameters entity. If not, an Option with result state empty is returned.
    • setParameters

      public void setParameters(CABPInvcEnhcdForDspCrcyParameters value)
      Overwrites the associated CABPInvcEnhcdForDspCrcyParameters entity for the loaded navigation property Parameters.
      Parameters:
      value - New CABPInvcEnhcdForDspCrcyParameters entity.
    • getBusPartInvoiceCorrespncEnhcdIfPresent

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

      If the navigation property for an entity CABPInvcEnhcdForDspCrcy 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 _BusPartInvoiceCorrespncEnhcd is already loaded, the result will contain the CABusPartInvcCorrespncEnhcd entities. If not, an Option with result state empty is returned.
    • setBusPartInvoiceCorrespncEnhcd

      public void setBusPartInvoiceCorrespncEnhcd(@Nonnull List<CABusPartInvcCorrespncEnhcd> value)
      Overwrites the list of associated CABusPartInvcCorrespncEnhcd entities for the loaded navigation property _BusPartInvoiceCorrespncEnhcd.

      If the navigation property _BusPartInvoiceCorrespncEnhcd of a queried CABPInvcEnhcdForDspCrcy 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 CABusPartInvcCorrespncEnhcd entities.
    • addBusPartInvoiceCorrespncEnhcd

      public void addBusPartInvoiceCorrespncEnhcd(CABusPartInvcCorrespncEnhcd... entity)
      Adds elements to the list of associated CABusPartInvcCorrespncEnhcd entities. This corresponds to the OData navigation property _BusPartInvoiceCorrespncEnhcd.

      If the navigation property _BusPartInvoiceCorrespncEnhcd of a queried CABPInvcEnhcdForDspCrcy 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 CABusPartInvcCorrespncEnhcd entities.
    • builder

    • getCABusPartnerInvoiceUUID

      @Nullable public UUID getCABusPartnerInvoiceUUID()
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: CABusPartnerInvoiceUUID

      Returns:
      Document Container ID
    • getCABusPartnerInvoiceStatus

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

      Original property name from the Odata EDM: CABusPartnerInvoiceStatus

      Returns:
      Invoice Status
    • getCADocumentContainerRefType

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

      Original property name from the Odata EDM: CADocumentContainerRefType

      Returns:
      Document Container - Reference Type
    • getCADocumentContainerReference

      @Nullable public String getCADocumentContainerReference()
      Constraints: Not nullable, Maximum length: 50

      Original property name from the Odata EDM: CADocumentContainerReference

      Returns:
      Document Container - Identification for Reference Category
    • getCreationDate

      @Nullable public LocalDate getCreationDate()
      Constraints: Nullable

      Original property name from the Odata EDM: CreationDate

      Returns:
      Day On Which Accounting Document Was Entered
    • getCreationTime

      @Nullable public LocalTime getCreationTime()
      Constraints: Not nullable

      Original property name from the Odata EDM: CreationTime

      Returns:
      Time of Entry
    • getDisplayCurrency

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

      Original property name from the Odata EDM: DisplayCurrency

      Returns:
      Currency Key
    • getCAInvoiceAmountInDisplayCrcy

      @Nullable public BigDecimal getCAInvoiceAmountInDisplayCrcy()
      Constraints: Not nullable, Precision: 23, Scale: 0

      Original property name from the Odata EDM: CAInvoiceAmountInDisplayCrcy

      Returns:
      The cAInvoiceAmountInDisplayCrcy contained in this VdmEntity.
    • getOpenAmountInDisplayCrcy

      @Nullable public BigDecimal getOpenAmountInDisplayCrcy()
      Constraints: Not nullable, Precision: 23, Scale: 0

      Original property name from the Odata EDM: OpenAmountInDisplayCrcy

      Returns:
      The openAmountInDisplayCrcy contained in this VdmEntity.
    • getCashDiscountAmountInDspCrcy

      @Nullable public BigDecimal getCashDiscountAmountInDspCrcy()
      Constraints: Not nullable, Precision: 23, Scale: 0

      Original property name from the Odata EDM: CashDiscountAmountInDspCrcy

      Returns:
      The cashDiscountAmountInDspCrcy contained in this VdmEntity.
    • getCAEligibleAmountForCshDiscInDC

      @Nullable public BigDecimal getCAEligibleAmountForCshDiscInDC()
      Constraints: Not nullable, Precision: 23, Scale: 0

      Original property name from the Odata EDM: CAEligibleAmountForCshDiscInDC

      Returns:
      The cAEligibleAmountForCshDiscInDC contained in this VdmEntity.
    • getCAReleasedAmtInDisplayCurrency

      @Nullable public BigDecimal getCAReleasedAmtInDisplayCurrency()
      Constraints: Not nullable, Precision: 23, Scale: 0

      Original property name from the Odata EDM: CAReleasedAmtInDisplayCurrency

      Returns:
      The cAReleasedAmtInDisplayCurrency contained in this VdmEntity.
    • getCAClearingAmountInDisplayCrcy

      @Nullable public BigDecimal getCAClearingAmountInDisplayCrcy()
      Constraints: Not nullable, Precision: 23, Scale: 0

      Original property name from the Odata EDM: CAClearingAmountInDisplayCrcy

      Returns:
      The cAClearingAmountInDisplayCrcy contained in this VdmEntity.
    • toString

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

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

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

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

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