Class PurchaseOrder.PurchaseOrderBuilder

java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odata.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 to_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 to_PurchaseOrderNote for PurchaseOrder to multiple PurchaseOrderNote.
      Parameters:
      value - The PurchaseOrderNotes 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.
    • 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.
    • 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.
    • purchasingDocumentDeletionCode

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

      Original property name from the Odata EDM: PurchasingDocumentDeletionCode

      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.
    • 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 LocalDateTime creationDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: CreationDate

      Returns:
      this.
    • lastChangeDateTime

      @Nonnull public PurchaseOrder.PurchaseOrderBuilder lastChangeDateTime(@Nullable ZonedDateTime lastChangeDateTime)
      Constraints: Not nullable, Precision: 7

      Original property name from the Odata EDM: LastChangeDateTime

      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.
    • 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.
    • 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.
    • 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, Scale: 0

      Original property name from the Odata EDM: CashDiscount1Days

      Returns:
      this.
    • cashDiscount2Days

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

      Original property name from the Odata EDM: CashDiscount2Days

      Returns:
      this.
    • netPaymentDays

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

      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.
    • 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.
    • 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.
    • 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.
    • purchaseOrderDate

      @Nonnull public PurchaseOrder.PurchaseOrderBuilder purchaseOrderDate(@Nullable LocalDateTime purchaseOrderDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: PurchaseOrderDate

      Returns:
      this.
    • documentCurrency

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

      Original property name from the Odata EDM: DocumentCurrency

      Returns:
      this.
    • exchangeRate

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

      Original property name from the Odata EDM: ExchangeRate

      Returns:
      this.
    • exchangeRateIsFixed

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

      Original property name from the Odata EDM: ExchangeRateIsFixed

      Returns:
      this.
    • validityStartDate

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

      Original property name from the Odata EDM: ValidityStartDate

      Returns:
      this.
    • validityEndDate

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

      Original property name from the Odata EDM: ValidityEndDate

      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.
    • purchasingCollectiveNumber

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

      Original property name from the Odata EDM: PurchasingCollectiveNumber

      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.
    • 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.
    • 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.
    • 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.
    • releaseIsNotCompleted

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

      Original property name from the Odata EDM: ReleaseIsNotCompleted

      Returns:
      this.
    • purchasingCompletenessStatus

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

      Original property name from the Odata EDM: PurchasingCompletenessStatus

      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.
    • 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.
    • isEndOfPurposeBlocked

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

      Original property name from the Odata EDM: IsEndOfPurposeBlocked

      Returns:
      this.
    • addressCityName

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

      Original property name from the Odata EDM: AddressCityName

      Returns:
      this.
    • addressFaxNumber

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

      Original property name from the Odata EDM: AddressFaxNumber

      Returns:
      this.
    • addressHouseNumber

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

      Original property name from the Odata EDM: AddressHouseNumber

      Returns:
      this.
    • addressName

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

      Original property name from the Odata EDM: AddressName

      Returns:
      this.
    • addressPostalCode

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

      Original property name from the Odata EDM: AddressPostalCode

      Returns:
      this.
    • addressStreetName

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

      Original property name from the Odata EDM: AddressStreetName

      Returns:
      this.
    • addressPhoneNumber

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

      Original property name from the Odata EDM: AddressPhoneNumber

      Returns:
      this.
    • addressRegion

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

      Original property name from the Odata EDM: AddressRegion

      Returns:
      this.
    • addressCountry

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

      Original property name from the Odata EDM: AddressCountry

      Returns:
      this.
    • addressCorrespondenceLanguage

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

      Original property name from the Odata EDM: AddressCorrespondenceLanguage

      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.
    • build

      @Nonnull public PurchaseOrder build()
    • toString

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