Class SrvcContrItemPartner.SrvcContrItemPartnerBuilder
java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odatav4.namespaces.servicecontract.SrvcContrItemPartner.SrvcContrItemPartnerBuilder
- Enclosing class:
- SrvcContrItemPartner
Helper class to allow for fluent creation of SrvcContrItemPartner instances.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()custMgmtBusinessPartner(String custMgmtBusinessPartner) (Key Field) Constraints: Not nullable, Maximum length: 10custMgmtPartFunctionCategory(String custMgmtPartFunctionCategory) Constraints: Not nullable, Maximum length: 4custMgmtPartnerFunction(String custMgmtPartnerFunction) (Key Field) Constraints: Not nullable, Maximum length: 8custMgmtPartnerIsMainPartner(Boolean custMgmtPartnerIsMainPartner) Constraints: Not nullableitem(ServiceContractItem value) Navigation property _Item for SrvcContrItemPartner to single ServiceContractItem.serviceContract(ServiceContract value) Navigation property _ServiceContract for SrvcContrItemPartner to single ServiceContract.serviceContract(String value) (Key Field) Constraints: Not nullable, Maximum length: 10serviceContractItem(String serviceContractItem) (Key Field) Constraints: Not nullable, Maximum length: 6toString()
-
Method Details
-
item
Navigation property _Item for SrvcContrItemPartner to single ServiceContractItem.- Parameters:
value- The ServiceContractItem to build this SrvcContrItemPartner with.- Returns:
- This Builder to allow for a fluent interface.
-
serviceContract
@Nonnull public SrvcContrItemPartner.SrvcContrItemPartnerBuilder serviceContract(ServiceContract value) Navigation property _ServiceContract for SrvcContrItemPartner to single ServiceContract.- Parameters:
value- The ServiceContract to build this SrvcContrItemPartner with.- Returns:
- This Builder to allow for a fluent interface.
-
serviceContract
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ServiceContract
- Parameters:
value- The serviceContract to build this SrvcContrItemPartner with.- Returns:
- This Builder to allow for a fluent interface.
-
serviceContractItem
@Nonnull public SrvcContrItemPartner.SrvcContrItemPartnerBuilder serviceContractItem(@Nullable String serviceContractItem) (Key Field) Constraints: Not nullable, Maximum length: 6Original property name from the Odata EDM: ServiceContractItem
- Returns:
this.
-
custMgmtPartnerFunction
@Nonnull public SrvcContrItemPartner.SrvcContrItemPartnerBuilder custMgmtPartnerFunction(@Nullable String custMgmtPartnerFunction) (Key Field) Constraints: Not nullable, Maximum length: 8Original property name from the Odata EDM: CustMgmtPartnerFunction
- Returns:
this.
-
custMgmtBusinessPartner
@Nonnull public SrvcContrItemPartner.SrvcContrItemPartnerBuilder custMgmtBusinessPartner(@Nullable String custMgmtBusinessPartner) (Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: CustMgmtBusinessPartner
- Returns:
this.
-
custMgmtPartFunctionCategory
@Nonnull public SrvcContrItemPartner.SrvcContrItemPartnerBuilder custMgmtPartFunctionCategory(@Nullable String custMgmtPartFunctionCategory) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: CustMgmtPartFunctionCategory
- Returns:
this.
-
custMgmtPartnerIsMainPartner
@Nonnull public SrvcContrItemPartner.SrvcContrItemPartnerBuilder custMgmtPartnerIsMainPartner(@Nullable Boolean custMgmtPartnerIsMainPartner) Constraints: Not nullableOriginal property name from the Odata EDM: CustMgmtPartnerIsMainPartner
- Returns:
this.
-
build
-
toString
-