java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odatav4.namespaces.productionrevenueaccountingrevenueaccountingdocument.DeductDetail.DeductDetailBuilder
Enclosing class:
DeductDetail

public static final class DeductDetail.DeductDetailBuilder extends Object
Helper class to allow for fluent creation of DeductDetail instances.
  • 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

      @Nonnull public DeductDetail.DeductDetailBuilder praAcctgDocDetail(RevenueAccountingItems value)
      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

      @Nonnull public DeductDetail.DeductDetailBuilder companyCode(@Nullable String companyCode)
      (Key Field) Constraints: Not nullable, Maximum length: 4

      Original 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: 6

      Original 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: 10

      Original 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: 8

      Original property name from the Odata EDM: PRAAccountingDocumentLine

      Returns:
      this.
    • deductionType

      @Nonnull public DeductDetail.DeductDetailBuilder deductionType(@Nullable String deductionType)
      (Key Field) Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: DeductionType

      Returns:
      this.
    • otherDeductionAmount

      @Nonnull public DeductDetail.DeductDetailBuilder otherDeductionAmount(@Nullable BigDecimal otherDeductionAmount)
      Constraints: Not nullable, Precision: 15, Scale: 0

      Original property name from the Odata EDM: OtherDeductionAmount

      Returns:
      this.
    • companyCodeCurrency

      @Nonnull public DeductDetail.DeductDetailBuilder companyCodeCurrency(@Nullable String companyCodeCurrency)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: CompanyCodeCurrency

      Returns:
      this.
    • createdByUser

      @Nonnull public DeductDetail.DeductDetailBuilder createdByUser(@Nullable String createdByUser)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: CreatedByUser

      Returns:
      this.
    • creationDateTime

      @Nonnull public DeductDetail.DeductDetailBuilder creationDateTime(@Nullable OffsetDateTime creationDateTime)
      Constraints: Nullable

      Original property name from the Odata EDM: CreationDateTime

      Returns:
      this.
    • lastChangedByUser

      @Nonnull public DeductDetail.DeductDetailBuilder lastChangedByUser(@Nullable String lastChangedByUser)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: LastChangedByUser

      Returns:
      this.
    • changedDateTime

      @Nonnull public DeductDetail.DeductDetailBuilder changedDateTime(@Nullable OffsetDateTime changedDateTime)
      Constraints: Nullable

      Original property name from the Odata EDM: ChangedDateTime

      Returns:
      this.
    • build

      @Nonnull public DeductDetail build()
    • toString

      @Nonnull public String toString()
      Overrides:
      toString in class Object