Class ServiceContract.ServiceContractBuilder

java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odatav4.namespaces.servicecontract.ServiceContract.ServiceContractBuilder
Enclosing class:
ServiceContract

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

    • item

      Navigation property _Item for ServiceContract to multiple ServiceContractItem.
      Parameters:
      value - The ServiceContractItems to build this ServiceContract with.
      Returns:
      This Builder to allow for a fluent interface.
    • longText

      Navigation property _LongText for ServiceContract to multiple ServiceContractLongText.
      Parameters:
      value - The ServiceContractLongTexts to build this ServiceContract with.
      Returns:
      This Builder to allow for a fluent interface.
    • partner

      @Nonnull public ServiceContract.ServiceContractBuilder partner(SrvcContrPartner... value)
      Navigation property _Partner for ServiceContract to multiple SrvcContrPartner.
      Parameters:
      value - The SrvcContrPartners to build this ServiceContract with.
      Returns:
      This Builder to allow for a fluent interface.
    • serviceContract

      @Nonnull public ServiceContract.ServiceContractBuilder serviceContract(@Nullable String serviceContract)
      (Key Field) Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: ServiceContract

      Returns:
      this.
    • serviceObjectType

      @Nonnull public ServiceContract.ServiceContractBuilder serviceObjectType(@Nullable String serviceObjectType)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: ServiceObjectType

      Returns:
      this.
    • serviceContractType

      @Nonnull public ServiceContract.ServiceContractBuilder serviceContractType(@Nullable String serviceContractType)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: ServiceContractType

      Returns:
      this.
    • serviceContractDescription

      @Nonnull public ServiceContract.ServiceContractBuilder serviceContractDescription(@Nullable String serviceContractDescription)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: ServiceContractDescription

      Returns:
      this.
    • language

      @Nonnull public ServiceContract.ServiceContractBuilder language(@Nullable String language)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: Language

      Returns:
      this.
    • postingDate

      @Nonnull public ServiceContract.ServiceContractBuilder postingDate(@Nullable LocalDate postingDate)
      Constraints: Nullable

      Original property name from the Odata EDM: PostingDate

      Returns:
      this.
    • serviceDocCreationDateTime

      @Nonnull public ServiceContract.ServiceContractBuilder serviceDocCreationDateTime(@Nullable OffsetDateTime serviceDocCreationDateTime)
      Constraints: Nullable

      Original property name from the Odata EDM: ServiceDocCreationDateTime

      Returns:
      this.
    • serviceDocChangedDateTime

      @Nonnull public ServiceContract.ServiceContractBuilder serviceDocChangedDateTime(@Nullable OffsetDateTime serviceDocChangedDateTime)
      Constraints: Nullable

      Original property name from the Odata EDM: ServiceDocChangedDateTime

      Returns:
      this.
    • serviceDocumentCreatedByUser

      @Nonnull public ServiceContract.ServiceContractBuilder serviceDocumentCreatedByUser(@Nullable String serviceDocumentCreatedByUser)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: ServiceDocumentCreatedByUser

      Returns:
      this.
    • serviceDocumentChangedByUser

      @Nonnull public ServiceContract.ServiceContractBuilder serviceDocumentChangedByUser(@Nullable String serviceDocumentChangedByUser)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: ServiceDocumentChangedByUser

      Returns:
      this.
    • soldToParty

      @Nonnull public ServiceContract.ServiceContractBuilder soldToParty(@Nullable String soldToParty)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: SoldToParty

      Returns:
      this.
    • shipToParty

      @Nonnull public ServiceContract.ServiceContractBuilder shipToParty(@Nullable String shipToParty)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: ShipToParty

      Returns:
      this.
    • billToParty

      @Nonnull public ServiceContract.ServiceContractBuilder billToParty(@Nullable String billToParty)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: BillToParty

      Returns:
      this.
    • payerParty

      @Nonnull public ServiceContract.ServiceContractBuilder payerParty(@Nullable String payerParty)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: PayerParty

      Returns:
      this.
    • contactPersonBusinessPartnerId

      @Nonnull public ServiceContract.ServiceContractBuilder contactPersonBusinessPartnerId(@Nullable String contactPersonBusinessPartnerId)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: ContactPersonBusinessPartnerId

      Returns:
      this.
    • respEmployeeBusinessPartnerId

      @Nonnull public ServiceContract.ServiceContractBuilder respEmployeeBusinessPartnerId(@Nullable String respEmployeeBusinessPartnerId)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: RespEmployeeBusinessPartnerId

      Returns:
      this.
    • paymentTerms

      @Nonnull public ServiceContract.ServiceContractBuilder paymentTerms(@Nullable String paymentTerms)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: PaymentTerms

      Returns:
      this.
    • paymentMethod

      @Nonnull public ServiceContract.ServiceContractBuilder paymentMethod(@Nullable String paymentMethod)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: PaymentMethod

      Returns:
      this.
    • sEPAMandate

      @Nonnull public ServiceContract.ServiceContractBuilder sEPAMandate(@Nullable String sEPAMandate)
      Constraints: Not nullable, Maximum length: 35

      Original property name from the Odata EDM: SEPAMandate

      Returns:
      this.
    • srvcSEPAMandateRelevance

      @Nonnull public ServiceContract.ServiceContractBuilder srvcSEPAMandateRelevance(@Nullable String srvcSEPAMandateRelevance)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: SrvcSEPAMandateRelevance

      Returns:
      this.
    • salesOrganization

      @Nonnull public ServiceContract.ServiceContractBuilder salesOrganization(@Nullable String salesOrganization)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: SalesOrganization

      Returns:
      this.
    • distributionChannel

      @Nonnull public ServiceContract.ServiceContractBuilder distributionChannel(@Nullable String distributionChannel)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: DistributionChannel

      Returns:
      this.
    • division

      @Nonnull public ServiceContract.ServiceContractBuilder division(@Nullable String division)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: Division

      Returns:
      this.
    • salesOffice

      @Nonnull public ServiceContract.ServiceContractBuilder salesOffice(@Nullable String salesOffice)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: SalesOffice

      Returns:
      this.
    • salesGroup

      @Nonnull public ServiceContract.ServiceContractBuilder salesGroup(@Nullable String salesGroup)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: SalesGroup

      Returns:
      this.
    • serviceContractIsNew

      @Nonnull public ServiceContract.ServiceContractBuilder serviceContractIsNew(@Nullable Boolean serviceContractIsNew)
      Constraints: Not nullable

      Original property name from the Odata EDM: ServiceContractIsNew

      Returns:
      this.
    • serviceContractIsInProcess

      @Nonnull public ServiceContract.ServiceContractBuilder serviceContractIsInProcess(@Nullable Boolean serviceContractIsInProcess)
      Constraints: Not nullable

      Original property name from the Odata EDM: ServiceContractIsInProcess

      Returns:
      this.
    • serviceContractIsReleased

      @Nonnull public ServiceContract.ServiceContractBuilder serviceContractIsReleased(@Nullable Boolean serviceContractIsReleased)
      Constraints: Not nullable

      Original property name from the Odata EDM: ServiceContractIsReleased

      Returns:
      this.
    • serviceContractIsCompleted

      @Nonnull public ServiceContract.ServiceContractBuilder serviceContractIsCompleted(@Nullable Boolean serviceContractIsCompleted)
      Constraints: Not nullable

      Original property name from the Odata EDM: ServiceContractIsCompleted

      Returns:
      this.
    • serviceContractStatus

      @Nonnull public ServiceContract.ServiceContractBuilder serviceContractStatus(@Nullable String serviceContractStatus)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: ServiceContractStatus

      Returns:
      this.
    • srvcContrBillingStatus

      @Nonnull public ServiceContract.ServiceContractBuilder srvcContrBillingStatus(@Nullable String srvcContrBillingStatus)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: SrvcContrBillingStatus

      Returns:
      this.
    • srvcDocRejectionStatus

      @Nonnull public ServiceContract.ServiceContractBuilder srvcDocRejectionStatus(@Nullable String srvcDocRejectionStatus)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: SrvcDocRejectionStatus

      Returns:
      this.
    • serviceContractHasError

      @Nonnull public ServiceContract.ServiceContractBuilder serviceContractHasError(@Nullable Boolean serviceContractHasError)
      Constraints: Not nullable

      Original property name from the Odata EDM: ServiceContractHasError

      Returns:
      this.
    • serviceContractStartDateTime

      @Nonnull public ServiceContract.ServiceContractBuilder serviceContractStartDateTime(@Nullable OffsetDateTime serviceContractStartDateTime)
      Constraints: Nullable

      Original property name from the Odata EDM: ServiceContractStartDateTime

      Returns:
      this.
    • serviceContractEndDateTime

      @Nonnull public ServiceContract.ServiceContractBuilder serviceContractEndDateTime(@Nullable OffsetDateTime serviceContractEndDateTime)
      Constraints: Nullable

      Original property name from the Odata EDM: ServiceContractEndDateTime

      Returns:
      this.
    • transactionCurrency

      @Nonnull public ServiceContract.ServiceContractBuilder transactionCurrency(@Nullable String transactionCurrency)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: TransactionCurrency

      Returns:
      this.
    • serviceDocGrossAmount

      @Nonnull public ServiceContract.ServiceContractBuilder serviceDocGrossAmount(@Nullable BigDecimal serviceDocGrossAmount)
      Constraints: Not nullable, Precision: 15, Scale: 0

      Original property name from the Odata EDM: ServiceDocGrossAmount

      Returns:
      this.
    • serviceDocNetAmount

      @Nonnull public ServiceContract.ServiceContractBuilder serviceDocNetAmount(@Nullable BigDecimal serviceDocNetAmount)
      Constraints: Not nullable, Precision: 15, Scale: 0

      Original property name from the Odata EDM: ServiceDocNetAmount

      Returns:
      this.
    • serviceDocTaxAmount

      @Nonnull public ServiceContract.ServiceContractBuilder serviceDocTaxAmount(@Nullable BigDecimal serviceDocTaxAmount)
      Constraints: Not nullable, Precision: 15, Scale: 0

      Original property name from the Odata EDM: ServiceDocTaxAmount

      Returns:
      this.
    • serviceContractCanclnParty

      @Nonnull public ServiceContract.ServiceContractBuilder serviceContractCanclnParty(@Nullable String serviceContractCanclnParty)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: ServiceContractCanclnParty

      Returns:
      this.
    • serviceContrCancellationReason

      @Nonnull public ServiceContract.ServiceContractBuilder serviceContrCancellationReason(@Nullable String serviceContrCancellationReason)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: ServiceContrCancellationReason

      Returns:
      this.
    • srvcContrCancellationDateTime

      @Nonnull public ServiceContract.ServiceContractBuilder srvcContrCancellationDateTime(@Nullable OffsetDateTime srvcContrCancellationDateTime)
      Constraints: Nullable

      Original property name from the Odata EDM: SrvcContrCancellationDateTime

      Returns:
      this.
    • serviceContractCanclnSts

      @Nonnull public ServiceContract.ServiceContractBuilder serviceContractCanclnSts(@Nullable String serviceContractCanclnSts)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: ServiceContractCanclnSts

      Returns:
      this.
    • purchaseOrderByCustomer

      @Nonnull public ServiceContract.ServiceContractBuilder purchaseOrderByCustomer(@Nullable String purchaseOrderByCustomer)
      Constraints: Not nullable, Maximum length: 35

      Original property name from the Odata EDM: PurchaseOrderByCustomer

      Returns:
      this.
    • customerPurchaseOrderDate

      @Nonnull public ServiceContract.ServiceContractBuilder customerPurchaseOrderDate(@Nullable LocalDate customerPurchaseOrderDate)
      Constraints: Nullable

      Original property name from the Odata EDM: CustomerPurchaseOrderDate

      Returns:
      this.
    • srvcContrExternalReference

      @Nonnull public ServiceContract.ServiceContractBuilder srvcContrExternalReference(@Nullable String srvcContrExternalReference)
      Constraints: Not nullable, Maximum length: 80

      Original property name from the Odata EDM: SrvcContrExternalReference

      Returns:
      this.
    • serviceQtanExtReference

      @Nonnull public ServiceContract.ServiceContractBuilder serviceQtanExtReference(@Nullable String serviceQtanExtReference)
      Constraints: Not nullable, Maximum length: 80

      Original property name from the Odata EDM: ServiceQtanExtReference

      Returns:
      this.
    • refBusinessSolutionOrder

      @Nonnull public ServiceContract.ServiceContractBuilder refBusinessSolutionOrder(@Nullable String refBusinessSolutionOrder)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: RefBusinessSolutionOrder

      Returns:
      this.
    • refServiceContractTemplate

      @Nonnull public ServiceContract.ServiceContractBuilder refServiceContractTemplate(@Nullable String refServiceContractTemplate)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: RefServiceContractTemplate

      Returns:
      this.
    • wBSElementExternalID

      @Nonnull public ServiceContract.ServiceContractBuilder wBSElementExternalID(@Nullable String wBSElementExternalID)
      Constraints: Not nullable, Maximum length: 24

      Original property name from the Odata EDM: WBSElementExternalID

      Returns:
      this.
    • _Messages

      @Nonnull public ServiceContract.ServiceContractBuilder _Messages(@Nullable Collection<SAP__Message> _Messages)
      Constraints: Not nullable

      Original property name from the Odata EDM: SAP__Messages

      Returns:
      this.
    • build

      @Nonnull public ServiceContract build()
    • toString

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