Class PurchaseOrder.PurchaseOrderBuilder

java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odatav4.namespaces.purchaseorder.PurchaseOrder.PurchaseOrderBuilder
Enclosing class:
PurchaseOrder

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

    • purchaseOrderItem

      @Nonnull public PurchaseOrder.PurchaseOrderBuilder purchaseOrderItem(PurchaseOrderItem... value)
      Navigation property _PurchaseOrderItem for PurchaseOrder to multiple PurchaseOrderItem.
      Parameters:
      value - The PurchaseOrderItems to build this PurchaseOrder with.
      Returns:
      This Builder to allow for a fluent interface.
    • purchaseOrderNote

      @Nonnull public PurchaseOrder.PurchaseOrderBuilder purchaseOrderNote(PurchaseOrderNote... value)
      Navigation property _PurchaseOrderNote for PurchaseOrder to multiple PurchaseOrderNote.
      Parameters:
      value - The PurchaseOrderNotes to build this PurchaseOrder with.
      Returns:
      This Builder to allow for a fluent interface.
    • purchaseOrderPartner

      @Nonnull public PurchaseOrder.PurchaseOrderBuilder purchaseOrderPartner(PurchaseOrderPartner... value)
      Navigation property _PurchaseOrderPartner for PurchaseOrder to multiple PurchaseOrderPartner.
      Parameters:
      value - The PurchaseOrderPartners to build this PurchaseOrder with.
      Returns:
      This Builder to allow for a fluent interface.
    • supplierAddress

      @Nonnull public PurchaseOrder.PurchaseOrderBuilder supplierAddress(PurchaseOrderSupplierAddress value)
      Navigation property _SupplierAddress for PurchaseOrder to single PurchaseOrderSupplierAddress.
      Parameters:
      value - The PurchaseOrderSupplierAddress to build this PurchaseOrder with.
      Returns:
      This Builder to allow for a fluent interface.
    • purchaseOrder

      @Nonnull public PurchaseOrder.PurchaseOrderBuilder purchaseOrder(@Nullable String purchaseOrder)
      (Key Field) Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: PurchaseOrder

      Returns:
      this.
    • purchaseOrderType

      @Nonnull public PurchaseOrder.PurchaseOrderBuilder purchaseOrderType(@Nullable String purchaseOrderType)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: PurchaseOrderType

      Returns:
      this.
    • purchaseOrderSubtype

      @Nonnull public PurchaseOrder.PurchaseOrderBuilder purchaseOrderSubtype(@Nullable String purchaseOrderSubtype)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: PurchaseOrderSubtype

      Returns:
      this.
    • purchasingDocumentOrigin

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

      Original property name from the Odata EDM: PurchasingDocumentOrigin

      Returns:
      this.
    • createdByUser

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

      Original property name from the Odata EDM: CreatedByUser

      Returns:
      this.
    • creationDate

      @Nonnull public PurchaseOrder.PurchaseOrderBuilder creationDate(@Nullable LocalDate creationDate)
      Constraints: Nullable

      Original property name from the Odata EDM: CreationDate

      Returns:
      this.
    • purchaseOrderDate

      @Nonnull public PurchaseOrder.PurchaseOrderBuilder purchaseOrderDate(@Nullable LocalDate purchaseOrderDate)
      Constraints: Nullable

      Original property name from the Odata EDM: PurchaseOrderDate

      Returns:
      this.
    • lastChangeDateTime

      @Nonnull public PurchaseOrder.PurchaseOrderBuilder lastChangeDateTime(@Nullable OffsetDateTime lastChangeDateTime)
      Constraints: Nullable, Precision: 7

      Original property name from the Odata EDM: LastChangeDateTime

      Returns:
      this.
    • validityStartDate

      @Nonnull public PurchaseOrder.PurchaseOrderBuilder validityStartDate(@Nullable LocalDate validityStartDate)
      Constraints: Nullable

      Original property name from the Odata EDM: ValidityStartDate

      Returns:
      this.
    • validityEndDate

      @Nonnull public PurchaseOrder.PurchaseOrderBuilder validityEndDate(@Nullable LocalDate validityEndDate)
      Constraints: Nullable

      Original property name from the Odata EDM: ValidityEndDate

      Returns:
      this.
    • language

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

      Original property name from the Odata EDM: Language

      Returns:
      this.
    • purchaseOrderDeletionCode

      @Nonnull public PurchaseOrder.PurchaseOrderBuilder purchaseOrderDeletionCode(@Nullable String purchaseOrderDeletionCode)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: PurchaseOrderDeletionCode

      Returns:
      this.
    • releaseIsNotCompleted

      @Nonnull public PurchaseOrder.PurchaseOrderBuilder releaseIsNotCompleted(@Nullable Boolean releaseIsNotCompleted)
      Constraints: Not nullable

      Original property name from the Odata EDM: ReleaseIsNotCompleted

      Returns:
      this.
    • purchasingCompletenessStatus

      @Nonnull public PurchaseOrder.PurchaseOrderBuilder purchasingCompletenessStatus(@Nullable Boolean purchasingCompletenessStatus)
      Constraints: Not nullable

      Original property name from the Odata EDM: PurchasingCompletenessStatus

      Returns:
      this.
    • purchasingProcessingStatus

      @Nonnull public PurchaseOrder.PurchaseOrderBuilder purchasingProcessingStatus(@Nullable String purchasingProcessingStatus)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: PurchasingProcessingStatus

      Returns:
      this.
    • purgReleaseSequenceStatus

      @Nonnull public PurchaseOrder.PurchaseOrderBuilder purgReleaseSequenceStatus(@Nullable String purgReleaseSequenceStatus)
      Constraints: Not nullable, Maximum length: 8

      Original property name from the Odata EDM: PurgReleaseSequenceStatus

      Returns:
      this.
    • releaseCode

      @Nonnull public PurchaseOrder.PurchaseOrderBuilder releaseCode(@Nullable String releaseCode)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: ReleaseCode

      Returns:
      this.
    • purchasingReleaseStrategy

      @Nonnull public PurchaseOrder.PurchaseOrderBuilder purchasingReleaseStrategy(@Nullable String purchasingReleaseStrategy)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: PurchasingReleaseStrategy

      Returns:
      this.
    • purgReasonForDocCancellation

      @Nonnull public PurchaseOrder.PurchaseOrderBuilder purgReasonForDocCancellation(@Nullable String purgReasonForDocCancellation)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: PurgReasonForDocCancellation

      Returns:
      this.
    • companyCode

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

      Original property name from the Odata EDM: CompanyCode

      Returns:
      this.
    • purchasingOrganization

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

      Original property name from the Odata EDM: PurchasingOrganization

      Returns:
      this.
    • purchasingGroup

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

      Original property name from the Odata EDM: PurchasingGroup

      Returns:
      this.
    • supplier

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

      Original property name from the Odata EDM: Supplier

      Returns:
      this.
    • manualSupplierAddressID

      @Nonnull public PurchaseOrder.PurchaseOrderBuilder manualSupplierAddressID(@Nullable String manualSupplierAddressID)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: ManualSupplierAddressID

      Returns:
      this.
    • supplierAddressID

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

      Original property name from the Odata EDM: SupplierAddressID

      Returns:
      this.
    • supplierRespSalesPersonName

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

      Original property name from the Odata EDM: SupplierRespSalesPersonName

      Returns:
      this.
    • supplierPhoneNumber

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

      Original property name from the Odata EDM: SupplierPhoneNumber

      Returns:
      this.
    • supplyingSupplier

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

      Original property name from the Odata EDM: SupplyingSupplier

      Returns:
      this.
    • supplyingPlant

      @Nonnull public PurchaseOrder.PurchaseOrderBuilder supplyingPlant(@Nullable String supplyingPlant)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: SupplyingPlant

      Returns:
      this.
    • invoicingParty

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

      Original property name from the Odata EDM: InvoicingParty

      Returns:
      this.
    • customer

      @Nonnull public PurchaseOrder.PurchaseOrderBuilder customer(@Nullable String customer)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: Customer

      Returns:
      this.
    • purchaseContract

      @Nonnull public PurchaseOrder.PurchaseOrderBuilder purchaseContract(@Nullable String purchaseContract)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: PurchaseContract

      Returns:
      this.
    • supplierQuotationExternalID

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

      Original property name from the Odata EDM: SupplierQuotationExternalID

      Returns:
      this.
    • quotationSubmissionDate

      @Nonnull public PurchaseOrder.PurchaseOrderBuilder quotationSubmissionDate(@Nullable LocalDate quotationSubmissionDate)
      Constraints: Nullable

      Original property name from the Odata EDM: QuotationSubmissionDate

      Returns:
      this.
    • itemNumberIntervalForSubItems

      @Nonnull public PurchaseOrder.PurchaseOrderBuilder itemNumberIntervalForSubItems(@Nullable String itemNumberIntervalForSubItems)
      Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: ItemNumberIntervalForSubItems

      Returns:
      this.
    • paymentTerms

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

      Original property name from the Odata EDM: PaymentTerms

      Returns:
      this.
    • cashDiscount1Days

      @Nonnull public PurchaseOrder.PurchaseOrderBuilder cashDiscount1Days(@Nullable BigDecimal cashDiscount1Days)
      Constraints: Not nullable, Precision: 3

      Original property name from the Odata EDM: CashDiscount1Days

      Returns:
      this.
    • cashDiscount2Days

      @Nonnull public PurchaseOrder.PurchaseOrderBuilder cashDiscount2Days(@Nullable BigDecimal cashDiscount2Days)
      Constraints: Not nullable, Precision: 3

      Original property name from the Odata EDM: CashDiscount2Days

      Returns:
      this.
    • netPaymentDays

      @Nonnull public PurchaseOrder.PurchaseOrderBuilder netPaymentDays(@Nullable BigDecimal netPaymentDays)
      Constraints: Not nullable, Precision: 3

      Original property name from the Odata EDM: NetPaymentDays

      Returns:
      this.
    • cashDiscount1Percent

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

      Original property name from the Odata EDM: CashDiscount1Percent

      Returns:
      this.
    • cashDiscount2Percent

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

      Original property name from the Odata EDM: CashDiscount2Percent

      Returns:
      this.
    • downPaymentType

      @Nonnull public PurchaseOrder.PurchaseOrderBuilder downPaymentType(@Nullable String downPaymentType)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: DownPaymentType

      Returns:
      this.
    • downPaymentPercentageOfTotAmt

      @Nonnull public PurchaseOrder.PurchaseOrderBuilder downPaymentPercentageOfTotAmt(@Nullable BigDecimal downPaymentPercentageOfTotAmt)
      Constraints: Not nullable, Precision: 5, Scale: 2

      Original property name from the Odata EDM: DownPaymentPercentageOfTotAmt

      Returns:
      this.
    • downPaymentAmount

      @Nonnull public PurchaseOrder.PurchaseOrderBuilder downPaymentAmount(@Nullable BigDecimal downPaymentAmount)
      Constraints: Not nullable, Precision: 11, Scale: 0

      Original property name from the Odata EDM: DownPaymentAmount

      Returns:
      this.
    • downPaymentDueDate

      @Nonnull public PurchaseOrder.PurchaseOrderBuilder downPaymentDueDate(@Nullable LocalDate downPaymentDueDate)
      Constraints: Nullable

      Original property name from the Odata EDM: DownPaymentDueDate

      Returns:
      this.
    • incotermsClassification

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

      Original property name from the Odata EDM: IncotermsClassification

      Returns:
      this.
    • incotermsTransferLocation

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

      Original property name from the Odata EDM: IncotermsTransferLocation

      Returns:
      this.
    • incotermsVersion

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

      Original property name from the Odata EDM: IncotermsVersion

      Returns:
      this.
    • incotermsLocation1

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

      Original property name from the Odata EDM: IncotermsLocation1

      Returns:
      this.
    • incotermsLocation2

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

      Original property name from the Odata EDM: IncotermsLocation2

      Returns:
      this.
    • isIntrastatReportingRelevant

      @Nonnull public PurchaseOrder.PurchaseOrderBuilder isIntrastatReportingRelevant(@Nullable Boolean isIntrastatReportingRelevant)
      Constraints: Not nullable

      Original property name from the Odata EDM: IsIntrastatReportingRelevant

      Returns:
      this.
    • isIntrastatReportingExcluded

      @Nonnull public PurchaseOrder.PurchaseOrderBuilder isIntrastatReportingExcluded(@Nullable Boolean isIntrastatReportingExcluded)
      Constraints: Not nullable

      Original property name from the Odata EDM: IsIntrastatReportingExcluded

      Returns:
      this.
    • correspncExternalReference

      @Nonnull public PurchaseOrder.PurchaseOrderBuilder correspncExternalReference(@Nullable String correspncExternalReference)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: CorrespncExternalReference

      Returns:
      this.
    • correspncInternalReference

      @Nonnull public PurchaseOrder.PurchaseOrderBuilder correspncInternalReference(@Nullable String correspncInternalReference)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: CorrespncInternalReference

      Returns:
      this.
    • pricingDocument

      @Nonnull public PurchaseOrder.PurchaseOrderBuilder pricingDocument(@Nullable String pricingDocument)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: PricingDocument

      Returns:
      this.
    • pricingProcedure

      @Nonnull public PurchaseOrder.PurchaseOrderBuilder pricingProcedure(@Nullable String pricingProcedure)
      Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: PricingProcedure

      Returns:
      this.
    • documentCurrency

      @Nonnull public PurchaseOrder.PurchaseOrderBuilder documentCurrency(@Nullable String documentCurrency)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: DocumentCurrency

      Returns:
      this.
    • exchangeRate

      @Nonnull public PurchaseOrder.PurchaseOrderBuilder exchangeRate(@Nullable BigDecimal exchangeRate)
      Constraints: Not nullable, Precision: 9, Scale: 5

      Original property name from the Odata EDM: ExchangeRate

      Returns:
      this.
    • exchangeRateIsFixed

      @Nonnull public PurchaseOrder.PurchaseOrderBuilder exchangeRateIsFixed(@Nullable Boolean exchangeRateIsFixed)
      Constraints: Not nullable

      Original property name from the Odata EDM: ExchangeRateIsFixed

      Returns:
      this.
    • taxReturnCountry

      @Nonnull public PurchaseOrder.PurchaseOrderBuilder taxReturnCountry(@Nullable String taxReturnCountry)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: TaxReturnCountry

      Returns:
      this.
    • vATRegistrationCountry

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

      Original property name from the Odata EDM: VATRegistrationCountry

      Returns:
      this.
    • purgAggrgdProdCmplncSuplrSts

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

      Original property name from the Odata EDM: PurgAggrgdProdCmplncSuplrSts

      Returns:
      this.
    • purgAggrgdProdMarketabilitySts

      @Nonnull public PurchaseOrder.PurchaseOrderBuilder purgAggrgdProdMarketabilitySts(@Nullable String purgAggrgdProdMarketabilitySts)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: PurgAggrgdProdMarketabilitySts

      Returns:
      this.
    • purgAggrgdSftyDataSheetStatus

      @Nonnull public PurchaseOrder.PurchaseOrderBuilder purgAggrgdSftyDataSheetStatus(@Nullable String purgAggrgdSftyDataSheetStatus)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: PurgAggrgdSftyDataSheetStatus

      Returns:
      this.
    • purgProdCmplncTotDngrsGoodsSts

      @Nonnull public PurchaseOrder.PurchaseOrderBuilder purgProdCmplncTotDngrsGoodsSts(@Nullable String purgProdCmplncTotDngrsGoodsSts)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: PurgProdCmplncTotDngrsGoodsSts

      Returns:
      this.
    • _Messages

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

      Original property name from the Odata EDM: SAP__Messages

      Returns:
      this.
    • build

      @Nonnull public PurchaseOrder build()
    • toString

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