java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.salesanddistributiondocumentorderreason.SDDocumentReason.SDDocumentReasonBuilder
Enclosing class:
SDDocumentReason

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

    • retroBillingUsageText

      @Nonnull public SDDocumentReason.SDDocumentReasonBuilder retroBillingUsageText(RetroBillingUsageText... value)
      Navigation property to_RetroBillingUsageText for SDDocumentReason to multiple RetroBillingUsageText.
      Parameters:
      value - The RetroBillingUsageTexts to build this SDDocumentReason with.
      Returns:
      This Builder to allow for a fluent interface.
    • sdDocumentReasonText

      @Nonnull public SDDocumentReason.SDDocumentReasonBuilder sdDocumentReasonText(SDDocumentReasonText... value)
      Navigation property to_SDDocumentReasonText for SDDocumentReason to multiple SDDocumentReasonText.
      Parameters:
      value - The SDDocumentReasonTexts to build this SDDocumentReason with.
      Returns:
      This Builder to allow for a fluent interface.
    • selfBillingValueItemText

      @Nonnull public SDDocumentReason.SDDocumentReasonBuilder selfBillingValueItemText(SelfBillingValueItemText... value)
      Navigation property to_SelfBillingValueItemText for SDDocumentReason to multiple SelfBillingValueItemText.
      Parameters:
      value - The SelfBillingValueItemTexts to build this SDDocumentReason with.
      Returns:
      This Builder to allow for a fluent interface.
    • sDDocumentReason

      @Nonnull public SDDocumentReason.SDDocumentReasonBuilder sDDocumentReason(@Nullable String sDDocumentReason)
      (Key Field) Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: SDDocumentReason

      Returns:
      this.
    • retroBillingUsage

      @Nonnull public SDDocumentReason.SDDocumentReasonBuilder retroBillingUsage(@Nullable String retroBillingUsage)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: RetroBillingUsage

      Returns:
      this.
    • selfBillingValueItem

      @Nonnull public SDDocumentReason.SDDocumentReasonBuilder selfBillingValueItem(@Nullable String selfBillingValueItem)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: SelfBillingValueItem

      Returns:
      this.
    • build

      @Nonnull public SDDocumentReason build()
    • toString

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