Class ProfitCenterText.ProfitCenterTextBuilder
java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.profitcenter.ProfitCenterText.ProfitCenterTextBuilder
- Enclosing class:
- ProfitCenterText
Helper class to allow for fluent creation of ProfitCenterText instances.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()controllingArea(String controllingArea) (Key Field) Constraints: Not nullable, Maximum length: 4(Key Field) Constraints: Not nullable, Maximum length: 2profitCenter(ProfitCenter value) Navigation property to_ProfitCenter for ProfitCenterText to single ProfitCenter.profitCenter(String value) (Key Field) Constraints: Not nullable, Maximum length: 10profitCenterLongName(String profitCenterLongName) Constraints: Not nullable, Maximum length: 40profitCenterName(String profitCenterName) Constraints: Not nullable, Maximum length: 20toString()validityEndDate(LocalDateTime validityEndDate) (Key Field) Constraints: Not nullable, Precision: 0validityStartDate(LocalDateTime validityStartDate) Constraints: Not nullable, Precision: 0
-
Method Details
-
profitCenter
Navigation property to_ProfitCenter for ProfitCenterText to single ProfitCenter.- Parameters:
value- The ProfitCenter to build this ProfitCenterText with.- Returns:
- This Builder to allow for a fluent interface.
-
profitCenter
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ProfitCenter
- Parameters:
value- The profitCenter to build this ProfitCenterText with.- Returns:
- This Builder to allow for a fluent interface.
-
language
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Returns:
this.
-
controllingArea
@Nonnull public ProfitCenterText.ProfitCenterTextBuilder controllingArea(@Nullable String controllingArea) (Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ControllingArea
- Returns:
this.
-
validityEndDate
@Nonnull public ProfitCenterText.ProfitCenterTextBuilder validityEndDate(@Nullable LocalDateTime validityEndDate) (Key Field) Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: ValidityEndDate
- Returns:
this.
-
validityStartDate
@Nonnull public ProfitCenterText.ProfitCenterTextBuilder validityStartDate(@Nullable LocalDateTime validityStartDate) Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: ValidityStartDate
- Returns:
this.
-
profitCenterName
@Nonnull public ProfitCenterText.ProfitCenterTextBuilder profitCenterName(@Nullable String profitCenterName) Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: ProfitCenterName
- Returns:
this.
-
profitCenterLongName
@Nonnull public ProfitCenterText.ProfitCenterTextBuilder profitCenterLongName(@Nullable String profitCenterLongName) Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: ProfitCenterLongName
- Returns:
this.
-
build
-
toString
-