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

public class SalesOrder extends VdmEntity<SalesOrder>
Sales Order (Master Data)

Original entity name from the Odata EDM: SalesOrder

  • Field Details

    • ALL_FIELDS

      public static final SalesOrderSelectable ALL_FIELDS
      Selector for all available fields of SalesOrder.
    • SALES_ORDER_ID

      public static final SalesOrderField<String> SALES_ORDER_ID
      Use with available fluent helpers to apply the SalesOrder_ID field to query operations.
  • Constructor Details

    • SalesOrder

      public SalesOrder()
    • SalesOrder

      public SalesOrder(@Nullable String salesOrder_ID)
  • Method Details

    • getType

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

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

      Original property name from the Odata EDM: SalesOrder_ID

      Parameters:
      salesOrder_ID - Sales Order
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> SalesOrderField<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> SalesOrderField<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<SalesOrder>
    • setServicePathForFetch

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

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

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

      @Nonnull public static SalesOrder.SalesOrderBuilder builder()
    • getSalesOrder_ID

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

      Original property name from the Odata EDM: SalesOrder_ID

      Returns:
      Sales Order
    • toString

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

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

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

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