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

public class FrtBkgChrgCalcBase extends VdmEntity<FrtBkgChrgCalcBase> implements VdmEntitySet
Freight Booking Charge Calculation Base

Original entity name from the Odata EDM: FrtBkgChrgCalcBase_Type

  • Field Details

  • Constructor Details

    • FrtBkgChrgCalcBase

      public FrtBkgChrgCalcBase()
    • FrtBkgChrgCalcBase

      public FrtBkgChrgCalcBase(@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 FreightBooking to_FreightBooking, @Nullable FrtBkgChrgElement to_FreightBookingChrgElmnt)
  • Method Details

    • getType

      @Nonnull public Class<FrtBkgChrgCalcBase> getType()
      Specified by:
      getType in class VdmObject<FrtBkgChrgCalcBase>
    • 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<FrtBkgChrgCalcBase>
    • getKey

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

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

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

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

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

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

      If the navigation property for an entity FrtBkgChrgCalcBase 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 _FreightBooking is already loaded, the result will contain the FreightBooking entity. If not, an Option with result state empty is returned.
    • setFreightBooking

      public void setFreightBooking(FreightBooking value)
      Overwrites the associated FreightBooking entity for the loaded navigation property _FreightBooking.
      Parameters:
      value - New FreightBooking entity.
    • getFreightBookingChrgElmntIfPresent

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

      If the navigation property for an entity FrtBkgChrgCalcBase 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 _FreightBookingChrgElmnt is already loaded, the result will contain the FrtBkgChrgElement entity. If not, an Option with result state empty is returned.
    • setFreightBookingChrgElmnt

      public void setFreightBookingChrgElmnt(FrtBkgChrgElement value)
      Overwrites the associated FrtBkgChrgElement entity for the loaded navigation property _FreightBookingChrgElmnt.
      Parameters:
      value - New FrtBkgChrgElement entity.
    • builder

      @Nonnull public static FrtBkgChrgCalcBase.FrtBkgChrgCalcBaseBuilder 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<FrtBkgChrgCalcBase>
    • equals

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

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

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

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