Class FreightBookingCharge
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: FreightBookingCharge_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of FreightBookingCharge instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<FreightBookingCharge>Selector for all available fields of FreightBookingCharge.static final SimpleProperty.Date<FreightBookingCharge>static final NavigationProperty.Single<FreightBookingCharge,FreightBooking> Use with available request builders to apply the _FreightBooking navigation property to query operations.Use with available request builders to apply the _FreightBookingChargeItem navigation property to query operations.static final SimpleProperty.String<FreightBookingCharge>static final SimpleProperty.DateTime<FreightBookingCharge>static final SimpleProperty.String<FreightBookingCharge>static final SimpleProperty.String<FreightBookingCharge>static final SimpleProperty.String<FreightBookingCharge>static final SimpleProperty.NumericDecimal<FreightBookingCharge>static final SimpleProperty.NumericDecimal<FreightBookingCharge>static final SimpleProperty.Guid<FreightBookingCharge>static final SimpleProperty.Guid<FreightBookingCharge>Fields inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS -
Constructor Summary
ConstructorsConstructorDescriptionFreightBookingCharge(UUID transportationChargesObjUUID, UUID transportationOrderUUID, String transpChargeDocumentCurrency, BigDecimal transpChrgTotalAmtInDocCrcy, String transpChargeLocalCurrency, BigDecimal transpChrgTotalAmtInLoclCrcy, OffsetDateTime transpChargeCalculationDateTme, LocalDate exchangeRateDate, String transpChargePostingStatus, String transpChargeCalcStatus, FreightBooking to_FreightBooking, List<FreightBookingChargeItem> to_FreightBookingChargeItem) -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds elements to the list of associated FreightBookingChargeItem entities.builder()protected booleanbooleanprotected voidprotected Stringprotected StringConstraints: Nullableio.vavr.control.Option<List<FreightBookingChargeItem>>Retrieval of associated FreightBookingChargeItem entities (one to many).io.vavr.control.Option<FreightBooking>Retrieval of associated FreightBooking entity (one to one).protected ODataEntityKeygetKey()Constraints: Not nullable, Maximum length: 2Constraints: NullableConstraints: Not nullable, Maximum length: 3Constraints: Not nullable, Maximum length: 3Constraints: Not nullable, Maximum length: 2Constraints: Not nullable, Precision: 31, Scale: 0Constraints: Not nullable, Precision: 31, Scale: 0(Key Field) Constraints: Not nullableConstraints: Not nullablegetType()inthashCode()voidsetExchangeRateDate(LocalDate exchangeRateDate) Constraints: NullablevoidsetFreightBooking(FreightBooking value) Overwrites the associated FreightBooking entity for the loaded navigation property _FreightBooking.voidOverwrites the list of associated FreightBookingChargeItem entities for the loaded navigation property _FreightBookingChargeItem.voidsetTranspChargeCalcStatus(String transpChargeCalcStatus) Constraints: Not nullable, Maximum length: 2voidsetTranspChargeCalculationDateTme(OffsetDateTime transpChargeCalculationDateTme) Constraints: NullablevoidsetTranspChargeDocumentCurrency(String transpChargeDocumentCurrency) Constraints: Not nullable, Maximum length: 3voidsetTranspChargeLocalCurrency(String transpChargeLocalCurrency) Constraints: Not nullable, Maximum length: 3voidsetTranspChargePostingStatus(String transpChargePostingStatus) Constraints: Not nullable, Maximum length: 2voidsetTranspChrgTotalAmtInDocCrcy(BigDecimal transpChrgTotalAmtInDocCrcy) Constraints: Not nullable, Precision: 31, Scale: 0voidsetTranspChrgTotalAmtInLoclCrcy(BigDecimal transpChrgTotalAmtInLoclCrcy) Constraints: Not nullable, Precision: 31, Scale: 0voidsetTransportationChargesObjUUID(UUID transportationChargesObjUUID) (Key Field) Constraints: Not nullablevoidsetTransportationOrderUUID(UUID transportationOrderUUID) Constraints: Not nullabletoString()Methods inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmEntity
all, attachToService, getDestinationForFetch, getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setServicePathForFetch, setVersionIdentifierMethods inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
getAnnotationProperties, getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields
-
Field Details
-
ALL_FIELDS
Selector for all available fields of FreightBookingCharge. -
TRANSPORTATION_CHARGES_OBJ_UUID
-
TRANSPORTATION_ORDER_UUID
-
TRANSP_CHARGE_DOCUMENT_CURRENCY
-
TRANSP_CHRG_TOTAL_AMT_IN_DOC_CRCY
public static final SimpleProperty.NumericDecimal<FreightBookingCharge> TRANSP_CHRG_TOTAL_AMT_IN_DOC_CRCY -
TRANSP_CHARGE_LOCAL_CURRENCY
-
TRANSP_CHRG_TOTAL_AMT_IN_LOCL_CRCY
public static final SimpleProperty.NumericDecimal<FreightBookingCharge> TRANSP_CHRG_TOTAL_AMT_IN_LOCL_CRCY -
TRANSP_CHARGE_CALCULATION_DATE_TME
public static final SimpleProperty.DateTime<FreightBookingCharge> TRANSP_CHARGE_CALCULATION_DATE_TME -
EXCHANGE_RATE_DATE
-
TRANSP_CHARGE_POSTING_STATUS
-
TRANSP_CHARGE_CALC_STATUS
-
TO__FREIGHT_BOOKING
public static final NavigationProperty.Single<FreightBookingCharge,FreightBooking> TO__FREIGHT_BOOKINGUse with available request builders to apply the _FreightBooking navigation property to query operations. -
TO__FREIGHT_BOOKING_CHARGE_ITEM
public static final NavigationProperty.Collection<FreightBookingCharge,FreightBookingChargeItem> TO__FREIGHT_BOOKING_CHARGE_ITEMUse with available request builders to apply the _FreightBookingChargeItem navigation property to query operations.
-
-
Constructor Details
-
FreightBookingCharge
public FreightBookingCharge() -
FreightBookingCharge
public FreightBookingCharge(@Nullable UUID transportationChargesObjUUID, @Nullable UUID transportationOrderUUID, @Nullable String transpChargeDocumentCurrency, @Nullable BigDecimal transpChrgTotalAmtInDocCrcy, @Nullable String transpChargeLocalCurrency, @Nullable BigDecimal transpChrgTotalAmtInLoclCrcy, @Nullable OffsetDateTime transpChargeCalculationDateTme, @Nullable LocalDate exchangeRateDate, @Nullable String transpChargePostingStatus, @Nullable String transpChargeCalcStatus, @Nullable FreightBooking to_FreightBooking, List<FreightBookingChargeItem> to_FreightBookingChargeItem)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<FreightBookingCharge>
-
setTransportationChargesObjUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: TransportationChargesObjUUID
- Parameters:
transportationChargesObjUUID- Transportation Charge Object UUID
-
setTransportationOrderUUID
Constraints: Not nullableOriginal property name from the Odata EDM: TransportationOrderUUID
- Parameters:
transportationOrderUUID- NodeID
-
setTranspChargeDocumentCurrency
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: TranspChargeDocumentCurrency
- Parameters:
transpChargeDocumentCurrency- Document Currency
-
setTranspChrgTotalAmtInDocCrcy
Constraints: Not nullable, Precision: 31, Scale: 0Original property name from the Odata EDM: TranspChrgTotalAmtInDocCrcy
- Parameters:
transpChrgTotalAmtInDocCrcy- Total Amount in Document Currency
-
setTranspChargeLocalCurrency
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: TranspChargeLocalCurrency
- Parameters:
transpChargeLocalCurrency- Local Currency
-
setTranspChrgTotalAmtInLoclCrcy
Constraints: Not nullable, Precision: 31, Scale: 0Original property name from the Odata EDM: TranspChrgTotalAmtInLoclCrcy
- Parameters:
transpChrgTotalAmtInLoclCrcy- Total amount in Local Currency
-
setTranspChargeCalculationDateTme
public void setTranspChargeCalculationDateTme(@Nullable OffsetDateTime transpChargeCalculationDateTme) Constraints: NullableOriginal property name from the Odata EDM: TranspChargeCalculationDateTme
- Parameters:
transpChargeCalculationDateTme- Calculation Date Timestamp
-
setExchangeRateDate
Constraints: NullableOriginal property name from the Odata EDM: ExchangeRateDate
- Parameters:
exchangeRateDate- Exchange Rate Date for Document Currency Conversion
-
setTranspChargePostingStatus
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: TranspChargePostingStatus
- Parameters:
transpChargePostingStatus- Posting Status
-
setTranspChargeCalcStatus
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: TranspChargeCalcStatus
- Parameters:
transpChargeCalcStatus- Charge Calculation Status
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<FreightBookingCharge>
-
getKey
- Overrides:
getKeyin classVdmObject<FreightBookingCharge>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<FreightBookingCharge>
-
fromMap
- Overrides:
fromMapin classVdmObject<FreightBookingCharge>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<FreightBookingCharge>
-
getFreightBookingIfPresent
Retrieval of associated FreightBooking entity (one to one). This corresponds to the OData navigation property _FreightBooking.If the navigation property for an entity FreightBookingCharge has not been resolved yet, this method will not query further information. Instead its
Optionresult state will beempty.- Returns:
- If the information for navigation property _FreightBooking is already loaded, the result will
contain the FreightBooking entity. If not, an
Optionwith result stateemptyis returned.
-
setFreightBooking
Overwrites the associated FreightBooking entity for the loaded navigation property _FreightBooking.- Parameters:
value- New FreightBooking entity.
-
getFreightBookingChargeItemIfPresent
@Nonnull public io.vavr.control.Option<List<FreightBookingChargeItem>> getFreightBookingChargeItemIfPresent()Retrieval of associated FreightBookingChargeItem entities (one to many). This corresponds to the OData navigation property _FreightBookingChargeItem.If the navigation property for an entity FreightBookingCharge has not been resolved yet, this method will not query further information. Instead its
Optionresult state will beempty.- Returns:
- If the information for navigation property _FreightBookingChargeItem is already loaded, the result
will contain the FreightBookingChargeItem entities. If not, an
Optionwith result stateemptyis returned.
-
setFreightBookingChargeItem
Overwrites the list of associated FreightBookingChargeItem entities for the loaded navigation property _FreightBookingChargeItem.If the navigation property _FreightBookingChargeItem of a queried FreightBookingCharge is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
- Parameters:
value- List of FreightBookingChargeItem entities.
-
addFreightBookingChargeItem
Adds elements to the list of associated FreightBookingChargeItem entities. This corresponds to the OData navigation property _FreightBookingChargeItem.If the navigation property _FreightBookingChargeItem of a queried FreightBookingCharge is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
- Parameters:
entity- Array of FreightBookingChargeItem entities.
-
builder
-
getTransportationChargesObjUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: TransportationChargesObjUUID
- Returns:
- Transportation Charge Object UUID
-
getTransportationOrderUUID
Constraints: Not nullableOriginal property name from the Odata EDM: TransportationOrderUUID
- Returns:
- NodeID
-
getTranspChargeDocumentCurrency
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: TranspChargeDocumentCurrency
- Returns:
- Document Currency
-
getTranspChrgTotalAmtInDocCrcy
Constraints: Not nullable, Precision: 31, Scale: 0Original property name from the Odata EDM: TranspChrgTotalAmtInDocCrcy
- Returns:
- Total Amount in Document Currency
-
getTranspChargeLocalCurrency
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: TranspChargeLocalCurrency
- Returns:
- Local Currency
-
getTranspChrgTotalAmtInLoclCrcy
Constraints: Not nullable, Precision: 31, Scale: 0Original property name from the Odata EDM: TranspChrgTotalAmtInLoclCrcy
- Returns:
- Total amount in Local Currency
-
getTranspChargeCalculationDateTme
Constraints: NullableOriginal property name from the Odata EDM: TranspChargeCalculationDateTme
- Returns:
- Calculation Date Timestamp
-
getExchangeRateDate
Constraints: NullableOriginal property name from the Odata EDM: ExchangeRateDate
- Returns:
- Exchange Rate Date for Document Currency Conversion
-
getTranspChargePostingStatus
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: TranspChargePostingStatus
- Returns:
- Posting Status
-
getTranspChargeCalcStatus
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: TranspChargeCalcStatus
- Returns:
- Charge Calculation Status
-
toString
- Overrides:
toStringin classVdmObject<FreightBookingCharge>
-
equals
- Overrides:
equalsin classVdmEntity<FreightBookingCharge>
-
canEqual
- Overrides:
canEqualin classVdmEntity<FreightBookingCharge>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<FreightBookingCharge>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<FreightBookingCharge>
-