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

public class D_PRAIntMktgRateUpdtDetP extends VdmComplex<D_PRAIntMktgRateUpdtDetP>

Original complex type name from the Odata EDM: D_PRAIntMktgRateUpdtDetP

  • Field Details

  • Constructor Details

    • D_PRAIntMktgRateUpdtDetP

      public D_PRAIntMktgRateUpdtDetP()
    • D_PRAIntMktgRateUpdtDetP

      public D_PRAIntMktgRateUpdtDetP(@Nullable String pRAMarketingRateNumber, @Nullable String marketingType, @Nullable String unitOfMeasure, @Nullable BigDecimal marketingDeductionRateAmount, @Nullable BigDecimal marketingCostDeductionPercent, @Nullable String companyCode, @Nullable String jointVenture, @Nullable String divisionOfInterest, @Nullable String pRADatabaseAction)
  • Method Details

    • getType

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

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

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

      @Nonnull protected ODataEntityKey getKey()
      Overrides:
      getKey in class VdmObject<D_PRAIntMktgRateUpdtDetP>
    • setPRAMarketingRateNumber

      public void setPRAMarketingRateNumber(@Nullable String pRAMarketingRateNumber)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: PRAMarketingRateNumber

      Parameters:
      pRAMarketingRateNumber - The pRAMarketingRateNumber to set.
    • setMarketingType

      public void setMarketingType(@Nullable String marketingType)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: MarketingType

      Parameters:
      marketingType - The marketingType to set.
    • setUnitOfMeasure

      public void setUnitOfMeasure(@Nullable String unitOfMeasure)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: UnitOfMeasure

      Parameters:
      unitOfMeasure - The unitOfMeasure to set.
    • setMarketingDeductionRateAmount

      public void setMarketingDeductionRateAmount(@Nullable BigDecimal marketingDeductionRateAmount)
      Constraints: Not nullable, Precision: 11, Scale: 7

      Original property name from the Odata EDM: MarketingDeductionRateAmount

      Parameters:
      marketingDeductionRateAmount - The marketingDeductionRateAmount to set.
    • setMarketingCostDeductionPercent

      public void setMarketingCostDeductionPercent(@Nullable BigDecimal marketingCostDeductionPercent)
      Constraints: Not nullable, Precision: 5, Scale: 2

      Original property name from the Odata EDM: MarketingCostDeductionPercent

      Parameters:
      marketingCostDeductionPercent - The marketingCostDeductionPercent to set.
    • 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.
    • setJointVenture

      public void setJointVenture(@Nullable String jointVenture)
      Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: JointVenture

      Parameters:
      jointVenture - The jointVenture to set.
    • setDivisionOfInterest

      public void setDivisionOfInterest(@Nullable String divisionOfInterest)
      Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: DivisionOfInterest

      Parameters:
      divisionOfInterest - The divisionOfInterest to set.
    • setPRADatabaseAction

      public void setPRADatabaseAction(@Nullable String pRADatabaseAction)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: PRADatabaseAction

      Parameters:
      pRADatabaseAction - The pRADatabaseAction to set.
    • builder

    • getPRAMarketingRateNumber

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

      Original property name from the Odata EDM: PRAMarketingRateNumber

      Returns:
      The pRAMarketingRateNumber contained in this VdmComplex.
    • getMarketingType

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

      Original property name from the Odata EDM: MarketingType

      Returns:
      The marketingType contained in this VdmComplex.
    • getUnitOfMeasure

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

      Original property name from the Odata EDM: UnitOfMeasure

      Returns:
      The unitOfMeasure contained in this VdmComplex.
    • getMarketingDeductionRateAmount

      @Nullable public BigDecimal getMarketingDeductionRateAmount()
      Constraints: Not nullable, Precision: 11, Scale: 7

      Original property name from the Odata EDM: MarketingDeductionRateAmount

      Returns:
      The marketingDeductionRateAmount contained in this VdmComplex.
    • getMarketingCostDeductionPercent

      @Nullable public BigDecimal getMarketingCostDeductionPercent()
      Constraints: Not nullable, Precision: 5, Scale: 2

      Original property name from the Odata EDM: MarketingCostDeductionPercent

      Returns:
      The marketingCostDeductionPercent contained in this VdmComplex.
    • 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.
    • getJointVenture

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

      Original property name from the Odata EDM: JointVenture

      Returns:
      The jointVenture contained in this VdmComplex.
    • getDivisionOfInterest

      @Nullable public String getDivisionOfInterest()
      Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: DivisionOfInterest

      Returns:
      The divisionOfInterest contained in this VdmComplex.
    • getPRADatabaseAction

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

      Original property name from the Odata EDM: PRADatabaseAction

      Returns:
      The pRADatabaseAction contained in this VdmComplex.
    • toString

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

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

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

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

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