java.lang.Object
com.sap.cloud.sdk.datamodel.odata.helper.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity<ActualCostRate>
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.costrate.ActualCostRate

public class ActualCostRate extends VdmEntity<ActualCostRate>
Actual Cost Rate

Original entity name from the Odata EDM: A_ActualCostRateType

  • Field Details

    • ALL_FIELDS

      public static final ActualCostRateSelectable ALL_FIELDS
      Selector for all available fields of ActualCostRate.
    • ACCOUNTING_COST_RATE_UUID

      public static final ActualCostRateField<UUID> ACCOUNTING_COST_RATE_UUID
      Use with available fluent helpers to apply the AccountingCostRateUUID field to query operations.
    • COMPANY_CODE

      public static final ActualCostRateField<String> COMPANY_CODE
      Use with available fluent helpers to apply the CompanyCode field to query operations.
    • COST_CENTER

      public static final ActualCostRateField<String> COST_CENTER
      Use with available fluent helpers to apply the CostCenter field to query operations.
    • ACTIVITY_TYPE

      public static final ActualCostRateField<String> ACTIVITY_TYPE
      Use with available fluent helpers to apply the ActivityType field to query operations.
    • CURRENCY

      public static final ActualCostRateField<String> CURRENCY
      Use with available fluent helpers to apply the Currency field to query operations.
    • VALIDITY_START_FISCAL_YEAR_PERIOD

      public static final ActualCostRateField<String> VALIDITY_START_FISCAL_YEAR_PERIOD
      Use with available fluent helpers to apply the ValidityStartFiscalYearPeriod field to query operations.
    • VALIDITY_END_FISCAL_YEAR_PERIOD

      public static final ActualCostRateField<String> VALIDITY_END_FISCAL_YEAR_PERIOD
      Use with available fluent helpers to apply the ValidityEndFiscalYearPeriod field to query operations.
    • COST_RATE_FIXED_AMOUNT

      public static final ActualCostRateField<BigDecimal> COST_RATE_FIXED_AMOUNT
      Use with available fluent helpers to apply the CostRateFixedAmount field to query operations.
    • COST_RATE_VARBL_AMOUNT

      public static final ActualCostRateField<BigDecimal> COST_RATE_VARBL_AMOUNT
      Use with available fluent helpers to apply the CostRateVarblAmount field to query operations.
    • COST_RATE_SCALE_FACTOR

      public static final ActualCostRateField<BigDecimal> COST_RATE_SCALE_FACTOR
      Use with available fluent helpers to apply the CostRateScaleFactor field to query operations.
    • COST_CTR_ACTIVITY_TYPE_QTY_UNIT

      public static final ActualCostRateField<String> COST_CTR_ACTIVITY_TYPE_QTY_UNIT
      Use with available fluent helpers to apply the CostCtrActivityTypeQtyUnit field to query operations.
    • LEDGER

      public static final ActualCostRateField<String> LEDGER
      Use with available fluent helpers to apply the Ledger field to query operations.
    • COST_RATE_IS_OVERWRITE_MODE

      public static final ActualCostRateField<Boolean> COST_RATE_IS_OVERWRITE_MODE
      Use with available fluent helpers to apply the CostRateIsOverwriteMode field to query operations.
  • Constructor Details

    • ActualCostRate

      public ActualCostRate()
    • ActualCostRate

      public ActualCostRate(@Nullable UUID accountingCostRateUUID, @Nullable String companyCode, @Nullable String costCenter, @Nullable String activityType, @Nullable String currency, @Nullable String validityStartFiscalYearPeriod, @Nullable String validityEndFiscalYearPeriod, @Nullable BigDecimal costRateFixedAmount, @Nullable BigDecimal costRateVarblAmount, @Nullable BigDecimal costRateScaleFactor, @Nullable String costCtrActivityTypeQtyUnit, @Nullable String ledger, @Nullable Boolean costRateIsOverwriteMode)
  • Method Details

    • getType

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

      public void setAccountingCostRateUUID(@Nullable UUID accountingCostRateUUID)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: AccountingCostRateUUID

      Parameters:
      accountingCostRateUUID - Cost Rate UUID
    • 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
    • setCostCenter

      public void setCostCenter(@Nullable String costCenter)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: CostCenter

      Parameters:
      costCenter - Cost Center
    • setActivityType

      public void setActivityType(@Nullable String activityType)
      Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: ActivityType

      Parameters:
      activityType - Activity Type
    • setCurrency

      public void setCurrency(@Nullable String currency)
      Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: Currency

      Parameters:
      currency - Currency Key
    • setValidityStartFiscalYearPeriod

      public void setValidityStartFiscalYearPeriod(@Nullable String validityStartFiscalYearPeriod)
      Constraints: Not nullable, Maximum length: 7

      Original property name from the Odata EDM: ValidityStartFiscalYearPeriod

      Parameters:
      validityStartFiscalYearPeriod - Fiscal Year + Fiscal Period
    • setValidityEndFiscalYearPeriod

      public void setValidityEndFiscalYearPeriod(@Nullable String validityEndFiscalYearPeriod)
      Constraints: Not nullable, Maximum length: 7

      Original property name from the Odata EDM: ValidityEndFiscalYearPeriod

      Parameters:
      validityEndFiscalYearPeriod - Fiscal Year + Fiscal Period
    • setCostRateFixedAmount

      public void setCostRateFixedAmount(@Nullable BigDecimal costRateFixedAmount)
      Constraints: Not nullable, Precision: 24, Scale: 3

      Original property name from the Odata EDM: CostRateFixedAmount

      Parameters:
      costRateFixedAmount - Fixed Rate
    • setCostRateVarblAmount

      public void setCostRateVarblAmount(@Nullable BigDecimal costRateVarblAmount)
      Constraints: Not nullable, Precision: 24, Scale: 3

      Original property name from the Odata EDM: CostRateVarblAmount

      Parameters:
      costRateVarblAmount - Variable Rate
    • setCostRateScaleFactor

      public void setCostRateScaleFactor(@Nullable BigDecimal costRateScaleFactor)
      Constraints: Not nullable, Precision: 5, Scale: 0

      Original property name from the Odata EDM: CostRateScaleFactor

      Parameters:
      costRateScaleFactor - Per
    • setCostCtrActivityTypeQtyUnit

      public void setCostCtrActivityTypeQtyUnit(@Nullable String costCtrActivityTypeQtyUnit)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: CostCtrActivityTypeQtyUnit

      Parameters:
      costCtrActivityTypeQtyUnit - Activity Unit
    • setLedger

      public void setLedger(@Nullable String ledger)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: Ledger

      Parameters:
      ledger - Ledger in General Ledger Accounting
    • setCostRateIsOverwriteMode

      public void setCostRateIsOverwriteMode(@Nullable Boolean costRateIsOverwriteMode)
      Constraints: none

      Original property name from the Odata EDM: CostRateIsOverwriteMode

      Parameters:
      costRateIsOverwriteMode - Truth Value: True/False
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> ActualCostRateField<T> field(@Nonnull String fieldName, @Nonnull Class<T> fieldType)
      Use with available fluent helpers to apply an extension field to query operations.
      Type Parameters:
      T - The type of the extension field when performing value comparisons.
      Parameters:
      fieldName - The name of the extension field as returned by the OData service.
      fieldType - The Java type to use for the extension field when performing value comparisons.
      Returns:
      A representation of an extension field from this entity.
    • field

      @Nonnull public static <T, DomainT> ActualCostRateField<T> field(@Nonnull String fieldName, @Nonnull TypeConverter<T,DomainT> typeConverter)
      Use with available fluent helpers to apply an extension field to query operations.
      Type Parameters:
      T - The type of the extension field when performing value comparisons.
      DomainT - The type of the extension field as returned by the OData service.
      Parameters:
      typeConverter - A TypeConverter<T, DomainT> instance whose first generic type matches the Java type of the field
      fieldName - The name of the extension field as returned by the OData service.
      Returns:
      A representation of an extension field from this entity, holding a reference to the given TypeConverter.
    • getDestinationForFetch

      @Nullable public HttpDestinationProperties getDestinationForFetch()
      Overrides:
      getDestinationForFetch in class VdmEntity<ActualCostRate>
    • setServicePathForFetch

      protected void setServicePathForFetch(@Nullable String servicePathForFetch)
      Overrides:
      setServicePathForFetch in class VdmEntity<ActualCostRate>
    • attachToService

      public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination)
      Overrides:
      attachToService in class VdmEntity<ActualCostRate>
    • getDefaultServicePath

      protected String getDefaultServicePath()
      Overrides:
      getDefaultServicePath in class VdmEntity<ActualCostRate>
    • builder

      @Nonnull public static ActualCostRate.ActualCostRateBuilder builder()
    • getAccountingCostRateUUID

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

      Original property name from the Odata EDM: AccountingCostRateUUID

      Returns:
      Cost Rate UUID
    • getCompanyCode

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

      Original property name from the Odata EDM: CompanyCode

      Returns:
      Company Code
    • getCostCenter

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

      Original property name from the Odata EDM: CostCenter

      Returns:
      Cost Center
    • getActivityType

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

      Original property name from the Odata EDM: ActivityType

      Returns:
      Activity Type
    • getCurrency

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

      Original property name from the Odata EDM: Currency

      Returns:
      Currency Key
    • getValidityStartFiscalYearPeriod

      @Nullable public String getValidityStartFiscalYearPeriod()
      Constraints: Not nullable, Maximum length: 7

      Original property name from the Odata EDM: ValidityStartFiscalYearPeriod

      Returns:
      Fiscal Year + Fiscal Period
    • getValidityEndFiscalYearPeriod

      @Nullable public String getValidityEndFiscalYearPeriod()
      Constraints: Not nullable, Maximum length: 7

      Original property name from the Odata EDM: ValidityEndFiscalYearPeriod

      Returns:
      Fiscal Year + Fiscal Period
    • getCostRateFixedAmount

      @Nullable public BigDecimal getCostRateFixedAmount()
      Constraints: Not nullable, Precision: 24, Scale: 3

      Original property name from the Odata EDM: CostRateFixedAmount

      Returns:
      Fixed Rate
    • getCostRateVarblAmount

      @Nullable public BigDecimal getCostRateVarblAmount()
      Constraints: Not nullable, Precision: 24, Scale: 3

      Original property name from the Odata EDM: CostRateVarblAmount

      Returns:
      Variable Rate
    • getCostRateScaleFactor

      @Nullable public BigDecimal getCostRateScaleFactor()
      Constraints: Not nullable, Precision: 5, Scale: 0

      Original property name from the Odata EDM: CostRateScaleFactor

      Returns:
      Per
    • getCostCtrActivityTypeQtyUnit

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

      Original property name from the Odata EDM: CostCtrActivityTypeQtyUnit

      Returns:
      Activity Unit
    • getLedger

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

      Original property name from the Odata EDM: Ledger

      Returns:
      Ledger in General Ledger Accounting
    • getCostRateIsOverwriteMode

      @Nullable public Boolean getCostRateIsOverwriteMode()
      Constraints: none

      Original property name from the Odata EDM: CostRateIsOverwriteMode

      Returns:
      Truth Value: True/False
    • toString

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

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

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

      public int hashCode()
      Overrides:
      hashCode in class VdmEntity<ActualCostRate>