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

public class ProductProcurement extends VdmEntity<ProductProcurement>
Basic Procurement Data

Original entity name from the Odata EDM: A_ProductProcurementType

  • Field Details

    • ALL_FIELDS

      public static final ProductProcurementSelectable ALL_FIELDS
      Selector for all available fields of ProductProcurement.
    • PRODUCT

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

      public static final ProductProcurementField<String> PURCHASE_ORDER_QUANTITY_UNIT
      Use with available fluent helpers to apply the PurchaseOrderQuantityUnit field to query operations.
    • VARBL_PUR_ORD_UNIT_STATUS

      public static final ProductProcurementField<String> VARBL_PUR_ORD_UNIT_STATUS
      Use with available fluent helpers to apply the VarblPurOrdUnitStatus field to query operations.
    • PURCHASING_ACKN_PROFILE

      public static final ProductProcurementField<String> PURCHASING_ACKN_PROFILE
      Use with available fluent helpers to apply the PurchasingAcknProfile field to query operations.
  • Constructor Details

    • ProductProcurement

      public ProductProcurement()
    • ProductProcurement

      public ProductProcurement(@Nullable String product, @Nullable String purchaseOrderQuantityUnit, @Nullable String varblPurOrdUnitStatus, @Nullable String purchasingAcknProfile)
  • Method Details

    • getType

      @Nonnull public Class<ProductProcurement> getType()
      Specified by:
      getType in class VdmObject<ProductProcurement>
    • 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 - Material Number
    • setPurchaseOrderQuantityUnit

      public void setPurchaseOrderQuantityUnit(@Nullable String purchaseOrderQuantityUnit)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: PurchaseOrderQuantityUnit

      Parameters:
      purchaseOrderQuantityUnit - Purchase Order Unit of Measure
    • setVarblPurOrdUnitStatus

      public void setVarblPurOrdUnitStatus(@Nullable String varblPurOrdUnitStatus)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: VarblPurOrdUnitStatus

      Parameters:
      varblPurOrdUnitStatus - Variable Purchase Order Unit Active
    • setPurchasingAcknProfile

      public void setPurchasingAcknProfile(@Nullable String purchasingAcknProfile)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: PurchasingAcknProfile

      Parameters:
      purchasingAcknProfile - Purchasing Value Key
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> ProductProcurementField<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> ProductProcurementField<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<ProductProcurement>
    • setServicePathForFetch

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

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

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

      @Nonnull public static ProductProcurement.ProductProcurementBuilder builder()
    • getProduct

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

      Original property name from the Odata EDM: Product

      Returns:
      Material Number
    • getPurchaseOrderQuantityUnit

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

      Original property name from the Odata EDM: PurchaseOrderQuantityUnit

      Returns:
      Purchase Order Unit of Measure
    • getVarblPurOrdUnitStatus

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

      Original property name from the Odata EDM: VarblPurOrdUnitStatus

      Returns:
      Variable Purchase Order Unit Active
    • getPurchasingAcknProfile

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

      Original property name from the Odata EDM: PurchasingAcknProfile

      Returns:
      Purchasing Value Key
    • toString

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

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

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

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