java.lang.Object
com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject<ObjectT>
com.sap.cloud.sdk.datamodel.odatav4.core.VdmComplex<SALESPRICERESULT>
com.sap.cloud.sdk.s4hana.datamodel.odatav4.namespaces.salesprice.SALESPRICERESULT

public class SALESPRICERESULT extends VdmComplex<SALESPRICERESULT>

Original complex type name from the Odata EDM: SALESPRICERESULT

  • Field Details

  • Constructor Details

    • SALESPRICERESULT

      public SALESPRICERESULT()
    • SALESPRICERESULT

      public SALESPRICERESULT(@Nullable String sALESORGANIZATION, @Nullable String dISTRIBUTIONCHANNEL, @Nullable String dIVISION, @Nullable String pRODUCT, @Nullable String pRODUCTUSEDBYCUSTOMER, @Nullable String sOLDTOPARTY, @Nullable LocalDate pRICINGDATE, @Nullable String tRANSACTIONCURRENCY, @Nullable String lANGUAGEISOCODE, @Nullable BigDecimal nETAMOUNT, @Nullable BigDecimal nETPRICEAMOUNT, @Nullable BigDecimal nETPRICEQUANTITY, @Nullable String nETPRICEQUANTITYUNITISOCODE, @Nullable String nETPRICEQUANTITYUNITSAPCODE, @Nullable BigDecimal tAXAMOUNT, @Nullable Boolean pRICINGHASERROR)
  • Method Details

    • getType

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

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

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

      @Nonnull protected ODataEntityKey getKey()
      Overrides:
      getKey in class VdmObject<SALESPRICERESULT>
    • setSALESORGANIZATION

      public void setSALESORGANIZATION(@Nullable String sALESORGANIZATION)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: SALESORGANIZATION

      Parameters:
      sALESORGANIZATION - The sALESORGANIZATION to set.
    • setDISTRIBUTIONCHANNEL

      public void setDISTRIBUTIONCHANNEL(@Nullable String dISTRIBUTIONCHANNEL)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: DISTRIBUTIONCHANNEL

      Parameters:
      dISTRIBUTIONCHANNEL - The dISTRIBUTIONCHANNEL to set.
    • setDIVISION

      public void setDIVISION(@Nullable String dIVISION)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: DIVISION

      Parameters:
      dIVISION - The dIVISION to set.
    • setPRODUCT

      public void setPRODUCT(@Nullable String pRODUCT)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: PRODUCT

      Parameters:
      pRODUCT - The pRODUCT to set.
    • setPRODUCTUSEDBYCUSTOMER

      public void setPRODUCTUSEDBYCUSTOMER(@Nullable String pRODUCTUSEDBYCUSTOMER)
      Constraints: Not nullable, Maximum length: 35

      Original property name from the Odata EDM: PRODUCTUSEDBYCUSTOMER

      Parameters:
      pRODUCTUSEDBYCUSTOMER - The pRODUCTUSEDBYCUSTOMER to set.
    • setSOLDTOPARTY

      public void setSOLDTOPARTY(@Nullable String sOLDTOPARTY)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: SOLDTOPARTY

      Parameters:
      sOLDTOPARTY - The sOLDTOPARTY to set.
    • setPRICINGDATE

      public void setPRICINGDATE(@Nullable LocalDate pRICINGDATE)
      Constraints: Nullable

      Original property name from the Odata EDM: PRICINGDATE

      Parameters:
      pRICINGDATE - The pRICINGDATE to set.
    • setTRANSACTIONCURRENCY

      public void setTRANSACTIONCURRENCY(@Nullable String tRANSACTIONCURRENCY)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: TRANSACTIONCURRENCY

      Parameters:
      tRANSACTIONCURRENCY - The tRANSACTIONCURRENCY to set.
    • setLANGUAGEISOCODE

      public void setLANGUAGEISOCODE(@Nullable String lANGUAGEISOCODE)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: LANGUAGEISOCODE

      Parameters:
      lANGUAGEISOCODE - The lANGUAGEISOCODE to set.
    • setNETAMOUNT

      public void setNETAMOUNT(@Nullable BigDecimal nETAMOUNT)
      Constraints: Not nullable, Precision: 15, Scale: 0

      Original property name from the Odata EDM: NETAMOUNT

      Parameters:
      nETAMOUNT - The nETAMOUNT to set.
    • setNETPRICEAMOUNT

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

      Original property name from the Odata EDM: NETPRICEAMOUNT

      Parameters:
      nETPRICEAMOUNT - The nETPRICEAMOUNT to set.
    • setNETPRICEQUANTITY

      public void setNETPRICEQUANTITY(@Nullable BigDecimal nETPRICEQUANTITY)
      Constraints: Not nullable, Precision: 5

      Original property name from the Odata EDM: NETPRICEQUANTITY

      Parameters:
      nETPRICEQUANTITY - The nETPRICEQUANTITY to set.
    • setNETPRICEQUANTITYUNITISOCODE

      public void setNETPRICEQUANTITYUNITISOCODE(@Nullable String nETPRICEQUANTITYUNITISOCODE)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: NETPRICEQUANTITYUNITISOCODE

      Parameters:
      nETPRICEQUANTITYUNITISOCODE - The nETPRICEQUANTITYUNITISOCODE to set.
    • setNETPRICEQUANTITYUNITSAPCODE

      public void setNETPRICEQUANTITYUNITSAPCODE(@Nullable String nETPRICEQUANTITYUNITSAPCODE)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: NETPRICEQUANTITYUNITSAPCODE

      Parameters:
      nETPRICEQUANTITYUNITSAPCODE - The nETPRICEQUANTITYUNITSAPCODE to set.
    • setTAXAMOUNT

      public void setTAXAMOUNT(@Nullable BigDecimal tAXAMOUNT)
      Constraints: Not nullable, Precision: 23, Scale: 0

      Original property name from the Odata EDM: TAXAMOUNT

      Parameters:
      tAXAMOUNT - The tAXAMOUNT to set.
    • setPRICINGHASERROR

      public void setPRICINGHASERROR(@Nullable Boolean pRICINGHASERROR)
      Constraints: Not nullable

      Original property name from the Odata EDM: PRICINGHASERROR

      Parameters:
      pRICINGHASERROR - The pRICINGHASERROR to set.
    • builder

      @Nonnull public static SALESPRICERESULT.SALESPRICERESULTBuilder builder()
    • getSALESORGANIZATION

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

      Original property name from the Odata EDM: SALESORGANIZATION

      Returns:
      The sALESORGANIZATION contained in this VdmComplex.
    • getDISTRIBUTIONCHANNEL

      @Nullable public String getDISTRIBUTIONCHANNEL()
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: DISTRIBUTIONCHANNEL

      Returns:
      The dISTRIBUTIONCHANNEL contained in this VdmComplex.
    • getDIVISION

      @Nullable public String getDIVISION()
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: DIVISION

      Returns:
      The dIVISION contained in this VdmComplex.
    • getPRODUCT

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

      Original property name from the Odata EDM: PRODUCT

      Returns:
      The pRODUCT contained in this VdmComplex.
    • getPRODUCTUSEDBYCUSTOMER

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

      Original property name from the Odata EDM: PRODUCTUSEDBYCUSTOMER

      Returns:
      The pRODUCTUSEDBYCUSTOMER contained in this VdmComplex.
    • getSOLDTOPARTY

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

      Original property name from the Odata EDM: SOLDTOPARTY

      Returns:
      The sOLDTOPARTY contained in this VdmComplex.
    • getPRICINGDATE

      @Nullable public LocalDate getPRICINGDATE()
      Constraints: Nullable

      Original property name from the Odata EDM: PRICINGDATE

      Returns:
      The pRICINGDATE contained in this VdmComplex.
    • getTRANSACTIONCURRENCY

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

      Original property name from the Odata EDM: TRANSACTIONCURRENCY

      Returns:
      The tRANSACTIONCURRENCY contained in this VdmComplex.
    • getLANGUAGEISOCODE

      @Nullable public String getLANGUAGEISOCODE()
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: LANGUAGEISOCODE

      Returns:
      The lANGUAGEISOCODE contained in this VdmComplex.
    • getNETAMOUNT

      @Nullable public BigDecimal getNETAMOUNT()
      Constraints: Not nullable, Precision: 15, Scale: 0

      Original property name from the Odata EDM: NETAMOUNT

      Returns:
      The nETAMOUNT contained in this VdmComplex.
    • getNETPRICEAMOUNT

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

      Original property name from the Odata EDM: NETPRICEAMOUNT

      Returns:
      The nETPRICEAMOUNT contained in this VdmComplex.
    • getNETPRICEQUANTITY

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

      Original property name from the Odata EDM: NETPRICEQUANTITY

      Returns:
      The nETPRICEQUANTITY contained in this VdmComplex.
    • getNETPRICEQUANTITYUNITISOCODE

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

      Original property name from the Odata EDM: NETPRICEQUANTITYUNITISOCODE

      Returns:
      The nETPRICEQUANTITYUNITISOCODE contained in this VdmComplex.
    • getNETPRICEQUANTITYUNITSAPCODE

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

      Original property name from the Odata EDM: NETPRICEQUANTITYUNITSAPCODE

      Returns:
      The nETPRICEQUANTITYUNITSAPCODE contained in this VdmComplex.
    • getTAXAMOUNT

      @Nullable public BigDecimal getTAXAMOUNT()
      Constraints: Not nullable, Precision: 23, Scale: 0

      Original property name from the Odata EDM: TAXAMOUNT

      Returns:
      The tAXAMOUNT contained in this VdmComplex.
    • getPRICINGHASERROR

      @Nullable public Boolean getPRICINGHASERROR()
      Constraints: Not nullable

      Original property name from the Odata EDM: PRICINGHASERROR

      Returns:
      The pRICINGHASERROR contained in this VdmComplex.
    • toString

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

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

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

      public int hashCode()
      Overrides:
      hashCode in class VdmObject<SALESPRICERESULT>
    • getOdataType

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