Class FrtBkgChrgItmExchRate
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: FrtBkgChrgItmExchRate_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of FrtBkgChrgItmExchRate instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<FrtBkgChrgItmExchRate>Selector for all available fields of FrtBkgChrgItmExchRate.static final SimpleProperty.Date<FrtBkgChrgItmExchRate>static final SimpleProperty.String<FrtBkgChrgItmExchRate>static final SimpleProperty.String<FrtBkgChrgItmExchRate>static final NavigationProperty.Single<FrtBkgChrgItmExchRate,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.Guid<FrtBkgChrgItmExchRate>static final SimpleProperty.NumericDecimal<FrtBkgChrgItmExchRate>static final SimpleProperty.String<FrtBkgChrgItmExchRate>static final SimpleProperty.Guid<FrtBkgChrgItmExchRate>static final SimpleProperty.Guid<FrtBkgChrgItmExchRate>Fields inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS -
Constructor Summary
ConstructorsConstructorDescriptionFrtBkgChrgItmExchRate(UUID transpChrgExchangeRateUUID, UUID transpChargeItemUUID, UUID transportationOrderUUID, String sourceCurrency, String targetCurrency, BigDecimal transpChrgExchangeRate, String transpChrgExchangeRateType, LocalDate exchangeRateDate, FreightBooking to_FreightBooking, FreightBookingChargeItem to_FreightBookingChargeItem) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanprotected voidprotected Stringprotected StringConstraints: Nullableio.vavr.control.Option<FreightBookingChargeItem>Retrieval of associated FreightBookingChargeItem entity (one to one).io.vavr.control.Option<FreightBooking>Retrieval of associated FreightBooking entity (one to one).protected ODataEntityKeygetKey()Constraints: Not nullable, Maximum length: 3Constraints: Not nullable, Maximum length: 3Constraints: Not nullableConstraints: Not nullable, Precision: 28, Scale: 14Constraints: Not nullable, Maximum length: 4(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 associated FreightBookingChargeItem entity for the loaded navigation property _FreightBookingChargeItem.voidsetSourceCurrency(String sourceCurrency) Constraints: Not nullable, Maximum length: 3voidsetTargetCurrency(String targetCurrency) Constraints: Not nullable, Maximum length: 3voidsetTranspChargeItemUUID(UUID transpChargeItemUUID) Constraints: Not nullablevoidsetTranspChrgExchangeRate(BigDecimal transpChrgExchangeRate) Constraints: Not nullable, Precision: 28, Scale: 14voidsetTranspChrgExchangeRateType(String transpChrgExchangeRateType) Constraints: Not nullable, Maximum length: 4voidsetTranspChrgExchangeRateUUID(UUID transpChrgExchangeRateUUID) (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 FrtBkgChrgItmExchRate. -
TRANSP_CHRG_EXCHANGE_RATE_UUID
-
TRANSP_CHARGE_ITEM_UUID
-
TRANSPORTATION_ORDER_UUID
-
SOURCE_CURRENCY
-
TARGET_CURRENCY
-
TRANSP_CHRG_EXCHANGE_RATE
-
TRANSP_CHRG_EXCHANGE_RATE_TYPE
-
EXCHANGE_RATE_DATE
-
TO__FREIGHT_BOOKING
public static final NavigationProperty.Single<FrtBkgChrgItmExchRate,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.Single<FrtBkgChrgItmExchRate,FreightBookingChargeItem> TO__FREIGHT_BOOKING_CHARGE_ITEMUse with available request builders to apply the _FreightBookingChargeItem navigation property to query operations.
-
-
Constructor Details
-
FrtBkgChrgItmExchRate
public FrtBkgChrgItmExchRate() -
FrtBkgChrgItmExchRate
public FrtBkgChrgItmExchRate(@Nullable UUID transpChrgExchangeRateUUID, @Nullable UUID transpChargeItemUUID, @Nullable UUID transportationOrderUUID, @Nullable String sourceCurrency, @Nullable String targetCurrency, @Nullable BigDecimal transpChrgExchangeRate, @Nullable String transpChrgExchangeRateType, @Nullable LocalDate exchangeRateDate, @Nullable FreightBooking to_FreightBooking, @Nullable FreightBookingChargeItem to_FreightBookingChargeItem)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<FrtBkgChrgItmExchRate>
-
setTranspChrgExchangeRateUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: TranspChrgExchangeRateUUID
- Parameters:
transpChrgExchangeRateUUID- NodeID
-
setTranspChargeItemUUID
Constraints: Not nullableOriginal property name from the Odata EDM: TranspChargeItemUUID
- Parameters:
transpChargeItemUUID- NodeID
-
setTransportationOrderUUID
Constraints: Not nullableOriginal property name from the Odata EDM: TransportationOrderUUID
- Parameters:
transportationOrderUUID- NodeID
-
setSourceCurrency
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: SourceCurrency
- Parameters:
sourceCurrency- Currency (SAP-Internal)
-
setTargetCurrency
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: TargetCurrency
- Parameters:
targetCurrency- Currency (SAP-Internal)
-
setTranspChrgExchangeRate
Constraints: Not nullable, Precision: 28, Scale: 14Original property name from the Odata EDM: TranspChrgExchangeRate
- Parameters:
transpChrgExchangeRate- Exchange Rate
-
setTranspChrgExchangeRateType
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: TranspChrgExchangeRateType
- Parameters:
transpChrgExchangeRateType- Exchange Rate Type
-
setExchangeRateDate
Constraints: NullableOriginal property name from the Odata EDM: ExchangeRateDate
- Parameters:
exchangeRateDate- Exchange Rate Quote Date
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<FrtBkgChrgItmExchRate>
-
getKey
- Overrides:
getKeyin classVdmObject<FrtBkgChrgItmExchRate>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<FrtBkgChrgItmExchRate>
-
fromMap
- Overrides:
fromMapin classVdmObject<FrtBkgChrgItmExchRate>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<FrtBkgChrgItmExchRate>
-
getFreightBookingIfPresent
Retrieval of associated FreightBooking entity (one to one). This corresponds to the OData navigation property _FreightBooking.If the navigation property for an entity FrtBkgChrgItmExchRate 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<FreightBookingChargeItem> getFreightBookingChargeItemIfPresent()Retrieval of associated FreightBookingChargeItem entity (one to one). This corresponds to the OData navigation property _FreightBookingChargeItem.If the navigation property for an entity FrtBkgChrgItmExchRate 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 entity. If not, an
Optionwith result stateemptyis returned.
-
setFreightBookingChargeItem
Overwrites the associated FreightBookingChargeItem entity for the loaded navigation property _FreightBookingChargeItem.- Parameters:
value- New FreightBookingChargeItem entity.
-
builder
-
getTranspChrgExchangeRateUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: TranspChrgExchangeRateUUID
- Returns:
- NodeID
-
getTranspChargeItemUUID
Constraints: Not nullableOriginal property name from the Odata EDM: TranspChargeItemUUID
- Returns:
- NodeID
-
getTransportationOrderUUID
Constraints: Not nullableOriginal property name from the Odata EDM: TransportationOrderUUID
- Returns:
- NodeID
-
getSourceCurrency
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: SourceCurrency
- Returns:
- Currency (SAP-Internal)
-
getTargetCurrency
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: TargetCurrency
- Returns:
- Currency (SAP-Internal)
-
getTranspChrgExchangeRate
Constraints: Not nullable, Precision: 28, Scale: 14Original property name from the Odata EDM: TranspChrgExchangeRate
- Returns:
- Exchange Rate
-
getTranspChrgExchangeRateType
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: TranspChrgExchangeRateType
- Returns:
- Exchange Rate Type
-
getExchangeRateDate
Constraints: NullableOriginal property name from the Odata EDM: ExchangeRateDate
- Returns:
- Exchange Rate Quote Date
-
toString
- Overrides:
toStringin classVdmObject<FrtBkgChrgItmExchRate>
-
equals
- Overrides:
equalsin classVdmEntity<FrtBkgChrgItmExchRate>
-
canEqual
- Overrides:
canEqualin classVdmEntity<FrtBkgChrgItmExchRate>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<FrtBkgChrgItmExchRate>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<FrtBkgChrgItmExchRate>
-