Class SrvcOrdPartner.SrvcOrdPartnerBuilder

java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.serviceorder.SrvcOrdPartner.SrvcOrdPartnerBuilder
Enclosing class:
SrvcOrdPartner

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

    • address

      Navigation property to_Address for SrvcOrdPartner to single SrvcOrdPartnerAddress.
      Parameters:
      value - The SrvcOrdPartnerAddress to build this SrvcOrdPartner with.
      Returns:
      This Builder to allow for a fluent interface.
    • serviceOrder

      @Nonnull public SrvcOrdPartner.SrvcOrdPartnerBuilder serviceOrder(@Nullable String serviceOrder)
      (Key Field) Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: ServiceOrder

      Returns:
      this.
    • custMgmtPartnerFunction

      @Nonnull public SrvcOrdPartner.SrvcOrdPartnerBuilder custMgmtPartnerFunction(@Nullable String custMgmtPartnerFunction)
      (Key Field) Constraints: Not nullable, Maximum length: 8

      Original property name from the Odata EDM: CustMgmtPartnerFunction

      Returns:
      this.
    • custMgmtBusinessPartner

      @Nonnull public SrvcOrdPartner.SrvcOrdPartnerBuilder custMgmtBusinessPartner(@Nullable String custMgmtBusinessPartner)
      (Key Field) Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: CustMgmtBusinessPartner

      Returns:
      this.
    • custMgmtPartnerIsMainPartner

      @Nonnull public SrvcOrdPartner.SrvcOrdPartnerBuilder custMgmtPartnerIsMainPartner(@Nullable Boolean custMgmtPartnerIsMainPartner)
      Constraints: none

      Original property name from the Odata EDM: CustMgmtPartnerIsMainPartner

      Returns:
      this.
    • build

      @Nonnull public SrvcOrdPartner build()
    • toString

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