Class ServiceOrder.ServiceOrderBuilder

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

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

    • appointment

      @Nonnull public ServiceOrder.ServiceOrderBuilder appointment(SrvcOrdAppointment... value)
      Navigation property to_Appointment for ServiceOrder to multiple SrvcOrdAppointment.
      Parameters:
      value - The SrvcOrdAppointments to build this ServiceOrder with.
      Returns:
      This Builder to allow for a fluent interface.
    • confirmation

      @Nonnull public ServiceOrder.ServiceOrderBuilder confirmation(ServiceOrderConfirmation... value)
      Navigation property to_Confirmation for ServiceOrder to multiple ServiceOrderConfirmation.
      Parameters:
      value - The ServiceOrderConfirmations to build this ServiceOrder with.
      Returns:
      This Builder to allow for a fluent interface.
    • defect

      @Nonnull public ServiceOrder.ServiceOrderBuilder defect(ServiceOrderDefect... value)
      Navigation property to_Defect for ServiceOrder to multiple ServiceOrderDefect.
      Parameters:
      value - The ServiceOrderDefects to build this ServiceOrder with.
      Returns:
      This Builder to allow for a fluent interface.
    • duration

      @Nonnull public ServiceOrder.ServiceOrderBuilder duration(SrvcOrdDuration... value)
      Navigation property to_Duration for ServiceOrder to multiple SrvcOrdDuration.
      Parameters:
      value - The SrvcOrdDurations to build this ServiceOrder with.
      Returns:
      This Builder to allow for a fluent interface.
    • item

      @Nonnull public ServiceOrder.ServiceOrderBuilder item(ServiceOrderItem... value)
      Navigation property to_Item for ServiceOrder to multiple ServiceOrderItem.
      Parameters:
      value - The ServiceOrderItems to build this ServiceOrder with.
      Returns:
      This Builder to allow for a fluent interface.
    • partner

      @Nonnull public ServiceOrder.ServiceOrderBuilder partner(SrvcOrdPartner... value)
      Navigation property to_Partner for ServiceOrder to multiple SrvcOrdPartner.
      Parameters:
      value - The SrvcOrdPartners to build this ServiceOrder with.
      Returns:
      This Builder to allow for a fluent interface.
    • personResponsible

      @Nonnull public ServiceOrder.ServiceOrderBuilder personResponsible(ServiceOrderPersonResp... value)
      Navigation property to_PersonResponsible for ServiceOrder to multiple ServiceOrderPersonResp.
      Parameters:
      value - The ServiceOrderPersonResps to build this ServiceOrder with.
      Returns:
      This Builder to allow for a fluent interface.
    • pricingElement

      @Nonnull public ServiceOrder.ServiceOrderBuilder pricingElement(ServiceOrderPriceElement... value)
      Navigation property to_PricingElement for ServiceOrder to multiple ServiceOrderPriceElement.
      Parameters:
      value - The ServiceOrderPriceElements to build this ServiceOrder with.
      Returns:
      This Builder to allow for a fluent interface.
    • productReferenceObject

      @Nonnull public ServiceOrder.ServiceOrderBuilder productReferenceObject(SrvcOrdProdRefObject... value)
      Navigation property to_ProductReferenceObject for ServiceOrder to multiple SrvcOrdProdRefObject.
      Parameters:
      value - The SrvcOrdProdRefObjects to build this ServiceOrder with.
      Returns:
      This Builder to allow for a fluent interface.
    • referenceObject

      @Nonnull public ServiceOrder.ServiceOrderBuilder referenceObject(ServiceOrderRefObject... value)
      Navigation property to_ReferenceObject for ServiceOrder to multiple ServiceOrderRefObject.
      Parameters:
      value - The ServiceOrderRefObjects to build this ServiceOrder with.
      Returns:
      This Builder to allow for a fluent interface.
    • referenceServiceContract

      @Nonnull public ServiceOrder.ServiceOrderBuilder referenceServiceContract(SrvcOrdRefServiceContract... value)
      Navigation property to_ReferenceServiceContract for ServiceOrder to multiple SrvcOrdRefServiceContract.
      Parameters:
      value - The SrvcOrdRefServiceContracts to build this ServiceOrder with.
      Returns:
      This Builder to allow for a fluent interface.
    • referenceServiceContract

      @Nonnull public ServiceOrder.ServiceOrderBuilder referenceServiceContract(String value)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: ReferenceServiceContract

      Parameters:
      value - The referenceServiceContract to build this ServiceOrder with.
      Returns:
      This Builder to allow for a fluent interface.
    • serviceOrdUserStatus

      @Nonnull public ServiceOrder.ServiceOrderBuilder serviceOrdUserStatus(ServiceOrdUserStatus... value)
      Navigation property to_ServiceOrdUserStatus for ServiceOrder to multiple ServiceOrdUserStatus.
      Parameters:
      value - The ServiceOrdUserStatuss to build this ServiceOrder with.
      Returns:
      This Builder to allow for a fluent interface.
    • text

      @Nonnull public ServiceOrder.ServiceOrderBuilder text(ServiceOrderText... value)
      Navigation property to_Text for ServiceOrder to multiple ServiceOrderText.
      Parameters:
      value - The ServiceOrderTexts to build this ServiceOrder with.
      Returns:
      This Builder to allow for a fluent interface.
    • serviceOrder

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

      Original property name from the Odata EDM: ServiceOrder

      Returns:
      this.
    • serviceOrderType

      @Nonnull public ServiceOrder.ServiceOrderBuilder serviceOrderType(@Nullable String serviceOrderType)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: ServiceOrderType

      Returns:
      this.
    • serviceOrderUUID

      @Nonnull public ServiceOrder.ServiceOrderBuilder serviceOrderUUID(@Nullable UUID serviceOrderUUID)
      Constraints: none

      Original property name from the Odata EDM: ServiceOrderUUID

      Returns:
      this.
    • serviceOrderDescription

      @Nonnull public ServiceOrder.ServiceOrderBuilder serviceOrderDescription(@Nullable String serviceOrderDescription)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: ServiceOrderDescription

      Returns:
      this.
    • serviceObjectType

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

      Original property name from the Odata EDM: ServiceObjectType

      Returns:
      this.
    • language

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

      Original property name from the Odata EDM: Language

      Returns:
      this.
    • serviceDocumentPriority

      @Nonnull public ServiceOrder.ServiceOrderBuilder serviceDocumentPriority(@Nullable String serviceDocumentPriority)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: ServiceDocumentPriority

      Returns:
      this.
    • requestedServiceStartDateTime

      @Nonnull public ServiceOrder.ServiceOrderBuilder requestedServiceStartDateTime(@Nullable ZonedDateTime requestedServiceStartDateTime)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: RequestedServiceStartDateTime

      Returns:
      this.
    • requestedServiceEndDateTime

      @Nonnull public ServiceOrder.ServiceOrderBuilder requestedServiceEndDateTime(@Nullable ZonedDateTime requestedServiceEndDateTime)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: RequestedServiceEndDateTime

      Returns:
      this.
    • serviceDocChangedDateTime

      @Nonnull public ServiceOrder.ServiceOrderBuilder serviceDocChangedDateTime(@Nullable ZonedDateTime serviceDocChangedDateTime)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: ServiceDocChangedDateTime

      Returns:
      this.
    • serviceDocumentTemplateType

      @Nonnull public ServiceOrder.ServiceOrderBuilder serviceDocumentTemplateType(@Nullable String serviceDocumentTemplateType)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: ServiceDocumentTemplateType

      Returns:
      this.
    • purchaseOrderByCustomer

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

      Original property name from the Odata EDM: PurchaseOrderByCustomer

      Returns:
      this.
    • customerPurchaseOrderDate

      @Nonnull public ServiceOrder.ServiceOrderBuilder customerPurchaseOrderDate(@Nullable LocalDateTime customerPurchaseOrderDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: CustomerPurchaseOrderDate

      Returns:
      this.
    • serviceOrderIsReleased

      @Nonnull public ServiceOrder.ServiceOrderBuilder serviceOrderIsReleased(@Nullable String serviceOrderIsReleased)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: ServiceOrderIsReleased

      Returns:
      this.
    • serviceOrderIsCompleted

      @Nonnull public ServiceOrder.ServiceOrderBuilder serviceOrderIsCompleted(@Nullable String serviceOrderIsCompleted)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: ServiceOrderIsCompleted

      Returns:
      this.
    • serviceOrderIsRejected

      @Nonnull public ServiceOrder.ServiceOrderBuilder serviceOrderIsRejected(@Nullable String serviceOrderIsRejected)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: ServiceOrderIsRejected

      Returns:
      this.
    • salesOrganization

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

      Original property name from the Odata EDM: SalesOrganization

      Returns:
      this.
    • distributionChannel

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

      Original property name from the Odata EDM: DistributionChannel

      Returns:
      this.
    • division

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

      Original property name from the Odata EDM: Division

      Returns:
      this.
    • salesOffice

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

      Original property name from the Odata EDM: SalesOffice

      Returns:
      this.
    • salesGroup

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

      Original property name from the Odata EDM: SalesGroup

      Returns:
      this.
    • soldToParty

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

      Original property name from the Odata EDM: SoldToParty

      Returns:
      this.
    • shipToParty

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

      Original property name from the Odata EDM: ShipToParty

      Returns:
      this.
    • billToParty

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

      Original property name from the Odata EDM: BillToParty

      Returns:
      this.
    • payerParty

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

      Original property name from the Odata EDM: PayerParty

      Returns:
      this.
    • contactPerson

      @Nonnull public ServiceOrder.ServiceOrderBuilder contactPerson(@Nullable String contactPerson)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: ContactPerson

      Returns:
      this.
    • serviceDocGrossAmount

      @Nonnull public ServiceOrder.ServiceOrderBuilder serviceDocGrossAmount(@Nullable BigDecimal serviceDocGrossAmount)
      Constraints: Not nullable, Precision: 16, Scale: 3

      Original property name from the Odata EDM: ServiceDocGrossAmount

      Returns:
      this.
    • serviceDocNetAmount

      @Nonnull public ServiceOrder.ServiceOrderBuilder serviceDocNetAmount(@Nullable BigDecimal serviceDocNetAmount)
      Constraints: Not nullable, Precision: 16, Scale: 3

      Original property name from the Odata EDM: ServiceDocNetAmount

      Returns:
      this.
    • serviceDocTaxAmount

      @Nonnull public ServiceOrder.ServiceOrderBuilder serviceDocTaxAmount(@Nullable BigDecimal serviceDocTaxAmount)
      Constraints: Not nullable, Precision: 16, Scale: 3

      Original property name from the Odata EDM: ServiceDocTaxAmount

      Returns:
      this.
    • transactionCurrency

      @Nonnull public ServiceOrder.ServiceOrderBuilder transactionCurrency(@Nullable String transactionCurrency)
      Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: TransactionCurrency

      Returns:
      this.
    • referenceServiceRequest

      @Nonnull public ServiceOrder.ServiceOrderBuilder referenceServiceRequest(@Nullable String referenceServiceRequest)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: ReferenceServiceRequest

      Returns:
      this.
    • refServiceOrderTemplate

      @Nonnull public ServiceOrder.ServiceOrderBuilder refServiceOrderTemplate(@Nullable String refServiceOrderTemplate)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: RefServiceOrderTemplate

      Returns:
      this.
    • referenceServiceOrder

      @Nonnull public ServiceOrder.ServiceOrderBuilder referenceServiceOrder(@Nullable String referenceServiceOrder)
      Constraints: Not nullable, Maximum length: 80

      Original property name from the Odata EDM: ReferenceServiceOrder

      Returns:
      this.
    • shippingCondition

      @Nonnull public ServiceOrder.ServiceOrderBuilder shippingCondition(@Nullable String shippingCondition)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: ShippingCondition

      Returns:
      this.
    • respyMgmtServiceTeam

      @Nonnull public ServiceOrder.ServiceOrderBuilder respyMgmtServiceTeam(@Nullable String respyMgmtServiceTeam)
      Constraints: Not nullable, Maximum length: 8

      Original property name from the Odata EDM: RespyMgmtServiceTeam

      Returns:
      this.
    • respyMgmtServiceTeamName

      @Nonnull public ServiceOrder.ServiceOrderBuilder respyMgmtServiceTeamName(@Nullable String respyMgmtServiceTeamName)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: RespyMgmtServiceTeamName

      Returns:
      this.
    • respyMgmtGlobalTeamID

      @Nonnull public ServiceOrder.ServiceOrderBuilder respyMgmtGlobalTeamID(@Nullable String respyMgmtGlobalTeamID)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: RespyMgmtGlobalTeamID

      Returns:
      this.
    • srvcOrdCreditStatus

      @Nonnull public ServiceOrder.ServiceOrderBuilder srvcOrdCreditStatus(@Nullable String srvcOrdCreditStatus)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: SrvcOrdCreditStatus

      Returns:
      this.
    • srvcOrdExecutionStatus

      @Nonnull public ServiceOrder.ServiceOrderBuilder srvcOrdExecutionStatus(@Nullable String srvcOrdExecutionStatus)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: SrvcOrdExecutionStatus

      Returns:
      this.
    • paymentTerms

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

      Original property name from the Odata EDM: PaymentTerms

      Returns:
      this.
    • paymentMethod

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

      Original property name from the Odata EDM: PaymentMethod

      Returns:
      this.
    • sEPAMandate

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

      Original property name from the Odata EDM: SEPAMandate

      Returns:
      this.
    • srvcSEPAMandateRelevance

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

      Original property name from the Odata EDM: SrvcSEPAMandateRelevance

      Returns:
      this.
    • wBSElementExternalID

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

      Original property name from the Odata EDM: WBSElementExternalID

      Returns:
      this.
    • salesOrganizationOrgUnitID

      @Nonnull public ServiceOrder.ServiceOrderBuilder salesOrganizationOrgUnitID(@Nullable String salesOrganizationOrgUnitID)
      Constraints: Not nullable, Maximum length: 14

      Original property name from the Odata EDM: SalesOrganizationOrgUnitID

      Returns:
      this.
    • serviceOrganization

      @Nonnull public ServiceOrder.ServiceOrderBuilder serviceOrganization(@Nullable String serviceOrganization)
      Constraints: Not nullable, Maximum length: 14

      Original property name from the Odata EDM: ServiceOrganization

      Returns:
      this.
    • salesOfficeOrgUnitID

      @Nonnull public ServiceOrder.ServiceOrderBuilder salesOfficeOrgUnitID(@Nullable String salesOfficeOrgUnitID)
      Constraints: Not nullable, Maximum length: 14

      Original property name from the Odata EDM: SalesOfficeOrgUnitID

      Returns:
      this.
    • salesGroupOrgUnitID

      @Nonnull public ServiceOrder.ServiceOrderBuilder salesGroupOrgUnitID(@Nullable String salesGroupOrgUnitID)
      Constraints: Not nullable, Maximum length: 14

      Original property name from the Odata EDM: SalesGroupOrgUnitID

      Returns:
      this.
    • fSMServiceCall

      @Nonnull public ServiceOrder.ServiceOrderBuilder fSMServiceCall(@Nullable String fSMServiceCall)
      Constraints: Not nullable, Maximum length: 70

      Original property name from the Odata EDM: FSMServiceCall

      Returns:
      this.
    • serviceOrderRejectionReason

      @Nonnull public ServiceOrder.ServiceOrderBuilder serviceOrderRejectionReason(@Nullable String serviceOrderRejectionReason)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: ServiceOrderRejectionReason

      Returns:
      this.
    • referenceInHouseRepair

      @Nonnull public ServiceOrder.ServiceOrderBuilder referenceInHouseRepair(@Nullable String referenceInHouseRepair)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: ReferenceInHouseRepair

      Returns:
      this.
    • referenceInHouseRepairItem

      @Nonnull public ServiceOrder.ServiceOrderBuilder referenceInHouseRepairItem(@Nullable String referenceInHouseRepairItem)
      Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: ReferenceInHouseRepairItem

      Returns:
      this.
    • build

      @Nonnull public ServiceOrder build()
    • toString

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