Class ProductMLAccount
Original entity name from the Odata EDM: A_ProductMLAccountType
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ProductMLAccountSelectableSelector for all available fields of ProductMLAccount.static final ProductMLAccountField<String>Use with available fluent helpers to apply the Currency field to query operations.static final ProductMLAccountField<String>Use with available fluent helpers to apply the CurrencyRole field to query operations.static final ProductMLAccountField<BigDecimal>Use with available fluent helpers to apply the MovingAveragePrice field to query operations.static final ProductMLAccountField<BigDecimal>Use with available fluent helpers to apply the PriceUnitQty field to query operations.static final ProductMLAccountField<String>Use with available fluent helpers to apply the Product field to query operations.static final ProductMLAccountField<String>Use with available fluent helpers to apply the ProductPriceControl field to query operations.static final ProductMLAccountField<BigDecimal>Use with available fluent helpers to apply the StandardPrice field to query operations.static final ProductMLAccountField<String>Use with available fluent helpers to apply the ValuationArea field to query operations.static final ProductMLAccountField<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
ConstructorsConstructorDescriptionProductMLAccount(String product, String valuationArea, String valuationType, String currencyRole, String currency, String productPriceControl, BigDecimal priceUnitQty, BigDecimal movingAveragePrice, BigDecimal standardPrice) -
Method Summary
Modifier and TypeMethodDescriptionvoidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanstatic <T,DomainT>
ProductMLAccountField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> ProductMLAccountField<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 StringgetKey()Constraints: Not nullable, Precision: 12, Scale: 3Constraints: Not nullable, Precision: 5, Scale: 0(Key Field) Constraints: Not nullable, Maximum length: 40Constraints: Not nullable, Maximum length: 1Constraints: Not nullable, Precision: 12, Scale: 3getType()(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: 2voidsetMovingAveragePrice(BigDecimal movingAveragePrice) Constraints: Not nullable, Precision: 12, Scale: 3voidsetPriceUnitQty(BigDecimal priceUnitQty) Constraints: Not nullable, Precision: 5, Scale: 0voidsetProduct(String product) (Key Field) Constraints: Not nullable, Maximum length: 40voidsetProductPriceControl(String productPriceControl) Constraints: Not nullable, Maximum length: 1protected voidsetServicePathForFetch(String servicePathForFetch) voidsetStandardPrice(BigDecimal standardPrice) Constraints: Not nullable, Precision: 12, Scale: 3voidsetValuationArea(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 ProductMLAccount. -
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. -
PRODUCT_PRICE_CONTROL
Use with available fluent helpers to apply the ProductPriceControl field to query operations. -
PRICE_UNIT_QTY
Use with available fluent helpers to apply the PriceUnitQty field to query operations. -
MOVING_AVERAGE_PRICE
Use with available fluent helpers to apply the MovingAveragePrice field to query operations. -
STANDARD_PRICE
Use with available fluent helpers to apply the StandardPrice field to query operations.
-
-
Constructor Details
-
ProductMLAccount
public ProductMLAccount() -
ProductMLAccount
public ProductMLAccount(@Nullable String product, @Nullable String valuationArea, @Nullable String valuationType, @Nullable String currencyRole, @Nullable String currency, @Nullable String productPriceControl, @Nullable BigDecimal priceUnitQty, @Nullable BigDecimal movingAveragePrice, @Nullable BigDecimal standardPrice)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<ProductMLAccount>
-
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
-
setProductPriceControl
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: ProductPriceControl
- Parameters:
productPriceControl- Price control indicator
-
setPriceUnitQty
Constraints: Not nullable, Precision: 5, Scale: 0Original property name from the Odata EDM: PriceUnitQty
- Parameters:
priceUnitQty- Price unit
-
setMovingAveragePrice
Constraints: Not nullable, Precision: 12, Scale: 3Original property name from the Odata EDM: MovingAveragePrice
- Parameters:
movingAveragePrice- Periodic unit price
-
setStandardPrice
Constraints: Not nullable, Precision: 12, Scale: 3Original property name from the Odata EDM: StandardPrice
- Parameters:
standardPrice- Standard price
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<ProductMLAccount>
-
getKey
- Overrides:
getKeyin classVdmObject<ProductMLAccount>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<ProductMLAccount>
-
fromMap
- Overrides:
fromMapin classVdmObject<ProductMLAccount>
-
field
@Nonnull public static <T> ProductMLAccountField<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> ProductMLAccountField<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<ProductMLAccount>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<ProductMLAccount>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<ProductMLAccount>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<ProductMLAccount>
-
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
-
getProductPriceControl
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: ProductPriceControl
- Returns:
- Price control indicator
-
getPriceUnitQty
Constraints: Not nullable, Precision: 5, Scale: 0Original property name from the Odata EDM: PriceUnitQty
- Returns:
- Price unit
-
getMovingAveragePrice
Constraints: Not nullable, Precision: 12, Scale: 3Original property name from the Odata EDM: MovingAveragePrice
- Returns:
- Periodic unit price
-
getStandardPrice
Constraints: Not nullable, Precision: 12, Scale: 3Original property name from the Odata EDM: StandardPrice
- Returns:
- Standard price
-
toString
- Overrides:
toStringin classVdmObject<ProductMLAccount>
-
equals
- Overrides:
equalsin classVdmEntity<ProductMLAccount>
-
canEqual
- Overrides:
canEqualin classVdmEntity<ProductMLAccount>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<ProductMLAccount>
-