Class ProductSales
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: ProductSales_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of ProductSales instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<ProductSales>Selector for all available fields of ProductSales.static final SimpleProperty.NumericDecimal<ProductSales>static final SimpleProperty.String<ProductSales>static final SimpleProperty.NumericDecimal<ProductSales>static final SimpleProperty.String<ProductSales>static final SimpleProperty.String<ProductSales>static final SimpleProperty.String<ProductSales>static final SimpleProperty.NumericDecimal<ProductSales>static final SimpleProperty.NumericDecimal<ProductSales>static final SimpleProperty.String<ProductSales>static final SimpleProperty.Boolean<ProductSales>static final SimpleProperty.NumericDecimal<ProductSales>static final SimpleProperty.String<ProductSales>static final SimpleProperty.NumericInteger<ProductSales>static final SimpleProperty.String<ProductSales>static final SimpleProperty.Date<ProductSales>static final NavigationProperty.Single<ProductSales,Product> Use with available request builders to apply the _Product navigation property to query operations.static final SimpleProperty.String<ProductSales>Fields inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS -
Constructor Summary
ConstructorsConstructorDescriptionProductSales(String product, String salesStatus, LocalDate salesStatusValidityDate, String transportationGroup, String packagingProductType, BigDecimal allowedPackagingWeightQty, String allowedPackagingWeightQtyUnit, String allwdPackagingWeightQtyISOUnit, BigDecimal allowedPackagingVolumeQty, String allowedPackagingVolumeQtyUnit, String allwdPackagingVolumeQtyISOUnit, BigDecimal maximumLevelByVolumeInPercent, BigDecimal excessWeightToleranceValue, Boolean packggProductIsClosedPackaging, Short productStackingFactor, BigDecimal prodExcessVolumeToleranceValue, Product to_Product) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanprotected voidConstraints: Not nullable, Precision: 13, Scale: 3Constraints: Not nullable, Maximum length: 3Constraints: Not nullable, Precision: 13, Scale: 3Constraints: Not nullable, Maximum length: 3Constraints: Not nullable, Maximum length: 3Constraints: Not nullable, Maximum length: 3protected Stringprotected StringConstraints: Not nullable, Precision: 3, Scale: 1protected ODataEntityKeygetKey()Constraints: Not nullable, Precision: 3Constraints: Not nullable, Maximum length: 4Constraints: Not nullableConstraints: Not nullable, Precision: 3, Scale: 1(Key Field) Constraints: Not nullable, Maximum length: 18io.vavr.control.Option<Product>Retrieval of associated Product entity (one to one).Constraints: Not nullableConstraints: Not nullable, Maximum length: 2Constraints: NullableConstraints: Not nullable, Maximum length: 4getType()inthashCode()voidsetAllowedPackagingVolumeQty(BigDecimal allowedPackagingVolumeQty) Constraints: Not nullable, Precision: 13, Scale: 3voidsetAllowedPackagingVolumeQtyUnit(String allowedPackagingVolumeQtyUnit) Constraints: Not nullable, Maximum length: 3voidsetAllowedPackagingWeightQty(BigDecimal allowedPackagingWeightQty) Constraints: Not nullable, Precision: 13, Scale: 3voidsetAllowedPackagingWeightQtyUnit(String allowedPackagingWeightQtyUnit) Constraints: Not nullable, Maximum length: 3voidsetAllwdPackagingVolumeQtyISOUnit(String allwdPackagingVolumeQtyISOUnit) Constraints: Not nullable, Maximum length: 3voidsetAllwdPackagingWeightQtyISOUnit(String allwdPackagingWeightQtyISOUnit) Constraints: Not nullable, Maximum length: 3voidsetExcessWeightToleranceValue(BigDecimal excessWeightToleranceValue) Constraints: Not nullable, Precision: 3, Scale: 1voidsetMaximumLevelByVolumeInPercent(BigDecimal maximumLevelByVolumeInPercent) Constraints: Not nullable, Precision: 3voidsetPackagingProductType(String packagingProductType) Constraints: Not nullable, Maximum length: 4voidsetPackggProductIsClosedPackaging(Boolean packggProductIsClosedPackaging) Constraints: Not nullablevoidsetProdExcessVolumeToleranceValue(BigDecimal prodExcessVolumeToleranceValue) Constraints: Not nullable, Precision: 3, Scale: 1voidsetProduct(Product value) Overwrites the associated Product entity for the loaded navigation property _Product.voidsetProduct(String product) (Key Field) Constraints: Not nullable, Maximum length: 18voidsetProductStackingFactor(Short productStackingFactor) Constraints: Not nullablevoidsetSalesStatus(String salesStatus) Constraints: Not nullable, Maximum length: 2voidsetSalesStatusValidityDate(LocalDate salesStatusValidityDate) Constraints: NullablevoidsetTransportationGroup(String transportationGroup) Constraints: Not nullable, Maximum length: 4toString()Methods inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmEntity
all, attachToService, getDestinationForFetch, getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setServicePathForFetch, setVersionIdentifierMethods inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
getAnnotationProperties, getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields
-
Field Details
-
ALL_FIELDS
Selector for all available fields of ProductSales. -
PRODUCT
-
SALES_STATUS
-
SALES_STATUS_VALIDITY_DATE
-
TRANSPORTATION_GROUP
-
PACKAGING_PRODUCT_TYPE
-
ALLOWED_PACKAGING_WEIGHT_QTY
-
ALLOWED_PACKAGING_WEIGHT_QTY_UNIT
-
ALLWD_PACKAGING_WEIGHT_QTY_ISO_UNIT
-
ALLOWED_PACKAGING_VOLUME_QTY
-
ALLOWED_PACKAGING_VOLUME_QTY_UNIT
-
ALLWD_PACKAGING_VOLUME_QTY_ISO_UNIT
-
MAXIMUM_LEVEL_BY_VOLUME_IN_PERCENT
-
EXCESS_WEIGHT_TOLERANCE_VALUE
-
PACKGG_PRODUCT_IS_CLOSED_PACKAGING
-
PRODUCT_STACKING_FACTOR
-
PROD_EXCESS_VOLUME_TOLERANCE_VALUE
-
TO__PRODUCT
Use with available request builders to apply the _Product navigation property to query operations.
-
-
Constructor Details
-
ProductSales
public ProductSales() -
ProductSales
public ProductSales(@Nullable String product, @Nullable String salesStatus, @Nullable LocalDate salesStatusValidityDate, @Nullable String transportationGroup, @Nullable String packagingProductType, @Nullable BigDecimal allowedPackagingWeightQty, @Nullable String allowedPackagingWeightQtyUnit, @Nullable String allwdPackagingWeightQtyISOUnit, @Nullable BigDecimal allowedPackagingVolumeQty, @Nullable String allowedPackagingVolumeQtyUnit, @Nullable String allwdPackagingVolumeQtyISOUnit, @Nullable BigDecimal maximumLevelByVolumeInPercent, @Nullable BigDecimal excessWeightToleranceValue, @Nullable Boolean packggProductIsClosedPackaging, @Nullable Short productStackingFactor, @Nullable BigDecimal prodExcessVolumeToleranceValue, @Nullable Product to_Product)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<ProductSales>
-
setProduct
(Key Field) Constraints: Not nullable, Maximum length: 18Original property name from the Odata EDM: Product
- Parameters:
product- Product Number
-
setSalesStatus
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: SalesStatus
- Parameters:
salesStatus- Cross-Distribution-Chain Material Status
-
setSalesStatusValidityDate
Constraints: NullableOriginal property name from the Odata EDM: SalesStatusValidityDate
- Parameters:
salesStatusValidityDate- Date from which the X-distr.-chain Product status is valid
-
setTransportationGroup
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: TransportationGroup
- Parameters:
transportationGroup- Transportation Group
-
setPackagingProductType
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: PackagingProductType
- Parameters:
packagingProductType- Packaging Material Type
-
setAllowedPackagingWeightQty
Constraints: Not nullable, Precision: 13, Scale: 3Original property name from the Odata EDM: AllowedPackagingWeightQty
- Parameters:
allowedPackagingWeightQty- Allowed packaging weight
-
setAllowedPackagingWeightQtyUnit
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: AllowedPackagingWeightQtyUnit
- Parameters:
allowedPackagingWeightQtyUnit- Unit of weight (allowed packaging weight)
-
setAllwdPackagingWeightQtyISOUnit
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: AllwdPackagingWeightQtyISOUnit
- Parameters:
allwdPackagingWeightQtyISOUnit- ISO Code for Unit of Measurement
-
setAllowedPackagingVolumeQty
Constraints: Not nullable, Precision: 13, Scale: 3Original property name from the Odata EDM: AllowedPackagingVolumeQty
- Parameters:
allowedPackagingVolumeQty- Allowed packaging volume
-
setAllowedPackagingVolumeQtyUnit
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: AllowedPackagingVolumeQtyUnit
- Parameters:
allowedPackagingVolumeQtyUnit- Volume unit (allowed packaging volume)
-
setAllwdPackagingVolumeQtyISOUnit
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: AllwdPackagingVolumeQtyISOUnit
- Parameters:
allwdPackagingVolumeQtyISOUnit- ISO Code for Unit of Measurement
-
setMaximumLevelByVolumeInPercent
Constraints: Not nullable, Precision: 3Original property name from the Odata EDM: MaximumLevelByVolumeInPercent
- Parameters:
maximumLevelByVolumeInPercent- Maximum level (by volume)
-
setExcessWeightToleranceValue
Constraints: Not nullable, Precision: 3, Scale: 1Original property name from the Odata EDM: ExcessWeightToleranceValue
- Parameters:
excessWeightToleranceValue- Excess Weight Tolerance for Handling unit
-
setPackggProductIsClosedPackaging
Constraints: Not nullableOriginal property name from the Odata EDM: PackggProductIsClosedPackaging
- Parameters:
packggProductIsClosedPackaging- Packaging Material is Closed Packaging
-
setProductStackingFactor
Constraints: Not nullableOriginal property name from the Odata EDM: ProductStackingFactor
- Parameters:
productStackingFactor- Stacking factor
-
setProdExcessVolumeToleranceValue
Constraints: Not nullable, Precision: 3, Scale: 1Original property name from the Odata EDM: ProdExcessVolumeToleranceValue
- Parameters:
prodExcessVolumeToleranceValue- Excess Volume Tolerance of the Handling Unit
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<ProductSales>
-
getKey
- Overrides:
getKeyin classVdmObject<ProductSales>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<ProductSales>
-
fromMap
- Overrides:
fromMapin classVdmObject<ProductSales>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<ProductSales>
-
getProductIfPresent
Retrieval of associated Product entity (one to one). This corresponds to the OData navigation property _Product.If the navigation property for an entity ProductSales has not been resolved yet, this method will not query further information. Instead its
Optionresult state will beempty.- Returns:
- If the information for navigation property _Product is already loaded, the result will contain the
Product entity. If not, an
Optionwith result stateemptyis returned.
-
setProduct
Overwrites the associated Product entity for the loaded navigation property _Product.- Parameters:
value- New Product entity.
-
builder
-
getProduct
(Key Field) Constraints: Not nullable, Maximum length: 18Original property name from the Odata EDM: Product
- Returns:
- Product Number
-
getSalesStatus
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: SalesStatus
- Returns:
- Cross-Distribution-Chain Material Status
-
getSalesStatusValidityDate
Constraints: NullableOriginal property name from the Odata EDM: SalesStatusValidityDate
- Returns:
- Date from which the X-distr.-chain Product status is valid
-
getTransportationGroup
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: TransportationGroup
- Returns:
- Transportation Group
-
getPackagingProductType
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: PackagingProductType
- Returns:
- Packaging Material Type
-
getAllowedPackagingWeightQty
Constraints: Not nullable, Precision: 13, Scale: 3Original property name from the Odata EDM: AllowedPackagingWeightQty
- Returns:
- Allowed packaging weight
-
getAllowedPackagingWeightQtyUnit
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: AllowedPackagingWeightQtyUnit
- Returns:
- Unit of weight (allowed packaging weight)
-
getAllwdPackagingWeightQtyISOUnit
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: AllwdPackagingWeightQtyISOUnit
- Returns:
- ISO Code for Unit of Measurement
-
getAllowedPackagingVolumeQty
Constraints: Not nullable, Precision: 13, Scale: 3Original property name from the Odata EDM: AllowedPackagingVolumeQty
- Returns:
- Allowed packaging volume
-
getAllowedPackagingVolumeQtyUnit
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: AllowedPackagingVolumeQtyUnit
- Returns:
- Volume unit (allowed packaging volume)
-
getAllwdPackagingVolumeQtyISOUnit
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: AllwdPackagingVolumeQtyISOUnit
- Returns:
- ISO Code for Unit of Measurement
-
getMaximumLevelByVolumeInPercent
Constraints: Not nullable, Precision: 3Original property name from the Odata EDM: MaximumLevelByVolumeInPercent
- Returns:
- Maximum level (by volume)
-
getExcessWeightToleranceValue
Constraints: Not nullable, Precision: 3, Scale: 1Original property name from the Odata EDM: ExcessWeightToleranceValue
- Returns:
- Excess Weight Tolerance for Handling unit
-
getPackggProductIsClosedPackaging
Constraints: Not nullableOriginal property name from the Odata EDM: PackggProductIsClosedPackaging
- Returns:
- Packaging Material is Closed Packaging
-
getProductStackingFactor
Constraints: Not nullableOriginal property name from the Odata EDM: ProductStackingFactor
- Returns:
- Stacking factor
-
getProdExcessVolumeToleranceValue
Constraints: Not nullable, Precision: 3, Scale: 1Original property name from the Odata EDM: ProdExcessVolumeToleranceValue
- Returns:
- Excess Volume Tolerance of the Handling Unit
-
toString
- Overrides:
toStringin classVdmObject<ProductSales>
-
equals
- Overrides:
equalsin classVdmEntity<ProductSales>
-
canEqual
- Overrides:
canEqualin classVdmEntity<ProductSales>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<ProductSales>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<ProductSales>
-