Class SrvcContrItemPriceElement
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: SrvcContrItemPriceElement_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of SrvcContrItemPriceElement instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<SrvcContrItemPriceElement>Selector for all available fields of SrvcContrItemPriceElement.static final SimpleProperty.String<SrvcContrItemPriceElement>static final SimpleProperty.String<SrvcContrItemPriceElement>static final SimpleProperty.NumericDecimal<SrvcContrItemPriceElement>static final SimpleProperty.String<SrvcContrItemPriceElement>static final SimpleProperty.String<SrvcContrItemPriceElement>static final SimpleProperty.NumericDecimal<SrvcContrItemPriceElement>static final SimpleProperty.String<SrvcContrItemPriceElement>static final SimpleProperty.String<SrvcContrItemPriceElement>static final SimpleProperty.String<SrvcContrItemPriceElement>static final SimpleProperty.String<SrvcContrItemPriceElement>static final SimpleProperty.String<SrvcContrItemPriceElement>Use with available request builders to apply the _Item navigation property to query operations.Use with available request builders to apply the _ServiceContract navigation property to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS -
Constructor Summary
ConstructorsConstructorDescriptionSrvcContrItemPriceElement(String serviceContract, String serviceContractItem, String pricingProcedureStep, String pricingProcedureCounter, String conditionType, BigDecimal conditionRateValue, String conditionCurrency, BigDecimal conditionQuantity, String conditionQuantityUnitSAPCode, String conditionQuantityUnitISOCode, String conditionInactiveReason, ServiceContractItem to_Item, ServiceContract to_ServiceContract) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanprotected voidConstraints: Not nullable, Maximum length: 3Constraints: Not nullable, Maximum length: 1Constraints: Not nullable, Precision: 5Constraints: Not nullable, Maximum length: 3Constraints: Not nullable, Maximum length: 3Constraints: Not nullable, Precision: 24, Scale: 9Constraints: Not nullable, Maximum length: 4protected Stringprotected Stringio.vavr.control.Option<ServiceContractItem>Retrieval of associated ServiceContractItem entity (one to one).protected ODataEntityKeygetKey()(Key Field) Constraints: Not nullable, Maximum length: 3(Key Field) Constraints: Not nullable, Maximum length: 3(Key Field) Constraints: Not nullable, Maximum length: 10io.vavr.control.Option<ServiceContract>Retrieval of associated ServiceContract entity (one to one).(Key Field) Constraints: Not nullable, Maximum length: 6getType()inthashCode()voidsetConditionCurrency(String conditionCurrency) Constraints: Not nullable, Maximum length: 3voidsetConditionInactiveReason(String conditionInactiveReason) Constraints: Not nullable, Maximum length: 1voidsetConditionQuantity(BigDecimal conditionQuantity) Constraints: Not nullable, Precision: 5voidsetConditionQuantityUnitISOCode(String conditionQuantityUnitISOCode) Constraints: Not nullable, Maximum length: 3voidsetConditionQuantityUnitSAPCode(String conditionQuantityUnitSAPCode) Constraints: Not nullable, Maximum length: 3voidsetConditionRateValue(BigDecimal conditionRateValue) Constraints: Not nullable, Precision: 24, Scale: 9voidsetConditionType(String conditionType) Constraints: Not nullable, Maximum length: 4voidsetItem(ServiceContractItem value) Overwrites the associated ServiceContractItem entity for the loaded navigation property _Item.voidsetPricingProcedureCounter(String pricingProcedureCounter) (Key Field) Constraints: Not nullable, Maximum length: 3voidsetPricingProcedureStep(String pricingProcedureStep) (Key Field) Constraints: Not nullable, Maximum length: 3voidOverwrites the associated ServiceContract entity for the loaded navigation property _ServiceContract.voidsetServiceContract(String serviceContract) (Key Field) Constraints: Not nullable, Maximum length: 10voidsetServiceContractItem(String serviceContractItem) (Key Field) Constraints: Not nullable, Maximum length: 6toString()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 SrvcContrItemPriceElement. -
SERVICE_CONTRACT
-
SERVICE_CONTRACT_ITEM
-
PRICING_PROCEDURE_STEP
-
PRICING_PROCEDURE_COUNTER
-
CONDITION_TYPE
-
CONDITION_RATE_VALUE
-
CONDITION_CURRENCY
-
CONDITION_QUANTITY
-
CONDITION_QUANTITY_UNIT_SAP_CODE
public static final SimpleProperty.String<SrvcContrItemPriceElement> CONDITION_QUANTITY_UNIT_SAP_CODE -
CONDITION_QUANTITY_UNIT_ISO_CODE
public static final SimpleProperty.String<SrvcContrItemPriceElement> CONDITION_QUANTITY_UNIT_ISO_CODE -
CONDITION_INACTIVE_REASON
-
TO__ITEM
public static final NavigationProperty.Single<SrvcContrItemPriceElement,ServiceContractItem> TO__ITEMUse with available request builders to apply the _Item navigation property to query operations. -
TO__SERVICE_CONTRACT
public static final NavigationProperty.Single<SrvcContrItemPriceElement,ServiceContract> TO__SERVICE_CONTRACTUse with available request builders to apply the _ServiceContract navigation property to query operations.
-
-
Constructor Details
-
SrvcContrItemPriceElement
public SrvcContrItemPriceElement() -
SrvcContrItemPriceElement
public SrvcContrItemPriceElement(@Nullable String serviceContract, @Nullable String serviceContractItem, @Nullable String pricingProcedureStep, @Nullable String pricingProcedureCounter, @Nullable String conditionType, @Nullable BigDecimal conditionRateValue, @Nullable String conditionCurrency, @Nullable BigDecimal conditionQuantity, @Nullable String conditionQuantityUnitSAPCode, @Nullable String conditionQuantityUnitISOCode, @Nullable String conditionInactiveReason, @Nullable ServiceContractItem to_Item, @Nullable ServiceContract to_ServiceContract)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<SrvcContrItemPriceElement>
-
setServiceContract
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ServiceContract
- Parameters:
serviceContract- Transaction ID
-
setServiceContractItem
(Key Field) Constraints: Not nullable, Maximum length: 6Original property name from the Odata EDM: ServiceContractItem
- Parameters:
serviceContractItem- Shortened Item Number in Document
-
setPricingProcedureStep
(Key Field) Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: PricingProcedureStep
- Parameters:
pricingProcedureStep- Step Number
-
setPricingProcedureCounter
(Key Field) Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: PricingProcedureCounter
- Parameters:
pricingProcedureCounter- Condition Counter
-
setConditionType
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ConditionType
- Parameters:
conditionType- Condition Type
-
setConditionRateValue
Constraints: Not nullable, Precision: 24, Scale: 9Original property name from the Odata EDM: ConditionRateValue
- Parameters:
conditionRateValue- Condition Amount or Percentage
-
setConditionCurrency
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: ConditionCurrency
- Parameters:
conditionCurrency- Currency Key
-
setConditionQuantity
Constraints: Not nullable, Precision: 5Original property name from the Odata EDM: ConditionQuantity
- Parameters:
conditionQuantity- Condition Pricing Unit
-
setConditionQuantityUnitSAPCode
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: ConditionQuantityUnitSAPCode
- Parameters:
conditionQuantityUnitSAPCode- Condition Unit in the Document
-
setConditionQuantityUnitISOCode
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: ConditionQuantityUnitISOCode
- Parameters:
conditionQuantityUnitISOCode- ISO Code for Unit of Measurement
-
setConditionInactiveReason
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: ConditionInactiveReason
- Parameters:
conditionInactiveReason- Condition is Inactive
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<SrvcContrItemPriceElement>
-
getKey
- Overrides:
getKeyin classVdmObject<SrvcContrItemPriceElement>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<SrvcContrItemPriceElement>
-
fromMap
- Overrides:
fromMapin classVdmObject<SrvcContrItemPriceElement>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<SrvcContrItemPriceElement>
-
getItemIfPresent
Retrieval of associated ServiceContractItem entity (one to one). This corresponds to the OData navigation property _Item.If the navigation property for an entity SrvcContrItemPriceElement 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 _Item is already loaded, the result will contain the
ServiceContractItem entity. If not, an
Optionwith result stateemptyis returned.
-
setItem
Overwrites the associated ServiceContractItem entity for the loaded navigation property _Item.- Parameters:
value- New ServiceContractItem entity.
-
getServiceContractIfPresent
Retrieval of associated ServiceContract entity (one to one). This corresponds to the OData navigation property _ServiceContract.If the navigation property for an entity SrvcContrItemPriceElement 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 _ServiceContract is already loaded, the result will
contain the ServiceContract entity. If not, an
Optionwith result stateemptyis returned.
-
setServiceContract
Overwrites the associated ServiceContract entity for the loaded navigation property _ServiceContract.- Parameters:
value- New ServiceContract entity.
-
builder
-
getServiceContract
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ServiceContract
- Returns:
- Transaction ID
-
getServiceContractItem
(Key Field) Constraints: Not nullable, Maximum length: 6Original property name from the Odata EDM: ServiceContractItem
- Returns:
- Shortened Item Number in Document
-
getPricingProcedureStep
(Key Field) Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: PricingProcedureStep
- Returns:
- Step Number
-
getPricingProcedureCounter
(Key Field) Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: PricingProcedureCounter
- Returns:
- Condition Counter
-
getConditionType
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ConditionType
- Returns:
- Condition Type
-
getConditionRateValue
Constraints: Not nullable, Precision: 24, Scale: 9Original property name from the Odata EDM: ConditionRateValue
- Returns:
- Condition Amount or Percentage
-
getConditionCurrency
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: ConditionCurrency
- Returns:
- Currency Key
-
getConditionQuantity
Constraints: Not nullable, Precision: 5Original property name from the Odata EDM: ConditionQuantity
- Returns:
- Condition Pricing Unit
-
getConditionQuantityUnitSAPCode
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: ConditionQuantityUnitSAPCode
- Returns:
- Condition Unit in the Document
-
getConditionQuantityUnitISOCode
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: ConditionQuantityUnitISOCode
- Returns:
- ISO Code for Unit of Measurement
-
getConditionInactiveReason
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: ConditionInactiveReason
- Returns:
- Condition is Inactive
-
toString
- Overrides:
toStringin classVdmObject<SrvcContrItemPriceElement>
-
equals
- Overrides:
equalsin classVdmEntity<SrvcContrItemPriceElement>
-
canEqual
- Overrides:
canEqualin classVdmEntity<SrvcContrItemPriceElement>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<SrvcContrItemPriceElement>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<SrvcContrItemPriceElement>
-