Class PurchaseContract.PurchaseContractBuilder

java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.purchasecontractv2.PurchaseContract.PurchaseContractBuilder
Enclosing class:
PurchaseContract

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

    • purchaseContractItem

      @Nonnull public PurchaseContract.PurchaseContractBuilder purchaseContractItem(PurchaseContractItem... value)
      Navigation property to_PurchaseContractItem for PurchaseContract to multiple PurchaseContractItem.
      Parameters:
      value - The PurchaseContractItems to build this PurchaseContract with.
      Returns:
      This Builder to allow for a fluent interface.
    • purContrHdrCndnValdty

      @Nonnull public PurchaseContract.PurchaseContractBuilder purContrHdrCndnValdty(PurContrHdrCndnValdty... value)
      Navigation property to_PurContrHdrCndnValdty for PurchaseContract to multiple PurContrHdrCndnValdty.
      Parameters:
      value - The PurContrHdrCndnValdtys to build this PurchaseContract with.
      Returns:
      This Builder to allow for a fluent interface.
    • purctrnotes

      @Nonnull public PurchaseContract.PurchaseContractBuilder purctrnotes(PurchaseContractNotes... value)
      Navigation property to_Purctrnotes for PurchaseContract to multiple PurchaseContractNotes.
      Parameters:
      value - The PurchaseContractNotess to build this PurchaseContract with.
      Returns:
      This Builder to allow for a fluent interface.
    • purCtrPartners

      @Nonnull public PurchaseContract.PurchaseContractBuilder purCtrPartners(PurCtrPartners... value)
      Navigation property to_PurCtrPartners for PurchaseContract to multiple PurCtrPartners.
      Parameters:
      value - The PurCtrPartnerss to build this PurchaseContract with.
      Returns:
      This Builder to allow for a fluent interface.
    • purchaseContract

      @Nonnull public PurchaseContract.PurchaseContractBuilder purchaseContract(@Nullable String purchaseContract)
      (Key Field) Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: PurchaseContract

      Returns:
      this.
    • purchaseContractType

      @Nonnull public PurchaseContract.PurchaseContractBuilder purchaseContractType(@Nullable String purchaseContractType)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: PurchaseContractType

      Returns:
      this.
    • companyCode

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

      Original property name from the Odata EDM: CompanyCode

      Returns:
      this.
    • purchasingDocumentDeletionCode

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

      Original property name from the Odata EDM: PurchasingDocumentDeletionCode

      Returns:
      this.
    • creationDate

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

      Original property name from the Odata EDM: CreationDate

      Returns:
      this.
    • createdByUser

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

      Original property name from the Odata EDM: CreatedByUser

      Returns:
      this.
    • supplier

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

      Original property name from the Odata EDM: Supplier

      Returns:
      this.
    • purchasingOrganization

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

      Original property name from the Odata EDM: PurchasingOrganization

      Returns:
      this.
    • purchasingGroup

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

      Original property name from the Odata EDM: PurchasingGroup

      Returns:
      this.
    • paymentTerms

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

      Original property name from the Odata EDM: PaymentTerms

      Returns:
      this.
    • cashDiscount1Days

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

      Original property name from the Odata EDM: CashDiscount1Days

      Returns:
      this.
    • cashDiscount2Days

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

      Original property name from the Odata EDM: CashDiscount2Days

      Returns:
      this.
    • netPaymentDays

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

      Original property name from the Odata EDM: NetPaymentDays

      Returns:
      this.
    • cashDiscount1Percent

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

      Original property name from the Odata EDM: CashDiscount1Percent

      Returns:
      this.
    • cashDiscount2Percent

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

      Original property name from the Odata EDM: CashDiscount2Percent

      Returns:
      this.
    • documentCurrency

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

      Original property name from the Odata EDM: DocumentCurrency

      Returns:
      this.
    • exchangeRate

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

      Original property name from the Odata EDM: ExchangeRate

      Returns:
      this.
    • exchangeRateIsFixed

      @Nonnull public PurchaseContract.PurchaseContractBuilder exchangeRateIsFixed(@Nullable Boolean exchangeRateIsFixed)
      Constraints: none

      Original property name from the Odata EDM: ExchangeRateIsFixed

      Returns:
      this.
    • validityStartDate

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

      Original property name from the Odata EDM: ValidityStartDate

      Returns:
      this.
    • validityEndDate

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

      Original property name from the Odata EDM: ValidityEndDate

      Returns:
      this.
    • quotationSubmissionDate

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

      Original property name from the Odata EDM: QuotationSubmissionDate

      Returns:
      this.
    • correspncExternalReference

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

      Original property name from the Odata EDM: CorrespncExternalReference

      Returns:
      this.
    • supplierQuotation

      @Nonnull public PurchaseContract.PurchaseContractBuilder supplierQuotation(@Nullable String supplierQuotation)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: SupplierQuotation

      Returns:
      this.
    • supplierRespSalesPersonName

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

      Original property name from the Odata EDM: SupplierRespSalesPersonName

      Returns:
      this.
    • supplierPhoneNumber

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

      Original property name from the Odata EDM: SupplierPhoneNumber

      Returns:
      this.
    • supplyingSupplier

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

      Original property name from the Odata EDM: SupplyingSupplier

      Returns:
      this.
    • incotermsClassification

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

      Original property name from the Odata EDM: IncotermsClassification

      Returns:
      this.
    • incotermsTransferLocation

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

      Original property name from the Odata EDM: IncotermsTransferLocation

      Returns:
      this.
    • purchaseContractTargetAmount

      @Nonnull public PurchaseContract.PurchaseContractBuilder purchaseContractTargetAmount(@Nullable BigDecimal purchaseContractTargetAmount)
      Constraints: Not nullable, Precision: 15, Scale: 3

      Original property name from the Odata EDM: PurchaseContractTargetAmount

      Returns:
      this.
    • invoicingParty

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

      Original property name from the Odata EDM: InvoicingParty

      Returns:
      this.
    • correspncInternalReference

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

      Original property name from the Odata EDM: CorrespncInternalReference

      Returns:
      this.
    • releaseCode

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

      Original property name from the Odata EDM: ReleaseCode

      Returns:
      this.
    • incotermsVersion

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

      Original property name from the Odata EDM: IncotermsVersion

      Returns:
      this.
    • incotermsLocation1

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

      Original property name from the Odata EDM: IncotermsLocation1

      Returns:
      this.
    • incotermsLocation2

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

      Original property name from the Odata EDM: IncotermsLocation2

      Returns:
      this.
    • incotermsLocation1Identifier

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

      Original property name from the Odata EDM: IncotermsLocation1Identifier

      Returns:
      this.
    • incotermsLocation2Identifier

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

      Original property name from the Odata EDM: IncotermsLocation2Identifier

      Returns:
      this.
    • isEndOfPurposeBlocked

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

      Original property name from the Odata EDM: IsEndOfPurposeBlocked

      Returns:
      this.
    • lastChangeDateTime

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

      Original property name from the Odata EDM: LastChangeDateTime

      Returns:
      this.
    • purchasingProcessingStatus

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

      Original property name from the Odata EDM: PurchasingProcessingStatus

      Returns:
      this.
    • purgAggrgdProdCmplncSuplrSts

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

      Original property name from the Odata EDM: PurgAggrgdProdCmplncSuplrSts

      Returns:
      this.
    • purchasingProcessingStatusName

      @Nonnull public PurchaseContract.PurchaseContractBuilder purchasingProcessingStatusName(@Nullable String purchasingProcessingStatusName)
      Constraints: Not nullable, Maximum length: 60

      Original property name from the Odata EDM: PurchasingProcessingStatusName

      Returns:
      this.
    • purgContractIsInPreparation

      @Nonnull public PurchaseContract.PurchaseContractBuilder purgContractIsInPreparation(@Nullable Boolean purgContractIsInPreparation)
      Constraints: none

      Original property name from the Odata EDM: PurgContractIsInPreparation

      Returns:
      this.
    • purgDocExternalReference

      @Nonnull public PurchaseContract.PurchaseContractBuilder purgDocExternalReference(@Nullable String purgDocExternalReference)
      Constraints: Not nullable, Maximum length: 70

      Original property name from the Odata EDM: PurgDocExternalReference

      Returns:
      this.
    • purchasingDocumentName

      @Nonnull public PurchaseContract.PurchaseContractBuilder purchasingDocumentName(@Nullable String purchasingDocumentName)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: PurchasingDocumentName

      Returns:
      this.
    • purgDocCatalogItemRelevance

      @Nonnull public PurchaseContract.PurchaseContractBuilder purgDocCatalogItemRelevance(@Nullable String purgDocCatalogItemRelevance)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: PurgDocCatalogItemRelevance

      Returns:
      this.
    • purContrAttentionRequiredText

      @Nonnull public PurchaseContract.PurchaseContractBuilder purContrAttentionRequiredText(@Nullable String purContrAttentionRequiredText)
      Constraints: Not nullable, Maximum length: 60

      Original property name from the Odata EDM: PurContrAttentionRequiredText

      Returns:
      this.
    • contractConsumptionInPct

      @Nonnull public PurchaseContract.PurchaseContractBuilder contractConsumptionInPct(@Nullable BigDecimal contractConsumptionInPct)
      Constraints: Not nullable, Precision: 18, Scale: 3

      Original property name from the Odata EDM: ContractConsumptionInPct

      Returns:
      this.
    • build

      @Nonnull public PurchaseContract build()
    • toString

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