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

public class SupplierConfirmationLine extends VdmEntity<SupplierConfirmationLine> implements VdmEntitySet
Supplier Confirmation Line

Original entity name from the Odata EDM: A_SupplierConfirmationLine_Type

  • Field Details

  • Constructor Details

    • SupplierConfirmationLine

      public SupplierConfirmationLine()
    • SupplierConfirmationLine

      public SupplierConfirmationLine(@Nullable String supplierConfirmation, @Nullable String supplierConfirmationItem, @Nullable String supplierConfirmationLine, @Nullable LocalDate deliveryDate, @Nullable String delivDateCategory, @Nullable LocalTime deliveryTime, @Nullable BigDecimal confirmedQuantity, @Nullable String purchaseOrderQuantityUnit, @Nullable String supplierConfirmationExtNumber, @Nullable LocalDate performancePeriodStartDate, @Nullable LocalDate performancePeriodEndDate, @Nullable String servicePerformer, @Nullable BigDecimal expectedOverallLimitAmount, @Nullable String documentCurrency, @Nullable String manufacturerMaterial, @Nullable String stockSegment, @Nullable LocalDate handoverDate, @Nullable LocalTime handoverTime, @Nullable SupplierConfirmationItem to_SupplierConfirmationItemTP, @Nullable SupplierConfirmation to_SupplierConfirmationTP)
  • Method Details

    • getType

      @Nonnull public Class<SupplierConfirmationLine> getType()
      Specified by:
      getType in class VdmObject<SupplierConfirmationLine>
    • 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
    • setSupplierConfirmationLine

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

      Original property name from the Odata EDM: SupplierConfirmationLine

      Parameters:
      supplierConfirmationLine - Supplier Confirmation Line
    • setDeliveryDate

      public void setDeliveryDate(@Nullable LocalDate deliveryDate)
      Constraints: Nullable

      Original property name from the Odata EDM: DeliveryDate

      Parameters:
      deliveryDate - Delivery Date for Item
    • setDelivDateCategory

      public void setDelivDateCategory(@Nullable String delivDateCategory)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: DelivDateCategory

      Parameters:
      delivDateCategory - Date Category of Delivery Date in Supplier Confirmation
    • setDeliveryTime

      public void setDeliveryTime(@Nullable LocalTime deliveryTime)
      Constraints: Not nullable

      Original property name from the Odata EDM: DeliveryTime

      Parameters:
      deliveryTime - Delivery Date Time-Spot in Supplier Confirmation
    • setConfirmedQuantity

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

      Original property name from the Odata EDM: ConfirmedQuantity

      Parameters:
      confirmedQuantity - Quantity as Per Supplier Confirmation
    • 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
    • setSupplierConfirmationExtNumber

      public void setSupplierConfirmationExtNumber(@Nullable String supplierConfirmationExtNumber)
      Constraints: Not nullable, Maximum length: 35

      Original property name from the Odata EDM: SupplierConfirmationExtNumber

      Parameters:
      supplierConfirmationExtNumber - Reference Document Number (for Dependencies see Long Text)
    • setPerformancePeriodStartDate

      public void setPerformancePeriodStartDate(@Nullable LocalDate performancePeriodStartDate)
      Constraints: Nullable

      Original property name from the Odata EDM: PerformancePeriodStartDate

      Parameters:
      performancePeriodStartDate - Start Date for Period of Performance
    • setPerformancePeriodEndDate

      public void setPerformancePeriodEndDate(@Nullable LocalDate performancePeriodEndDate)
      Constraints: Nullable

      Original property name from the Odata EDM: PerformancePeriodEndDate

      Parameters:
      performancePeriodEndDate - End Date for Period of Performance
    • setServicePerformer

      public void setServicePerformer(@Nullable String servicePerformer)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: ServicePerformer

      Parameters:
      servicePerformer - Service Performer
    • setExpectedOverallLimitAmount

      public void setExpectedOverallLimitAmount(@Nullable BigDecimal expectedOverallLimitAmount)
      Constraints: Not nullable, Precision: 13, Scale: 0

      Original property name from the Odata EDM: ExpectedOverallLimitAmount

      Parameters:
      expectedOverallLimitAmount - Expected Value of Overall Limit
    • 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
    • setManufacturerMaterial

      public void setManufacturerMaterial(@Nullable String manufacturerMaterial)
      Constraints: Not nullable, Maximum length: 18

      Original property name from the Odata EDM: ManufacturerMaterial

      Parameters:
      manufacturerMaterial - Material number corresponding to manufacturer part number
    • setStockSegment

      public void setStockSegment(@Nullable String stockSegment)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: StockSegment

      Parameters:
      stockSegment - Stock Segment
    • setHandoverDate

      public void setHandoverDate(@Nullable LocalDate handoverDate)
      Constraints: Nullable

      Original property name from the Odata EDM: HandoverDate

      Parameters:
      handoverDate - Handover Date at the Handover Location
    • setHandoverTime

      public void setHandoverTime(@Nullable LocalTime handoverTime)
      Constraints: Not nullable

      Original property name from the Odata EDM: HandoverTime

      Parameters:
      handoverTime - Handover time at the handover location
    • getEntityCollection

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

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

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

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

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

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

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

      If the navigation property for an entity SupplierConfirmationLine 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 _SupplierConfirmationItemTP is already loaded, the result will contain the SupplierConfirmationItem entity. If not, an Option with result state empty is returned.
    • setSupplierConfirmationItemTP

      public void setSupplierConfirmationItemTP(SupplierConfirmationItem value)
      Overwrites the associated SupplierConfirmationItem entity for the loaded navigation property _SupplierConfirmationItemTP.
      Parameters:
      value - New SupplierConfirmationItem entity.
    • 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 SupplierConfirmationLine 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
    • getSupplierConfirmationLine

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

      Original property name from the Odata EDM: SupplierConfirmationLine

      Returns:
      Supplier Confirmation Line
    • getDeliveryDate

      @Nullable public LocalDate getDeliveryDate()
      Constraints: Nullable

      Original property name from the Odata EDM: DeliveryDate

      Returns:
      Delivery Date for Item
    • getDelivDateCategory

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

      Original property name from the Odata EDM: DelivDateCategory

      Returns:
      Date Category of Delivery Date in Supplier Confirmation
    • getDeliveryTime

      @Nullable public LocalTime getDeliveryTime()
      Constraints: Not nullable

      Original property name from the Odata EDM: DeliveryTime

      Returns:
      Delivery Date Time-Spot in Supplier Confirmation
    • getConfirmedQuantity

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

      Original property name from the Odata EDM: ConfirmedQuantity

      Returns:
      Quantity as Per Supplier Confirmation
    • 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
    • getSupplierConfirmationExtNumber

      @Nullable public String getSupplierConfirmationExtNumber()
      Constraints: Not nullable, Maximum length: 35

      Original property name from the Odata EDM: SupplierConfirmationExtNumber

      Returns:
      Reference Document Number (for Dependencies see Long Text)
    • getPerformancePeriodStartDate

      @Nullable public LocalDate getPerformancePeriodStartDate()
      Constraints: Nullable

      Original property name from the Odata EDM: PerformancePeriodStartDate

      Returns:
      Start Date for Period of Performance
    • getPerformancePeriodEndDate

      @Nullable public LocalDate getPerformancePeriodEndDate()
      Constraints: Nullable

      Original property name from the Odata EDM: PerformancePeriodEndDate

      Returns:
      End Date for Period of Performance
    • getServicePerformer

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

      Original property name from the Odata EDM: ServicePerformer

      Returns:
      Service Performer
    • getExpectedOverallLimitAmount

      @Nullable public BigDecimal getExpectedOverallLimitAmount()
      Constraints: Not nullable, Precision: 13, Scale: 0

      Original property name from the Odata EDM: ExpectedOverallLimitAmount

      Returns:
      Expected Value of Overall Limit
    • getDocumentCurrency

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

      Original property name from the Odata EDM: DocumentCurrency

      Returns:
      Currency Key
    • getManufacturerMaterial

      @Nullable public String getManufacturerMaterial()
      Constraints: Not nullable, Maximum length: 18

      Original property name from the Odata EDM: ManufacturerMaterial

      Returns:
      Material number corresponding to manufacturer part number
    • getStockSegment

      @Nullable public String getStockSegment()
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: StockSegment

      Returns:
      Stock Segment
    • getHandoverDate

      @Nullable public LocalDate getHandoverDate()
      Constraints: Nullable

      Original property name from the Odata EDM: HandoverDate

      Returns:
      Handover Date at the Handover Location
    • getHandoverTime

      @Nullable public LocalTime getHandoverTime()
      Constraints: Not nullable

      Original property name from the Odata EDM: HandoverTime

      Returns:
      Handover time at the handover location
    • toString

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

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

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

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

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