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

public class PurInfoRecdPrcgCndnScale extends VdmEntity<PurInfoRecdPrcgCndnScale>
Pricing Condition Scales

Original entity name from the Odata EDM: A_PurInfoRecdPrcgCndnScaleType

  • Field Details

    • ALL_FIELDS

      public static final PurInfoRecdPrcgCndnScaleSelectable ALL_FIELDS
      Selector for all available fields of PurInfoRecdPrcgCndnScale.
    • CONDITION_RECORD

      public static final PurInfoRecdPrcgCndnScaleField<String> CONDITION_RECORD
      Use with available fluent helpers to apply the ConditionRecord field to query operations.
    • CONDITION_SEQUENTIAL_NUMBER

      public static final PurInfoRecdPrcgCndnScaleField<String> CONDITION_SEQUENTIAL_NUMBER
      Use with available fluent helpers to apply the ConditionSequentialNumber field to query operations.
    • CONDITION_SCALE_LINE

      public static final PurInfoRecdPrcgCndnScaleField<String> CONDITION_SCALE_LINE
      Use with available fluent helpers to apply the ConditionScaleLine field to query operations.
    • CONDITION_SCALE_QUANTITY

      public static final PurInfoRecdPrcgCndnScaleField<BigDecimal> CONDITION_SCALE_QUANTITY
      Use with available fluent helpers to apply the ConditionScaleQuantity field to query operations.
    • CONDITION_SCALE_QUANTITY_UNIT

      public static final PurInfoRecdPrcgCndnScaleField<String> CONDITION_SCALE_QUANTITY_UNIT
      Use with available fluent helpers to apply the ConditionScaleQuantityUnit field to query operations.
    • CONDITION_SCALE_AMOUNT

      public static final PurInfoRecdPrcgCndnScaleField<BigDecimal> CONDITION_SCALE_AMOUNT
      Use with available fluent helpers to apply the ConditionScaleAmount field to query operations.
    • CONDITION_SCALE_AMOUNT_CURRENCY

      public static final PurInfoRecdPrcgCndnScaleField<String> CONDITION_SCALE_AMOUNT_CURRENCY
      Use with available fluent helpers to apply the ConditionScaleAmountCurrency field to query operations.
    • CONDITION_RATE_VALUE

      public static final PurInfoRecdPrcgCndnScaleField<BigDecimal> CONDITION_RATE_VALUE
      Use with available fluent helpers to apply the ConditionRateValue field to query operations.
    • CONDITION_RATE_VALUE_UNIT

      public static final PurInfoRecdPrcgCndnScaleField<String> CONDITION_RATE_VALUE_UNIT
      Use with available fluent helpers to apply the ConditionRateValueUnit field to query operations.
    • CONDITION_RATE_RATIO_UNIT

      public static final PurInfoRecdPrcgCndnScaleField<String> CONDITION_RATE_RATIO_UNIT
      Use with available fluent helpers to apply the ConditionRateRatioUnit field to query operations.
    • CONDITION_RATE_RATIO

      public static final PurInfoRecdPrcgCndnScaleField<BigDecimal> CONDITION_RATE_RATIO
      Use with available fluent helpers to apply the ConditionRateRatio field to query operations.
    • CONDITION_CURRENCY

      public static final PurInfoRecdPrcgCndnScaleField<String> CONDITION_CURRENCY
      Use with available fluent helpers to apply the ConditionCurrency field to query operations.
    • CONDITION_RATE_AMOUNT

      public static final PurInfoRecdPrcgCndnScaleField<BigDecimal> CONDITION_RATE_AMOUNT
      Use with available fluent helpers to apply the ConditionRateAmount field to query operations.
    • CONDITION_SCALE_IS_DELETED

      public static final PurInfoRecdPrcgCndnScaleField<Boolean> CONDITION_SCALE_IS_DELETED
      Use with available fluent helpers to apply the ConditionScaleIsDeleted field to query operations.
  • Constructor Details

    • PurInfoRecdPrcgCndnScale

      public PurInfoRecdPrcgCndnScale()
    • PurInfoRecdPrcgCndnScale

      public PurInfoRecdPrcgCndnScale(@Nullable String conditionRecord, @Nullable String conditionSequentialNumber, @Nullable String conditionScaleLine, @Nullable BigDecimal conditionScaleQuantity, @Nullable String conditionScaleQuantityUnit, @Nullable BigDecimal conditionScaleAmount, @Nullable String conditionScaleAmountCurrency, @Nullable BigDecimal conditionRateValue, @Nullable String conditionRateValueUnit, @Nullable String conditionRateRatioUnit, @Nullable BigDecimal conditionRateRatio, @Nullable String conditionCurrency, @Nullable BigDecimal conditionRateAmount, @Nullable Boolean conditionScaleIsDeleted)
  • Method Details

    • getType

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

      public void setConditionRecord(@Nullable String conditionRecord)
      (Key Field) Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: ConditionRecord

      Parameters:
      conditionRecord - Number of Condition Record
    • setConditionSequentialNumber

      public void setConditionSequentialNumber(@Nullable String conditionSequentialNumber)
      (Key Field) Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: ConditionSequentialNumber

      Parameters:
      conditionSequentialNumber - Sequential number of the condition
    • setConditionScaleLine

      public void setConditionScaleLine(@Nullable String conditionScaleLine)
      (Key Field) Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: ConditionScaleLine

      Parameters:
      conditionScaleLine - Current number of the line scale
    • setConditionScaleQuantity

      public void setConditionScaleQuantity(@Nullable BigDecimal conditionScaleQuantity)
      Constraints: Not nullable, Precision: 15, Scale: 3

      Original property name from the Odata EDM: ConditionScaleQuantity

      Parameters:
      conditionScaleQuantity - Condition Scale Quantity
    • setConditionScaleQuantityUnit

      public void setConditionScaleQuantityUnit(@Nullable String conditionScaleQuantityUnit)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: ConditionScaleQuantityUnit

      Parameters:
      conditionScaleQuantityUnit - Condition Scale Unit of Measure
    • setConditionScaleAmount

      public void setConditionScaleAmount(@Nullable BigDecimal conditionScaleAmount)
      Constraints: Not nullable, Precision: 16, Scale: 3

      Original property name from the Odata EDM: ConditionScaleAmount

      Parameters:
      conditionScaleAmount - Scale Value
    • setConditionScaleAmountCurrency

      public void setConditionScaleAmountCurrency(@Nullable String conditionScaleAmountCurrency)
      Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: ConditionScaleAmountCurrency

      Parameters:
      conditionScaleAmountCurrency - Scale Currency
    • setConditionRateValue

      public void setConditionRateValue(@Nullable BigDecimal conditionRateValue)
      Constraints: Not nullable, Precision: 12, Scale: 3

      Original property name from the Odata EDM: ConditionRateValue

      Parameters:
      conditionRateValue - Condition Amount or Percentage
    • setConditionRateValueUnit

      public void setConditionRateValueUnit(@Nullable String conditionRateValueUnit)
      Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: ConditionRateValueUnit

      Parameters:
      conditionRateValueUnit - Condition Unit (Currency or Percentage)
    • setConditionRateRatioUnit

      public void setConditionRateRatioUnit(@Nullable String conditionRateRatioUnit)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: ConditionRateRatioUnit

      Parameters:
      conditionRateRatioUnit - Unit of Measure
    • setConditionRateRatio

      public void setConditionRateRatio(@Nullable BigDecimal conditionRateRatio)
      Constraints: Not nullable, Precision: 24, Scale: 9

      Original property name from the Odata EDM: ConditionRateRatio

      Parameters:
      conditionRateRatio - Condition Ratio (in Percent or Per Mille)
    • setConditionCurrency

      public void setConditionCurrency(@Nullable String conditionCurrency)
      Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: ConditionCurrency

      Parameters:
      conditionCurrency - Condition Unit (Currency or Percentage)
    • setConditionRateAmount

      public void setConditionRateAmount(@Nullable BigDecimal conditionRateAmount)
      Constraints: Not nullable, Precision: 24, Scale: 9

      Original property name from the Odata EDM: ConditionRateAmount

      Parameters:
      conditionRateAmount - Condition Amount or Percentage
    • setConditionScaleIsDeleted

      public void setConditionScaleIsDeleted(@Nullable Boolean conditionScaleIsDeleted)
      Constraints: none

      Original property name from the Odata EDM: ConditionScaleIsDeleted

      Parameters:
      conditionScaleIsDeleted - Deletion Indicator for Condition Record
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> PurInfoRecdPrcgCndnScaleField<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> PurInfoRecdPrcgCndnScaleField<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<PurInfoRecdPrcgCndnScale>
    • setServicePathForFetch

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

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

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

    • getConditionRecord

      @Nullable public String getConditionRecord()
      (Key Field) Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: ConditionRecord

      Returns:
      Number of Condition Record
    • getConditionSequentialNumber

      @Nullable public String getConditionSequentialNumber()
      (Key Field) Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: ConditionSequentialNumber

      Returns:
      Sequential number of the condition
    • getConditionScaleLine

      @Nullable public String getConditionScaleLine()
      (Key Field) Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: ConditionScaleLine

      Returns:
      Current number of the line scale
    • getConditionScaleQuantity

      @Nullable public BigDecimal getConditionScaleQuantity()
      Constraints: Not nullable, Precision: 15, Scale: 3

      Original property name from the Odata EDM: ConditionScaleQuantity

      Returns:
      Condition Scale Quantity
    • getConditionScaleQuantityUnit

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

      Original property name from the Odata EDM: ConditionScaleQuantityUnit

      Returns:
      Condition Scale Unit of Measure
    • getConditionScaleAmount

      @Nullable public BigDecimal getConditionScaleAmount()
      Constraints: Not nullable, Precision: 16, Scale: 3

      Original property name from the Odata EDM: ConditionScaleAmount

      Returns:
      Scale Value
    • getConditionScaleAmountCurrency

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

      Original property name from the Odata EDM: ConditionScaleAmountCurrency

      Returns:
      Scale Currency
    • getConditionRateValue

      @Nullable public BigDecimal getConditionRateValue()
      Constraints: Not nullable, Precision: 12, Scale: 3

      Original property name from the Odata EDM: ConditionRateValue

      Returns:
      Condition Amount or Percentage
    • getConditionRateValueUnit

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

      Original property name from the Odata EDM: ConditionRateValueUnit

      Returns:
      Condition Unit (Currency or Percentage)
    • getConditionRateRatioUnit

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

      Original property name from the Odata EDM: ConditionRateRatioUnit

      Returns:
      Unit of Measure
    • getConditionRateRatio

      @Nullable public BigDecimal getConditionRateRatio()
      Constraints: Not nullable, Precision: 24, Scale: 9

      Original property name from the Odata EDM: ConditionRateRatio

      Returns:
      Condition Ratio (in Percent or Per Mille)
    • getConditionCurrency

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

      Original property name from the Odata EDM: ConditionCurrency

      Returns:
      Condition Unit (Currency or Percentage)
    • getConditionRateAmount

      @Nullable public BigDecimal getConditionRateAmount()
      Constraints: Not nullable, Precision: 24, Scale: 9

      Original property name from the Odata EDM: ConditionRateAmount

      Returns:
      Condition Amount or Percentage
    • getConditionScaleIsDeleted

      @Nullable public Boolean getConditionScaleIsDeleted()
      Constraints: none

      Original property name from the Odata EDM: ConditionScaleIsDeleted

      Returns:
      Deletion Indicator for Condition Record
    • toString

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

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

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

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