Class CustomerReturn.CustomerReturnBuilder

java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.customerreturn.CustomerReturn.CustomerReturnBuilder
Enclosing class:
CustomerReturn

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

    • customerReturnOverviewStatus

      @Nonnull public CustomerReturn.CustomerReturnBuilder customerReturnOverviewStatus(CustomerReturnOverviewStatus value)
      Navigation property to_CustomerReturnOverviewStatus for CustomerReturn to single CustomerReturnOverviewStatus.
      Parameters:
      value - The CustomerReturnOverviewStatus to build this CustomerReturn with.
      Returns:
      This Builder to allow for a fluent interface.
    • item

      Navigation property to_Item for CustomerReturn to multiple CustomerReturnItem.
      Parameters:
      value - The CustomerReturnItems to build this CustomerReturn with.
      Returns:
      This Builder to allow for a fluent interface.
    • partner

      @Nonnull public CustomerReturn.CustomerReturnBuilder partner(CustomerReturnPartner... value)
      Navigation property to_Partner for CustomerReturn to multiple CustomerReturnPartner.
      Parameters:
      value - The CustomerReturnPartners to build this CustomerReturn with.
      Returns:
      This Builder to allow for a fluent interface.
    • pricingElement

      @Nonnull public CustomerReturn.CustomerReturnBuilder pricingElement(CustomerReturnPrcgElmnt... value)
      Navigation property to_PricingElement for CustomerReturn to multiple CustomerReturnPrcgElmnt.
      Parameters:
      value - The CustomerReturnPrcgElmnts to build this CustomerReturn with.
      Returns:
      This Builder to allow for a fluent interface.
    • relatedObject

      @Nonnull public CustomerReturn.CustomerReturnBuilder relatedObject(CustomerReturnRelatedObject... value)
      Navigation property to_RelatedObject for CustomerReturn to multiple CustomerReturnRelatedObject.
      Parameters:
      value - The CustomerReturnRelatedObjects to build this CustomerReturn with.
      Returns:
      This Builder to allow for a fluent interface.
    • text

      Navigation property to_Text for CustomerReturn to multiple CustomerReturnText.
      Parameters:
      value - The CustomerReturnTexts to build this CustomerReturn with.
      Returns:
      This Builder to allow for a fluent interface.
    • customerReturn

      @Nonnull public CustomerReturn.CustomerReturnBuilder customerReturn(@Nullable String customerReturn)
      (Key Field) Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: CustomerReturn

      Returns:
      this.
    • customerReturnType

      @Nonnull public CustomerReturn.CustomerReturnBuilder customerReturnType(@Nullable String customerReturnType)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: CustomerReturnType

      Returns:
      this.
    • salesOrganization

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

      Original property name from the Odata EDM: SalesOrganization

      Returns:
      this.
    • distributionChannel

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

      Original property name from the Odata EDM: DistributionChannel

      Returns:
      this.
    • organizationDivision

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

      Original property name from the Odata EDM: OrganizationDivision

      Returns:
      this.
    • salesGroup

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

      Original property name from the Odata EDM: SalesGroup

      Returns:
      this.
    • salesOffice

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

      Original property name from the Odata EDM: SalesOffice

      Returns:
      this.
    • salesDistrict

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

      Original property name from the Odata EDM: SalesDistrict

      Returns:
      this.
    • soldToParty

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

      Original property name from the Odata EDM: SoldToParty

      Returns:
      this.
    • creationDate

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

      Original property name from the Odata EDM: CreationDate

      Returns:
      this.
    • createdByUser

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

      Original property name from the Odata EDM: CreatedByUser

      Returns:
      this.
    • lastChangeDate

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

      Original property name from the Odata EDM: LastChangeDate

      Returns:
      this.
    • senderBusinessSystemName

      @Nonnull public CustomerReturn.CustomerReturnBuilder senderBusinessSystemName(@Nullable String senderBusinessSystemName)
      Constraints: Not nullable, Maximum length: 60

      Original property name from the Odata EDM: SenderBusinessSystemName

      Returns:
      this.
    • lastChangeDateTime

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

      Original property name from the Odata EDM: LastChangeDateTime

      Returns:
      this.
    • purchaseOrderByCustomer

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

      Original property name from the Odata EDM: PurchaseOrderByCustomer

      Returns:
      this.
    • customerPurchaseOrderType

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

      Original property name from the Odata EDM: CustomerPurchaseOrderType

      Returns:
      this.
    • customerPurchaseOrderDate

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

      Original property name from the Odata EDM: CustomerPurchaseOrderDate

      Returns:
      this.
    • customerReturnDate

      @Nonnull public CustomerReturn.CustomerReturnBuilder customerReturnDate(@Nullable LocalDateTime customerReturnDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: CustomerReturnDate

      Returns:
      this.
    • totalNetAmount

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

      Original property name from the Odata EDM: TotalNetAmount

      Returns:
      this.
    • transactionCurrency

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

      Original property name from the Odata EDM: TransactionCurrency

      Returns:
      this.
    • sDDocumentReason

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

      Original property name from the Odata EDM: SDDocumentReason

      Returns:
      this.
    • pricingDate

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

      Original property name from the Odata EDM: PricingDate

      Returns:
      this.
    • requestedDeliveryDate

      @Nonnull public CustomerReturn.CustomerReturnBuilder requestedDeliveryDate(@Nullable LocalDateTime requestedDeliveryDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: RequestedDeliveryDate

      Returns:
      this.
    • shippingType

      @Nonnull public CustomerReturn.CustomerReturnBuilder shippingType(@Nullable String shippingType)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: ShippingType

      Returns:
      this.
    • headerBillingBlockReason

      @Nonnull public CustomerReturn.CustomerReturnBuilder headerBillingBlockReason(@Nullable String headerBillingBlockReason)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: HeaderBillingBlockReason

      Returns:
      this.
    • deliveryBlockReason

      @Nonnull public CustomerReturn.CustomerReturnBuilder deliveryBlockReason(@Nullable String deliveryBlockReason)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: DeliveryBlockReason

      Returns:
      this.
    • incotermsClassification

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

      Original property name from the Odata EDM: IncotermsClassification

      Returns:
      this.
    • incotermsTransferLocation

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

      Original property name from the Odata EDM: IncotermsTransferLocation

      Returns:
      this.
    • incotermsLocation1

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

      Original property name from the Odata EDM: IncotermsLocation1

      Returns:
      this.
    • incotermsLocation2

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

      Original property name from the Odata EDM: IncotermsLocation2

      Returns:
      this.
    • incotermsVersion

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

      Original property name from the Odata EDM: IncotermsVersion

      Returns:
      this.
    • customerPaymentTerms

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

      Original property name from the Odata EDM: CustomerPaymentTerms

      Returns:
      this.
    • paymentMethod

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

      Original property name from the Odata EDM: PaymentMethod

      Returns:
      this.
    • customerTaxClassification1

      @Nonnull public CustomerReturn.CustomerReturnBuilder customerTaxClassification1(@Nullable String customerTaxClassification1)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: CustomerTaxClassification1

      Returns:
      this.
    • customerTaxClassification2

      @Nonnull public CustomerReturn.CustomerReturnBuilder customerTaxClassification2(@Nullable String customerTaxClassification2)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: CustomerTaxClassification2

      Returns:
      this.
    • customerTaxClassification3

      @Nonnull public CustomerReturn.CustomerReturnBuilder customerTaxClassification3(@Nullable String customerTaxClassification3)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: CustomerTaxClassification3

      Returns:
      this.
    • customerTaxClassification4

      @Nonnull public CustomerReturn.CustomerReturnBuilder customerTaxClassification4(@Nullable String customerTaxClassification4)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: CustomerTaxClassification4

      Returns:
      this.
    • customerTaxClassification5

      @Nonnull public CustomerReturn.CustomerReturnBuilder customerTaxClassification5(@Nullable String customerTaxClassification5)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: CustomerTaxClassification5

      Returns:
      this.
    • customerTaxClassification6

      @Nonnull public CustomerReturn.CustomerReturnBuilder customerTaxClassification6(@Nullable String customerTaxClassification6)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: CustomerTaxClassification6

      Returns:
      this.
    • customerTaxClassification7

      @Nonnull public CustomerReturn.CustomerReturnBuilder customerTaxClassification7(@Nullable String customerTaxClassification7)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: CustomerTaxClassification7

      Returns:
      this.
    • customerTaxClassification8

      @Nonnull public CustomerReturn.CustomerReturnBuilder customerTaxClassification8(@Nullable String customerTaxClassification8)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: CustomerTaxClassification8

      Returns:
      this.
    • customerTaxClassification9

      @Nonnull public CustomerReturn.CustomerReturnBuilder customerTaxClassification9(@Nullable String customerTaxClassification9)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: CustomerTaxClassification9

      Returns:
      this.
    • retsMgmtProcess

      @Nonnull public CustomerReturn.CustomerReturnBuilder retsMgmtProcess(@Nullable String retsMgmtProcess)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: RetsMgmtProcess

      Returns:
      this.
    • referenceSDDocument

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

      Original property name from the Odata EDM: ReferenceSDDocument

      Returns:
      this.
    • referenceSDDocumentCategory

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

      Original property name from the Odata EDM: ReferenceSDDocumentCategory

      Returns:
      this.
    • accountingDocExternalReference

      @Nonnull public CustomerReturn.CustomerReturnBuilder accountingDocExternalReference(@Nullable String accountingDocExternalReference)
      Constraints: Not nullable, Maximum length: 16

      Original property name from the Odata EDM: AccountingDocExternalReference

      Returns:
      this.
    • assignmentReference

      @Nonnull public CustomerReturn.CustomerReturnBuilder assignmentReference(@Nullable String assignmentReference)
      Constraints: Not nullable, Maximum length: 18

      Original property name from the Odata EDM: AssignmentReference

      Returns:
      this.
    • customerReturnApprovalReason

      @Nonnull public CustomerReturn.CustomerReturnBuilder customerReturnApprovalReason(@Nullable String customerReturnApprovalReason)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: CustomerReturnApprovalReason

      Returns:
      this.
    • salesDocApprovalStatus

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

      Original property name from the Odata EDM: SalesDocApprovalStatus

      Returns:
      this.
    • retsMgmtLogProcgStatus

      @Nonnull public CustomerReturn.CustomerReturnBuilder retsMgmtLogProcgStatus(@Nullable String retsMgmtLogProcgStatus)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: RetsMgmtLogProcgStatus

      Returns:
      this.
    • retsMgmtCompnProcgStatus

      @Nonnull public CustomerReturn.CustomerReturnBuilder retsMgmtCompnProcgStatus(@Nullable String retsMgmtCompnProcgStatus)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: RetsMgmtCompnProcgStatus

      Returns:
      this.
    • retsMgmtProcessingStatus

      @Nonnull public CustomerReturn.CustomerReturnBuilder retsMgmtProcessingStatus(@Nullable String retsMgmtProcessingStatus)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: RetsMgmtProcessingStatus

      Returns:
      this.
    • overallSDProcessStatus

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

      Original property name from the Odata EDM: OverallSDProcessStatus

      Returns:
      this.
    • totalCreditCheckStatus

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

      Original property name from the Odata EDM: TotalCreditCheckStatus

      Returns:
      this.
    • overallSDDocumentRejectionSts

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

      Original property name from the Odata EDM: OverallSDDocumentRejectionSts

      Returns:
      this.
    • build

      @Nonnull public CustomerReturn build()
    • toString

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