java.lang.Object
com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odatav4.core.VdmEntity<CASecurityDepositReqDetail_2>
com.sap.cloud.sdk.s4hana.datamodel.odatav4.namespaces.cashsecuritydepositv2.CASecurityDepositReqDetail_2
All Implemented Interfaces:
VdmEntitySet

public class CASecurityDepositReqDetail_2 extends VdmEntity<CASecurityDepositReqDetail_2> implements VdmEntitySet
Request Detail

Original entity name from the Odata EDM: A_CASecurityDepositReqDetail_2_Type

  • Field Details

  • Constructor Details

    • CASecurityDepositReqDetail_2

      public CASecurityDepositReqDetail_2()
    • CASecurityDepositReqDetail_2

      public CASecurityDepositReqDetail_2(@Nullable String cASecurityDeposit, @Nullable String cADocumentNumber, @Nullable String cAAuthorizationGroup, @Nullable String cASecDepDocBPItemStatus, @Nullable String cASecDepDocBPItemStatusText, @Nullable String cASecurityDepositRequestReason, @Nullable String cASecurityDepositReqReasonText, @Nullable BigDecimal cAAmountInTransactionCurrency, @Nullable BigDecimal amountInRefundCurrency, @Nullable BigDecimal cAPaymentAmountInPaytCurrency, @Nullable BigDecimal cAReleasedAmtInPaymentCurrency, @Nullable BigDecimal cAReversedAmtInTransCurrency, @Nullable BigDecimal cAScrtyDepReqDocRequestAmount, @Nullable String transactionCurrency, @Nullable String paymentCurrency, @Nullable String refundCurrency, @Nullable String createdByUser, @Nullable String createdByUserDescription, @Nullable LocalDate creationDate, @Nullable LocalTime creationTime, @Nullable OffsetDateTime cAScrtyDepReqDocCreationDteTme, @Nullable LocalDate cAPostingDate, List<ScrtyDepReqDocFlow_2> to_CAScrtyDepDocumentFlow, @Nullable CASecurityDeposit_2 to_CASecurityDeposit)
  • Method Details

    • getType

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

      public void setCASecurityDeposit(@Nullable String cASecurityDeposit)
      (Key Field) Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: CASecurityDeposit

      Parameters:
      cASecurityDeposit - Security Deposit
    • setCADocumentNumber

      public void setCADocumentNumber(@Nullable String cADocumentNumber)
      (Key Field) Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: CADocumentNumber

      Parameters:
      cADocumentNumber - Document
    • setCAAuthorizationGroup

      public void setCAAuthorizationGroup(@Nullable String cAAuthorizationGroup)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: CAAuthorizationGroup

      Parameters:
      cAAuthorizationGroup - Authorization Group
    • setCASecDepDocBPItemStatus

      public void setCASecDepDocBPItemStatus(@Nullable String cASecDepDocBPItemStatus)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: CASecDepDocBPItemStatus

      Parameters:
      cASecDepDocBPItemStatus - Payment Status of a Contract Accounting Document
    • setCASecDepDocBPItemStatusText

      public void setCASecDepDocBPItemStatusText(@Nullable String cASecDepDocBPItemStatusText)
      Constraints: Not nullable, Maximum length: 60

      Original property name from the Odata EDM: CASecDepDocBPItemStatusText

      Parameters:
      cASecDepDocBPItemStatusText - Description of a Payment Status of a Document
    • setCASecurityDepositRequestReason

      public void setCASecurityDepositRequestReason(@Nullable String cASecurityDepositRequestReason)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: CASecurityDepositRequestReason

      Parameters:
      cASecurityDepositRequestReason - Document Request Reason
    • setCASecurityDepositReqReasonText

      public void setCASecurityDepositReqReasonText(@Nullable String cASecurityDepositReqReasonText)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: CASecurityDepositReqReasonText

      Parameters:
      cASecurityDepositReqReasonText - Request Reason Description
    • setCAAmountInTransactionCurrency

      public void setCAAmountInTransactionCurrency(@Nullable BigDecimal cAAmountInTransactionCurrency)
      Constraints: Not nullable, Precision: 13, Scale: 0

      Original property name from the Odata EDM: CAAmountInTransactionCurrency

      Parameters:
      cAAmountInTransactionCurrency - Document Amount
    • setAmountInRefundCurrency

      public void setAmountInRefundCurrency(@Nullable BigDecimal amountInRefundCurrency)
      Constraints: Not nullable, Precision: 11, Scale: 0

      Original property name from the Odata EDM: AmountInRefundCurrency

      Parameters:
      amountInRefundCurrency - Returned Amount
    • setCAPaymentAmountInPaytCurrency

      public void setCAPaymentAmountInPaytCurrency(@Nullable BigDecimal cAPaymentAmountInPaytCurrency)
      Constraints: Not nullable, Precision: 11, Scale: 0

      Original property name from the Odata EDM: CAPaymentAmountInPaytCurrency

      Parameters:
      cAPaymentAmountInPaytCurrency - Cash Security Deposit Payment
    • setCAReleasedAmtInPaymentCurrency

      public void setCAReleasedAmtInPaymentCurrency(@Nullable BigDecimal cAReleasedAmtInPaymentCurrency)
      Constraints: Not nullable, Precision: 11, Scale: 0

      Original property name from the Odata EDM: CAReleasedAmtInPaymentCurrency

      Parameters:
      cAReleasedAmtInPaymentCurrency - Released Amount of Cash Security Deposit
    • setCAReversedAmtInTransCurrency

      public void setCAReversedAmtInTransCurrency(@Nullable BigDecimal cAReversedAmtInTransCurrency)
      Constraints: Not nullable, Precision: 13, Scale: 0

      Original property name from the Odata EDM: CAReversedAmtInTransCurrency

      Parameters:
      cAReversedAmtInTransCurrency - Reversed Amount
    • setCAScrtyDepReqDocRequestAmount

      public void setCAScrtyDepReqDocRequestAmount(@Nullable BigDecimal cAScrtyDepReqDocRequestAmount)
      Constraints: Not nullable, Precision: 11, Scale: 0

      Original property name from the Odata EDM: CAScrtyDepReqDocRequestAmount

      Parameters:
      cAScrtyDepReqDocRequestAmount - Requested Amount for Security Deposit
    • setTransactionCurrency

      public void setTransactionCurrency(@Nullable String transactionCurrency)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: TransactionCurrency

      Parameters:
      transactionCurrency - Transaction Currency
    • setPaymentCurrency

      public void setPaymentCurrency(@Nullable String paymentCurrency)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: PaymentCurrency

      Parameters:
      paymentCurrency - Payment Currency Key
    • setRefundCurrency

      public void setRefundCurrency(@Nullable String refundCurrency)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: RefundCurrency

      Parameters:
      refundCurrency - Return Currency
    • setCreatedByUser

      public void setCreatedByUser(@Nullable String createdByUser)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: CreatedByUser

      Parameters:
      createdByUser - Created By
    • setCreatedByUserDescription

      public void setCreatedByUserDescription(@Nullable String createdByUserDescription)
      Constraints: Not nullable, Maximum length: 80

      Original property name from the Odata EDM: CreatedByUserDescription

      Parameters:
      createdByUserDescription - User Description
    • setCreationDate

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

      Original property name from the Odata EDM: CreationDate

      Parameters:
      creationDate - Record Created On
    • setCreationTime

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

      Original property name from the Odata EDM: CreationTime

      Parameters:
      creationTime - Time at Which the Object Was Created
    • setCAScrtyDepReqDocCreationDteTme

      public void setCAScrtyDepReqDocCreationDteTme(@Nullable OffsetDateTime cAScrtyDepReqDocCreationDteTme)
      Constraints: Nullable, Precision: 7

      Original property name from the Odata EDM: CAScrtyDepReqDocCreationDteTme

      Parameters:
      cAScrtyDepReqDocCreationDteTme - Creation Time in User Timezone
    • setCAPostingDate

      public void setCAPostingDate(@Nullable LocalDate cAPostingDate)
      Constraints: Nullable

      Original property name from the Odata EDM: CAPostingDate

      Parameters:
      cAPostingDate - Posting Date in the Document
    • getEntityCollection

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

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

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

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

      protected String getDefaultServicePath()
      Overrides:
      getDefaultServicePath in class VdmEntity<CASecurityDepositReqDetail_2>
    • toMapOfNavigationProperties

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

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

      If the navigation property for an entity CASecurityDepositReqDetail_2 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 _CAScrtyDepDocumentFlow is already loaded, the result will contain the ScrtyDepReqDocFlow_2 entities. If not, an Option with result state empty is returned.
    • setCAScrtyDepDocumentFlow

      public void setCAScrtyDepDocumentFlow(@Nonnull List<ScrtyDepReqDocFlow_2> value)
      Overwrites the list of associated ScrtyDepReqDocFlow_2 entities for the loaded navigation property _CAScrtyDepDocumentFlow.

      If the navigation property _CAScrtyDepDocumentFlow of a queried CASecurityDepositReqDetail_2 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 ScrtyDepReqDocFlow_2 entities.
    • addCAScrtyDepDocumentFlow

      public void addCAScrtyDepDocumentFlow(ScrtyDepReqDocFlow_2... entity)
      Adds elements to the list of associated ScrtyDepReqDocFlow_2 entities. This corresponds to the OData navigation property _CAScrtyDepDocumentFlow.

      If the navigation property _CAScrtyDepDocumentFlow of a queried CASecurityDepositReqDetail_2 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 ScrtyDepReqDocFlow_2 entities.
    • getCASecurityDepositIfPresent

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

      If the navigation property for an entity CASecurityDepositReqDetail_2 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 _CASecurityDeposit is already loaded, the result will contain the CASecurityDeposit_2 entity. If not, an Option with result state empty is returned.
    • setCASecurityDeposit

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

    • getCASecurityDeposit

      @Nullable public String getCASecurityDeposit()
      (Key Field) Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: CASecurityDeposit

      Returns:
      Security Deposit
    • getCADocumentNumber

      @Nullable public String getCADocumentNumber()
      (Key Field) Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: CADocumentNumber

      Returns:
      Document
    • getCAAuthorizationGroup

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

      Original property name from the Odata EDM: CAAuthorizationGroup

      Returns:
      Authorization Group
    • getCASecDepDocBPItemStatus

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

      Original property name from the Odata EDM: CASecDepDocBPItemStatus

      Returns:
      Payment Status of a Contract Accounting Document
    • getCASecDepDocBPItemStatusText

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

      Original property name from the Odata EDM: CASecDepDocBPItemStatusText

      Returns:
      Description of a Payment Status of a Document
    • getCASecurityDepositRequestReason

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

      Original property name from the Odata EDM: CASecurityDepositRequestReason

      Returns:
      Document Request Reason
    • getCASecurityDepositReqReasonText

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

      Original property name from the Odata EDM: CASecurityDepositReqReasonText

      Returns:
      Request Reason Description
    • getCAAmountInTransactionCurrency

      @Nullable public BigDecimal getCAAmountInTransactionCurrency()
      Constraints: Not nullable, Precision: 13, Scale: 0

      Original property name from the Odata EDM: CAAmountInTransactionCurrency

      Returns:
      Document Amount
    • getAmountInRefundCurrency

      @Nullable public BigDecimal getAmountInRefundCurrency()
      Constraints: Not nullable, Precision: 11, Scale: 0

      Original property name from the Odata EDM: AmountInRefundCurrency

      Returns:
      Returned Amount
    • getCAPaymentAmountInPaytCurrency

      @Nullable public BigDecimal getCAPaymentAmountInPaytCurrency()
      Constraints: Not nullable, Precision: 11, Scale: 0

      Original property name from the Odata EDM: CAPaymentAmountInPaytCurrency

      Returns:
      Cash Security Deposit Payment
    • getCAReleasedAmtInPaymentCurrency

      @Nullable public BigDecimal getCAReleasedAmtInPaymentCurrency()
      Constraints: Not nullable, Precision: 11, Scale: 0

      Original property name from the Odata EDM: CAReleasedAmtInPaymentCurrency

      Returns:
      Released Amount of Cash Security Deposit
    • getCAReversedAmtInTransCurrency

      @Nullable public BigDecimal getCAReversedAmtInTransCurrency()
      Constraints: Not nullable, Precision: 13, Scale: 0

      Original property name from the Odata EDM: CAReversedAmtInTransCurrency

      Returns:
      Reversed Amount
    • getCAScrtyDepReqDocRequestAmount

      @Nullable public BigDecimal getCAScrtyDepReqDocRequestAmount()
      Constraints: Not nullable, Precision: 11, Scale: 0

      Original property name from the Odata EDM: CAScrtyDepReqDocRequestAmount

      Returns:
      Requested Amount for Security Deposit
    • getTransactionCurrency

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

      Original property name from the Odata EDM: TransactionCurrency

      Returns:
      Transaction Currency
    • getPaymentCurrency

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

      Original property name from the Odata EDM: PaymentCurrency

      Returns:
      Payment Currency Key
    • getRefundCurrency

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

      Original property name from the Odata EDM: RefundCurrency

      Returns:
      Return Currency
    • getCreatedByUser

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

      Original property name from the Odata EDM: CreatedByUser

      Returns:
      Created By
    • getCreatedByUserDescription

      @Nullable public String getCreatedByUserDescription()
      Constraints: Not nullable, Maximum length: 80

      Original property name from the Odata EDM: CreatedByUserDescription

      Returns:
      User Description
    • getCreationDate

      @Nullable public LocalDate getCreationDate()
      Constraints: Nullable

      Original property name from the Odata EDM: CreationDate

      Returns:
      Record Created On
    • getCreationTime

      @Nullable public LocalTime getCreationTime()
      Constraints: Not nullable

      Original property name from the Odata EDM: CreationTime

      Returns:
      Time at Which the Object Was Created
    • getCAScrtyDepReqDocCreationDteTme

      @Nullable public OffsetDateTime getCAScrtyDepReqDocCreationDteTme()
      Constraints: Nullable, Precision: 7

      Original property name from the Odata EDM: CAScrtyDepReqDocCreationDteTme

      Returns:
      Creation Time in User Timezone
    • getCAPostingDate

      @Nullable public LocalDate getCAPostingDate()
      Constraints: Nullable

      Original property name from the Odata EDM: CAPostingDate

      Returns:
      Posting Date in the Document
    • toString

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

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

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

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

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