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

public class ServiceQtanPriceElement extends VdmEntity<ServiceQtanPriceElement>
Price Element of Service Quotation

Original entity name from the Odata EDM: A_ServiceQtanPriceElementType

  • Field Details

    • ALL_FIELDS

      public static final ServiceQtanPriceElementSelectable ALL_FIELDS
      Selector for all available fields of ServiceQtanPriceElement.
    • SERVICE_QUOTATION

      public static final ServiceQtanPriceElementField<String> SERVICE_QUOTATION
      Use with available fluent helpers to apply the ServiceQuotation field to query operations.
    • PRICING_PROCEDURE_STEP

      public static final ServiceQtanPriceElementField<String> PRICING_PROCEDURE_STEP
      Use with available fluent helpers to apply the PricingProcedureStep field to query operations.
    • PRICING_PROCEDURE_COUNTER

      public static final ServiceQtanPriceElementField<String> PRICING_PROCEDURE_COUNTER
      Use with available fluent helpers to apply the PricingProcedureCounter field to query operations.
    • CONDITION_TYPE

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

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

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

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

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

    • ServiceQtanPriceElement

      public ServiceQtanPriceElement()
    • ServiceQtanPriceElement

      public ServiceQtanPriceElement(@Nullable String serviceQuotation, @Nullable String pricingProcedureStep, @Nullable String pricingProcedureCounter, @Nullable String conditionType, @Nullable BigDecimal conditionRateValue, @Nullable String conditionCurrency, @Nullable BigDecimal conditionQuantity, @Nullable String conditionQuantityUnit)
  • Method Details

    • getType

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

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

      Original property name from the Odata EDM: ServiceQuotation

      Parameters:
      serviceQuotation - Transaction ID
    • setPricingProcedureStep

      public void setPricingProcedureStep(@Nullable String pricingProcedureStep)
      (Key Field) Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: PricingProcedureStep

      Parameters:
      pricingProcedureStep - Step Number
    • setPricingProcedureCounter

      public void setPricingProcedureCounter(@Nullable String pricingProcedureCounter)
      (Key Field) Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: PricingProcedureCounter

      Parameters:
      pricingProcedureCounter - Condition Counter
    • 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
    • setConditionRateValue

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

      Original property name from the Odata EDM: ConditionRateValue

      Parameters:
      conditionRateValue - Condition Amount or Percentage
    • setConditionCurrency

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

      Original property name from the Odata EDM: ConditionCurrency

      Parameters:
      conditionCurrency - Currency Key
    • 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 in the Document
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> ServiceQtanPriceElementField<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> ServiceQtanPriceElementField<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<ServiceQtanPriceElement>
    • setServicePathForFetch

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

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

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

    • getServiceQuotation

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

      Original property name from the Odata EDM: ServiceQuotation

      Returns:
      Transaction ID
    • getPricingProcedureStep

      @Nullable public String getPricingProcedureStep()
      (Key Field) Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: PricingProcedureStep

      Returns:
      Step Number
    • getPricingProcedureCounter

      @Nullable public String getPricingProcedureCounter()
      (Key Field) Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: PricingProcedureCounter

      Returns:
      Condition Counter
    • getConditionType

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

      Original property name from the Odata EDM: ConditionType

      Returns:
      Condition Type
    • getConditionRateValue

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

      Original property name from the Odata EDM: ConditionRateValue

      Returns:
      Condition Amount or Percentage
    • getConditionCurrency

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

      Original property name from the Odata EDM: ConditionCurrency

      Returns:
      Currency Key
    • 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 in the Document
    • toString

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

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

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

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