Class ProductMLPrices
Original entity name from the Odata EDM: A_ProductMLPricesType
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ProductMLPricesSelectableSelector for all available fields of ProductMLPrices.static final ProductMLPricesField<String>Use with available fluent helpers to apply the Currency field to query operations.static final ProductMLPricesField<String>Use with available fluent helpers to apply the CurrencyRole field to query operations.static final ProductMLPricesField<BigDecimal>Use with available fluent helpers to apply the FuturePrice field to query operations.static final ProductMLPricesField<LocalDateTime>Use with available fluent helpers to apply the FuturePriceValidityStartDate field to query operations.static final ProductMLPricesField<BigDecimal>Use with available fluent helpers to apply the PlannedPrice field to query operations.static final ProductMLPricesField<String>Use with available fluent helpers to apply the Product field to query operations.static final ProductMLPricesField<String>Use with available fluent helpers to apply the ValuationArea field to query operations.static final ProductMLPricesField<String>Use with available fluent helpers to apply the ValuationType field to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
ConstructorsConstructorDescriptionProductMLPrices(String product, String valuationArea, String valuationType, String currencyRole, String currency, BigDecimal futurePrice, LocalDateTime futurePriceValidityStartDate, BigDecimal plannedPrice) -
Method Summary
Modifier and TypeMethodDescriptionvoidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanstatic <T,DomainT>
ProductMLPricesField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> ProductMLPricesField<T>Use with available fluent helpers to apply an extension field to query operations.protected voidConstraints: Not nullable, Maximum length: 5(Key Field) Constraints: Not nullable, Maximum length: 2protected Stringprotected StringConstraints: Not nullable, Precision: 12, Scale: 3Constraints: Not nullable, Precision: 0getKey()Constraints: Not nullable, Precision: 24, Scale: 3(Key Field) Constraints: Not nullable, Maximum length: 40getType()(Key Field) Constraints: Not nullable, Maximum length: 4(Key Field) Constraints: Not nullable, Maximum length: 10inthashCode()voidsetCurrency(String currency) Constraints: Not nullable, Maximum length: 5voidsetCurrencyRole(String currencyRole) (Key Field) Constraints: Not nullable, Maximum length: 2voidsetFuturePrice(BigDecimal futurePrice) Constraints: Not nullable, Precision: 12, Scale: 3voidsetFuturePriceValidityStartDate(LocalDateTime futurePriceValidityStartDate) Constraints: Not nullable, Precision: 0voidsetPlannedPrice(BigDecimal plannedPrice) Constraints: Not nullable, Precision: 24, Scale: 3voidsetProduct(String product) (Key Field) Constraints: Not nullable, Maximum length: 40protected voidsetServicePathForFetch(String servicePathForFetch) voidsetValuationArea(String valuationArea) (Key Field) Constraints: Not nullable, Maximum length: 4voidsetValuationType(String valuationType) (Key Field) Constraints: Not nullable, Maximum length: 10toString()Methods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity
fetchFieldAsList, fetchFieldAsSingle, getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setVersionIdentifierMethods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields, toMapOfNavigationProperties
-
Field Details
-
ALL_FIELDS
Selector for all available fields of ProductMLPrices. -
PRODUCT
Use with available fluent helpers to apply the Product field to query operations. -
VALUATION_AREA
Use with available fluent helpers to apply the ValuationArea field to query operations. -
VALUATION_TYPE
Use with available fluent helpers to apply the ValuationType field to query operations. -
CURRENCY_ROLE
Use with available fluent helpers to apply the CurrencyRole field to query operations. -
CURRENCY
Use with available fluent helpers to apply the Currency field to query operations. -
FUTURE_PRICE
Use with available fluent helpers to apply the FuturePrice field to query operations. -
FUTURE_PRICE_VALIDITY_START_DATE
Use with available fluent helpers to apply the FuturePriceValidityStartDate field to query operations. -
PLANNED_PRICE
Use with available fluent helpers to apply the PlannedPrice field to query operations.
-
-
Constructor Details
-
ProductMLPrices
public ProductMLPrices() -
ProductMLPrices
public ProductMLPrices(@Nullable String product, @Nullable String valuationArea, @Nullable String valuationType, @Nullable String currencyRole, @Nullable String currency, @Nullable BigDecimal futurePrice, @Nullable LocalDateTime futurePriceValidityStartDate, @Nullable BigDecimal plannedPrice)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<ProductMLPrices>
-
setProduct
(Key Field) Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: Product
- Parameters:
product- Material Number
-
setValuationArea
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ValuationArea
- Parameters:
valuationArea- Valuation Area
-
setValuationType
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ValuationType
- Parameters:
valuationType- Valuation Type
-
setCurrencyRole
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: CurrencyRole
- Parameters:
currencyRole- External Currency Type and Valuation View
-
setCurrency
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: Currency
- Parameters:
currency- Currency Key
-
setFuturePrice
Constraints: Not nullable, Precision: 12, Scale: 3Original property name from the Odata EDM: FuturePrice
- Parameters:
futurePrice- Future Price
-
setFuturePriceValidityStartDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: FuturePriceValidityStartDate
- Parameters:
futurePriceValidityStartDate- Date from Which a Future Valuation Price Is to Be Valid
-
setPlannedPrice
Constraints: Not nullable, Precision: 24, Scale: 3Original property name from the Odata EDM: PlannedPrice
- Parameters:
plannedPrice- Cost
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<ProductMLPrices>
-
getKey
- Overrides:
getKeyin classVdmObject<ProductMLPrices>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<ProductMLPrices>
-
fromMap
- Overrides:
fromMapin classVdmObject<ProductMLPrices>
-
field
@Nonnull public static <T> ProductMLPricesField<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> ProductMLPricesField<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 fieldfieldName- 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
- Overrides:
getDestinationForFetchin classVdmEntity<ProductMLPrices>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<ProductMLPrices>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<ProductMLPrices>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<ProductMLPrices>
-
builder
-
getProduct
(Key Field) Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: Product
- Returns:
- Material Number
-
getValuationArea
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ValuationArea
- Returns:
- Valuation Area
-
getValuationType
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ValuationType
- Returns:
- Valuation Type
-
getCurrencyRole
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: CurrencyRole
- Returns:
- External Currency Type and Valuation View
-
getCurrency
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: Currency
- Returns:
- Currency Key
-
getFuturePrice
Constraints: Not nullable, Precision: 12, Scale: 3Original property name from the Odata EDM: FuturePrice
- Returns:
- Future Price
-
getFuturePriceValidityStartDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: FuturePriceValidityStartDate
- Returns:
- Date from Which a Future Valuation Price Is to Be Valid
-
getPlannedPrice
Constraints: Not nullable, Precision: 24, Scale: 3Original property name from the Odata EDM: PlannedPrice
- Returns:
- Cost
-
toString
- Overrides:
toStringin classVdmObject<ProductMLPrices>
-
equals
- Overrides:
equalsin classVdmEntity<ProductMLPrices>
-
canEqual
- Overrides:
canEqualin classVdmEntity<ProductMLPrices>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<ProductMLPrices>
-