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

public class BusPartPayment extends VdmEntity<BusPartPayment>

Original entity name from the Odata EDM: BusPartPaymentType

  • Field Details

  • Constructor Details

    • BusPartPayment

      public BusPartPayment()
    • BusPartPayment

      public BusPartPayment(@Nullable UUID cADocumentContainerUUID, @Nullable String cAPaymentDocument, @Nullable String cADocumentOriginCode, @Nullable String cADocumentOriginCodeName, @Nullable String cADocumentContainerRefType, @Nullable String cADocumentContainerRefTypeText, @Nullable LocalDate creationDate, @Nullable LocalTime creationTime, @Nullable String displayCurrency, @Nullable BigDecimal cAPaymentAmountInDC, @Nullable BusPartPaymentParameters toParameters)
  • Method Details

    • getType

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

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

      Original property name from the Odata EDM: CAPaymentDocument

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

      public void setCADocumentOriginCodeName(@Nullable String cADocumentOriginCodeName)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: CADocumentOriginCodeName

      Parameters:
      cADocumentOriginCodeName - Description of Document Origin
    • 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
    • setCADocumentContainerRefTypeText

      public void setCADocumentContainerRefTypeText(@Nullable String cADocumentContainerRefTypeText)
      Constraints: Not nullable, Maximum length: 50

      Original property name from the Odata EDM: CADocumentContainerRefTypeText

      Parameters:
      cADocumentContainerRefTypeText - Reference Type of Document Conainer Text
    • 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<BusPartPayment>
    • getKey

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

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

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

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

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

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

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

      @Nonnull public static BusPartPayment.BusPartPaymentBuilder builder()
    • getCADocumentContainerUUID

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

      Original property name from the Odata EDM: CADocumentContainerUUID

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

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

      Original property name from the Odata EDM: CADocumentOriginCode

      Returns:
      Document Origin Key
    • getCADocumentOriginCodeName

      @Nullable public String getCADocumentOriginCodeName()
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: CADocumentOriginCodeName

      Returns:
      Description of Document Origin
    • getCADocumentContainerRefType

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

      Original property name from the Odata EDM: CADocumentContainerRefType

      Returns:
      Document Container - Reference Type
    • getCADocumentContainerRefTypeText

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

      Original property name from the Odata EDM: CADocumentContainerRefTypeText

      Returns:
      Reference Type of Document Conainer Text
    • 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<BusPartPayment>
    • equals

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

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

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

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