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

public class FrtOrdChrgCalcBase extends VdmEntity<FrtOrdChrgCalcBase> implements VdmEntitySet
Freight Order Charge Calculation Base

Original entity name from the Odata EDM: FrtOrdChrgCalcBase_Type

  • Field Details

  • Constructor Details

    • FrtOrdChrgCalcBase

      public FrtOrdChrgCalcBase()
    • FrtOrdChrgCalcBase

      public FrtOrdChrgCalcBase(@Nullable UUID transpChrgCalcBaseUUID, @Nullable UUID transpChargeItemElementUUID, @Nullable UUID transportationOrderUUID, @Nullable String transpChrgCalculationBase, @Nullable String transpScaleItemQuantityUnit, @Nullable BigDecimal transpScaleItemQuantity, @Nullable String transpScaleItemCurrency, @Nullable BigDecimal transpScaleItemAmount, @Nullable String transpScaleItemValueChar, @Nullable String transpDataSourceQtyUnit, @Nullable BigDecimal transpDataSourceQuantity, @Nullable String transpDataSourceCurrency, @Nullable BigDecimal transpDataSourceAmount, @Nullable String transpDataSourceValueChar, @Nullable FreightOrder to_FreightOrder, @Nullable FrtOrdChrgElement to_FrtOrdChrgElement)
  • Method Details

    • getType

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

      public void setTranspChrgCalcBaseUUID(@Nullable UUID transpChrgCalcBaseUUID)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: TranspChrgCalcBaseUUID

      Parameters:
      transpChrgCalcBaseUUID - NodeID
    • setTranspChargeItemElementUUID

      public void setTranspChargeItemElementUUID(@Nullable UUID transpChargeItemElementUUID)
      Constraints: Not nullable

      Original property name from the Odata EDM: TranspChargeItemElementUUID

      Parameters:
      transpChargeItemElementUUID - NodeID
    • setTransportationOrderUUID

      public void setTransportationOrderUUID(@Nullable UUID transportationOrderUUID)
      Constraints: Not nullable

      Original property name from the Odata EDM: TransportationOrderUUID

      Parameters:
      transportationOrderUUID - NodeID
    • setTranspChrgCalculationBase

      public void setTranspChrgCalculationBase(@Nullable String transpChrgCalculationBase)
      Constraints: Not nullable, Maximum length: 15

      Original property name from the Odata EDM: TranspChrgCalculationBase

      Parameters:
      transpChrgCalculationBase - Calculation Base
    • setTranspScaleItemQuantityUnit

      public void setTranspScaleItemQuantityUnit(@Nullable String transpScaleItemQuantityUnit)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: TranspScaleItemQuantityUnit

      Parameters:
      transpScaleItemQuantityUnit - Unit of Measure
    • setTranspScaleItemQuantity

      public void setTranspScaleItemQuantity(@Nullable BigDecimal transpScaleItemQuantity)
      Constraints: Not nullable, Precision: 31, Scale: 14

      Original property name from the Odata EDM: TranspScaleItemQuantity

      Parameters:
      transpScaleItemQuantity - Quantity
    • setTranspScaleItemCurrency

      public void setTranspScaleItemCurrency(@Nullable String transpScaleItemCurrency)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: TranspScaleItemCurrency

      Parameters:
      transpScaleItemCurrency - Currency (SAP-Internal)
    • setTranspScaleItemAmount

      public void setTranspScaleItemAmount(@Nullable BigDecimal transpScaleItemAmount)
      Constraints: Not nullable, Precision: 31, Scale: 0

      Original property name from the Odata EDM: TranspScaleItemAmount

      Parameters:
      transpScaleItemAmount - Scale Item Amount
    • setTranspScaleItemValueChar

      public void setTranspScaleItemValueChar(@Nullable String transpScaleItemValueChar)
      Constraints: Not nullable, Maximum length: 255

      Original property name from the Odata EDM: TranspScaleItemValueChar

      Parameters:
      transpScaleItemValueChar - Non-Numeric Calculation Quantity
    • setTranspDataSourceQtyUnit

      public void setTranspDataSourceQtyUnit(@Nullable String transpDataSourceQtyUnit)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: TranspDataSourceQtyUnit

      Parameters:
      transpDataSourceQtyUnit - Unit of Measure
    • setTranspDataSourceQuantity

      public void setTranspDataSourceQuantity(@Nullable BigDecimal transpDataSourceQuantity)
      Constraints: Not nullable, Precision: 31, Scale: 14

      Original property name from the Odata EDM: TranspDataSourceQuantity

      Parameters:
      transpDataSourceQuantity - Quantity
    • setTranspDataSourceCurrency

      public void setTranspDataSourceCurrency(@Nullable String transpDataSourceCurrency)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: TranspDataSourceCurrency

      Parameters:
      transpDataSourceCurrency - Currency (SAP-Internal)
    • setTranspDataSourceAmount

      public void setTranspDataSourceAmount(@Nullable BigDecimal transpDataSourceAmount)
      Constraints: Not nullable, Precision: 31, Scale: 0

      Original property name from the Odata EDM: TranspDataSourceAmount

      Parameters:
      transpDataSourceAmount - Data Source Amount
    • setTranspDataSourceValueChar

      public void setTranspDataSourceValueChar(@Nullable String transpDataSourceValueChar)
      Constraints: Not nullable, Maximum length: 255

      Original property name from the Odata EDM: TranspDataSourceValueChar

      Parameters:
      transpDataSourceValueChar - Non-Numeric Calculation Quantity
    • getEntityCollection

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

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

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

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

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

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

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

      If the navigation property for an entity FrtOrdChrgCalcBase 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 _FreightOrder is already loaded, the result will contain the FreightOrder entity. If not, an Option with result state empty is returned.
    • setFreightOrder

      public void setFreightOrder(FreightOrder value)
      Overwrites the associated FreightOrder entity for the loaded navigation property _FreightOrder.
      Parameters:
      value - New FreightOrder entity.
    • getFrtOrdChrgElementIfPresent

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

      If the navigation property for an entity FrtOrdChrgCalcBase 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 _FrtOrdChrgElement is already loaded, the result will contain the FrtOrdChrgElement entity. If not, an Option with result state empty is returned.
    • setFrtOrdChrgElement

      public void setFrtOrdChrgElement(FrtOrdChrgElement value)
      Overwrites the associated FrtOrdChrgElement entity for the loaded navigation property _FrtOrdChrgElement.
      Parameters:
      value - New FrtOrdChrgElement entity.
    • builder

      @Nonnull public static FrtOrdChrgCalcBase.FrtOrdChrgCalcBaseBuilder builder()
    • getTranspChrgCalcBaseUUID

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

      Original property name from the Odata EDM: TranspChrgCalcBaseUUID

      Returns:
      NodeID
    • getTranspChargeItemElementUUID

      @Nullable public UUID getTranspChargeItemElementUUID()
      Constraints: Not nullable

      Original property name from the Odata EDM: TranspChargeItemElementUUID

      Returns:
      NodeID
    • getTransportationOrderUUID

      @Nullable public UUID getTransportationOrderUUID()
      Constraints: Not nullable

      Original property name from the Odata EDM: TransportationOrderUUID

      Returns:
      NodeID
    • getTranspChrgCalculationBase

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

      Original property name from the Odata EDM: TranspChrgCalculationBase

      Returns:
      Calculation Base
    • getTranspScaleItemQuantityUnit

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

      Original property name from the Odata EDM: TranspScaleItemQuantityUnit

      Returns:
      Unit of Measure
    • getTranspScaleItemQuantity

      @Nullable public BigDecimal getTranspScaleItemQuantity()
      Constraints: Not nullable, Precision: 31, Scale: 14

      Original property name from the Odata EDM: TranspScaleItemQuantity

      Returns:
      Quantity
    • getTranspScaleItemCurrency

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

      Original property name from the Odata EDM: TranspScaleItemCurrency

      Returns:
      Currency (SAP-Internal)
    • getTranspScaleItemAmount

      @Nullable public BigDecimal getTranspScaleItemAmount()
      Constraints: Not nullable, Precision: 31, Scale: 0

      Original property name from the Odata EDM: TranspScaleItemAmount

      Returns:
      Scale Item Amount
    • getTranspScaleItemValueChar

      @Nullable public String getTranspScaleItemValueChar()
      Constraints: Not nullable, Maximum length: 255

      Original property name from the Odata EDM: TranspScaleItemValueChar

      Returns:
      Non-Numeric Calculation Quantity
    • getTranspDataSourceQtyUnit

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

      Original property name from the Odata EDM: TranspDataSourceQtyUnit

      Returns:
      Unit of Measure
    • getTranspDataSourceQuantity

      @Nullable public BigDecimal getTranspDataSourceQuantity()
      Constraints: Not nullable, Precision: 31, Scale: 14

      Original property name from the Odata EDM: TranspDataSourceQuantity

      Returns:
      Quantity
    • getTranspDataSourceCurrency

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

      Original property name from the Odata EDM: TranspDataSourceCurrency

      Returns:
      Currency (SAP-Internal)
    • getTranspDataSourceAmount

      @Nullable public BigDecimal getTranspDataSourceAmount()
      Constraints: Not nullable, Precision: 31, Scale: 0

      Original property name from the Odata EDM: TranspDataSourceAmount

      Returns:
      Data Source Amount
    • getTranspDataSourceValueChar

      @Nullable public String getTranspDataSourceValueChar()
      Constraints: Not nullable, Maximum length: 255

      Original property name from the Odata EDM: TranspDataSourceValueChar

      Returns:
      Non-Numeric Calculation Quantity
    • toString

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

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

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

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

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