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

public class BusPartPaymentItem extends VdmEntity<BusPartPaymentItem>

Original entity name from the Odata EDM: BusPartPaymentItemType

  • Field Details

  • Constructor Details

    • BusPartPaymentItem

      public BusPartPaymentItem()
    • BusPartPaymentItem

      public BusPartPaymentItem(@Nullable UUID cADocumentContainerUUID, @Nullable String cADocumentContainerSqncNumber, @Nullable String cAPaymentDocument, @Nullable LocalDate creationDate, @Nullable LocalTime creationTime, @Nullable String cADocContainerDocItemRefType, @Nullable String cADocContainerDocItmRefTypeTxt, @Nullable String businessPartner, @Nullable String businessPartnerFullName, @Nullable String contractAccount, @Nullable String contractAccountName, @Nullable String cAContract, @Nullable String cASubApplication, @Nullable String cASubApplicationText, @Nullable String companyCode, @Nullable String companyCodeName, @Nullable String cAGroupingForPayment, @Nullable UUID cADocumentContainerInvoiceUUID, @Nullable String cADocContainerInvoiceSqncNmbr, @Nullable String businessArea, @Nullable String businessAreaName, @Nullable String segment, @Nullable String segmentName, @Nullable String cAClearingReason, @Nullable String cAClearingReasonName, @Nullable String displayCurrency, @Nullable BigDecimal amountInDisplayCurrency, @Nullable BusPartPaymentItemParameters toParameters)
  • Method Details

    • getType

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

      public void setCADocumentContainerUUID(@Nullable UUID cADocumentContainerUUID)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: CADocumentContainerUUID

      Parameters:
      cADocumentContainerUUID - Document Container ID
    • setCADocumentContainerSqncNumber

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

      Original property name from the Odata EDM: CADocumentContainerSqncNumber

      Parameters:
      cADocumentContainerSqncNumber - 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
    • setCADocContainerDocItmRefTypeTxt

      public void setCADocContainerDocItmRefTypeTxt(@Nullable String cADocContainerDocItmRefTypeTxt)
      Constraints: Not nullable, Maximum length: 60

      Original property name from the Odata EDM: CADocContainerDocItmRefTypeTxt

      Parameters:
      cADocContainerDocItmRefTypeTxt - Description for Reference Type for Line Item
    • 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
    • setBusinessPartnerFullName

      public void setBusinessPartnerFullName(@Nullable String businessPartnerFullName)
      Constraints: Not nullable, Maximum length: 81

      Original property name from the Odata EDM: BusinessPartnerFullName

      Parameters:
      businessPartnerFullName - The businessPartnerFullName to set.
    • 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
    • setContractAccountName

      public void setContractAccountName(@Nullable String contractAccountName)
      Constraints: Not nullable, Maximum length: 35

      Original property name from the Odata EDM: ContractAccountName

      Parameters:
      contractAccountName - Description of 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
    • setCASubApplicationText

      public void setCASubApplicationText(@Nullable String cASubApplicationText)
      Constraints: Not nullable, Maximum length: 250

      Original property name from the Odata EDM: CASubApplicationText

      Parameters:
      cASubApplicationText - Description (250 Characters)
    • 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
    • setCompanyCodeName

      public void setCompanyCodeName(@Nullable String companyCodeName)
      Constraints: Not nullable, Maximum length: 25

      Original property name from the Odata EDM: CompanyCodeName

      Parameters:
      companyCodeName - Name of Company Code or Company
    • 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
    • setCADocumentContainerInvoiceUUID

      public void setCADocumentContainerInvoiceUUID(@Nullable UUID cADocumentContainerInvoiceUUID)
      Constraints: Nullable

      Original property name from the Odata EDM: CADocumentContainerInvoiceUUID

      Parameters:
      cADocumentContainerInvoiceUUID - Document Container ID
    • setCADocContainerInvoiceSqncNmbr

      public void setCADocContainerInvoiceSqncNmbr(@Nullable String cADocContainerInvoiceSqncNmbr)
      Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: CADocContainerInvoiceSqncNmbr

      Parameters:
      cADocContainerInvoiceSqncNmbr - Sequence Number
    • 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
    • setBusinessAreaName

      public void setBusinessAreaName(@Nullable String businessAreaName)
      Constraints: Not nullable, Maximum length: 30

      Original property name from the Odata EDM: BusinessAreaName

      Parameters:
      businessAreaName - Business Area Description
    • 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
    • setSegmentName

      public void setSegmentName(@Nullable String segmentName)
      Constraints: Not nullable, Maximum length: 50

      Original property name from the Odata EDM: SegmentName

      Parameters:
      segmentName - Segment Name
    • 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.
    • setCAClearingReasonName

      public void setCAClearingReasonName(@Nullable String cAClearingReasonName)
      Constraints: Not nullable, Maximum length: 50

      Original property name from the Odata EDM: CAClearingReasonName

      Parameters:
      cAClearingReasonName - Name
    • 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<BusPartPaymentItem>
    • getKey

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

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

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

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

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

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

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

      @Nonnull public static BusPartPaymentItem.BusPartPaymentItemBuilder builder()
    • getCADocumentContainerUUID

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

      Original property name from the Odata EDM: CADocumentContainerUUID

      Returns:
      Document Container ID
    • getCADocumentContainerSqncNumber

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

      Original property name from the Odata EDM: CADocumentContainerSqncNumber

      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
    • getCADocContainerDocItmRefTypeTxt

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

      Original property name from the Odata EDM: CADocContainerDocItmRefTypeTxt

      Returns:
      Description for Reference Type for Line Item
    • getBusinessPartner

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

      Original property name from the Odata EDM: BusinessPartner

      Returns:
      Business Partner Number
    • getBusinessPartnerFullName

      @Nullable public String getBusinessPartnerFullName()
      Constraints: Not nullable, Maximum length: 81

      Original property name from the Odata EDM: BusinessPartnerFullName

      Returns:
      The businessPartnerFullName contained in this VdmEntity.
    • getContractAccount

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

      Original property name from the Odata EDM: ContractAccount

      Returns:
      Contract Account
    • getContractAccountName

      @Nullable public String getContractAccountName()
      Constraints: Not nullable, Maximum length: 35

      Original property name from the Odata EDM: ContractAccountName

      Returns:
      Description of 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
    • getCASubApplicationText

      @Nullable public String getCASubApplicationText()
      Constraints: Not nullable, Maximum length: 250

      Original property name from the Odata EDM: CASubApplicationText

      Returns:
      Description (250 Characters)
    • getCompanyCode

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

      Original property name from the Odata EDM: CompanyCode

      Returns:
      Company Code
    • getCompanyCodeName

      @Nullable public String getCompanyCodeName()
      Constraints: Not nullable, Maximum length: 25

      Original property name from the Odata EDM: CompanyCodeName

      Returns:
      Name of Company Code or Company
    • 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
    • getCADocumentContainerInvoiceUUID

      @Nullable public UUID getCADocumentContainerInvoiceUUID()
      Constraints: Nullable

      Original property name from the Odata EDM: CADocumentContainerInvoiceUUID

      Returns:
      Document Container ID
    • getCADocContainerInvoiceSqncNmbr

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

      Original property name from the Odata EDM: CADocContainerInvoiceSqncNmbr

      Returns:
      Sequence Number
    • getBusinessArea

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

      Original property name from the Odata EDM: BusinessArea

      Returns:
      Business Area
    • getBusinessAreaName

      @Nullable public String getBusinessAreaName()
      Constraints: Not nullable, Maximum length: 30

      Original property name from the Odata EDM: BusinessAreaName

      Returns:
      Business Area Description
    • getSegment

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

      Original property name from the Odata EDM: Segment

      Returns:
      Segment for Segmental Reporting
    • getSegmentName

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

      Original property name from the Odata EDM: SegmentName

      Returns:
      Segment Name
    • 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.
    • getCAClearingReasonName

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

      Original property name from the Odata EDM: CAClearingReasonName

      Returns:
      Name
    • 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<BusPartPaymentItem>
    • equals

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

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

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

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