Class DeductDetail.DeductDetailBuilder
java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odatav4.namespaces.productionrevenueaccountingrevenueaccountingdocument.DeductDetail.DeductDetailBuilder
- Enclosing class:
- DeductDetail
Helper class to allow for fluent creation of DeductDetail instances.
-
Method Summary
Modifier and TypeMethodDescriptionaccountingDocument(String accountingDocument) (Key Field) Constraints: Not nullable, Maximum length: 10build()changedDateTime(OffsetDateTime changedDateTime) Constraints: NullablecompanyCode(String companyCode) (Key Field) Constraints: Not nullable, Maximum length: 4companyCodeCurrency(String companyCodeCurrency) Constraints: Not nullable, Maximum length: 3createdByUser(String createdByUser) Constraints: Not nullable, Maximum length: 12creationDateTime(OffsetDateTime creationDateTime) Constraints: NullabledeductionType(String deductionType) (Key Field) Constraints: Not nullable, Maximum length: 2lastChangedByUser(String lastChangedByUser) Constraints: Not nullable, Maximum length: 12otherDeductionAmount(BigDecimal otherDeductionAmount) Constraints: Not nullable, Precision: 15, Scale: 0Navigation property _PRAAccountingDocumentHeader for DeductDetail to single RevenueAccountingHeader.pRAAccountingDocumentLine(String pRAAccountingDocumentLine) (Key Field) Constraints: Not nullable, Maximum length: 8pRAAccountingPeriod(String pRAAccountingPeriod) (Key Field) Constraints: Not nullable, Maximum length: 6Navigation property _PRAAcctgDocDetail for DeductDetail to single RevenueAccountingItems.toString()
-
Method Details
-
praAccountingDocumentHeader
@Nonnull public DeductDetail.DeductDetailBuilder praAccountingDocumentHeader(RevenueAccountingHeader value) Navigation property _PRAAccountingDocumentHeader for DeductDetail to single RevenueAccountingHeader.- Parameters:
value- The RevenueAccountingHeader to build this DeductDetail with.- Returns:
- This Builder to allow for a fluent interface.
-
praAcctgDocDetail
Navigation property _PRAAcctgDocDetail for DeductDetail to single RevenueAccountingItems.- Parameters:
value- The RevenueAccountingItems to build this DeductDetail with.- Returns:
- This Builder to allow for a fluent interface.
-
companyCode
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: CompanyCode
- Returns:
this.
-
pRAAccountingPeriod
@Nonnull public DeductDetail.DeductDetailBuilder pRAAccountingPeriod(@Nullable String pRAAccountingPeriod) (Key Field) Constraints: Not nullable, Maximum length: 6Original property name from the Odata EDM: PRAAccountingPeriod
- Returns:
this.
-
accountingDocument
@Nonnull public DeductDetail.DeductDetailBuilder accountingDocument(@Nullable String accountingDocument) (Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: AccountingDocument
- Returns:
this.
-
pRAAccountingDocumentLine
@Nonnull public DeductDetail.DeductDetailBuilder pRAAccountingDocumentLine(@Nullable String pRAAccountingDocumentLine) (Key Field) Constraints: Not nullable, Maximum length: 8Original property name from the Odata EDM: PRAAccountingDocumentLine
- Returns:
this.
-
deductionType
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: DeductionType
- Returns:
this.
-
otherDeductionAmount
@Nonnull public DeductDetail.DeductDetailBuilder otherDeductionAmount(@Nullable BigDecimal otherDeductionAmount) Constraints: Not nullable, Precision: 15, Scale: 0Original property name from the Odata EDM: OtherDeductionAmount
- Returns:
this.
-
companyCodeCurrency
@Nonnull public DeductDetail.DeductDetailBuilder companyCodeCurrency(@Nullable String companyCodeCurrency) Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: CompanyCodeCurrency
- Returns:
this.
-
createdByUser
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: CreatedByUser
- Returns:
this.
-
creationDateTime
@Nonnull public DeductDetail.DeductDetailBuilder creationDateTime(@Nullable OffsetDateTime creationDateTime) Constraints: NullableOriginal property name from the Odata EDM: CreationDateTime
- Returns:
this.
-
lastChangedByUser
@Nonnull public DeductDetail.DeductDetailBuilder lastChangedByUser(@Nullable String lastChangedByUser) Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: LastChangedByUser
- Returns:
this.
-
changedDateTime
@Nonnull public DeductDetail.DeductDetailBuilder changedDateTime(@Nullable OffsetDateTime changedDateTime) Constraints: NullableOriginal property name from the Odata EDM: ChangedDateTime
- Returns:
this.
-
build
-
toString
-