java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.ledger.Ledger.LedgerBuilder
Enclosing class:
Ledger

public static final class Ledger.LedgerBuilder extends Object
Helper class to allow for fluent creation of Ledger instances.
  • Method Details

    • text

      @Nonnull public Ledger.LedgerBuilder text(LedgerText... value)
      Navigation property to_Text for Ledger to multiple LedgerText.
      Parameters:
      value - The LedgerTexts to build this Ledger with.
      Returns:
      This Builder to allow for a fluent interface.
    • ledger

      @Nonnull public Ledger.LedgerBuilder ledger(@Nullable String ledger)
      (Key Field) Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: Ledger

      Returns:
      this.
    • isLeadingLedger

      @Nonnull public Ledger.LedgerBuilder isLeadingLedger(@Nullable Boolean isLeadingLedger)
      Constraints: none

      Original property name from the Odata EDM: IsLeadingLedger

      Returns:
      this.
    • ledgerApplication

      @Nonnull public Ledger.LedgerBuilder ledgerApplication(@Nullable String ledgerApplication)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: LedgerApplication

      Returns:
      this.
    • ledgerSubApplication

      @Nonnull public Ledger.LedgerBuilder ledgerSubApplication(@Nullable String ledgerSubApplication)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: LedgerSubApplication

      Returns:
      this.
    • build

      @Nonnull public Ledger build()
    • toString

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