java.lang.Object
com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject<ObjectT>
com.sap.cloud.sdk.datamodel.odatav4.core.VdmComplex<D_PRAAcctgDocDeductSmlteP>
com.sap.cloud.sdk.s4hana.datamodel.odatav4.namespaces.productionrevenueaccountingrevenueaccountingdocument.D_PRAAcctgDocDeductSmlteP

public class D_PRAAcctgDocDeductSmlteP extends VdmComplex<D_PRAAcctgDocDeductSmlteP>

Original complex type name from the Odata EDM: D_PRAAcctgDocDeductSmlteP

  • Field Details

  • Constructor Details

    • D_PRAAcctgDocDeductSmlteP

      public D_PRAAcctgDocDeductSmlteP()
    • D_PRAAcctgDocDeductSmlteP

      public D_PRAAcctgDocDeductSmlteP(@Nullable String companyCode, @Nullable String pRAAccountingPeriod, @Nullable String accountingDocument, @Nullable String pRAAccountingDocumentLine, @Nullable String deductionType, @Nullable BigDecimal otherDeductionAmount, @Nullable String companyCodeCurrency)
  • Method Details

    • getType

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

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

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

      @Nonnull protected ODataEntityKey getKey()
      Overrides:
      getKey in class VdmObject<D_PRAAcctgDocDeductSmlteP>
    • setCompanyCode

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

      Original property name from the Odata EDM: CompanyCode

      Parameters:
      companyCode - The companyCode to set.
    • setPRAAccountingPeriod

      public void setPRAAccountingPeriod(@Nullable String pRAAccountingPeriod)
      Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: PRAAccountingPeriod

      Parameters:
      pRAAccountingPeriod - The pRAAccountingPeriod to set.
    • setAccountingDocument

      public void setAccountingDocument(@Nullable String accountingDocument)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: AccountingDocument

      Parameters:
      accountingDocument - The accountingDocument to set.
    • setPRAAccountingDocumentLine

      public void setPRAAccountingDocumentLine(@Nullable String pRAAccountingDocumentLine)
      Constraints: Not nullable, Maximum length: 8

      Original property name from the Odata EDM: PRAAccountingDocumentLine

      Parameters:
      pRAAccountingDocumentLine - The pRAAccountingDocumentLine to set.
    • setDeductionType

      public void setDeductionType(@Nullable String deductionType)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: DeductionType

      Parameters:
      deductionType - The deductionType to set.
    • setOtherDeductionAmount

      public void setOtherDeductionAmount(@Nullable BigDecimal otherDeductionAmount)
      Constraints: Not nullable, Precision: 15, Scale: 0

      Original property name from the Odata EDM: OtherDeductionAmount

      Parameters:
      otherDeductionAmount - The otherDeductionAmount to set.
    • setCompanyCodeCurrency

      public void setCompanyCodeCurrency(@Nullable String companyCodeCurrency)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: CompanyCodeCurrency

      Parameters:
      companyCodeCurrency - The companyCodeCurrency to set.
    • builder

    • getCompanyCode

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

      Original property name from the Odata EDM: CompanyCode

      Returns:
      The companyCode contained in this VdmComplex.
    • getPRAAccountingPeriod

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

      Original property name from the Odata EDM: PRAAccountingPeriod

      Returns:
      The pRAAccountingPeriod contained in this VdmComplex.
    • getAccountingDocument

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

      Original property name from the Odata EDM: AccountingDocument

      Returns:
      The accountingDocument contained in this VdmComplex.
    • getPRAAccountingDocumentLine

      @Nullable public String getPRAAccountingDocumentLine()
      Constraints: Not nullable, Maximum length: 8

      Original property name from the Odata EDM: PRAAccountingDocumentLine

      Returns:
      The pRAAccountingDocumentLine contained in this VdmComplex.
    • getDeductionType

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

      Original property name from the Odata EDM: DeductionType

      Returns:
      The deductionType contained in this VdmComplex.
    • getOtherDeductionAmount

      @Nullable public BigDecimal getOtherDeductionAmount()
      Constraints: Not nullable, Precision: 15, Scale: 0

      Original property name from the Odata EDM: OtherDeductionAmount

      Returns:
      The otherDeductionAmount contained in this VdmComplex.
    • getCompanyCodeCurrency

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

      Original property name from the Odata EDM: CompanyCodeCurrency

      Returns:
      The companyCodeCurrency contained in this VdmComplex.
    • toString

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

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

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

      public int hashCode()
      Overrides:
      hashCode in class VdmObject<D_PRAAcctgDocDeductSmlteP>
    • getOdataType

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