Class SalesContract.SalesContractBuilder

java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.salescontract.SalesContract.SalesContractBuilder
Enclosing class:
SalesContract

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

    • item

      @Nonnull public SalesContract.SalesContractBuilder item(SalesContractItem... value)
      Navigation property to_Item for SalesContract to multiple SalesContractItem.
      Parameters:
      value - The SalesContractItems to build this SalesContract with.
      Returns:
      This Builder to allow for a fluent interface.
    • partner

      @Nonnull public SalesContract.SalesContractBuilder partner(SalesContractPartner... value)
      Navigation property to_Partner for SalesContract to multiple SalesContractPartner.
      Parameters:
      value - The SalesContractPartners to build this SalesContract with.
      Returns:
      This Builder to allow for a fluent interface.
    • pricingElement

      @Nonnull public SalesContract.SalesContractBuilder pricingElement(SalesContractPrcgElmnt... value)
      Navigation property to_PricingElement for SalesContract to multiple SalesContractPrcgElmnt.
      Parameters:
      value - The SalesContractPrcgElmnts to build this SalesContract with.
      Returns:
      This Builder to allow for a fluent interface.
    • text

      @Nonnull public SalesContract.SalesContractBuilder text(SalesContractText... value)
      Navigation property to_Text for SalesContract to multiple SalesContractText.
      Parameters:
      value - The SalesContractTexts to build this SalesContract with.
      Returns:
      This Builder to allow for a fluent interface.
    • salesContract

      @Nonnull public SalesContract.SalesContractBuilder salesContract(@Nullable String salesContract)
      (Key Field) Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: SalesContract

      Returns:
      this.
    • salesContractType

      @Nonnull public SalesContract.SalesContractBuilder salesContractType(@Nullable String salesContractType)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: SalesContractType

      Returns:
      this.
    • salesOrganization

      @Nonnull public SalesContract.SalesContractBuilder salesOrganization(@Nullable String salesOrganization)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: SalesOrganization

      Returns:
      this.
    • distributionChannel

      @Nonnull public SalesContract.SalesContractBuilder distributionChannel(@Nullable String distributionChannel)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: DistributionChannel

      Returns:
      this.
    • organizationDivision

      @Nonnull public SalesContract.SalesContractBuilder organizationDivision(@Nullable String organizationDivision)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: OrganizationDivision

      Returns:
      this.
    • salesGroup

      @Nonnull public SalesContract.SalesContractBuilder salesGroup(@Nullable String salesGroup)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: SalesGroup

      Returns:
      this.
    • salesOffice

      @Nonnull public SalesContract.SalesContractBuilder salesOffice(@Nullable String salesOffice)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: SalesOffice

      Returns:
      this.
    • salesDistrict

      @Nonnull public SalesContract.SalesContractBuilder salesDistrict(@Nullable String salesDistrict)
      Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: SalesDistrict

      Returns:
      this.
    • soldToParty

      @Nonnull public SalesContract.SalesContractBuilder soldToParty(@Nullable String soldToParty)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: SoldToParty

      Returns:
      this.
    • creationDate

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

      Original property name from the Odata EDM: CreationDate

      Returns:
      this.
    • createdByUser

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

      Original property name from the Odata EDM: CreatedByUser

      Returns:
      this.
    • lastChangeDate

      @Nonnull public SalesContract.SalesContractBuilder lastChangeDate(@Nullable LocalDateTime lastChangeDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: LastChangeDate

      Returns:
      this.
    • lastChangeDateTime

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

      Original property name from the Odata EDM: LastChangeDateTime

      Returns:
      this.
    • purchaseOrderByCustomer

      @Nonnull public SalesContract.SalesContractBuilder purchaseOrderByCustomer(@Nullable String purchaseOrderByCustomer)
      Constraints: Not nullable, Maximum length: 35

      Original property name from the Odata EDM: PurchaseOrderByCustomer

      Returns:
      this.
    • customerPurchaseOrderType

      @Nonnull public SalesContract.SalesContractBuilder customerPurchaseOrderType(@Nullable String customerPurchaseOrderType)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: CustomerPurchaseOrderType

      Returns:
      this.
    • customerPurchaseOrderDate

      @Nonnull public SalesContract.SalesContractBuilder customerPurchaseOrderDate(@Nullable LocalDateTime customerPurchaseOrderDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: CustomerPurchaseOrderDate

      Returns:
      this.
    • salesContractDate

      @Nonnull public SalesContract.SalesContractBuilder salesContractDate(@Nullable LocalDateTime salesContractDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: SalesContractDate

      Returns:
      this.
    • totalNetAmount

      @Nonnull public SalesContract.SalesContractBuilder totalNetAmount(@Nullable BigDecimal totalNetAmount)
      Constraints: Not nullable, Precision: 16, Scale: 3

      Original property name from the Odata EDM: TotalNetAmount

      Returns:
      this.
    • transactionCurrency

      @Nonnull public SalesContract.SalesContractBuilder transactionCurrency(@Nullable String transactionCurrency)
      Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: TransactionCurrency

      Returns:
      this.
    • sDDocumentReason

      @Nonnull public SalesContract.SalesContractBuilder sDDocumentReason(@Nullable String sDDocumentReason)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: SDDocumentReason

      Returns:
      this.
    • pricingDate

      @Nonnull public SalesContract.SalesContractBuilder pricingDate(@Nullable LocalDateTime pricingDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: PricingDate

      Returns:
      this.
    • incotermsClassification

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

      Original property name from the Odata EDM: IncotermsClassification

      Returns:
      this.
    • incotermsTransferLocation

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

      Original property name from the Odata EDM: IncotermsTransferLocation

      Returns:
      this.
    • incotermsLocation1

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

      Original property name from the Odata EDM: IncotermsLocation1

      Returns:
      this.
    • incotermsLocation2

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

      Original property name from the Odata EDM: IncotermsLocation2

      Returns:
      this.
    • incotermsVersion

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

      Original property name from the Odata EDM: IncotermsVersion

      Returns:
      this.
    • customerPaymentTerms

      @Nonnull public SalesContract.SalesContractBuilder customerPaymentTerms(@Nullable String customerPaymentTerms)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: CustomerPaymentTerms

      Returns:
      this.
    • paymentMethod

      @Nonnull public SalesContract.SalesContractBuilder paymentMethod(@Nullable String paymentMethod)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: PaymentMethod

      Returns:
      this.
    • salesContractValidityStartDate

      @Nonnull public SalesContract.SalesContractBuilder salesContractValidityStartDate(@Nullable LocalDateTime salesContractValidityStartDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: SalesContractValidityStartDate

      Returns:
      this.
    • salesContractValidityEndDate

      @Nonnull public SalesContract.SalesContractBuilder salesContractValidityEndDate(@Nullable LocalDateTime salesContractValidityEndDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: SalesContractValidityEndDate

      Returns:
      this.
    • salesContractValidityPerdUnit

      @Nonnull public SalesContract.SalesContractBuilder salesContractValidityPerdUnit(@Nullable String salesContractValidityPerdUnit)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: SalesContractValidityPerdUnit

      Returns:
      this.
    • salesContractValidityPerdCat

      @Nonnull public SalesContract.SalesContractBuilder salesContractValidityPerdCat(@Nullable String salesContractValidityPerdCat)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: SalesContractValidityPerdCat

      Returns:
      this.
    • salesContractSignedDate

      @Nonnull public SalesContract.SalesContractBuilder salesContractSignedDate(@Nullable LocalDateTime salesContractSignedDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: SalesContractSignedDate

      Returns:
      this.
    • nmbrOfSalesContractValdtyPerd

      @Nonnull public SalesContract.SalesContractBuilder nmbrOfSalesContractValdtyPerd(@Nullable String nmbrOfSalesContractValdtyPerd)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: NmbrOfSalesContractValdtyPerd

      Returns:
      this.
    • salesContractFollowUpAction

      @Nonnull public SalesContract.SalesContractBuilder salesContractFollowUpAction(@Nullable String salesContractFollowUpAction)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: SalesContractFollowUpAction

      Returns:
      this.
    • slsContractFollowUpActionDate

      @Nonnull public SalesContract.SalesContractBuilder slsContractFollowUpActionDate(@Nullable LocalDateTime slsContractFollowUpActionDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: SlsContractFollowUpActionDate

      Returns:
      this.
    • contractManualCompletion

      @Nonnull public SalesContract.SalesContractBuilder contractManualCompletion(@Nullable String contractManualCompletion)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: ContractManualCompletion

      Returns:
      this.
    • referenceSDDocument

      @Nonnull public SalesContract.SalesContractBuilder referenceSDDocument(@Nullable String referenceSDDocument)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: ReferenceSDDocument

      Returns:
      this.
    • referenceSDDocumentCategory

      @Nonnull public SalesContract.SalesContractBuilder referenceSDDocumentCategory(@Nullable String referenceSDDocumentCategory)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: ReferenceSDDocumentCategory

      Returns:
      this.
    • salesDocApprovalStatus

      @Nonnull public SalesContract.SalesContractBuilder salesDocApprovalStatus(@Nullable String salesDocApprovalStatus)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: SalesDocApprovalStatus

      Returns:
      this.
    • salesContractApprovalReason

      @Nonnull public SalesContract.SalesContractBuilder salesContractApprovalReason(@Nullable String salesContractApprovalReason)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: SalesContractApprovalReason

      Returns:
      this.
    • overallSDProcessStatus

      @Nonnull public SalesContract.SalesContractBuilder overallSDProcessStatus(@Nullable String overallSDProcessStatus)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: OverallSDProcessStatus

      Returns:
      this.
    • totalCreditCheckStatus

      @Nonnull public SalesContract.SalesContractBuilder totalCreditCheckStatus(@Nullable String totalCreditCheckStatus)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: TotalCreditCheckStatus

      Returns:
      this.
    • overallSDDocumentRejectionSts

      @Nonnull public SalesContract.SalesContractBuilder overallSDDocumentRejectionSts(@Nullable String overallSDDocumentRejectionSts)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: OverallSDDocumentRejectionSts

      Returns:
      this.
    • build

      @Nonnull public SalesContract build()
    • toString

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