java.lang.Object
com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odatav4.core.VdmEntity<SupplierConfirmationItem>
com.sap.cloud.sdk.s4hana.datamodel.odatav4.namespaces.supplierconfirmation.SupplierConfirmationItem
All Implemented Interfaces:
VdmEntitySet

public class SupplierConfirmationItem extends VdmEntity<SupplierConfirmationItem> implements VdmEntitySet
Supplier Confirmation Item

Original entity name from the Odata EDM: A_SupplierConfirmationItem_Type

  • Field Details

  • Constructor Details

    • SupplierConfirmationItem

      public SupplierConfirmationItem()
    • SupplierConfirmationItem

      public SupplierConfirmationItem(@Nullable String supplierConfirmation, @Nullable String supplierConfirmationItem, @Nullable String suplrConfRefPurchaseOrder, @Nullable String suplrConfRefPurchaseOrderItem, @Nullable String suplrConfItemExternalReference, @Nullable BigDecimal supplierConfirmedNetPrice, @Nullable String documentCurrency, @Nullable Boolean itemIsRejectedBySupplier, @Nullable String supplierOrderAcknNumber, @Nullable BigDecimal suplrConfNetPriceQuantity, @Nullable String suplrConfOrderPriceUnit, List<SupplierConfirmationLine> to_SupplierConfirmationLineTP, @Nullable SupplierConfirmation to_SupplierConfirmationTP)
  • Method Details

    • getType

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

      public void setSupplierConfirmation(@Nullable String supplierConfirmation)
      (Key Field) Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: SupplierConfirmation

      Parameters:
      supplierConfirmation - Supplier Confirmation Number
    • setSupplierConfirmationItem

      public void setSupplierConfirmationItem(@Nullable String supplierConfirmationItem)
      (Key Field) Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: SupplierConfirmationItem

      Parameters:
      supplierConfirmationItem - Supplier Confirmation Item
    • setSuplrConfRefPurchaseOrder

      public void setSuplrConfRefPurchaseOrder(@Nullable String suplrConfRefPurchaseOrder)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: SuplrConfRefPurchaseOrder

      Parameters:
      suplrConfRefPurchaseOrder - Reference Purchase Order
    • setSuplrConfRefPurchaseOrderItem

      public void setSuplrConfRefPurchaseOrderItem(@Nullable String suplrConfRefPurchaseOrderItem)
      Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: SuplrConfRefPurchaseOrderItem

      Parameters:
      suplrConfRefPurchaseOrderItem - Reference Purchase Order Item
    • setSuplrConfItemExternalReference

      public void setSuplrConfItemExternalReference(@Nullable String suplrConfItemExternalReference)
      Constraints: Not nullable, Maximum length: 70

      Original property name from the Odata EDM: SuplrConfItemExternalReference

      Parameters:
      suplrConfItemExternalReference - Supplier External Reference ID
    • setSupplierConfirmedNetPrice

      public void setSupplierConfirmedNetPrice(@Nullable BigDecimal supplierConfirmedNetPrice)
      Constraints: Not nullable, Precision: 11, Scale: 0

      Original property name from the Odata EDM: SupplierConfirmedNetPrice

      Parameters:
      supplierConfirmedNetPrice - Supplier Confirmed Net Price
    • setDocumentCurrency

      public void setDocumentCurrency(@Nullable String documentCurrency)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: DocumentCurrency

      Parameters:
      documentCurrency - Currency Key
    • setItemIsRejectedBySupplier

      public void setItemIsRejectedBySupplier(@Nullable Boolean itemIsRejectedBySupplier)
      Constraints: Not nullable

      Original property name from the Odata EDM: ItemIsRejectedBySupplier

      Parameters:
      itemIsRejectedBySupplier - Rejection Indicator
    • setSupplierOrderAcknNumber

      public void setSupplierOrderAcknNumber(@Nullable String supplierOrderAcknNumber)
      Constraints: Not nullable, Maximum length: 20

      Original property name from the Odata EDM: SupplierOrderAcknNumber

      Parameters:
      supplierOrderAcknNumber - Order Acknowledgment Number
    • setSuplrConfNetPriceQuantity

      public void setSuplrConfNetPriceQuantity(@Nullable BigDecimal suplrConfNetPriceQuantity)
      Constraints: Not nullable, Precision: 5

      Original property name from the Odata EDM: SuplrConfNetPriceQuantity

      Parameters:
      suplrConfNetPriceQuantity - Supplier Confirmed Net Price Unit
    • setSuplrConfOrderPriceUnit

      public void setSuplrConfOrderPriceUnit(@Nullable String suplrConfOrderPriceUnit)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: SuplrConfOrderPriceUnit

      Parameters:
      suplrConfOrderPriceUnit - Supplier Confirmed Net Price Unit Of Measure
    • getEntityCollection

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

      @Nonnull protected ODataEntityKey getKey()
      Overrides:
      getKey in class VdmObject<SupplierConfirmationItem>
    • toMapOfFields

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

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

      protected String getDefaultServicePath()
      Overrides:
      getDefaultServicePath in class VdmEntity<SupplierConfirmationItem>
    • toMapOfNavigationProperties

      @Nonnull protected Map<String,Object> toMapOfNavigationProperties()
      Overrides:
      toMapOfNavigationProperties in class VdmObject<SupplierConfirmationItem>
    • getSupplierConfirmationLineTPIfPresent

      @Nonnull public io.vavr.control.Option<List<SupplierConfirmationLine>> getSupplierConfirmationLineTPIfPresent()
      Retrieval of associated SupplierConfirmationLine entities (one to many). This corresponds to the OData navigation property _SupplierConfirmationLineTP.

      If the navigation property for an entity SupplierConfirmationItem has not been resolved yet, this method will not query further information. Instead its Option result state will be empty.

      Returns:
      If the information for navigation property _SupplierConfirmationLineTP is already loaded, the result will contain the SupplierConfirmationLine entities. If not, an Option with result state empty is returned.
    • setSupplierConfirmationLineTP

      public void setSupplierConfirmationLineTP(@Nonnull List<SupplierConfirmationLine> value)
      Overwrites the list of associated SupplierConfirmationLine entities for the loaded navigation property _SupplierConfirmationLineTP.

      If the navigation property _SupplierConfirmationLineTP of a queried SupplierConfirmationItem is operated lazily, an ODataException can be thrown in case of an OData query error.

      Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.

      Parameters:
      value - List of SupplierConfirmationLine entities.
    • addSupplierConfirmationLineTP

      public void addSupplierConfirmationLineTP(SupplierConfirmationLine... entity)
      Adds elements to the list of associated SupplierConfirmationLine entities. This corresponds to the OData navigation property _SupplierConfirmationLineTP.

      If the navigation property _SupplierConfirmationLineTP of a queried SupplierConfirmationItem is operated lazily, an ODataException can be thrown in case of an OData query error.

      Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.

      Parameters:
      entity - Array of SupplierConfirmationLine entities.
    • getSupplierConfirmationTPIfPresent

      @Nonnull public io.vavr.control.Option<SupplierConfirmation> getSupplierConfirmationTPIfPresent()
      Retrieval of associated SupplierConfirmation entity (one to one). This corresponds to the OData navigation property _SupplierConfirmationTP.

      If the navigation property for an entity SupplierConfirmationItem has not been resolved yet, this method will not query further information. Instead its Option result state will be empty.

      Returns:
      If the information for navigation property _SupplierConfirmationTP is already loaded, the result will contain the SupplierConfirmation entity. If not, an Option with result state empty is returned.
    • setSupplierConfirmationTP

      public void setSupplierConfirmationTP(SupplierConfirmation value)
      Overwrites the associated SupplierConfirmation entity for the loaded navigation property _SupplierConfirmationTP.
      Parameters:
      value - New SupplierConfirmation entity.
    • builder

    • getSupplierConfirmation

      @Nullable public String getSupplierConfirmation()
      (Key Field) Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: SupplierConfirmation

      Returns:
      Supplier Confirmation Number
    • getSupplierConfirmationItem

      @Nullable public String getSupplierConfirmationItem()
      (Key Field) Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: SupplierConfirmationItem

      Returns:
      Supplier Confirmation Item
    • getSuplrConfRefPurchaseOrder

      @Nullable public String getSuplrConfRefPurchaseOrder()
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: SuplrConfRefPurchaseOrder

      Returns:
      Reference Purchase Order
    • getSuplrConfRefPurchaseOrderItem

      @Nullable public String getSuplrConfRefPurchaseOrderItem()
      Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: SuplrConfRefPurchaseOrderItem

      Returns:
      Reference Purchase Order Item
    • getSuplrConfItemExternalReference

      @Nullable public String getSuplrConfItemExternalReference()
      Constraints: Not nullable, Maximum length: 70

      Original property name from the Odata EDM: SuplrConfItemExternalReference

      Returns:
      Supplier External Reference ID
    • getSupplierConfirmedNetPrice

      @Nullable public BigDecimal getSupplierConfirmedNetPrice()
      Constraints: Not nullable, Precision: 11, Scale: 0

      Original property name from the Odata EDM: SupplierConfirmedNetPrice

      Returns:
      Supplier Confirmed Net Price
    • getDocumentCurrency

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

      Original property name from the Odata EDM: DocumentCurrency

      Returns:
      Currency Key
    • getItemIsRejectedBySupplier

      @Nullable public Boolean getItemIsRejectedBySupplier()
      Constraints: Not nullable

      Original property name from the Odata EDM: ItemIsRejectedBySupplier

      Returns:
      Rejection Indicator
    • getSupplierOrderAcknNumber

      @Nullable public String getSupplierOrderAcknNumber()
      Constraints: Not nullable, Maximum length: 20

      Original property name from the Odata EDM: SupplierOrderAcknNumber

      Returns:
      Order Acknowledgment Number
    • getSuplrConfNetPriceQuantity

      @Nullable public BigDecimal getSuplrConfNetPriceQuantity()
      Constraints: Not nullable, Precision: 5

      Original property name from the Odata EDM: SuplrConfNetPriceQuantity

      Returns:
      Supplier Confirmed Net Price Unit
    • getSuplrConfOrderPriceUnit

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

      Original property name from the Odata EDM: SuplrConfOrderPriceUnit

      Returns:
      Supplier Confirmed Net Price Unit Of Measure
    • toString

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

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

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

      public int hashCode()
      Overrides:
      hashCode in class VdmEntity<SupplierConfirmationItem>
    • getOdataType

      public String getOdataType()
      Specified by:
      getOdataType in class VdmObject<SupplierConfirmationItem>