Class PurchaseContract.PurchaseContractBuilder
- Enclosing class:
- PurchaseContract
-
Method Summary
Modifier and TypeMethodDescriptionbuild()cashDiscount1Days(BigDecimal cashDiscount1Days) Constraints: Not nullable, Precision: 3, Scale: 0cashDiscount1Percent(BigDecimal cashDiscount1Percent) Constraints: Not nullable, Precision: 5, Scale: 3cashDiscount2Days(BigDecimal cashDiscount2Days) Constraints: Not nullable, Precision: 3, Scale: 0cashDiscount2Percent(BigDecimal cashDiscount2Percent) Constraints: Not nullable, Precision: 5, Scale: 3companyCode(String companyCode) Constraints: Not nullable, Maximum length: 4correspncExternalReference(String correspncExternalReference) Constraints: Not nullable, Maximum length: 12correspncInternalReference(String correspncInternalReference) Constraints: Not nullable, Maximum length: 12createdByUser(String createdByUser) Constraints: Not nullable, Maximum length: 12creationDate(LocalDateTime creationDate) Constraints: Not nullable, Precision: 0documentCurrency(String documentCurrency) Constraints: Not nullable, Maximum length: 5exchangeRate(String exchangeRate) Constraints: Not nullable, Maximum length: 12exchangeRateIsFixed(Boolean exchangeRateIsFixed) Constraints: noneincotermsClassification(String incotermsClassification) Constraints: Not nullable, Maximum length: 3incotermsLocation1(String incotermsLocation1) Constraints: Not nullable, Maximum length: 70incotermsLocation2(String incotermsLocation2) Constraints: Not nullable, Maximum length: 70incotermsTransferLocation(String incotermsTransferLocation) Constraints: Not nullable, Maximum length: 28incotermsVersion(String incotermsVersion) Constraints: Not nullable, Maximum length: 4invoicingParty(String invoicingParty) Constraints: Not nullable, Maximum length: 10isEndOfPurposeBlocked(String isEndOfPurposeBlocked) Constraints: Not nullable, Maximum length: 1lastChangeDateTime(ZonedDateTime lastChangeDateTime) Constraints: Not nullable, Precision: 7netPaymentDays(BigDecimal netPaymentDays) Constraints: Not nullable, Precision: 3, Scale: 0paymentTerms(String paymentTerms) Constraints: Not nullable, Maximum length: 4purchaseContract(String purchaseContract) (Key Field) Constraints: Not nullable, Maximum length: 10purchaseContractItem(PurchaseContractItem... value) Navigation property to_PurchaseContractItem for PurchaseContract to multiple PurchaseContractItem.purchaseContractTargetAmount(BigDecimal purchaseContractTargetAmount) Constraints: Not nullable, Precision: 16, Scale: 3purchaseContractType(String purchaseContractType) Constraints: Not nullable, Maximum length: 4purchasingDocumentDeletionCode(String purchasingDocumentDeletionCode) Constraints: Not nullable, Maximum length: 1purchasingGroup(String purchasingGroup) Constraints: Not nullable, Maximum length: 3purchasingOrganization(String purchasingOrganization) Constraints: Not nullable, Maximum length: 4purchasingProcessingStatus(String purchasingProcessingStatus) Constraints: Not nullable, Maximum length: 2purchasingProcessingStatusName(String purchasingProcessingStatusName) Constraints: Not nullable, Maximum length: 60purCtrPartners(PurCtrPartners... value) Navigation property to_PurCtrPartners for PurchaseContract to multiple PurCtrPartners.purgContractIsInPreparation(Boolean purgContractIsInPreparation) Constraints: nonequotationSubmissionDate(LocalDateTime quotationSubmissionDate) Constraints: Not nullable, Precision: 0releaseCode(String releaseCode) Constraints: Not nullable, Maximum length: 1Constraints: Not nullable, Maximum length: 10supplierPhoneNumber(String supplierPhoneNumber) Constraints: Not nullable, Maximum length: 16supplierQuotation(String supplierQuotation) Constraints: Not nullable, Maximum length: 10supplierRespSalesPersonName(String supplierRespSalesPersonName) Constraints: Not nullable, Maximum length: 30supplyingSupplier(String supplyingSupplier) Constraints: Not nullable, Maximum length: 10toString()validityEndDate(LocalDateTime validityEndDate) Constraints: Not nullable, Precision: 0validityStartDate(LocalDateTime validityStartDate) Constraints: Not nullable, Precision: 0
-
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.
-
purCtrPartners
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: 10Original property name from the Odata EDM: PurchaseContract
- Returns:
this.
-
purchaseContractType
@Nonnull public PurchaseContract.PurchaseContractBuilder purchaseContractType(@Nullable String purchaseContractType) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: PurchaseContractType
- Returns:
this.
-
companyCode
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: CompanyCode
- Returns:
this.
-
purchasingDocumentDeletionCode
@Nonnull public PurchaseContract.PurchaseContractBuilder purchasingDocumentDeletionCode(@Nullable String purchasingDocumentDeletionCode) Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: PurchasingDocumentDeletionCode
- Returns:
this.
-
creationDate
@Nonnull public PurchaseContract.PurchaseContractBuilder creationDate(@Nullable LocalDateTime creationDate) Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: CreationDate
- Returns:
this.
-
createdByUser
@Nonnull public PurchaseContract.PurchaseContractBuilder createdByUser(@Nullable String createdByUser) Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: CreatedByUser
- Returns:
this.
-
supplier
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: Supplier
- Returns:
this.
-
purchasingOrganization
@Nonnull public PurchaseContract.PurchaseContractBuilder purchasingOrganization(@Nullable String purchasingOrganization) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: PurchasingOrganization
- Returns:
this.
-
purchasingGroup
@Nonnull public PurchaseContract.PurchaseContractBuilder purchasingGroup(@Nullable String purchasingGroup) Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: PurchasingGroup
- Returns:
this.
-
paymentTerms
@Nonnull public PurchaseContract.PurchaseContractBuilder paymentTerms(@Nullable String paymentTerms) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: PaymentTerms
- Returns:
this.
-
cashDiscount1Days
@Nonnull public PurchaseContract.PurchaseContractBuilder cashDiscount1Days(@Nullable BigDecimal cashDiscount1Days) Constraints: Not nullable, Precision: 3, Scale: 0Original property name from the Odata EDM: CashDiscount1Days
- Returns:
this.
-
cashDiscount2Days
@Nonnull public PurchaseContract.PurchaseContractBuilder cashDiscount2Days(@Nullable BigDecimal cashDiscount2Days) Constraints: Not nullable, Precision: 3, Scale: 0Original property name from the Odata EDM: CashDiscount2Days
- Returns:
this.
-
netPaymentDays
@Nonnull public PurchaseContract.PurchaseContractBuilder netPaymentDays(@Nullable BigDecimal netPaymentDays) Constraints: Not nullable, Precision: 3, Scale: 0Original property name from the Odata EDM: NetPaymentDays
- Returns:
this.
-
cashDiscount1Percent
@Nonnull public PurchaseContract.PurchaseContractBuilder cashDiscount1Percent(@Nullable BigDecimal cashDiscount1Percent) Constraints: Not nullable, Precision: 5, Scale: 3Original property name from the Odata EDM: CashDiscount1Percent
- Returns:
this.
-
cashDiscount2Percent
@Nonnull public PurchaseContract.PurchaseContractBuilder cashDiscount2Percent(@Nullable BigDecimal cashDiscount2Percent) Constraints: Not nullable, Precision: 5, Scale: 3Original property name from the Odata EDM: CashDiscount2Percent
- Returns:
this.
-
documentCurrency
@Nonnull public PurchaseContract.PurchaseContractBuilder documentCurrency(@Nullable String documentCurrency) Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: DocumentCurrency
- Returns:
this.
-
exchangeRate
@Nonnull public PurchaseContract.PurchaseContractBuilder exchangeRate(@Nullable String exchangeRate) Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: ExchangeRate
- Returns:
this.
-
exchangeRateIsFixed
@Nonnull public PurchaseContract.PurchaseContractBuilder exchangeRateIsFixed(@Nullable Boolean exchangeRateIsFixed) Constraints: noneOriginal property name from the Odata EDM: ExchangeRateIsFixed
- Returns:
this.
-
validityStartDate
@Nonnull public PurchaseContract.PurchaseContractBuilder validityStartDate(@Nullable LocalDateTime validityStartDate) Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: ValidityStartDate
- Returns:
this.
-
validityEndDate
@Nonnull public PurchaseContract.PurchaseContractBuilder validityEndDate(@Nullable LocalDateTime validityEndDate) Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: ValidityEndDate
- Returns:
this.
-
quotationSubmissionDate
@Nonnull public PurchaseContract.PurchaseContractBuilder quotationSubmissionDate(@Nullable LocalDateTime quotationSubmissionDate) Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: QuotationSubmissionDate
- Returns:
this.
-
correspncExternalReference
@Nonnull public PurchaseContract.PurchaseContractBuilder correspncExternalReference(@Nullable String correspncExternalReference) Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: CorrespncExternalReference
- Returns:
this.
-
supplierQuotation
@Nonnull public PurchaseContract.PurchaseContractBuilder supplierQuotation(@Nullable String supplierQuotation) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: SupplierQuotation
- Returns:
this.
-
supplierRespSalesPersonName
@Nonnull public PurchaseContract.PurchaseContractBuilder supplierRespSalesPersonName(@Nullable String supplierRespSalesPersonName) Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: SupplierRespSalesPersonName
- Returns:
this.
-
supplierPhoneNumber
@Nonnull public PurchaseContract.PurchaseContractBuilder supplierPhoneNumber(@Nullable String supplierPhoneNumber) Constraints: Not nullable, Maximum length: 16Original property name from the Odata EDM: SupplierPhoneNumber
- Returns:
this.
-
supplyingSupplier
@Nonnull public PurchaseContract.PurchaseContractBuilder supplyingSupplier(@Nullable String supplyingSupplier) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: SupplyingSupplier
- Returns:
this.
-
incotermsClassification
@Nonnull public PurchaseContract.PurchaseContractBuilder incotermsClassification(@Nullable String incotermsClassification) Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: IncotermsClassification
- Returns:
this.
-
incotermsTransferLocation
@Nonnull public PurchaseContract.PurchaseContractBuilder incotermsTransferLocation(@Nullable String incotermsTransferLocation) Constraints: Not nullable, Maximum length: 28Original property name from the Odata EDM: IncotermsTransferLocation
- Returns:
this.
-
purchaseContractTargetAmount
@Nonnull public PurchaseContract.PurchaseContractBuilder purchaseContractTargetAmount(@Nullable BigDecimal purchaseContractTargetAmount) Constraints: Not nullable, Precision: 16, Scale: 3Original property name from the Odata EDM: PurchaseContractTargetAmount
- Returns:
this.
-
invoicingParty
@Nonnull public PurchaseContract.PurchaseContractBuilder invoicingParty(@Nullable String invoicingParty) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: InvoicingParty
- Returns:
this.
-
correspncInternalReference
@Nonnull public PurchaseContract.PurchaseContractBuilder correspncInternalReference(@Nullable String correspncInternalReference) Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: CorrespncInternalReference
- Returns:
this.
-
releaseCode
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: ReleaseCode
- Returns:
this.
-
incotermsVersion
@Nonnull public PurchaseContract.PurchaseContractBuilder incotermsVersion(@Nullable String incotermsVersion) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: IncotermsVersion
- Returns:
this.
-
incotermsLocation1
@Nonnull public PurchaseContract.PurchaseContractBuilder incotermsLocation1(@Nullable String incotermsLocation1) Constraints: Not nullable, Maximum length: 70Original property name from the Odata EDM: IncotermsLocation1
- Returns:
this.
-
incotermsLocation2
@Nonnull public PurchaseContract.PurchaseContractBuilder incotermsLocation2(@Nullable String incotermsLocation2) Constraints: Not nullable, Maximum length: 70Original property name from the Odata EDM: IncotermsLocation2
- Returns:
this.
-
isEndOfPurposeBlocked
@Nonnull public PurchaseContract.PurchaseContractBuilder isEndOfPurposeBlocked(@Nullable String isEndOfPurposeBlocked) Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: IsEndOfPurposeBlocked
- Returns:
this.
-
lastChangeDateTime
@Nonnull public PurchaseContract.PurchaseContractBuilder lastChangeDateTime(@Nullable ZonedDateTime lastChangeDateTime) Constraints: Not nullable, Precision: 7Original property name from the Odata EDM: LastChangeDateTime
- Returns:
this.
-
purchasingProcessingStatus
@Nonnull public PurchaseContract.PurchaseContractBuilder purchasingProcessingStatus(@Nullable String purchasingProcessingStatus) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: PurchasingProcessingStatus
- Returns:
this.
-
purchasingProcessingStatusName
@Nonnull public PurchaseContract.PurchaseContractBuilder purchasingProcessingStatusName(@Nullable String purchasingProcessingStatusName) Constraints: Not nullable, Maximum length: 60Original property name from the Odata EDM: PurchasingProcessingStatusName
- Returns:
this.
-
purgContractIsInPreparation
@Nonnull public PurchaseContract.PurchaseContractBuilder purgContractIsInPreparation(@Nullable Boolean purgContractIsInPreparation) Constraints: noneOriginal property name from the Odata EDM: PurgContractIsInPreparation
- Returns:
this.
-
build
-
toString
-