java.lang.Object
com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odatav4.core.VdmEntity<SalesPrice>
com.sap.cloud.sdk.s4hana.datamodel.odatav4.namespaces.salesprice.SalesPrice

public class SalesPrice extends VdmEntity<SalesPrice>
Sales Price

Original entity name from the Odata EDM: SalesPriceType

  • Field Details

  • Constructor Details

    • SalesPrice

      public SalesPrice()
    • SalesPrice

      public SalesPrice(@Nullable String salesPriceRetrieveDummy)
  • Method Details

    • getType

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

      public void setSalesPriceRetrieveDummy(@Nullable String salesPriceRetrieveDummy)
      (Key Field) Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: SalesPriceRetrieveDummy

      Parameters:
      salesPriceRetrieveDummy - Dummy for Sales Price Retrieve Entity
    • getEntityCollection

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

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

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

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

      protected String getDefaultServicePath()
      Overrides:
      getDefaultServicePath in class VdmEntity<SalesPrice>
    • retrieveSalesPrice

      @Nonnull public static BoundAction.CollectionToCollection<SalesPrice,SALESPRICERETRIEVERESULT> retrieveSalesPrice(@Nonnull String sALESORGANIZATION, @Nonnull String dISTRIBUTIONCHANNEL, @Nonnull String dIVISION, @Nonnull String tRANSACTIONCURRENCY, @Nonnull String sALESDOCUMENTTYPE, @Nonnull String sALESDOCUMENTITEMCATEGORY, @Nonnull String bILLINGDOCUMENTTYPE, @Nonnull String lANGUAGEISOCODE, @Nonnull String sALESPRICERETRIEVEUSECASE, @Nonnull Boolean pRICEELEMENTSAREREQUESTED, @Nonnull Collection<SALESPRICEMATERIAL> pRODUCT, @Nonnull Collection<SALESPRICECUSTOMER> sOLDTOPARTY, @Nullable LocalDate pRICINGDATE)
      Action that can be applied to a collection of entities of this class.

      Parameters:
      sALESPRICERETRIEVEUSECASE - Constraints: Not nullable, Maximum length: 10

      Original parameter name from the Odata EDM: SALESPRICERETRIEVEUSECASE

      pRICINGDATE - Constraints: Nullable

      Original parameter name from the Odata EDM: PRICINGDATE

      dIVISION - Constraints: Not nullable, Maximum length: 2

      Original parameter name from the Odata EDM: DIVISION

      lANGUAGEISOCODE - Constraints: Not nullable, Maximum length: 2

      Original parameter name from the Odata EDM: LANGUAGEISOCODE

      pRODUCT - Constraints: Not nullable

      Original parameter name from the Odata EDM: PRODUCT

      sOLDTOPARTY - Constraints: Not nullable

      Original parameter name from the Odata EDM: SOLDTOPARTY

      dISTRIBUTIONCHANNEL - Constraints: Not nullable, Maximum length: 2

      Original parameter name from the Odata EDM: DISTRIBUTIONCHANNEL

      sALESDOCUMENTITEMCATEGORY - Constraints: Not nullable, Maximum length: 4

      Original parameter name from the Odata EDM: SALESDOCUMENTITEMCATEGORY

      bILLINGDOCUMENTTYPE - Constraints: Not nullable, Maximum length: 4

      Original parameter name from the Odata EDM: BILLINGDOCUMENTTYPE

      tRANSACTIONCURRENCY - Constraints: Not nullable, Maximum length: 3

      Original parameter name from the Odata EDM: TRANSACTIONCURRENCY

      pRICEELEMENTSAREREQUESTED - Constraints: Not nullable

      Original parameter name from the Odata EDM: PRICEELEMENTSAREREQUESTED

      sALESDOCUMENTTYPE - Constraints: Not nullable, Maximum length: 4

      Original parameter name from the Odata EDM: SALESDOCUMENTTYPE

      sALESORGANIZATION - Constraints: Not nullable, Maximum length: 4

      Original parameter name from the Odata EDM: SALESORGANIZATION

      Returns:
      Action object prepared with the given parameters to be applied to a collection of entities of this class.

      To execute it use the service.forEntity(entity).applyAction(thisAction) API.
    • builder

      @Nonnull public static SalesPrice.SalesPriceBuilder builder()
    • getSalesPriceRetrieveDummy

      @Nullable public String getSalesPriceRetrieveDummy()
      (Key Field) Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: SalesPriceRetrieveDummy

      Returns:
      Dummy for Sales Price Retrieve Entity
    • toString

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

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

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

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

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