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

public class TranspRateTableCalcRule extends VdmEntity<TranspRateTableCalcRule> implements VdmEntitySet
Rate Table Calculation Rule

Original entity name from the Odata EDM: TranspRateTableCalcRule_Type

  • Field Details

  • Constructor Details

    • TranspRateTableCalcRule

      public TranspRateTableCalcRule()
    • TranspRateTableCalcRule

      public TranspRateTableCalcRule(@Nullable UUID transpRateTableCalcRuleUUID, @Nullable UUID transpRateTableValidityUUID, @Nullable UUID transportationRateTableUUID, @Nullable String transportationCalculationBase, @Nullable BigDecimal transpRateCalcRulePricePerQty, @Nullable String transpRateTableCalcRuleQtyUnit, @Nullable TransportationRateTable to_TransportationRateTable, @Nullable TranspRateTableValidity to_TranspRateTableValidity)
  • Method Details

    • getType

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

      public void setTranspRateTableCalcRuleUUID(@Nullable UUID transpRateTableCalcRuleUUID)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: TranspRateTableCalcRuleUUID

      Parameters:
      transpRateTableCalcRuleUUID - Transp Rate Table Cal Rule UUID
    • setTranspRateTableValidityUUID

      public void setTranspRateTableValidityUUID(@Nullable UUID transpRateTableValidityUUID)
      Constraints: Not nullable

      Original property name from the Odata EDM: TranspRateTableValidityUUID

      Parameters:
      transpRateTableValidityUUID - Transp Rate Table Validity UUID
    • setTransportationRateTableUUID

      public void setTransportationRateTableUUID(@Nullable UUID transportationRateTableUUID)
      Constraints: Not nullable

      Original property name from the Odata EDM: TransportationRateTableUUID

      Parameters:
      transportationRateTableUUID - Transportation Rate Table UUID
    • setTransportationCalculationBase

      public void setTransportationCalculationBase(@Nullable String transportationCalculationBase)
      Constraints: Not nullable, Maximum length: 15

      Original property name from the Odata EDM: TransportationCalculationBase

      Parameters:
      transportationCalculationBase - Calculation Base
    • setTranspRateCalcRulePricePerQty

      public void setTranspRateCalcRulePricePerQty(@Nullable BigDecimal transpRateCalcRulePricePerQty)
      Constraints: Not nullable, Precision: 31, Scale: 3

      Original property name from the Odata EDM: TranspRateCalcRulePricePerQty

      Parameters:
      transpRateCalcRulePricePerQty - The transpRateCalcRulePricePerQty to set.
    • setTranspRateTableCalcRuleQtyUnit

      public void setTranspRateTableCalcRuleQtyUnit(@Nullable String transpRateTableCalcRuleQtyUnit)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: TranspRateTableCalcRuleQtyUnit

      Parameters:
      transpRateTableCalcRuleQtyUnit - Unit of Measure
    • getEntityCollection

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

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

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

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

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

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

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

      If the navigation property for an entity TranspRateTableCalcRule 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 _TransportationRateTable is already loaded, the result will contain the TransportationRateTable entity. If not, an Option with result state empty is returned.
    • setTransportationRateTable

      public void setTransportationRateTable(TransportationRateTable value)
      Overwrites the associated TransportationRateTable entity for the loaded navigation property _TransportationRateTable.
      Parameters:
      value - New TransportationRateTable entity.
    • getTranspRateTableValidityIfPresent

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

      If the navigation property for an entity TranspRateTableCalcRule 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 _TranspRateTableValidity is already loaded, the result will contain the TranspRateTableValidity entity. If not, an Option with result state empty is returned.
    • setTranspRateTableValidity

      public void setTranspRateTableValidity(TranspRateTableValidity value)
      Overwrites the associated TranspRateTableValidity entity for the loaded navigation property _TranspRateTableValidity.
      Parameters:
      value - New TranspRateTableValidity entity.
    • builder

    • getTranspRateTableCalcRuleUUID

      @Nullable public UUID getTranspRateTableCalcRuleUUID()
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: TranspRateTableCalcRuleUUID

      Returns:
      Transp Rate Table Cal Rule UUID
    • getTranspRateTableValidityUUID

      @Nullable public UUID getTranspRateTableValidityUUID()
      Constraints: Not nullable

      Original property name from the Odata EDM: TranspRateTableValidityUUID

      Returns:
      Transp Rate Table Validity UUID
    • getTransportationRateTableUUID

      @Nullable public UUID getTransportationRateTableUUID()
      Constraints: Not nullable

      Original property name from the Odata EDM: TransportationRateTableUUID

      Returns:
      Transportation Rate Table UUID
    • getTransportationCalculationBase

      @Nullable public String getTransportationCalculationBase()
      Constraints: Not nullable, Maximum length: 15

      Original property name from the Odata EDM: TransportationCalculationBase

      Returns:
      Calculation Base
    • getTranspRateCalcRulePricePerQty

      @Nullable public BigDecimal getTranspRateCalcRulePricePerQty()
      Constraints: Not nullable, Precision: 31, Scale: 3

      Original property name from the Odata EDM: TranspRateCalcRulePricePerQty

      Returns:
      The transpRateCalcRulePricePerQty contained in this VdmEntity.
    • getTranspRateTableCalcRuleQtyUnit

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

      Original property name from the Odata EDM: TranspRateTableCalcRuleQtyUnit

      Returns:
      Unit of Measure
    • toString

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

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

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

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

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