Class PurContrHdrCndnValdty.PurContrHdrCndnValdtyBuilder
java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.purchasecontractv2.PurContrHdrCndnValdty.PurContrHdrCndnValdtyBuilder
- Enclosing class:
- PurContrHdrCndnValdty
Helper class to allow for fluent creation of PurContrHdrCndnValdty instances.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()conditionApplication(String conditionApplication) Constraints: Not nullable, Maximum length: 2conditionIsDeleted(Boolean conditionIsDeleted) Constraints: noneconditionRecord(String conditionRecord) (Key Field) Constraints: Not nullable, Maximum length: 10conditionType(String conditionType) Constraints: Not nullable, Maximum length: 4conditionValidityEndDate(LocalDateTime conditionValidityEndDate) (Key Field) Constraints: Not nullable, Precision: 0conditionValidityStartDate(LocalDateTime conditionValidityStartDate) Constraints: Not nullable, Precision: 0purchaseContract(PurchaseContract value) Navigation property to_PurchaseContract for PurContrHdrCndnValdty to single PurchaseContract.purchaseContract(String value) (Key Field) Constraints: Not nullable, Maximum length: 10purContrHdrCndnAmount(PurContrHdrCndnAmount... value) Navigation property to_PurContrHdrCndnAmount for PurContrHdrCndnValdty to multiple PurContrHdrCndnAmount.toString()
-
Method Details
-
purchaseContract
@Nonnull public PurContrHdrCndnValdty.PurContrHdrCndnValdtyBuilder purchaseContract(PurchaseContract value) Navigation property to_PurchaseContract for PurContrHdrCndnValdty to single PurchaseContract.- Parameters:
value- The PurchaseContract to build this PurContrHdrCndnValdty with.- Returns:
- This Builder to allow for a fluent interface.
-
purchaseContract
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: PurchaseContract
- Parameters:
value- The purchaseContract to build this PurContrHdrCndnValdty with.- Returns:
- This Builder to allow for a fluent interface.
-
purContrHdrCndnAmount
@Nonnull public PurContrHdrCndnValdty.PurContrHdrCndnValdtyBuilder purContrHdrCndnAmount(PurContrHdrCndnAmount... value) Navigation property to_PurContrHdrCndnAmount for PurContrHdrCndnValdty to multiple PurContrHdrCndnAmount.- Parameters:
value- The PurContrHdrCndnAmounts to build this PurContrHdrCndnValdty with.- Returns:
- This Builder to allow for a fluent interface.
-
conditionRecord
@Nonnull public PurContrHdrCndnValdty.PurContrHdrCndnValdtyBuilder conditionRecord(@Nullable String conditionRecord) (Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ConditionRecord
- Returns:
this.
-
conditionValidityEndDate
@Nonnull public PurContrHdrCndnValdty.PurContrHdrCndnValdtyBuilder conditionValidityEndDate(@Nullable LocalDateTime conditionValidityEndDate) (Key Field) Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: ConditionValidityEndDate
- Returns:
this.
-
conditionApplication
@Nonnull public PurContrHdrCndnValdty.PurContrHdrCndnValdtyBuilder conditionApplication(@Nullable String conditionApplication) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: ConditionApplication
- Returns:
this.
-
conditionType
@Nonnull public PurContrHdrCndnValdty.PurContrHdrCndnValdtyBuilder conditionType(@Nullable String conditionType) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ConditionType
- Returns:
this.
-
conditionIsDeleted
@Nonnull public PurContrHdrCndnValdty.PurContrHdrCndnValdtyBuilder conditionIsDeleted(@Nullable Boolean conditionIsDeleted) Constraints: noneOriginal property name from the Odata EDM: ConditionIsDeleted
- Returns:
this.
-
conditionValidityStartDate
@Nonnull public PurContrHdrCndnValdty.PurContrHdrCndnValdtyBuilder conditionValidityStartDate(@Nullable LocalDateTime conditionValidityStartDate) Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: ConditionValidityStartDate
- Returns:
this.
-
build
-
toString
-