Class ProductSales
java.lang.Object
com.sap.cloud.sdk.datamodel.odata.helper.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity<ProductSales>
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.productmaster.ProductSales
Basic Sales Data
Original entity name from the Odata EDM: A_ProductSalesType
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ProductSalesSelectableSelector for all available fields of ProductSales.static final ProductSalesField<String>Use with available fluent helpers to apply the Product field to query operations.static final ProductSalesField<String>Use with available fluent helpers to apply the SalesStatus field to query operations.static final ProductSalesField<LocalDateTime>Use with available fluent helpers to apply the SalesStatusValidityDate field to query operations.static final ProductSalesField<String>Use with available fluent helpers to apply the TaxClassification field to query operations.static final ProductSalesField<String>Use with available fluent helpers to apply the TransportationGroup field to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
ConstructorsConstructorDescriptionProductSales(String product, String salesStatus, LocalDateTime salesStatusValidityDate, String taxClassification, String transportationGroup) -
Method Summary
Modifier and TypeMethodDescriptionvoidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanstatic <T,DomainT>
ProductSalesField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> ProductSalesField<T>Use with available fluent helpers to apply an extension field to query operations.protected voidprotected Stringprotected StringgetKey()(Key Field) Constraints: Not nullable, Maximum length: 40Constraints: Not nullable, Maximum length: 2Constraints: Not nullable, Precision: 0Constraints: Not nullable, Maximum length: 1Constraints: Not nullable, Maximum length: 4getType()inthashCode()voidsetProduct(String product) (Key Field) Constraints: Not nullable, Maximum length: 40voidsetSalesStatus(String salesStatus) Constraints: Not nullable, Maximum length: 2voidsetSalesStatusValidityDate(LocalDateTime salesStatusValidityDate) Constraints: Not nullable, Precision: 0protected voidsetServicePathForFetch(String servicePathForFetch) voidsetTaxClassification(String taxClassification) Constraints: Not nullable, Maximum length: 1voidsetTransportationGroup(String transportationGroup) Constraints: Not nullable, Maximum length: 4toString()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 ProductSales. -
PRODUCT
Use with available fluent helpers to apply the Product field to query operations. -
SALES_STATUS
Use with available fluent helpers to apply the SalesStatus field to query operations. -
SALES_STATUS_VALIDITY_DATE
Use with available fluent helpers to apply the SalesStatusValidityDate field to query operations. -
TAX_CLASSIFICATION
Use with available fluent helpers to apply the TaxClassification field to query operations. -
TRANSPORTATION_GROUP
Use with available fluent helpers to apply the TransportationGroup field to query operations.
-
-
Constructor Details
-
ProductSales
public ProductSales() -
ProductSales
public ProductSales(@Nullable String product, @Nullable String salesStatus, @Nullable LocalDateTime salesStatusValidityDate, @Nullable String taxClassification, @Nullable String transportationGroup)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<ProductSales>
-
setProduct
(Key Field) Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: Product
- Parameters:
product- Material Number
-
setSalesStatus
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: SalesStatus
- Parameters:
salesStatus- Cross-Distribution-Chain Material Status
-
setSalesStatusValidityDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: SalesStatusValidityDate
- Parameters:
salesStatusValidityDate- Date from which the X-distr.-chain Product status is valid
-
setTaxClassification
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: TaxClassification
- Parameters:
taxClassification- Tax classification of the material
-
setTransportationGroup
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: TransportationGroup
- Parameters:
transportationGroup- Transportation Group
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<ProductSales>
-
getKey
- Overrides:
getKeyin classVdmObject<ProductSales>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<ProductSales>
-
fromMap
- Overrides:
fromMapin classVdmObject<ProductSales>
-
field
@Nonnull public static <T> ProductSalesField<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> ProductSalesField<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<ProductSales>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<ProductSales>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<ProductSales>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<ProductSales>
-
builder
-
getProduct
(Key Field) Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: Product
- Returns:
- Material Number
-
getSalesStatus
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: SalesStatus
- Returns:
- Cross-Distribution-Chain Material Status
-
getSalesStatusValidityDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: SalesStatusValidityDate
- Returns:
- Date from which the X-distr.-chain Product status is valid
-
getTaxClassification
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: TaxClassification
- Returns:
- Tax classification of the material
-
getTransportationGroup
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: TransportationGroup
- Returns:
- Transportation Group
-
toString
- Overrides:
toStringin classVdmObject<ProductSales>
-
equals
- Overrides:
equalsin classVdmEntity<ProductSales>
-
canEqual
- Overrides:
canEqualin classVdmEntity<ProductSales>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<ProductSales>
-