Package com.sap.cloud.sdk.s4hana.datamodel.odatav4.namespaces.fixedassetusageobjectforuopdepreciation
Class FixedAssetUsageObjectPeriod.FixedAssetUsageObjectPeriodBuilder
java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odatav4.namespaces.fixedassetusageobjectforuopdepreciation.FixedAssetUsageObjectPeriod.FixedAssetUsageObjectPeriodBuilder
- Enclosing class:
- FixedAssetUsageObjectPeriod
public static final class FixedAssetUsageObjectPeriod.FixedAssetUsageObjectPeriodBuilder
extends Object
Helper class to allow for fluent creation of FixedAssetUsageObjectPeriod instances.
-
Method Summary
Modifier and TypeMethodDescriptionConstraints: Not nullable, Maximum length: 3build()companyCode(String companyCode) (Key Field) Constraints: Not nullable, Maximum length: 4fixedAssetUsageObject(String fixedAssetUsageObject) (Key Field) Constraints: Not nullable, Maximum length: 12periodPlannedQtyInProdnUnit(BigDecimal periodPlannedQtyInProdnUnit) Constraints: Not nullable, Precision: 18, Scale: 3toString()usageObject(FixedAssetUsageObject value) Navigation property _UsageObject for FixedAssetUsageObjectPeriod to single FixedAssetUsageObject.validityEndDate(LocalDate validityEndDate) (Key Field) Constraints: Not nullablevalidityStartDate(LocalDate validityStartDate) Constraints: Nullable
-
Method Details
-
usageObject
@Nonnull public FixedAssetUsageObjectPeriod.FixedAssetUsageObjectPeriodBuilder usageObject(FixedAssetUsageObject value) Navigation property _UsageObject for FixedAssetUsageObjectPeriod to single FixedAssetUsageObject.- Parameters:
value- The FixedAssetUsageObject to build this FixedAssetUsageObjectPeriod with.- Returns:
- This Builder to allow for a fluent interface.
-
companyCode
@Nonnull public FixedAssetUsageObjectPeriod.FixedAssetUsageObjectPeriodBuilder companyCode(@Nullable String companyCode) (Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: CompanyCode
- Returns:
this.
-
fixedAssetUsageObject
@Nonnull public FixedAssetUsageObjectPeriod.FixedAssetUsageObjectPeriodBuilder fixedAssetUsageObject(@Nullable String fixedAssetUsageObject) (Key Field) Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: FixedAssetUsageObject
- Returns:
this.
-
validityEndDate
@Nonnull public FixedAssetUsageObjectPeriod.FixedAssetUsageObjectPeriodBuilder validityEndDate(@Nullable LocalDate validityEndDate) (Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: ValidityEndDate
- Returns:
this.
-
validityStartDate
@Nonnull public FixedAssetUsageObjectPeriod.FixedAssetUsageObjectPeriodBuilder validityStartDate(@Nullable LocalDate validityStartDate) Constraints: NullableOriginal property name from the Odata EDM: ValidityStartDate
- Returns:
this.
-
periodPlannedQtyInProdnUnit
@Nonnull public FixedAssetUsageObjectPeriod.FixedAssetUsageObjectPeriodBuilder periodPlannedQtyInProdnUnit(@Nullable BigDecimal periodPlannedQtyInProdnUnit) Constraints: Not nullable, Precision: 18, Scale: 3Original property name from the Odata EDM: PeriodPlannedQtyInProdnUnit
- Returns:
this.
-
baseUnit
@Nonnull public FixedAssetUsageObjectPeriod.FixedAssetUsageObjectPeriodBuilder baseUnit(@Nullable String baseUnit) Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: BaseUnit
- Returns:
this.
-
build
-
toString
-