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

public class ProductPlantSales extends VdmEntity<ProductPlantSales>
Sales Data at Plant Level

Original entity name from the Odata EDM: A_ProductPlantSalesType

  • Field Details

    • ALL_FIELDS

      public static final ProductPlantSalesSelectable ALL_FIELDS
      Selector for all available fields of ProductPlantSales.
    • PRODUCT

      public static final ProductPlantSalesField<String> PRODUCT
      Use with available fluent helpers to apply the Product field to query operations.
    • PLANT

      public static final ProductPlantSalesField<String> PLANT
      Use with available fluent helpers to apply the Plant field to query operations.
    • LOADING_GROUP

      public static final ProductPlantSalesField<String> LOADING_GROUP
      Use with available fluent helpers to apply the LoadingGroup field to query operations.
    • REPLACEMENT_PART_TYPE

      public static final ProductPlantSalesField<String> REPLACEMENT_PART_TYPE
      Use with available fluent helpers to apply the ReplacementPartType field to query operations.
    • CAP_PLANNING_QUANTITY_IN_BASE_UO_M

      public static final ProductPlantSalesField<BigDecimal> CAP_PLANNING_QUANTITY_IN_BASE_UO_M
      Use with available fluent helpers to apply the CapPlanningQuantityInBaseUoM field to query operations.
    • PRODUCT_SHIPPING_PROCESSING_TIME

      public static final ProductPlantSalesField<BigDecimal> PRODUCT_SHIPPING_PROCESSING_TIME
      Use with available fluent helpers to apply the ProductShippingProcessingTime field to query operations.
    • WRK_CENTERS_SHIPG_SETUP_TIME_IN_DAYS

      public static final ProductPlantSalesField<BigDecimal> WRK_CENTERS_SHIPG_SETUP_TIME_IN_DAYS
      Use with available fluent helpers to apply the WrkCentersShipgSetupTimeInDays field to query operations.
    • AVAILABILITY_CHECK_TYPE

      public static final ProductPlantSalesField<String> AVAILABILITY_CHECK_TYPE
      Use with available fluent helpers to apply the AvailabilityCheckType field to query operations.
    • BASE_UNIT

      public static final ProductPlantSalesField<String> BASE_UNIT
      Use with available fluent helpers to apply the BaseUnit field to query operations.
  • Constructor Details

    • ProductPlantSales

      public ProductPlantSales()
    • ProductPlantSales

      public ProductPlantSales(@Nullable String product, @Nullable String plant, @Nullable String loadingGroup, @Nullable String replacementPartType, @Nullable BigDecimal capPlanningQuantityInBaseUoM, @Nullable BigDecimal productShippingProcessingTime, @Nullable BigDecimal wrkCentersShipgSetupTimeInDays, @Nullable String availabilityCheckType, @Nullable String baseUnit)
  • Method Details

    • getType

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

      public void setProduct(@Nullable String product)
      (Key Field) Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: Product

      Parameters:
      product - Product Number
    • setPlant

      public void setPlant(@Nullable String plant)
      (Key Field) Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: Plant

      Parameters:
      plant - Plant
    • setLoadingGroup

      public void setLoadingGroup(@Nullable String loadingGroup)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: LoadingGroup

      Parameters:
      loadingGroup - Loading Group
    • setReplacementPartType

      public void setReplacementPartType(@Nullable String replacementPartType)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: ReplacementPartType

      Parameters:
      replacementPartType - Replacement part
    • setCapPlanningQuantityInBaseUoM

      public void setCapPlanningQuantityInBaseUoM(@Nullable BigDecimal capPlanningQuantityInBaseUoM)
      Constraints: Not nullable, Precision: 13, Scale: 3

      Original property name from the Odata EDM: CapPlanningQuantityInBaseUoM

      Parameters:
      capPlanningQuantityInBaseUoM - Base quantity for capacity planning in shipping
    • setProductShippingProcessingTime

      public void setProductShippingProcessingTime(@Nullable BigDecimal productShippingProcessingTime)
      Constraints: Not nullable, Precision: 5, Scale: 2

      Original property name from the Odata EDM: ProductShippingProcessingTime

      Parameters:
      productShippingProcessingTime - Shipping processing time
    • setWrkCentersShipgSetupTimeInDays

      public void setWrkCentersShipgSetupTimeInDays(@Nullable BigDecimal wrkCentersShipgSetupTimeInDays)
      Constraints: Not nullable, Precision: 5, Scale: 2

      Original property name from the Odata EDM: WrkCentersShipgSetupTimeInDays

      Parameters:
      wrkCentersShipgSetupTimeInDays - Shipping setup time
    • setAvailabilityCheckType

      public void setAvailabilityCheckType(@Nullable String availabilityCheckType)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: AvailabilityCheckType

      Parameters:
      availabilityCheckType - Checking Group for Availability Check
    • setBaseUnit

      public void setBaseUnit(@Nullable String baseUnit)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: BaseUnit

      Parameters:
      baseUnit - Base Unit of Measure
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> ProductPlantSalesField<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> ProductPlantSalesField<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<ProductPlantSales>
    • setServicePathForFetch

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

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

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

      @Nonnull public static ProductPlantSales.ProductPlantSalesBuilder builder()
    • getProduct

      @Nullable public String getProduct()
      (Key Field) Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: Product

      Returns:
      Product Number
    • getPlant

      @Nullable public String getPlant()
      (Key Field) Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: Plant

      Returns:
      Plant
    • getLoadingGroup

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

      Original property name from the Odata EDM: LoadingGroup

      Returns:
      Loading Group
    • getReplacementPartType

      @Nullable public String getReplacementPartType()
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: ReplacementPartType

      Returns:
      Replacement part
    • getCapPlanningQuantityInBaseUoM

      @Nullable public BigDecimal getCapPlanningQuantityInBaseUoM()
      Constraints: Not nullable, Precision: 13, Scale: 3

      Original property name from the Odata EDM: CapPlanningQuantityInBaseUoM

      Returns:
      Base quantity for capacity planning in shipping
    • getProductShippingProcessingTime

      @Nullable public BigDecimal getProductShippingProcessingTime()
      Constraints: Not nullable, Precision: 5, Scale: 2

      Original property name from the Odata EDM: ProductShippingProcessingTime

      Returns:
      Shipping processing time
    • getWrkCentersShipgSetupTimeInDays

      @Nullable public BigDecimal getWrkCentersShipgSetupTimeInDays()
      Constraints: Not nullable, Precision: 5, Scale: 2

      Original property name from the Odata EDM: WrkCentersShipgSetupTimeInDays

      Returns:
      Shipping setup time
    • getAvailabilityCheckType

      @Nullable public String getAvailabilityCheckType()
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: AvailabilityCheckType

      Returns:
      Checking Group for Availability Check
    • getBaseUnit

      @Nullable public String getBaseUnit()
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: BaseUnit

      Returns:
      Base Unit of Measure
    • toString

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

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

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

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