Class ServiceContrItemPriceElement.ServiceContrItemPriceElementBuilder
java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.servicecontract.ServiceContrItemPriceElement.ServiceContrItemPriceElementBuilder
- Enclosing class:
- ServiceContrItemPriceElement
public static final class ServiceContrItemPriceElement.ServiceContrItemPriceElementBuilder
extends Object
Helper class to allow for fluent creation of ServiceContrItemPriceElement instances.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()conditionCurrency(String conditionCurrency) Constraints: Not nullable, Maximum length: 5conditionInactiveReason(String conditionInactiveReason) Constraints: Not nullable, Maximum length: 1conditionQuantity(BigDecimal conditionQuantity) Constraints: Not nullable, Precision: 5, Scale: 0conditionQuantityUnit(String conditionQuantityUnit) Constraints: Not nullable, Maximum length: 3conditionRateValue(BigDecimal conditionRateValue) Constraints: Not nullable, Precision: 24, Scale: 9conditionType(String conditionType) Constraints: Not nullable, Maximum length: 4pricingProcedureCounter(String pricingProcedureCounter) (Key Field) Constraints: Not nullable, Maximum length: 3pricingProcedureStep(String pricingProcedureStep) (Key Field) Constraints: Not nullable, Maximum length: 3serviceContract(String serviceContract) (Key Field) Constraints: Not nullable, Maximum length: 10Navigation property to_ServiceContractItem for ServiceContrItemPriceElement to single ServiceContractItem.serviceContractItem(String value) (Key Field) Constraints: Not nullable, Maximum length: 6toString()
-
Method Details
-
serviceContractItem
@Nonnull public ServiceContrItemPriceElement.ServiceContrItemPriceElementBuilder serviceContractItem(ServiceContractItem value) Navigation property to_ServiceContractItem for ServiceContrItemPriceElement to single ServiceContractItem.- Parameters:
value- The ServiceContractItem to build this ServiceContrItemPriceElement with.- Returns:
- This Builder to allow for a fluent interface.
-
serviceContractItem
@Nonnull public ServiceContrItemPriceElement.ServiceContrItemPriceElementBuilder serviceContractItem(String value) (Key Field) Constraints: Not nullable, Maximum length: 6Original property name from the Odata EDM: ServiceContractItem
- Parameters:
value- The serviceContractItem to build this ServiceContrItemPriceElement with.- Returns:
- This Builder to allow for a fluent interface.
-
serviceContract
@Nonnull public ServiceContrItemPriceElement.ServiceContrItemPriceElementBuilder serviceContract(@Nullable String serviceContract) (Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ServiceContract
- Returns:
this.
-
pricingProcedureStep
@Nonnull public ServiceContrItemPriceElement.ServiceContrItemPriceElementBuilder pricingProcedureStep(@Nullable String pricingProcedureStep) (Key Field) Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: PricingProcedureStep
- Returns:
this.
-
pricingProcedureCounter
@Nonnull public ServiceContrItemPriceElement.ServiceContrItemPriceElementBuilder pricingProcedureCounter(@Nullable String pricingProcedureCounter) (Key Field) Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: PricingProcedureCounter
- Returns:
this.
-
conditionType
@Nonnull public ServiceContrItemPriceElement.ServiceContrItemPriceElementBuilder conditionType(@Nullable String conditionType) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ConditionType
- Returns:
this.
-
conditionRateValue
@Nonnull public ServiceContrItemPriceElement.ServiceContrItemPriceElementBuilder conditionRateValue(@Nullable BigDecimal conditionRateValue) Constraints: Not nullable, Precision: 24, Scale: 9Original property name from the Odata EDM: ConditionRateValue
- Returns:
this.
-
conditionCurrency
@Nonnull public ServiceContrItemPriceElement.ServiceContrItemPriceElementBuilder conditionCurrency(@Nullable String conditionCurrency) Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: ConditionCurrency
- Returns:
this.
-
conditionQuantity
@Nonnull public ServiceContrItemPriceElement.ServiceContrItemPriceElementBuilder conditionQuantity(@Nullable BigDecimal conditionQuantity) Constraints: Not nullable, Precision: 5, Scale: 0Original property name from the Odata EDM: ConditionQuantity
- Returns:
this.
-
conditionQuantityUnit
@Nonnull public ServiceContrItemPriceElement.ServiceContrItemPriceElementBuilder conditionQuantityUnit(@Nullable String conditionQuantityUnit) Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: ConditionQuantityUnit
- Returns:
this.
-
conditionInactiveReason
@Nonnull public ServiceContrItemPriceElement.ServiceContrItemPriceElementBuilder conditionInactiveReason(@Nullable String conditionInactiveReason) Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: ConditionInactiveReason
- Returns:
this.
-
build
-
toString
-