Class PurchasingQuotaArrangement.PurchasingQuotaArrangementBuilder
java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.purchasingquotaarrangement.PurchasingQuotaArrangement.PurchasingQuotaArrangementBuilder
- Enclosing class:
- PurchasingQuotaArrangement
public static final class PurchasingQuotaArrangement.PurchasingQuotaArrangementBuilder
extends Object
Helper class to allow for fluent creation of PurchasingQuotaArrangement instances.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()createdByUser(String createdByUser) Constraints: Not nullable, Maximum length: 12creationDate(LocalDateTime creationDate) Constraints: Not nullable, Precision: 0lastChangeDateTime(ZonedDateTime lastChangeDateTime) Constraints: Not nullable, Precision: 7Constraints: Not nullable, Maximum length: 40materialBaseUnit(String materialBaseUnit) Constraints: Not nullable, Maximum length: 3minQtyForSpltQuota(BigDecimal minQtyForSpltQuota) Constraints: Not nullable, Precision: 15, Scale: 3Constraints: Not nullable, Maximum length: 4Navigation property to_PurgQuotaArrangementItem for PurchasingQuotaArrangement to multiple PurgQuotaArrangementItem.quotaArrangement(String quotaArrangement) (Key Field) Constraints: Not nullable, Maximum length: 10toString()userDescription(String userDescription) Constraints: Not nullable, Maximum length: 80validityEndDate(LocalDateTime validityEndDate) Constraints: Not nullable, Precision: 0validityStartDate(LocalDateTime validityStartDate) Constraints: Not nullable, Precision: 0
-
Method Details
-
purgQuotaArrangementItem
@Nonnull public PurchasingQuotaArrangement.PurchasingQuotaArrangementBuilder purgQuotaArrangementItem(PurgQuotaArrangementItem... value) Navigation property to_PurgQuotaArrangementItem for PurchasingQuotaArrangement to multiple PurgQuotaArrangementItem.- Parameters:
value- The PurgQuotaArrangementItems to build this PurchasingQuotaArrangement with.- Returns:
- This Builder to allow for a fluent interface.
-
quotaArrangement
@Nonnull public PurchasingQuotaArrangement.PurchasingQuotaArrangementBuilder quotaArrangement(@Nullable String quotaArrangement) (Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: QuotaArrangement
- Returns:
this.
-
material
@Nonnull public PurchasingQuotaArrangement.PurchasingQuotaArrangementBuilder material(@Nullable String material) Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: Material
- Returns:
this.
-
plant
@Nonnull public PurchasingQuotaArrangement.PurchasingQuotaArrangementBuilder plant(@Nullable String plant) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: Plant
- Returns:
this.
-
validityEndDate
@Nonnull public PurchasingQuotaArrangement.PurchasingQuotaArrangementBuilder validityEndDate(@Nullable LocalDateTime validityEndDate) Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: ValidityEndDate
- Returns:
this.
-
validityStartDate
@Nonnull public PurchasingQuotaArrangement.PurchasingQuotaArrangementBuilder validityStartDate(@Nullable LocalDateTime validityStartDate) Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: ValidityStartDate
- Returns:
this.
-
creationDate
@Nonnull public PurchasingQuotaArrangement.PurchasingQuotaArrangementBuilder creationDate(@Nullable LocalDateTime creationDate) Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: CreationDate
- Returns:
this.
-
createdByUser
@Nonnull public PurchasingQuotaArrangement.PurchasingQuotaArrangementBuilder createdByUser(@Nullable String createdByUser) Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: CreatedByUser
- Returns:
this.
-
minQtyForSpltQuota
@Nonnull public PurchasingQuotaArrangement.PurchasingQuotaArrangementBuilder minQtyForSpltQuota(@Nullable BigDecimal minQtyForSpltQuota) Constraints: Not nullable, Precision: 15, Scale: 3Original property name from the Odata EDM: MinQtyForSpltQuota
- Returns:
this.
-
lastChangeDateTime
@Nonnull public PurchasingQuotaArrangement.PurchasingQuotaArrangementBuilder lastChangeDateTime(@Nullable ZonedDateTime lastChangeDateTime) Constraints: Not nullable, Precision: 7Original property name from the Odata EDM: LastChangeDateTime
- Returns:
this.
-
userDescription
@Nonnull public PurchasingQuotaArrangement.PurchasingQuotaArrangementBuilder userDescription(@Nullable String userDescription) Constraints: Not nullable, Maximum length: 80Original property name from the Odata EDM: UserDescription
- Returns:
this.
-
materialBaseUnit
@Nonnull public PurchasingQuotaArrangement.PurchasingQuotaArrangementBuilder materialBaseUnit(@Nullable String materialBaseUnit) Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: MaterialBaseUnit
- Returns:
this.
-
build
-
toString
-