Class SchAgrmtHeader.SchAgrmtHeaderBuilder

java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.schedulingagreement.SchAgrmtHeader.SchAgrmtHeaderBuilder
Enclosing class:
SchAgrmtHeader

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

    • schAgrmtPartner

      @Nonnull public SchAgrmtHeader.SchAgrmtHeaderBuilder schAgrmtPartner(SchAgrmtPartner... value)
      Navigation property to_SchAgrmtPartner for SchAgrmtHeader to multiple SchAgrmtPartner.
      Parameters:
      value - The SchAgrmtPartners to build this SchAgrmtHeader with.
      Returns:
      This Builder to allow for a fluent interface.
    • schedgAgrmtHdrNotes

      @Nonnull public SchAgrmtHeader.SchAgrmtHeaderBuilder schedgAgrmtHdrNotes(SchedgAgrmtHdrNotes... value)
      Navigation property to_SchedgAgrmtHdrNotes for SchAgrmtHeader to multiple SchedgAgrmtHdrNotes.
      Parameters:
      value - The SchedgAgrmtHdrNotess to build this SchAgrmtHeader with.
      Returns:
      This Builder to allow for a fluent interface.
    • schedgAgrmtItm

      @Nonnull public SchAgrmtHeader.SchAgrmtHeaderBuilder schedgAgrmtItm(SchAgrmtItem... value)
      Navigation property to_SchedgAgrmtItm for SchAgrmtHeader to multiple SchAgrmtItem.
      Parameters:
      value - The SchAgrmtItems to build this SchAgrmtHeader with.
      Returns:
      This Builder to allow for a fluent interface.
    • schedulingAgreement

      @Nonnull public SchAgrmtHeader.SchAgrmtHeaderBuilder schedulingAgreement(@Nullable String schedulingAgreement)
      (Key Field) Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: SchedulingAgreement

      Returns:
      this.
    • companyCode

      @Nonnull public SchAgrmtHeader.SchAgrmtHeaderBuilder companyCode(@Nullable String companyCode)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: CompanyCode

      Returns:
      this.
    • purchasingDocumentCategory

      @Nonnull public SchAgrmtHeader.SchAgrmtHeaderBuilder purchasingDocumentCategory(@Nullable String purchasingDocumentCategory)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: PurchasingDocumentCategory

      Returns:
      this.
    • purchasingDocumentType

      @Nonnull public SchAgrmtHeader.SchAgrmtHeaderBuilder purchasingDocumentType(@Nullable String purchasingDocumentType)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: PurchasingDocumentType

      Returns:
      this.
    • createdByUser

      @Nonnull public SchAgrmtHeader.SchAgrmtHeaderBuilder createdByUser(@Nullable String createdByUser)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: CreatedByUser

      Returns:
      this.
    • creationDate

      @Nonnull public SchAgrmtHeader.SchAgrmtHeaderBuilder creationDate(@Nullable LocalDateTime creationDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: CreationDate

      Returns:
      this.
    • language

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

      Original property name from the Odata EDM: Language

      Returns:
      this.
    • purchasingOrganization

      @Nonnull public SchAgrmtHeader.SchAgrmtHeaderBuilder purchasingOrganization(@Nullable String purchasingOrganization)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: PurchasingOrganization

      Returns:
      this.
    • purchasingGroup

      @Nonnull public SchAgrmtHeader.SchAgrmtHeaderBuilder purchasingGroup(@Nullable String purchasingGroup)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: PurchasingGroup

      Returns:
      this.
    • documentCurrency

      @Nonnull public SchAgrmtHeader.SchAgrmtHeaderBuilder documentCurrency(@Nullable String documentCurrency)
      Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: DocumentCurrency

      Returns:
      this.
    • incotermsClassification

      @Nonnull public SchAgrmtHeader.SchAgrmtHeaderBuilder incotermsClassification(@Nullable String incotermsClassification)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: IncotermsClassification

      Returns:
      this.
    • incotermsTransferLocation

      @Nonnull public SchAgrmtHeader.SchAgrmtHeaderBuilder incotermsTransferLocation(@Nullable String incotermsTransferLocation)
      Constraints: Not nullable, Maximum length: 28

      Original property name from the Odata EDM: IncotermsTransferLocation

      Returns:
      this.
    • paymentTerms

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

      Original property name from the Odata EDM: PaymentTerms

      Returns:
      this.
    • cashDiscount1Days

      @Nonnull public SchAgrmtHeader.SchAgrmtHeaderBuilder cashDiscount1Days(@Nullable BigDecimal cashDiscount1Days)
      Constraints: Not nullable, Precision: 3, Scale: 0

      Original property name from the Odata EDM: CashDiscount1Days

      Returns:
      this.
    • cashDiscount2Days

      @Nonnull public SchAgrmtHeader.SchAgrmtHeaderBuilder cashDiscount2Days(@Nullable BigDecimal cashDiscount2Days)
      Constraints: Not nullable, Precision: 3, Scale: 0

      Original property name from the Odata EDM: CashDiscount2Days

      Returns:
      this.
    • cashDiscount1Percent

      @Nonnull public SchAgrmtHeader.SchAgrmtHeaderBuilder cashDiscount1Percent(@Nullable BigDecimal cashDiscount1Percent)
      Constraints: Not nullable, Precision: 5, Scale: 3

      Original property name from the Odata EDM: CashDiscount1Percent

      Returns:
      this.
    • cashDiscount2Percent

      @Nonnull public SchAgrmtHeader.SchAgrmtHeaderBuilder cashDiscount2Percent(@Nullable BigDecimal cashDiscount2Percent)
      Constraints: Not nullable, Precision: 5, Scale: 3

      Original property name from the Odata EDM: CashDiscount2Percent

      Returns:
      this.
    • netPaymentDays

      @Nonnull public SchAgrmtHeader.SchAgrmtHeaderBuilder netPaymentDays(@Nullable BigDecimal netPaymentDays)
      Constraints: Not nullable, Precision: 3, Scale: 0

      Original property name from the Odata EDM: NetPaymentDays

      Returns:
      this.
    • targetAmount

      @Nonnull public SchAgrmtHeader.SchAgrmtHeaderBuilder targetAmount(@Nullable BigDecimal targetAmount)
      Constraints: Not nullable, Precision: 16, Scale: 3

      Original property name from the Odata EDM: TargetAmount

      Returns:
      this.
    • exchangeRate

      @Nonnull public SchAgrmtHeader.SchAgrmtHeaderBuilder exchangeRate(@Nullable String exchangeRate)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: ExchangeRate

      Returns:
      this.
    • exchangeRateIsFixed

      @Nonnull public SchAgrmtHeader.SchAgrmtHeaderBuilder exchangeRateIsFixed(@Nullable Boolean exchangeRateIsFixed)
      Constraints: none

      Original property name from the Odata EDM: ExchangeRateIsFixed

      Returns:
      this.
    • incotermsLocation1

      @Nonnull public SchAgrmtHeader.SchAgrmtHeaderBuilder incotermsLocation1(@Nullable String incotermsLocation1)
      Constraints: Not nullable, Maximum length: 70

      Original property name from the Odata EDM: IncotermsLocation1

      Returns:
      this.
    • incotermsLocation2

      @Nonnull public SchAgrmtHeader.SchAgrmtHeaderBuilder incotermsLocation2(@Nullable String incotermsLocation2)
      Constraints: Not nullable, Maximum length: 70

      Original property name from the Odata EDM: IncotermsLocation2

      Returns:
      this.
    • incotermsVersion

      @Nonnull public SchAgrmtHeader.SchAgrmtHeaderBuilder incotermsVersion(@Nullable String incotermsVersion)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: IncotermsVersion

      Returns:
      this.
    • incotermsLocation1Identifier

      @Nonnull public SchAgrmtHeader.SchAgrmtHeaderBuilder incotermsLocation1Identifier(@Nullable String incotermsLocation1Identifier)
      Constraints: Not nullable, Maximum length: 20

      Original property name from the Odata EDM: IncotermsLocation1Identifier

      Returns:
      this.
    • incotermsSupChnLoc1AddlUUID

      @Nonnull public SchAgrmtHeader.SchAgrmtHeaderBuilder incotermsSupChnLoc1AddlUUID(@Nullable UUID incotermsSupChnLoc1AddlUUID)
      Constraints: none

      Original property name from the Odata EDM: IncotermsSupChnLoc1AddlUUID

      Returns:
      this.
    • incotermsLocation2Identifier

      @Nonnull public SchAgrmtHeader.SchAgrmtHeaderBuilder incotermsLocation2Identifier(@Nullable String incotermsLocation2Identifier)
      Constraints: Not nullable, Maximum length: 20

      Original property name from the Odata EDM: IncotermsLocation2Identifier

      Returns:
      this.
    • incotermsSupChnLoc2AddlUUID

      @Nonnull public SchAgrmtHeader.SchAgrmtHeaderBuilder incotermsSupChnLoc2AddlUUID(@Nullable UUID incotermsSupChnLoc2AddlUUID)
      Constraints: none

      Original property name from the Odata EDM: IncotermsSupChnLoc2AddlUUID

      Returns:
      this.
    • incotermsSupChnDvtgLocAddlUUID

      @Nonnull public SchAgrmtHeader.SchAgrmtHeaderBuilder incotermsSupChnDvtgLocAddlUUID(@Nullable UUID incotermsSupChnDvtgLocAddlUUID)
      Constraints: none

      Original property name from the Odata EDM: IncotermsSupChnDvtgLocAddlUUID

      Returns:
      this.
    • purchasingDocumentOrderDate

      @Nonnull public SchAgrmtHeader.SchAgrmtHeaderBuilder purchasingDocumentOrderDate(@Nullable LocalDateTime purchasingDocumentOrderDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: PurchasingDocumentOrderDate

      Returns:
      this.
    • scheduleAgreementHasReleaseDoc

      @Nonnull public SchAgrmtHeader.SchAgrmtHeaderBuilder scheduleAgreementHasReleaseDoc(@Nullable Boolean scheduleAgreementHasReleaseDoc)
      Constraints: none

      Original property name from the Odata EDM: ScheduleAgreementHasReleaseDoc

      Returns:
      this.
    • supplier

      @Nonnull public SchAgrmtHeader.SchAgrmtHeaderBuilder supplier(@Nullable String supplier)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: Supplier

      Returns:
      this.
    • supplierAddressID

      @Nonnull public SchAgrmtHeader.SchAgrmtHeaderBuilder supplierAddressID(@Nullable String supplierAddressID)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: SupplierAddressID

      Returns:
      this.
    • validityStartDate

      @Nonnull public SchAgrmtHeader.SchAgrmtHeaderBuilder validityStartDate(@Nullable LocalDateTime validityStartDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: ValidityStartDate

      Returns:
      this.
    • validityEndDate

      @Nonnull public SchAgrmtHeader.SchAgrmtHeaderBuilder validityEndDate(@Nullable LocalDateTime validityEndDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: ValidityEndDate

      Returns:
      this.
    • purchasingDocumentOrigin

      @Nonnull public SchAgrmtHeader.SchAgrmtHeaderBuilder purchasingDocumentOrigin(@Nullable String purchasingDocumentOrigin)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: PurchasingDocumentOrigin

      Returns:
      this.
    • purchasingDocumentDeletionCode

      @Nonnull public SchAgrmtHeader.SchAgrmtHeaderBuilder purchasingDocumentDeletionCode(@Nullable String purchasingDocumentDeletionCode)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: PurchasingDocumentDeletionCode

      Returns:
      this.
    • quotationSubmissionDate

      @Nonnull public SchAgrmtHeader.SchAgrmtHeaderBuilder quotationSubmissionDate(@Nullable LocalDateTime quotationSubmissionDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: QuotationSubmissionDate

      Returns:
      this.
    • supplierQuotationExternalID

      @Nonnull public SchAgrmtHeader.SchAgrmtHeaderBuilder supplierQuotationExternalID(@Nullable String supplierQuotationExternalID)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: SupplierQuotationExternalID

      Returns:
      this.
    • supplierRespSalesPersonName

      @Nonnull public SchAgrmtHeader.SchAgrmtHeaderBuilder supplierRespSalesPersonName(@Nullable String supplierRespSalesPersonName)
      Constraints: Not nullable, Maximum length: 30

      Original property name from the Odata EDM: SupplierRespSalesPersonName

      Returns:
      this.
    • supplierPhoneNumber

      @Nonnull public SchAgrmtHeader.SchAgrmtHeaderBuilder supplierPhoneNumber(@Nullable String supplierPhoneNumber)
      Constraints: Not nullable, Maximum length: 16

      Original property name from the Odata EDM: SupplierPhoneNumber

      Returns:
      this.
    • invoicingParty

      @Nonnull public SchAgrmtHeader.SchAgrmtHeaderBuilder invoicingParty(@Nullable String invoicingParty)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: InvoicingParty

      Returns:
      this.
    • supplyingSupplier

      @Nonnull public SchAgrmtHeader.SchAgrmtHeaderBuilder supplyingSupplier(@Nullable String supplyingSupplier)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: SupplyingSupplier

      Returns:
      this.
    • companyVATRegistration

      @Nonnull public SchAgrmtHeader.SchAgrmtHeaderBuilder companyVATRegistration(@Nullable String companyVATRegistration)
      Constraints: Not nullable, Maximum length: 20

      Original property name from the Odata EDM: CompanyVATRegistration

      Returns:
      this.
    • vATRegistrationCountry

      @Nonnull public SchAgrmtHeader.SchAgrmtHeaderBuilder vATRegistrationCountry(@Nullable String vATRegistrationCountry)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: VATRegistrationCountry

      Returns:
      this.
    • schedulingAgreementStatus

      @Nonnull public SchAgrmtHeader.SchAgrmtHeaderBuilder schedulingAgreementStatus(@Nullable String schedulingAgreementStatus)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: SchedulingAgreementStatus

      Returns:
      this.
    • purgAggrgdProdCmplncSuplrSts

      @Nonnull public SchAgrmtHeader.SchAgrmtHeaderBuilder purgAggrgdProdCmplncSuplrSts(@Nullable String purgAggrgdProdCmplncSuplrSts)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: PurgAggrgdProdCmplncSuplrSts

      Returns:
      this.
    • build

      @Nonnull public SchAgrmtHeader build()
    • toString

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