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

public class CABPPaytEnhcdForDspCrcy extends VdmEntity<CABPPaytEnhcdForDspCrcy>

Original entity name from the Odata EDM: CABPPaytEnhcdForDspCrcyType

  • Field Details

  • Constructor Details

    • CABPPaytEnhcdForDspCrcy

      public CABPPaytEnhcdForDspCrcy()
    • CABPPaytEnhcdForDspCrcy

      public CABPPaytEnhcdForDspCrcy(@Nullable UUID cABusPartnerPaymentUUID, @Nullable String cAPaymentDocument, @Nullable String cADocumentContainerRefType, @Nullable LocalDate creationDate, @Nullable LocalTime creationTime, @Nullable String displayCurrency, @Nullable BigDecimal cAPaymentAmountInDC, @Nullable CABPPaytEnhcdForDspCrcyParameters toParameters)
  • Method Details

    • getType

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

      public void setCABusPartnerPaymentUUID(@Nullable UUID cABusPartnerPaymentUUID)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: CABusPartnerPaymentUUID

      Parameters:
      cABusPartnerPaymentUUID - Document Container ID
    • setCAPaymentDocument

      public void setCAPaymentDocument(@Nullable String cAPaymentDocument)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: CAPaymentDocument

      Parameters:
      cAPaymentDocument - Document
    • 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
    • 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
    • setCAPaymentAmountInDC

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

      Original property name from the Odata EDM: CAPaymentAmountInDC

      Parameters:
      cAPaymentAmountInDC - The cAPaymentAmountInDC to set.
    • getEntityCollection

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

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

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

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

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

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

      If the navigation property for an entity CABPPaytEnhcdForDspCrcy 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 CABPPaytEnhcdForDspCrcyParameters entity. If not, an Option with result state empty is returned.
    • setParameters

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

    • getCABusPartnerPaymentUUID

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

      Original property name from the Odata EDM: CABusPartnerPaymentUUID

      Returns:
      Document Container ID
    • getCAPaymentDocument

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

      Original property name from the Odata EDM: CAPaymentDocument

      Returns:
      Document
    • getCADocumentContainerRefType

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

      Original property name from the Odata EDM: CADocumentContainerRefType

      Returns:
      Document Container - Reference Type
    • 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
    • getCAPaymentAmountInDC

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

      Original property name from the Odata EDM: CAPaymentAmountInDC

      Returns:
      The cAPaymentAmountInDC contained in this VdmEntity.
    • toString

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

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

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

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

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