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

public class PurContrItmCndnAmount extends VdmEntity<PurContrItmCndnAmount>
Purchase Contract Item Condition Amount

Original entity name from the Odata EDM: A_PurContrItmCndnAmountType

  • Field Details

    • ALL_FIELDS

      public static final PurContrItmCndnAmountSelectable ALL_FIELDS
      Selector for all available fields of PurContrItmCndnAmount.
    • PURCHASE_CONTRACT

      public static final PurContrItmCndnAmountField<String> PURCHASE_CONTRACT
      Use with available fluent helpers to apply the PurchaseContract field to query operations.
    • PURCHASE_CONTRACT_ITEM

      public static final PurContrItmCndnAmountField<String> PURCHASE_CONTRACT_ITEM
      Use with available fluent helpers to apply the PurchaseContractItem field to query operations.
    • CONDITION_RECORD

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

      public static final PurContrItmCndnAmountField<LocalDateTime> CONDITION_VALIDITY_END_DATE
      Use with available fluent helpers to apply the ConditionValidityEndDate field to query operations.
    • CONDITION_SEQUENTIAL_NUMBER

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

      public static final PurContrItmCndnAmountField<LocalDateTime> CONDITION_VALIDITY_START_DATE
      Use with available fluent helpers to apply the ConditionValidityStartDate field to query operations.
    • PLANT

      public static final PurContrItmCndnAmountField<String> PLANT
      Use with available fluent helpers to apply the Plant field to query operations.
    • CONDITION_TYPE

      public static final PurContrItmCndnAmountField<String> CONDITION_TYPE
      Use with available fluent helpers to apply the ConditionType field to query operations.
    • CONDITION_TEXT_ID

      public static final PurContrItmCndnAmountField<String> CONDITION_TEXT_ID
      Use with available fluent helpers to apply the ConditionTextID field to query operations.
    • CONDITION_CALCULATION_TYPE

      public static final PurContrItmCndnAmountField<String> CONDITION_CALCULATION_TYPE
      Use with available fluent helpers to apply the ConditionCalculationType field to query operations.
    • CONDITION_RATE_RATIO_UNIT

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

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

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

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

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

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

      public static final PurContrItmCndnAmountField<BigDecimal> CONDITION_QUANTITY
      Use with available fluent helpers to apply the ConditionQuantity field to query operations.
    • CONDITION_QUANTITY_UNIT

      public static final PurContrItmCndnAmountField<String> CONDITION_QUANTITY_UNIT
      Use with available fluent helpers to apply the ConditionQuantityUnit field to query operations.
    • CONDITION_TO_BASE_QTY_NMRTR

      public static final PurContrItmCndnAmountField<BigDecimal> CONDITION_TO_BASE_QTY_NMRTR
      Use with available fluent helpers to apply the ConditionToBaseQtyNmrtr field to query operations.
    • CONDITION_TO_BASE_QTY_DNMNTR

      public static final PurContrItmCndnAmountField<BigDecimal> CONDITION_TO_BASE_QTY_DNMNTR
      Use with available fluent helpers to apply the ConditionToBaseQtyDnmntr field to query operations.
    • BASE_UNIT

      public static final PurContrItmCndnAmountField<String> BASE_UNIT
      Use with available fluent helpers to apply the BaseUnit field to query operations.
    • CONDITION_LOWER_LIMIT_AMOUNT

      public static final PurContrItmCndnAmountField<BigDecimal> CONDITION_LOWER_LIMIT_AMOUNT
      Use with available fluent helpers to apply the ConditionLowerLimitAmount field to query operations.
    • CONDITION_LOWER_LIMIT_RATIO

      public static final PurContrItmCndnAmountField<BigDecimal> CONDITION_LOWER_LIMIT_RATIO
      Use with available fluent helpers to apply the ConditionLowerLimitRatio field to query operations.
    • CONDITION_UPPER_LIMIT_AMOUNT

      public static final PurContrItmCndnAmountField<BigDecimal> CONDITION_UPPER_LIMIT_AMOUNT
      Use with available fluent helpers to apply the ConditionUpperLimitAmount field to query operations.
    • CONDITION_UPPER_LIMIT_RATIO

      public static final PurContrItmCndnAmountField<BigDecimal> CONDITION_UPPER_LIMIT_RATIO
      Use with available fluent helpers to apply the ConditionUpperLimitRatio field to query operations.
    • CONDITION_ALTERNATIVE_CURRENCY

      public static final PurContrItmCndnAmountField<String> CONDITION_ALTERNATIVE_CURRENCY
      Use with available fluent helpers to apply the ConditionAlternativeCurrency field to query operations.
    • CONDITION_EXCLUSION

      public static final PurContrItmCndnAmountField<String> CONDITION_EXCLUSION
      Use with available fluent helpers to apply the ConditionExclusion field to query operations.
    • CONDITION_IS_DELETED

      public static final PurContrItmCndnAmountField<Boolean> CONDITION_IS_DELETED
      Use with available fluent helpers to apply the ConditionIsDeleted field to query operations.
    • ADDITIONAL_VALUE_DAYS

      public static final PurContrItmCndnAmountField<String> ADDITIONAL_VALUE_DAYS
      Use with available fluent helpers to apply the AdditionalValueDays field to query operations.
    • FIXED_VALUE_DATE

      public static final PurContrItmCndnAmountField<LocalDateTime> FIXED_VALUE_DATE
      Use with available fluent helpers to apply the FixedValueDate field to query operations.
    • PAYMENT_TERMS

      public static final PurContrItmCndnAmountField<String> PAYMENT_TERMS
      Use with available fluent helpers to apply the PaymentTerms field to query operations.
    • CNDN_MAX_NUMBER_OF_SALES_ORDERS

      public static final PurContrItmCndnAmountField<String> CNDN_MAX_NUMBER_OF_SALES_ORDERS
      Use with available fluent helpers to apply the CndnMaxNumberOfSalesOrders field to query operations.
    • MINIMUM_CONDITION_BASIS_VALUE

      public static final PurContrItmCndnAmountField<BigDecimal> MINIMUM_CONDITION_BASIS_VALUE
      Use with available fluent helpers to apply the MinimumConditionBasisValue field to query operations.
    • MAXIMUM_CONDITION_BASIS_VALUE

      public static final PurContrItmCndnAmountField<BigDecimal> MAXIMUM_CONDITION_BASIS_VALUE
      Use with available fluent helpers to apply the MaximumConditionBasisValue field to query operations.
    • MAXIMUM_CONDITION_AMOUNT

      public static final PurContrItmCndnAmountField<BigDecimal> MAXIMUM_CONDITION_AMOUNT
      Use with available fluent helpers to apply the MaximumConditionAmount field to query operations.
    • CONDITION_RELEASE_STATUS

      public static final PurContrItmCndnAmountField<String> CONDITION_RELEASE_STATUS
      Use with available fluent helpers to apply the ConditionReleaseStatus field to query operations.
    • CONDITION_CHANGE_REASON

      public static final PurContrItmCndnAmountField<String> CONDITION_CHANGE_REASON
      Use with available fluent helpers to apply the ConditionChangeReason field to query operations.
    • PRICING_SCALE_TYPE

      public static final PurContrItmCndnAmountField<String> PRICING_SCALE_TYPE
      Use with available fluent helpers to apply the PricingScaleType field to query operations.
    • PRICING_SCALE_BASIS

      public static final PurContrItmCndnAmountField<String> PRICING_SCALE_BASIS
      Use with available fluent helpers to apply the PricingScaleBasis field to query operations.
    • PRICING_SCALE_LINE

      public static final PurContrItmCndnAmountField<String> PRICING_SCALE_LINE
      Use with available fluent helpers to apply the PricingScaleLine field to query operations.
    • CONDITION_HAS_SCALES

      public static final PurContrItmCndnAmountField<Boolean> CONDITION_HAS_SCALES
      Use with available fluent helpers to apply the ConditionHasScales field to query operations.
    • PRICING_SCALE_CHECKING_RULE

      public static final PurContrItmCndnAmountField<String> PRICING_SCALE_CHECKING_RULE
      Use with available fluent helpers to apply the PricingScaleCheckingRule field to query operations.
    • TO_PURCHASE_CONTRACT

      public static final PurContrItmCndnAmountOneToOneLink<PurchaseContract> TO_PURCHASE_CONTRACT
      Use with available fluent helpers to apply the to_PurchaseContract navigation property to query operations.
    • TO_PUR_CONTR_ITM_CNDN_SCALES

      public static final PurContrItmCndnAmountLink<PurContrItmCndnScales> TO_PUR_CONTR_ITM_CNDN_SCALES
      Use with available fluent helpers to apply the to_PurContrItmCndnScales navigation property to query operations.
    • TO_PUR_CONTR_ITM_CNDN_VALDTY

      public static final PurContrItmCndnAmountOneToOneLink<PurContrItmCndnValdty> TO_PUR_CONTR_ITM_CNDN_VALDTY
      Use with available fluent helpers to apply the to_PurContrItmCndnValdty navigation property to query operations.
  • Constructor Details

    • PurContrItmCndnAmount

      public PurContrItmCndnAmount()
    • PurContrItmCndnAmount

      public PurContrItmCndnAmount(@Nullable String purchaseContract, @Nullable String purchaseContractItem, @Nullable String conditionRecord, @Nullable LocalDateTime conditionValidityEndDate, @Nullable String conditionSequentialNumber, @Nullable LocalDateTime conditionValidityStartDate, @Nullable String plant, @Nullable String conditionType, @Nullable String conditionTextID, @Nullable String conditionCalculationType, @Nullable String conditionRateRatioUnit, @Nullable BigDecimal conditionRateRatio, @Nullable String conditionCurrency, @Nullable BigDecimal conditionRateAmount, @Nullable BigDecimal conditionRateValue, @Nullable String conditionRateValueUnit, @Nullable BigDecimal conditionQuantity, @Nullable String conditionQuantityUnit, @Nullable BigDecimal conditionToBaseQtyNmrtr, @Nullable BigDecimal conditionToBaseQtyDnmntr, @Nullable String baseUnit, @Nullable BigDecimal conditionLowerLimitAmount, @Nullable BigDecimal conditionLowerLimitRatio, @Nullable BigDecimal conditionUpperLimitAmount, @Nullable BigDecimal conditionUpperLimitRatio, @Nullable String conditionAlternativeCurrency, @Nullable String conditionExclusion, @Nullable Boolean conditionIsDeleted, @Nullable String additionalValueDays, @Nullable LocalDateTime fixedValueDate, @Nullable String paymentTerms, @Nullable String cndnMaxNumberOfSalesOrders, @Nullable BigDecimal minimumConditionBasisValue, @Nullable BigDecimal maximumConditionBasisValue, @Nullable BigDecimal maximumConditionAmount, @Nullable String conditionReleaseStatus, @Nullable String conditionChangeReason, @Nullable String pricingScaleType, @Nullable String pricingScaleBasis, @Nullable String pricingScaleLine, @Nullable Boolean conditionHasScales, @Nullable String pricingScaleCheckingRule, @Nullable PurchaseContract toPurchaseContract, List<PurContrItmCndnScales> toPurContrItmCndnScales, @Nullable PurContrItmCndnValdty toPurContrItmCndnValdty)
  • Method Details

    • getType

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

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

      Original property name from the Odata EDM: PurchaseContract

      Parameters:
      purchaseContract - Purchasing Document Number
    • setPurchaseContractItem

      public void setPurchaseContractItem(@Nullable String purchaseContractItem)
      (Key Field) Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: PurchaseContractItem

      Parameters:
      purchaseContractItem - Item Number of Purchasing Document
    • 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
    • setConditionValidityEndDate

      public void setConditionValidityEndDate(@Nullable LocalDateTime conditionValidityEndDate)
      (Key Field) Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: ConditionValidityEndDate

      Parameters:
      conditionValidityEndDate - Validity end date of the 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
    • setConditionValidityStartDate

      public void setConditionValidityStartDate(@Nullable LocalDateTime conditionValidityStartDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: ConditionValidityStartDate

      Parameters:
      conditionValidityStartDate - Validity start date of the condition record
    • setPlant

      public void setPlant(@Nullable String plant)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: Plant

      Parameters:
      plant - Plant
    • setConditionType

      public void setConditionType(@Nullable String conditionType)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: ConditionType

      Parameters:
      conditionType - Condition Type
    • setConditionTextID

      public void setConditionTextID(@Nullable String conditionTextID)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: ConditionTextID

      Parameters:
      conditionTextID - Number of texts
    • setConditionCalculationType

      public void setConditionCalculationType(@Nullable String conditionCalculationType)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: ConditionCalculationType

      Parameters:
      conditionCalculationType - Calculation Type for Condition
    • 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
    • setConditionRateValue

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

      Original property name from the Odata EDM: ConditionRateValue

      Parameters:
      conditionRateValue - Condition amount or percentage where no scale exists
    • 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)
    • setConditionQuantity

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

      Original property name from the Odata EDM: ConditionQuantity

      Parameters:
      conditionQuantity - Condition Pricing Unit
    • setConditionQuantityUnit

      public void setConditionQuantityUnit(@Nullable String conditionQuantityUnit)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: ConditionQuantityUnit

      Parameters:
      conditionQuantityUnit - Condition Unit
    • setConditionToBaseQtyNmrtr

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

      Original property name from the Odata EDM: ConditionToBaseQtyNmrtr

      Parameters:
      conditionToBaseQtyNmrtr - Numerator for converting condition units to base units
    • setConditionToBaseQtyDnmntr

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

      Original property name from the Odata EDM: ConditionToBaseQtyDnmntr

      Parameters:
      conditionToBaseQtyDnmntr - Denominator for converting condition units to base units
    • setBaseUnit

      public void setBaseUnit(@Nullable String baseUnit)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: BaseUnit

      Parameters:
      baseUnit - Base Unit of Measure
    • setConditionLowerLimitAmount

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

      Original property name from the Odata EDM: ConditionLowerLimitAmount

      Parameters:
      conditionLowerLimitAmount - Condition Amount or Percentage
    • setConditionLowerLimitRatio

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

      Original property name from the Odata EDM: ConditionLowerLimitRatio

      Parameters:
      conditionLowerLimitRatio - Condition Ratio (in Percent or Per Mille)
    • setConditionUpperLimitAmount

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

      Original property name from the Odata EDM: ConditionUpperLimitAmount

      Parameters:
      conditionUpperLimitAmount - Condition Amount or Percentage
    • setConditionUpperLimitRatio

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

      Original property name from the Odata EDM: ConditionUpperLimitRatio

      Parameters:
      conditionUpperLimitRatio - Condition Ratio (in Percent or Per Mille)
    • setConditionAlternativeCurrency

      public void setConditionAlternativeCurrency(@Nullable String conditionAlternativeCurrency)
      Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: ConditionAlternativeCurrency

      Parameters:
      conditionAlternativeCurrency - Condition Currency (for Cumulation Fields)
    • setConditionExclusion

      public void setConditionExclusion(@Nullable String conditionExclusion)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: ConditionExclusion

      Parameters:
      conditionExclusion - Condition exclusion indicator
    • setConditionIsDeleted

      public void setConditionIsDeleted(@Nullable Boolean conditionIsDeleted)
      Constraints: none

      Original property name from the Odata EDM: ConditionIsDeleted

      Parameters:
      conditionIsDeleted - Deletion Indicator for Condition Record
    • setAdditionalValueDays

      public void setAdditionalValueDays(@Nullable String additionalValueDays)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: AdditionalValueDays

      Parameters:
      additionalValueDays - Additional Value Days
    • setFixedValueDate

      public void setFixedValueDate(@Nullable LocalDateTime fixedValueDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: FixedValueDate

      Parameters:
      fixedValueDate - Fixed Value Date
    • setPaymentTerms

      public void setPaymentTerms(@Nullable String paymentTerms)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: PaymentTerms

      Parameters:
      paymentTerms - Terms of Payment Key
    • setCndnMaxNumberOfSalesOrders

      public void setCndnMaxNumberOfSalesOrders(@Nullable String cndnMaxNumberOfSalesOrders)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: CndnMaxNumberOfSalesOrders

      Parameters:
      cndnMaxNumberOfSalesOrders - Maximum number of sales orders per condition record
    • setMinimumConditionBasisValue

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

      Original property name from the Odata EDM: MinimumConditionBasisValue

      Parameters:
      minimumConditionBasisValue - Minimum condition base value
    • setMaximumConditionBasisValue

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

      Original property name from the Odata EDM: MaximumConditionBasisValue

      Parameters:
      maximumConditionBasisValue - Maximum condition base value
    • setMaximumConditionAmount

      public void setMaximumConditionAmount(@Nullable BigDecimal maximumConditionAmount)
      Constraints: Not nullable, Precision: 13, Scale: 3

      Original property name from the Odata EDM: MaximumConditionAmount

      Parameters:
      maximumConditionAmount - Maximum condition value
    • setConditionReleaseStatus

      public void setConditionReleaseStatus(@Nullable String conditionReleaseStatus)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: ConditionReleaseStatus

      Parameters:
      conditionReleaseStatus - Release Status
    • setConditionChangeReason

      public void setConditionChangeReason(@Nullable String conditionChangeReason)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: ConditionChangeReason

      Parameters:
      conditionChangeReason - Reason for Changing Condition Record
    • setPricingScaleType

      public void setPricingScaleType(@Nullable String pricingScaleType)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: PricingScaleType

      Parameters:
      pricingScaleType - Scale Type
    • setPricingScaleBasis

      public void setPricingScaleBasis(@Nullable String pricingScaleBasis)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: PricingScaleBasis

      Parameters:
      pricingScaleBasis - Scale Base Type
    • setPricingScaleLine

      public void setPricingScaleLine(@Nullable String pricingScaleLine)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: PricingScaleLine

      Parameters:
      pricingScaleLine - Scale number for pricing
    • setConditionHasScales

      public void setConditionHasScales(@Nullable Boolean conditionHasScales)
      Constraints: none

      Original property name from the Odata EDM: ConditionHasScales

      Parameters:
      conditionHasScales - Scales are maintained
    • setPricingScaleCheckingRule

      public void setPricingScaleCheckingRule(@Nullable String pricingScaleCheckingRule)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: PricingScaleCheckingRule

      Parameters:
      pricingScaleCheckingRule - Checking Rule for Scale Amounts
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> PurContrItmCndnAmountField<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> PurContrItmCndnAmountField<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<PurContrItmCndnAmount>
    • setServicePathForFetch

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

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

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

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

      @Nullable public PurchaseContract fetchPurchaseContract()
      Fetches the PurchaseContract entity (one to one) associated with this entity. This corresponds to the OData navigation property to_PurchaseContract.

      Please note: This method will not cache or persist the query results.

      Returns:
      The single associated PurchaseContract entity, or null if an entity is not associated.
      Throws:
      com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException - If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
    • getPurchaseContractOrFetch

      @Nullable public PurchaseContract getPurchaseContractOrFetch()
      Retrieval of associated PurchaseContract entity (one to one). This corresponds to the OData navigation property to_PurchaseContract.

      If the navigation property to_PurchaseContract of a queried PurContrItmCndnAmount 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.

      Returns:
      List of associated PurchaseContract entity.
      Throws:
      com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException - If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
    • getPurchaseContractIfPresent

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

      If the navigation property for an entity PurContrItmCndnAmount 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 to_PurchaseContract is already loaded, the result will contain the PurchaseContract entity. If not, an Option with result state empty is returned.
    • setPurchaseContract

      public void setPurchaseContract(PurchaseContract value)
      Overwrites the associated PurchaseContract entity for the loaded navigation property to_PurchaseContract.
      Parameters:
      value - New PurchaseContract entity.
    • fetchPurContrItmCndnScales

      @Nonnull public List<PurContrItmCndnScales> fetchPurContrItmCndnScales()
      Fetches the PurContrItmCndnScales entities (one to many) associated with this entity. This corresponds to the OData navigation property to_PurContrItmCndnScales.

      Please note: This method will not cache or persist the query results.

      Returns:
      List containing one or more associated PurContrItmCndnScales entities. If no entities are associated then an empty list is returned.
      Throws:
      com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException - If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
    • getPurContrItmCndnScalesOrFetch

      @Nonnull public List<PurContrItmCndnScales> getPurContrItmCndnScalesOrFetch()
      Retrieval of associated PurContrItmCndnScales entities (one to many). This corresponds to the OData navigation property to_PurContrItmCndnScales.

      If the navigation property to_PurContrItmCndnScales of a queried PurContrItmCndnAmount 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.

      Returns:
      List of associated PurContrItmCndnScales entities.
      Throws:
      com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException - If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
    • getPurContrItmCndnScalesIfPresent

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

      If the navigation property for an entity PurContrItmCndnAmount 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 to_PurContrItmCndnScales is already loaded, the result will contain the PurContrItmCndnScales entities. If not, an Option with result state empty is returned.
    • setPurContrItmCndnScales

      public void setPurContrItmCndnScales(@Nonnull List<PurContrItmCndnScales> value)
      Overwrites the list of associated PurContrItmCndnScales entities for the loaded navigation property to_PurContrItmCndnScales.

      If the navigation property to_PurContrItmCndnScales of a queried PurContrItmCndnAmount 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 PurContrItmCndnScales entities.
    • addPurContrItmCndnScales

      public void addPurContrItmCndnScales(PurContrItmCndnScales... entity)
      Adds elements to the list of associated PurContrItmCndnScales entities. This corresponds to the OData navigation property to_PurContrItmCndnScales.

      If the navigation property to_PurContrItmCndnScales of a queried PurContrItmCndnAmount 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 PurContrItmCndnScales entities.
    • fetchPurContrItmCndnValdty

      @Nullable public PurContrItmCndnValdty fetchPurContrItmCndnValdty()
      Fetches the PurContrItmCndnValdty entity (one to one) associated with this entity. This corresponds to the OData navigation property to_PurContrItmCndnValdty.

      Please note: This method will not cache or persist the query results.

      Returns:
      The single associated PurContrItmCndnValdty entity, or null if an entity is not associated.
      Throws:
      com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException - If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
    • getPurContrItmCndnValdtyOrFetch

      @Nullable public PurContrItmCndnValdty getPurContrItmCndnValdtyOrFetch()
      Retrieval of associated PurContrItmCndnValdty entity (one to one). This corresponds to the OData navigation property to_PurContrItmCndnValdty.

      If the navigation property to_PurContrItmCndnValdty of a queried PurContrItmCndnAmount 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.

      Returns:
      List of associated PurContrItmCndnValdty entity.
      Throws:
      com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException - If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
    • getPurContrItmCndnValdtyIfPresent

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

      If the navigation property for an entity PurContrItmCndnAmount 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 to_PurContrItmCndnValdty is already loaded, the result will contain the PurContrItmCndnValdty entity. If not, an Option with result state empty is returned.
    • setPurContrItmCndnValdty

      public void setPurContrItmCndnValdty(PurContrItmCndnValdty value)
      Overwrites the associated PurContrItmCndnValdty entity for the loaded navigation property to_PurContrItmCndnValdty.
      Parameters:
      value - New PurContrItmCndnValdty entity.
    • builder

      @Nonnull public static PurContrItmCndnAmount.PurContrItmCndnAmountBuilder builder()
    • getPurchaseContract

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

      Original property name from the Odata EDM: PurchaseContract

      Returns:
      Purchasing Document Number
    • getPurchaseContractItem

      @Nullable public String getPurchaseContractItem()
      (Key Field) Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: PurchaseContractItem

      Returns:
      Item Number of Purchasing Document
    • 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
    • getConditionValidityEndDate

      @Nullable public LocalDateTime getConditionValidityEndDate()
      (Key Field) Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: ConditionValidityEndDate

      Returns:
      Validity end date of the 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
    • getConditionValidityStartDate

      @Nullable public LocalDateTime getConditionValidityStartDate()
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: ConditionValidityStartDate

      Returns:
      Validity start date of the condition record
    • getPlant

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

      Original property name from the Odata EDM: Plant

      Returns:
      Plant
    • getConditionType

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

      Original property name from the Odata EDM: ConditionType

      Returns:
      Condition Type
    • getConditionTextID

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

      Original property name from the Odata EDM: ConditionTextID

      Returns:
      Number of texts
    • getConditionCalculationType

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

      Original property name from the Odata EDM: ConditionCalculationType

      Returns:
      Calculation Type for Condition
    • 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
    • getConditionRateValue

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

      Original property name from the Odata EDM: ConditionRateValue

      Returns:
      Condition amount or percentage where no scale exists
    • 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)
    • getConditionQuantity

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

      Original property name from the Odata EDM: ConditionQuantity

      Returns:
      Condition Pricing Unit
    • getConditionQuantityUnit

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

      Original property name from the Odata EDM: ConditionQuantityUnit

      Returns:
      Condition Unit
    • getConditionToBaseQtyNmrtr

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

      Original property name from the Odata EDM: ConditionToBaseQtyNmrtr

      Returns:
      Numerator for converting condition units to base units
    • getConditionToBaseQtyDnmntr

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

      Original property name from the Odata EDM: ConditionToBaseQtyDnmntr

      Returns:
      Denominator for converting condition units to base units
    • getBaseUnit

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

      Original property name from the Odata EDM: BaseUnit

      Returns:
      Base Unit of Measure
    • getConditionLowerLimitAmount

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

      Original property name from the Odata EDM: ConditionLowerLimitAmount

      Returns:
      Condition Amount or Percentage
    • getConditionLowerLimitRatio

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

      Original property name from the Odata EDM: ConditionLowerLimitRatio

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

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

      Original property name from the Odata EDM: ConditionUpperLimitAmount

      Returns:
      Condition Amount or Percentage
    • getConditionUpperLimitRatio

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

      Original property name from the Odata EDM: ConditionUpperLimitRatio

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

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

      Original property name from the Odata EDM: ConditionAlternativeCurrency

      Returns:
      Condition Currency (for Cumulation Fields)
    • getConditionExclusion

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

      Original property name from the Odata EDM: ConditionExclusion

      Returns:
      Condition exclusion indicator
    • getConditionIsDeleted

      @Nullable public Boolean getConditionIsDeleted()
      Constraints: none

      Original property name from the Odata EDM: ConditionIsDeleted

      Returns:
      Deletion Indicator for Condition Record
    • getAdditionalValueDays

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

      Original property name from the Odata EDM: AdditionalValueDays

      Returns:
      Additional Value Days
    • getFixedValueDate

      @Nullable public LocalDateTime getFixedValueDate()
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: FixedValueDate

      Returns:
      Fixed Value Date
    • getPaymentTerms

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

      Original property name from the Odata EDM: PaymentTerms

      Returns:
      Terms of Payment Key
    • getCndnMaxNumberOfSalesOrders

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

      Original property name from the Odata EDM: CndnMaxNumberOfSalesOrders

      Returns:
      Maximum number of sales orders per condition record
    • getMinimumConditionBasisValue

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

      Original property name from the Odata EDM: MinimumConditionBasisValue

      Returns:
      Minimum condition base value
    • getMaximumConditionBasisValue

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

      Original property name from the Odata EDM: MaximumConditionBasisValue

      Returns:
      Maximum condition base value
    • getMaximumConditionAmount

      @Nullable public BigDecimal getMaximumConditionAmount()
      Constraints: Not nullable, Precision: 13, Scale: 3

      Original property name from the Odata EDM: MaximumConditionAmount

      Returns:
      Maximum condition value
    • getConditionReleaseStatus

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

      Original property name from the Odata EDM: ConditionReleaseStatus

      Returns:
      Release Status
    • getConditionChangeReason

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

      Original property name from the Odata EDM: ConditionChangeReason

      Returns:
      Reason for Changing Condition Record
    • getPricingScaleType

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

      Original property name from the Odata EDM: PricingScaleType

      Returns:
      Scale Type
    • getPricingScaleBasis

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

      Original property name from the Odata EDM: PricingScaleBasis

      Returns:
      Scale Base Type
    • getPricingScaleLine

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

      Original property name from the Odata EDM: PricingScaleLine

      Returns:
      Scale number for pricing
    • getConditionHasScales

      @Nullable public Boolean getConditionHasScales()
      Constraints: none

      Original property name from the Odata EDM: ConditionHasScales

      Returns:
      Scales are maintained
    • getPricingScaleCheckingRule

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

      Original property name from the Odata EDM: PricingScaleCheckingRule

      Returns:
      Checking Rule for Scale Amounts
    • toString

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

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

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

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