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

public class CABPPaytItemEnhcdForDspCrcy extends VdmEntity<CABPPaytItemEnhcdForDspCrcy>

Original entity name from the Odata EDM: CABPPaytItemEnhcdForDspCrcyType

  • Field Details

  • Constructor Details

    • CABPPaytItemEnhcdForDspCrcy

      public CABPPaytItemEnhcdForDspCrcy()
    • CABPPaytItemEnhcdForDspCrcy

      public CABPPaytItemEnhcdForDspCrcy(@Nullable UUID cABusPartnerPaymentUUID, @Nullable String cABusPartnerPaymentItem, @Nullable String cAPaymentDocument, @Nullable LocalDate creationDate, @Nullable LocalTime creationTime, @Nullable String cADocContainerDocItemRefType, @Nullable String businessPartner, @Nullable String contractAccount, @Nullable String cAContract, @Nullable String cASubApplication, @Nullable String companyCode, @Nullable String cAGroupingForPayment, @Nullable UUID cABusPartnerInvoiceUUID, @Nullable String cABusPartnerInvoiceItem, @Nullable String cADocumentOriginCode, @Nullable String businessArea, @Nullable String segment, @Nullable String cAClearingReason, @Nullable String displayCurrency, @Nullable BigDecimal amountInDisplayCurrency, @Nullable CABPPaytItemEnhcdForDspCrcyParameters toParameters)
  • Method Details

    • getType

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

      public void setCABusPartnerPaymentItem(@Nullable String cABusPartnerPaymentItem)
      (Key Field) Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: CABusPartnerPaymentItem

      Parameters:
      cABusPartnerPaymentItem - Sequence Number
    • setCAPaymentDocument

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

      Original property name from the Odata EDM: CAPaymentDocument

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

      public void setCADocContainerDocItemRefType(@Nullable String cADocContainerDocItemRefType)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: CADocContainerDocItemRefType

      Parameters:
      cADocContainerDocItemRefType - Document Item Reference Category
    • 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
    • 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
    • setCAContract

      public void setCAContract(@Nullable String cAContract)
      Constraints: Not nullable, Maximum length: 20

      Original property name from the Odata EDM: CAContract

      Parameters:
      cAContract - Reference Specifications from Contract
    • setCASubApplication

      public void setCASubApplication(@Nullable String cASubApplication)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: CASubApplication

      Parameters:
      cASubApplication - Subapplication in Contract Accounts Receivable and Payable
    • setCompanyCode

      public void setCompanyCode(@Nullable String companyCode)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: CompanyCode

      Parameters:
      companyCode - Company Code
    • setCAGroupingForPayment

      public void setCAGroupingForPayment(@Nullable String cAGroupingForPayment)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: CAGroupingForPayment

      Parameters:
      cAGroupingForPayment - Grouping field for automatic payments
    • setCABusPartnerInvoiceUUID

      public void setCABusPartnerInvoiceUUID(@Nullable UUID cABusPartnerInvoiceUUID)
      Constraints: Nullable

      Original property name from the Odata EDM: CABusPartnerInvoiceUUID

      Parameters:
      cABusPartnerInvoiceUUID - Document Container ID
    • setCABusPartnerInvoiceItem

      public void setCABusPartnerInvoiceItem(@Nullable String cABusPartnerInvoiceItem)
      Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: CABusPartnerInvoiceItem

      Parameters:
      cABusPartnerInvoiceItem - Sequence Number
    • setCADocumentOriginCode

      public void setCADocumentOriginCode(@Nullable String cADocumentOriginCode)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: CADocumentOriginCode

      Parameters:
      cADocumentOriginCode - Document Origin Key
    • setBusinessArea

      public void setBusinessArea(@Nullable String businessArea)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: BusinessArea

      Parameters:
      businessArea - Business Area
    • setSegment

      public void setSegment(@Nullable String segment)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: Segment

      Parameters:
      segment - Segment for Segmental Reporting
    • setCAClearingReason

      public void setCAClearingReason(@Nullable String cAClearingReason)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: CAClearingReason

      Parameters:
      cAClearingReason - The cAClearingReason to set.
    • 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
    • setAmountInDisplayCurrency

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

      Original property name from the Odata EDM: AmountInDisplayCurrency

      Parameters:
      amountInDisplayCurrency - The amountInDisplayCurrency to set.
    • getEntityCollection

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

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

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

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

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

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

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

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

    • getCABusPartnerPaymentUUID

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

      Original property name from the Odata EDM: CABusPartnerPaymentUUID

      Returns:
      Document Container ID
    • getCABusPartnerPaymentItem

      @Nullable public String getCABusPartnerPaymentItem()
      (Key Field) Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: CABusPartnerPaymentItem

      Returns:
      Sequence Number
    • getCAPaymentDocument

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

      Original property name from the Odata EDM: CAPaymentDocument

      Returns:
      Document
    • 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
    • getCADocContainerDocItemRefType

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

      Original property name from the Odata EDM: CADocContainerDocItemRefType

      Returns:
      Document Item Reference Category
    • getBusinessPartner

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

      Original property name from the Odata EDM: BusinessPartner

      Returns:
      Business Partner Number
    • getContractAccount

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

      Original property name from the Odata EDM: ContractAccount

      Returns:
      Contract Account
    • getCAContract

      @Nullable public String getCAContract()
      Constraints: Not nullable, Maximum length: 20

      Original property name from the Odata EDM: CAContract

      Returns:
      Reference Specifications from Contract
    • getCASubApplication

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

      Original property name from the Odata EDM: CASubApplication

      Returns:
      Subapplication in Contract Accounts Receivable and Payable
    • getCompanyCode

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

      Original property name from the Odata EDM: CompanyCode

      Returns:
      Company Code
    • getCAGroupingForPayment

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

      Original property name from the Odata EDM: CAGroupingForPayment

      Returns:
      Grouping field for automatic payments
    • getCABusPartnerInvoiceUUID

      @Nullable public UUID getCABusPartnerInvoiceUUID()
      Constraints: Nullable

      Original property name from the Odata EDM: CABusPartnerInvoiceUUID

      Returns:
      Document Container ID
    • getCABusPartnerInvoiceItem

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

      Original property name from the Odata EDM: CABusPartnerInvoiceItem

      Returns:
      Sequence Number
    • getCADocumentOriginCode

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

      Original property name from the Odata EDM: CADocumentOriginCode

      Returns:
      Document Origin Key
    • getBusinessArea

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

      Original property name from the Odata EDM: BusinessArea

      Returns:
      Business Area
    • getSegment

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

      Original property name from the Odata EDM: Segment

      Returns:
      Segment for Segmental Reporting
    • getCAClearingReason

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

      Original property name from the Odata EDM: CAClearingReason

      Returns:
      The cAClearingReason contained in this VdmEntity.
    • getDisplayCurrency

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

      Original property name from the Odata EDM: DisplayCurrency

      Returns:
      Currency Key
    • getAmountInDisplayCurrency

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

      Original property name from the Odata EDM: AmountInDisplayCurrency

      Returns:
      The amountInDisplayCurrency contained in this VdmEntity.
    • toString

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

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

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

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

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