Class FrtOrdChrgItmExchRate
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: FrtOrdChrgItmExchRate_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of FrtOrdChrgItmExchRate instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<FrtOrdChrgItmExchRate>Selector for all available fields of FrtOrdChrgItmExchRate.static final SimpleProperty.Date<FrtOrdChrgItmExchRate>static final SimpleProperty.String<FrtOrdChrgItmExchRate>static final SimpleProperty.String<FrtOrdChrgItmExchRate>static final NavigationProperty.Single<FrtOrdChrgItmExchRate,FreightOrder> Use with available request builders to apply the _FreightOrder navigation property to query operations.Use with available request builders to apply the _FreightOrderChargeItem navigation property to query operations.static final SimpleProperty.Guid<FrtOrdChrgItmExchRate>static final SimpleProperty.NumericDecimal<FrtOrdChrgItmExchRate>static final SimpleProperty.String<FrtOrdChrgItmExchRate>static final SimpleProperty.Guid<FrtOrdChrgItmExchRate>static final SimpleProperty.Guid<FrtOrdChrgItmExchRate>Fields inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS -
Constructor Summary
ConstructorsConstructorDescriptionFrtOrdChrgItmExchRate(UUID transpChrgExchangeRateUUID, UUID transpChargeItemUUID, UUID transportationOrderUUID, String sourceCurrency, String targetCurrency, BigDecimal transpChrgExchangeRate, String transpChrgExchangeRateType, LocalDate exchangeRateDate, FreightOrder to_FreightOrder, FreightOrderChargeItem to_FreightOrderChargeItem) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanprotected voidprotected Stringprotected StringConstraints: Nullableio.vavr.control.Option<FreightOrderChargeItem>Retrieval of associated FreightOrderChargeItem entity (one to one).io.vavr.control.Option<FreightOrder>Retrieval of associated FreightOrder 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: NullablevoidsetFreightOrder(FreightOrder value) Overwrites the associated FreightOrder entity for the loaded navigation property _FreightOrder.voidOverwrites the associated FreightOrderChargeItem entity for the loaded navigation property _FreightOrderChargeItem.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 FrtOrdChrgItmExchRate. -
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_ORDER
Use with available request builders to apply the _FreightOrder navigation property to query operations. -
TO__FREIGHT_ORDER_CHARGE_ITEM
public static final NavigationProperty.Single<FrtOrdChrgItmExchRate,FreightOrderChargeItem> TO__FREIGHT_ORDER_CHARGE_ITEMUse with available request builders to apply the _FreightOrderChargeItem navigation property to query operations.
-
-
Constructor Details
-
FrtOrdChrgItmExchRate
public FrtOrdChrgItmExchRate() -
FrtOrdChrgItmExchRate
public FrtOrdChrgItmExchRate(@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 FreightOrder to_FreightOrder, @Nullable FreightOrderChargeItem to_FreightOrderChargeItem)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<FrtOrdChrgItmExchRate>
-
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<FrtOrdChrgItmExchRate>
-
getKey
- Overrides:
getKeyin classVdmObject<FrtOrdChrgItmExchRate>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<FrtOrdChrgItmExchRate>
-
fromMap
- Overrides:
fromMapin classVdmObject<FrtOrdChrgItmExchRate>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<FrtOrdChrgItmExchRate>
-
getFreightOrderIfPresent
Retrieval of associated FreightOrder entity (one to one). This corresponds to the OData navigation property _FreightOrder.If the navigation property for an entity FrtOrdChrgItmExchRate 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 _FreightOrder is already loaded, the result will
contain the FreightOrder entity. If not, an
Optionwith result stateemptyis returned.
-
setFreightOrder
Overwrites the associated FreightOrder entity for the loaded navigation property _FreightOrder.- Parameters:
value- New FreightOrder entity.
-
getFreightOrderChargeItemIfPresent
Retrieval of associated FreightOrderChargeItem entity (one to one). This corresponds to the OData navigation property _FreightOrderChargeItem.If the navigation property for an entity FrtOrdChrgItmExchRate 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 _FreightOrderChargeItem is already loaded, the result
will contain the FreightOrderChargeItem entity. If not, an
Optionwith result stateemptyis returned.
-
setFreightOrderChargeItem
Overwrites the associated FreightOrderChargeItem entity for the loaded navigation property _FreightOrderChargeItem.- Parameters:
value- New FreightOrderChargeItem 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<FrtOrdChrgItmExchRate>
-
equals
- Overrides:
equalsin classVdmEntity<FrtOrdChrgItmExchRate>
-
canEqual
- Overrides:
canEqualin classVdmEntity<FrtOrdChrgItmExchRate>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<FrtOrdChrgItmExchRate>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<FrtOrdChrgItmExchRate>
-