Class SrvcContrItemProduct.SrvcContrItemProductBuilder
java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.servicecontract.SrvcContrItemProduct.SrvcContrItemProductBuilder
- Enclosing class:
- SrvcContrItemProduct
Helper class to allow for fluent creation of SrvcContrItemProduct instances.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()serviceContract(String serviceContract) (Key Field) Constraints: Not nullable, Maximum length: 10Navigation property to_ServiceContractItem for SrvcContrItemProduct to single ServiceContractItem.serviceContractItem(String value) (Key Field) Constraints: Not nullable, Maximum length: 6serviceProductListItem(String serviceProductListItem) (Key Field) Constraints: Not nullable, Maximum length: 6srvcProductListProduct(String srvcProductListProduct) Constraints: Not nullable, Maximum length: 40toString()
-
Method Details
-
serviceContractItem
@Nonnull public SrvcContrItemProduct.SrvcContrItemProductBuilder serviceContractItem(ServiceContractItem value) Navigation property to_ServiceContractItem for SrvcContrItemProduct to single ServiceContractItem.- Parameters:
value- The ServiceContractItem to build this SrvcContrItemProduct with.- Returns:
- This Builder to allow for a fluent interface.
-
serviceContractItem
(Key Field) Constraints: Not nullable, Maximum length: 6Original property name from the Odata EDM: ServiceContractItem
- Parameters:
value- The serviceContractItem to build this SrvcContrItemProduct with.- Returns:
- This Builder to allow for a fluent interface.
-
serviceContract
@Nonnull public SrvcContrItemProduct.SrvcContrItemProductBuilder serviceContract(@Nullable String serviceContract) (Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ServiceContract
- Returns:
this.
-
serviceProductListItem
@Nonnull public SrvcContrItemProduct.SrvcContrItemProductBuilder serviceProductListItem(@Nullable String serviceProductListItem) (Key Field) Constraints: Not nullable, Maximum length: 6Original property name from the Odata EDM: ServiceProductListItem
- Returns:
this.
-
srvcProductListProduct
@Nonnull public SrvcContrItemProduct.SrvcContrItemProductBuilder srvcProductListProduct(@Nullable String srvcProductListProduct) Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: SrvcProductListProduct
- Returns:
this.
-
build
-
toString
-