java.lang.Object
com.sap.cloud.sdk.datamodel.odata.helper.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity<CustomerReturn>
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.customerreturn.CustomerReturn

public class CustomerReturn extends VdmEntity<CustomerReturn>
Returns Order Header

Original entity name from the Odata EDM: A_CustomerReturnType

  • Field Details

    • ALL_FIELDS

      public static final CustomerReturnSelectable ALL_FIELDS
      Selector for all available fields of CustomerReturn.
    • CUSTOMER_RETURN

      public static final CustomerReturnField<String> CUSTOMER_RETURN
      Use with available fluent helpers to apply the CustomerReturn field to query operations.
    • CUSTOMER_RETURN_TYPE

      public static final CustomerReturnField<String> CUSTOMER_RETURN_TYPE
      Use with available fluent helpers to apply the CustomerReturnType field to query operations.
    • SALES_ORGANIZATION

      public static final CustomerReturnField<String> SALES_ORGANIZATION
      Use with available fluent helpers to apply the SalesOrganization field to query operations.
    • DISTRIBUTION_CHANNEL

      public static final CustomerReturnField<String> DISTRIBUTION_CHANNEL
      Use with available fluent helpers to apply the DistributionChannel field to query operations.
    • ORGANIZATION_DIVISION

      public static final CustomerReturnField<String> ORGANIZATION_DIVISION
      Use with available fluent helpers to apply the OrganizationDivision field to query operations.
    • SALES_GROUP

      public static final CustomerReturnField<String> SALES_GROUP
      Use with available fluent helpers to apply the SalesGroup field to query operations.
    • SALES_OFFICE

      public static final CustomerReturnField<String> SALES_OFFICE
      Use with available fluent helpers to apply the SalesOffice field to query operations.
    • SALES_DISTRICT

      public static final CustomerReturnField<String> SALES_DISTRICT
      Use with available fluent helpers to apply the SalesDistrict field to query operations.
    • SOLD_TO_PARTY

      public static final CustomerReturnField<String> SOLD_TO_PARTY
      Use with available fluent helpers to apply the SoldToParty field to query operations.
    • CREATION_DATE

      public static final CustomerReturnField<LocalDateTime> CREATION_DATE
      Use with available fluent helpers to apply the CreationDate field to query operations.
    • CREATED_BY_USER

      public static final CustomerReturnField<String> CREATED_BY_USER
      Use with available fluent helpers to apply the CreatedByUser field to query operations.
    • LAST_CHANGE_DATE

      public static final CustomerReturnField<LocalDateTime> LAST_CHANGE_DATE
      Use with available fluent helpers to apply the LastChangeDate field to query operations.
    • SENDER_BUSINESS_SYSTEM_NAME

      public static final CustomerReturnField<String> SENDER_BUSINESS_SYSTEM_NAME
      Use with available fluent helpers to apply the SenderBusinessSystemName field to query operations.
    • LAST_CHANGE_DATE_TIME

      public static final CustomerReturnField<ZonedDateTime> LAST_CHANGE_DATE_TIME
      Use with available fluent helpers to apply the LastChangeDateTime field to query operations.
    • PURCHASE_ORDER_BY_CUSTOMER

      public static final CustomerReturnField<String> PURCHASE_ORDER_BY_CUSTOMER
      Use with available fluent helpers to apply the PurchaseOrderByCustomer field to query operations.
    • CUSTOMER_PURCHASE_ORDER_TYPE

      public static final CustomerReturnField<String> CUSTOMER_PURCHASE_ORDER_TYPE
      Use with available fluent helpers to apply the CustomerPurchaseOrderType field to query operations.
    • CUSTOMER_PURCHASE_ORDER_DATE

      public static final CustomerReturnField<LocalDateTime> CUSTOMER_PURCHASE_ORDER_DATE
      Use with available fluent helpers to apply the CustomerPurchaseOrderDate field to query operations.
    • CUSTOMER_RETURN_DATE

      public static final CustomerReturnField<LocalDateTime> CUSTOMER_RETURN_DATE
      Use with available fluent helpers to apply the CustomerReturnDate field to query operations.
    • TOTAL_NET_AMOUNT

      public static final CustomerReturnField<BigDecimal> TOTAL_NET_AMOUNT
      Use with available fluent helpers to apply the TotalNetAmount field to query operations.
    • TRANSACTION_CURRENCY

      public static final CustomerReturnField<String> TRANSACTION_CURRENCY
      Use with available fluent helpers to apply the TransactionCurrency field to query operations.
    • SD_DOCUMENT_REASON

      public static final CustomerReturnField<String> SD_DOCUMENT_REASON
      Use with available fluent helpers to apply the SDDocumentReason field to query operations.
    • PRICING_DATE

      public static final CustomerReturnField<LocalDateTime> PRICING_DATE
      Use with available fluent helpers to apply the PricingDate field to query operations.
    • REQUESTED_DELIVERY_DATE

      public static final CustomerReturnField<LocalDateTime> REQUESTED_DELIVERY_DATE
      Use with available fluent helpers to apply the RequestedDeliveryDate field to query operations.
    • SHIPPING_TYPE

      public static final CustomerReturnField<String> SHIPPING_TYPE
      Use with available fluent helpers to apply the ShippingType field to query operations.
    • HEADER_BILLING_BLOCK_REASON

      public static final CustomerReturnField<String> HEADER_BILLING_BLOCK_REASON
      Use with available fluent helpers to apply the HeaderBillingBlockReason field to query operations.
    • DELIVERY_BLOCK_REASON

      public static final CustomerReturnField<String> DELIVERY_BLOCK_REASON
      Use with available fluent helpers to apply the DeliveryBlockReason field to query operations.
    • INCOTERMS_CLASSIFICATION

      public static final CustomerReturnField<String> INCOTERMS_CLASSIFICATION
      Use with available fluent helpers to apply the IncotermsClassification field to query operations.
    • INCOTERMS_TRANSFER_LOCATION

      public static final CustomerReturnField<String> INCOTERMS_TRANSFER_LOCATION
      Use with available fluent helpers to apply the IncotermsTransferLocation field to query operations.
    • INCOTERMS_LOCATION1

      public static final CustomerReturnField<String> INCOTERMS_LOCATION1
      Use with available fluent helpers to apply the IncotermsLocation1 field to query operations.
    • INCOTERMS_LOCATION2

      public static final CustomerReturnField<String> INCOTERMS_LOCATION2
      Use with available fluent helpers to apply the IncotermsLocation2 field to query operations.
    • INCOTERMS_VERSION

      public static final CustomerReturnField<String> INCOTERMS_VERSION
      Use with available fluent helpers to apply the IncotermsVersion field to query operations.
    • CUSTOMER_PAYMENT_TERMS

      public static final CustomerReturnField<String> CUSTOMER_PAYMENT_TERMS
      Use with available fluent helpers to apply the CustomerPaymentTerms field to query operations.
    • PAYMENT_METHOD

      public static final CustomerReturnField<String> PAYMENT_METHOD
      Use with available fluent helpers to apply the PaymentMethod field to query operations.
    • CUSTOMER_TAX_CLASSIFICATION1

      public static final CustomerReturnField<String> CUSTOMER_TAX_CLASSIFICATION1
      Use with available fluent helpers to apply the CustomerTaxClassification1 field to query operations.
    • CUSTOMER_TAX_CLASSIFICATION2

      public static final CustomerReturnField<String> CUSTOMER_TAX_CLASSIFICATION2
      Use with available fluent helpers to apply the CustomerTaxClassification2 field to query operations.
    • CUSTOMER_TAX_CLASSIFICATION3

      public static final CustomerReturnField<String> CUSTOMER_TAX_CLASSIFICATION3
      Use with available fluent helpers to apply the CustomerTaxClassification3 field to query operations.
    • CUSTOMER_TAX_CLASSIFICATION4

      public static final CustomerReturnField<String> CUSTOMER_TAX_CLASSIFICATION4
      Use with available fluent helpers to apply the CustomerTaxClassification4 field to query operations.
    • CUSTOMER_TAX_CLASSIFICATION5

      public static final CustomerReturnField<String> CUSTOMER_TAX_CLASSIFICATION5
      Use with available fluent helpers to apply the CustomerTaxClassification5 field to query operations.
    • CUSTOMER_TAX_CLASSIFICATION6

      public static final CustomerReturnField<String> CUSTOMER_TAX_CLASSIFICATION6
      Use with available fluent helpers to apply the CustomerTaxClassification6 field to query operations.
    • CUSTOMER_TAX_CLASSIFICATION7

      public static final CustomerReturnField<String> CUSTOMER_TAX_CLASSIFICATION7
      Use with available fluent helpers to apply the CustomerTaxClassification7 field to query operations.
    • CUSTOMER_TAX_CLASSIFICATION8

      public static final CustomerReturnField<String> CUSTOMER_TAX_CLASSIFICATION8
      Use with available fluent helpers to apply the CustomerTaxClassification8 field to query operations.
    • CUSTOMER_TAX_CLASSIFICATION9

      public static final CustomerReturnField<String> CUSTOMER_TAX_CLASSIFICATION9
      Use with available fluent helpers to apply the CustomerTaxClassification9 field to query operations.
    • RETS_MGMT_PROCESS

      public static final CustomerReturnField<String> RETS_MGMT_PROCESS
      Use with available fluent helpers to apply the RetsMgmtProcess field to query operations.
    • REFERENCE_SD_DOCUMENT

      public static final CustomerReturnField<String> REFERENCE_SD_DOCUMENT
      Use with available fluent helpers to apply the ReferenceSDDocument field to query operations.
    • REFERENCE_SD_DOCUMENT_CATEGORY

      public static final CustomerReturnField<String> REFERENCE_SD_DOCUMENT_CATEGORY
      Use with available fluent helpers to apply the ReferenceSDDocumentCategory field to query operations.
    • ACCOUNTING_DOC_EXTERNAL_REFERENCE

      public static final CustomerReturnField<String> ACCOUNTING_DOC_EXTERNAL_REFERENCE
      Use with available fluent helpers to apply the AccountingDocExternalReference field to query operations.
    • ASSIGNMENT_REFERENCE

      public static final CustomerReturnField<String> ASSIGNMENT_REFERENCE
      Use with available fluent helpers to apply the AssignmentReference field to query operations.
    • CUSTOMER_RETURN_APPROVAL_REASON

      public static final CustomerReturnField<String> CUSTOMER_RETURN_APPROVAL_REASON
      Use with available fluent helpers to apply the CustomerReturnApprovalReason field to query operations.
    • SALES_DOC_APPROVAL_STATUS

      public static final CustomerReturnField<String> SALES_DOC_APPROVAL_STATUS
      Use with available fluent helpers to apply the SalesDocApprovalStatus field to query operations.
    • RETS_MGMT_LOG_PROCG_STATUS

      public static final CustomerReturnField<String> RETS_MGMT_LOG_PROCG_STATUS
      Use with available fluent helpers to apply the RetsMgmtLogProcgStatus field to query operations.
    • RETS_MGMT_COMPN_PROCG_STATUS

      public static final CustomerReturnField<String> RETS_MGMT_COMPN_PROCG_STATUS
      Use with available fluent helpers to apply the RetsMgmtCompnProcgStatus field to query operations.
    • RETS_MGMT_PROCESSING_STATUS

      public static final CustomerReturnField<String> RETS_MGMT_PROCESSING_STATUS
      Use with available fluent helpers to apply the RetsMgmtProcessingStatus field to query operations.
    • OVERALL_SD_PROCESS_STATUS

      public static final CustomerReturnField<String> OVERALL_SD_PROCESS_STATUS
      Use with available fluent helpers to apply the OverallSDProcessStatus field to query operations.
    • TOTAL_CREDIT_CHECK_STATUS

      public static final CustomerReturnField<String> TOTAL_CREDIT_CHECK_STATUS
      Use with available fluent helpers to apply the TotalCreditCheckStatus field to query operations.
    • OVERALL_SD_DOCUMENT_REJECTION_STS

      public static final CustomerReturnField<String> OVERALL_SD_DOCUMENT_REJECTION_STS
      Use with available fluent helpers to apply the OverallSDDocumentRejectionSts field to query operations.
    • TO_CUSTOMER_RETURN_OVERVIEW_STATUS

      public static final CustomerReturnOneToOneLink<CustomerReturnOverviewStatus> TO_CUSTOMER_RETURN_OVERVIEW_STATUS
      Use with available fluent helpers to apply the to_CustomerReturnOverviewStatus navigation property to query operations.
    • TO_ITEM

      public static final CustomerReturnLink<CustomerReturnItem> TO_ITEM
      Use with available fluent helpers to apply the to_Item navigation property to query operations.
    • TO_PARTNER

      public static final CustomerReturnLink<CustomerReturnPartner> TO_PARTNER
      Use with available fluent helpers to apply the to_Partner navigation property to query operations.
    • TO_PRICING_ELEMENT

      public static final CustomerReturnLink<CustomerReturnPrcgElmnt> TO_PRICING_ELEMENT
      Use with available fluent helpers to apply the to_PricingElement navigation property to query operations.
    • TO_TEXT

      public static final CustomerReturnLink<CustomerReturnText> TO_TEXT
      Use with available fluent helpers to apply the to_Text navigation property to query operations.
  • Constructor Details

  • Method Details

    • getType

      @Nonnull public Class<CustomerReturn> getType()
      Specified by:
      getType in class VdmObject<CustomerReturn>
    • setCustomerReturn

      public void setCustomerReturn(@Nullable String customerReturn)
      (Key Field) Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: CustomerReturn

      Parameters:
      customerReturn - Customer Return
    • setCustomerReturnType

      public void setCustomerReturnType(@Nullable String customerReturnType)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: CustomerReturnType

      Parameters:
      customerReturnType - Customer Return Type
    • setSalesOrganization

      public void setSalesOrganization(@Nullable String salesOrganization)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: SalesOrganization

      Parameters:
      salesOrganization - Sales Organization
    • setDistributionChannel

      public void setDistributionChannel(@Nullable String distributionChannel)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: DistributionChannel

      Parameters:
      distributionChannel - Distribution Channel
    • setOrganizationDivision

      public void setOrganizationDivision(@Nullable String organizationDivision)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: OrganizationDivision

      Parameters:
      organizationDivision - Division
    • setSalesGroup

      public void setSalesGroup(@Nullable String salesGroup)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: SalesGroup

      Parameters:
      salesGroup - Sales Group
    • setSalesOffice

      public void setSalesOffice(@Nullable String salesOffice)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: SalesOffice

      Parameters:
      salesOffice - Sales Office
    • setSalesDistrict

      public void setSalesDistrict(@Nullable String salesDistrict)
      Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: SalesDistrict

      Parameters:
      salesDistrict - Sales District
    • setSoldToParty

      public void setSoldToParty(@Nullable String soldToParty)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: SoldToParty

      Parameters:
      soldToParty - Sold-to Party
    • setCreationDate

      public void setCreationDate(@Nullable LocalDateTime creationDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: CreationDate

      Parameters:
      creationDate - Record Created On
    • setCreatedByUser

      public void setCreatedByUser(@Nullable String createdByUser)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: CreatedByUser

      Parameters:
      createdByUser - Name of Person Responsible for Creating the Object
    • setLastChangeDate

      public void setLastChangeDate(@Nullable LocalDateTime lastChangeDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: LastChangeDate

      Parameters:
      lastChangeDate - Last Changed On
    • setSenderBusinessSystemName

      public void setSenderBusinessSystemName(@Nullable String senderBusinessSystemName)
      Constraints: Not nullable, Maximum length: 60

      Original property name from the Odata EDM: SenderBusinessSystemName

      Parameters:
      senderBusinessSystemName - External Business System ID
    • setLastChangeDateTime

      public void setLastChangeDateTime(@Nullable ZonedDateTime lastChangeDateTime)
      Constraints: Not nullable, Precision: 7

      Original property name from the Odata EDM: LastChangeDateTime

      Parameters:
      lastChangeDateTime - UTC Time Stamp in Long Form (YYYYMMDDhhmmssmmmuuun)
    • setPurchaseOrderByCustomer

      public void setPurchaseOrderByCustomer(@Nullable String purchaseOrderByCustomer)
      Constraints: Not nullable, Maximum length: 35

      Original property name from the Odata EDM: PurchaseOrderByCustomer

      Parameters:
      purchaseOrderByCustomer - Customer Reference
    • setCustomerPurchaseOrderType

      public void setCustomerPurchaseOrderType(@Nullable String customerPurchaseOrderType)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: CustomerPurchaseOrderType

      Parameters:
      customerPurchaseOrderType - Customer Purchase Order Type
    • setCustomerPurchaseOrderDate

      public void setCustomerPurchaseOrderDate(@Nullable LocalDateTime customerPurchaseOrderDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: CustomerPurchaseOrderDate

      Parameters:
      customerPurchaseOrderDate - Customer Reference Date
    • setCustomerReturnDate

      public void setCustomerReturnDate(@Nullable LocalDateTime customerReturnDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: CustomerReturnDate

      Parameters:
      customerReturnDate - Document Date (Date Received/Sent)
    • setTotalNetAmount

      public void setTotalNetAmount(@Nullable BigDecimal totalNetAmount)
      Constraints: Not nullable, Precision: 16, Scale: 3

      Original property name from the Odata EDM: TotalNetAmount

      Parameters:
      totalNetAmount - Net Value of the Sales Order in Document Currency
    • setTransactionCurrency

      public void setTransactionCurrency(@Nullable String transactionCurrency)
      Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: TransactionCurrency

      Parameters:
      transactionCurrency - SD Document Currency
    • setSDDocumentReason

      public void setSDDocumentReason(@Nullable String sDDocumentReason)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: SDDocumentReason

      Parameters:
      sDDocumentReason - Order Reason (Reason for the Business Transaction)
    • setPricingDate

      public void setPricingDate(@Nullable LocalDateTime pricingDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: PricingDate

      Parameters:
      pricingDate - Date for Pricing and Exchange Rate
    • setRequestedDeliveryDate

      public void setRequestedDeliveryDate(@Nullable LocalDateTime requestedDeliveryDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: RequestedDeliveryDate

      Parameters:
      requestedDeliveryDate - Requested Delivery Date
    • setShippingType

      public void setShippingType(@Nullable String shippingType)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: ShippingType

      Parameters:
      shippingType - Shipping Type
    • setHeaderBillingBlockReason

      public void setHeaderBillingBlockReason(@Nullable String headerBillingBlockReason)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: HeaderBillingBlockReason

      Parameters:
      headerBillingBlockReason - Billing Block in SD Document
    • setDeliveryBlockReason

      public void setDeliveryBlockReason(@Nullable String deliveryBlockReason)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: DeliveryBlockReason

      Parameters:
      deliveryBlockReason - Delivery Block (Document Header)
    • setIncotermsClassification

      public void setIncotermsClassification(@Nullable String incotermsClassification)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: IncotermsClassification

      Parameters:
      incotermsClassification - Incoterms (Part 1)
    • setIncotermsTransferLocation

      public void setIncotermsTransferLocation(@Nullable String incotermsTransferLocation)
      Constraints: Not nullable, Maximum length: 28

      Original property name from the Odata EDM: IncotermsTransferLocation

      Parameters:
      incotermsTransferLocation - Incoterms (Part 2)
    • setIncotermsLocation1

      public void setIncotermsLocation1(@Nullable String incotermsLocation1)
      Constraints: Not nullable, Maximum length: 70

      Original property name from the Odata EDM: IncotermsLocation1

      Parameters:
      incotermsLocation1 - Incoterms Location 1
    • setIncotermsLocation2

      public void setIncotermsLocation2(@Nullable String incotermsLocation2)
      Constraints: Not nullable, Maximum length: 70

      Original property name from the Odata EDM: IncotermsLocation2

      Parameters:
      incotermsLocation2 - Incoterms Location 2
    • setIncotermsVersion

      public void setIncotermsVersion(@Nullable String incotermsVersion)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: IncotermsVersion

      Parameters:
      incotermsVersion - Incoterms Version
    • setCustomerPaymentTerms

      public void setCustomerPaymentTerms(@Nullable String customerPaymentTerms)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: CustomerPaymentTerms

      Parameters:
      customerPaymentTerms - Terms of Payment Key
    • setPaymentMethod

      public void setPaymentMethod(@Nullable String paymentMethod)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: PaymentMethod

      Parameters:
      paymentMethod - Payment Method
    • setCustomerTaxClassification1

      public void setCustomerTaxClassification1(@Nullable String customerTaxClassification1)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: CustomerTaxClassification1

      Parameters:
      customerTaxClassification1 - Alternative Tax Classification
    • setCustomerTaxClassification2

      public void setCustomerTaxClassification2(@Nullable String customerTaxClassification2)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: CustomerTaxClassification2

      Parameters:
      customerTaxClassification2 - Tax Classification 2 for Customer
    • setCustomerTaxClassification3

      public void setCustomerTaxClassification3(@Nullable String customerTaxClassification3)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: CustomerTaxClassification3

      Parameters:
      customerTaxClassification3 - Tax Classification 3 for Customer
    • setCustomerTaxClassification4

      public void setCustomerTaxClassification4(@Nullable String customerTaxClassification4)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: CustomerTaxClassification4

      Parameters:
      customerTaxClassification4 - Tax Classification 4 for Customer
    • setCustomerTaxClassification5

      public void setCustomerTaxClassification5(@Nullable String customerTaxClassification5)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: CustomerTaxClassification5

      Parameters:
      customerTaxClassification5 - Tax Classification 5 for Customer
    • setCustomerTaxClassification6

      public void setCustomerTaxClassification6(@Nullable String customerTaxClassification6)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: CustomerTaxClassification6

      Parameters:
      customerTaxClassification6 - Tax Classification 6 for Customer
    • setCustomerTaxClassification7

      public void setCustomerTaxClassification7(@Nullable String customerTaxClassification7)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: CustomerTaxClassification7

      Parameters:
      customerTaxClassification7 - Tax Classification 7 for Customer
    • setCustomerTaxClassification8

      public void setCustomerTaxClassification8(@Nullable String customerTaxClassification8)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: CustomerTaxClassification8

      Parameters:
      customerTaxClassification8 - Tax Classification 8 for Customer
    • setCustomerTaxClassification9

      public void setCustomerTaxClassification9(@Nullable String customerTaxClassification9)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: CustomerTaxClassification9

      Parameters:
      customerTaxClassification9 - Tax Classification 9 for Customer
    • setRetsMgmtProcess

      public void setRetsMgmtProcess(@Nullable String retsMgmtProcess)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: RetsMgmtProcess

      Parameters:
      retsMgmtProcess - Process Identification Number
    • setReferenceSDDocument

      public void setReferenceSDDocument(@Nullable String referenceSDDocument)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: ReferenceSDDocument

      Parameters:
      referenceSDDocument - Document Number of Reference Document
    • setReferenceSDDocumentCategory

      public void setReferenceSDDocumentCategory(@Nullable String referenceSDDocumentCategory)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: ReferenceSDDocumentCategory

      Parameters:
      referenceSDDocumentCategory - Document Category of Preceding SD Document
    • setAccountingDocExternalReference

      public void setAccountingDocExternalReference(@Nullable String accountingDocExternalReference)
      Constraints: Not nullable, Maximum length: 16

      Original property name from the Odata EDM: AccountingDocExternalReference

      Parameters:
      accountingDocExternalReference - Reference Document Number
    • setAssignmentReference

      public void setAssignmentReference(@Nullable String assignmentReference)
      Constraints: Not nullable, Maximum length: 18

      Original property name from the Odata EDM: AssignmentReference

      Parameters:
      assignmentReference - Assignment Number
    • setCustomerReturnApprovalReason

      public void setCustomerReturnApprovalReason(@Nullable String customerReturnApprovalReason)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: CustomerReturnApprovalReason

      Parameters:
      customerReturnApprovalReason - Approval Request Reason ID
    • setSalesDocApprovalStatus

      public void setSalesDocApprovalStatus(@Nullable String salesDocApprovalStatus)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: SalesDocApprovalStatus

      Parameters:
      salesDocApprovalStatus - Document Approval Status
    • setRetsMgmtLogProcgStatus

      public void setRetsMgmtLogProcgStatus(@Nullable String retsMgmtLogProcgStatus)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: RetsMgmtLogProcgStatus

      Parameters:
      retsMgmtLogProcgStatus - Logistical Processing Status of a Return
    • setRetsMgmtCompnProcgStatus

      public void setRetsMgmtCompnProcgStatus(@Nullable String retsMgmtCompnProcgStatus)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: RetsMgmtCompnProcgStatus

      Parameters:
      retsMgmtCompnProcgStatus - Status of Returns Refund Determination
    • setRetsMgmtProcessingStatus

      public void setRetsMgmtProcessingStatus(@Nullable String retsMgmtProcessingStatus)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: RetsMgmtProcessingStatus

      Parameters:
      retsMgmtProcessingStatus - Processing Status
    • setOverallSDProcessStatus

      public void setOverallSDProcessStatus(@Nullable String overallSDProcessStatus)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: OverallSDProcessStatus

      Parameters:
      overallSDProcessStatus - Overall Processing Status (Header/All Items)
    • setTotalCreditCheckStatus

      public void setTotalCreditCheckStatus(@Nullable String totalCreditCheckStatus)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: TotalCreditCheckStatus

      Parameters:
      totalCreditCheckStatus - Overall Status of Credit Checks
    • setOverallSDDocumentRejectionSts

      public void setOverallSDDocumentRejectionSts(@Nullable String overallSDDocumentRejectionSts)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: OverallSDDocumentRejectionSts

      Parameters:
      overallSDDocumentRejectionSts - Rejection Status (All Items)
    • getEntityCollection

      protected String getEntityCollection()
      Specified by:
      getEntityCollection in class VdmEntity<CustomerReturn>
    • getKey

      @Nonnull protected Map<String,Object> getKey()
      Overrides:
      getKey in class VdmObject<CustomerReturn>
    • toMapOfFields

      @Nonnull protected Map<String,Object> toMapOfFields()
      Overrides:
      toMapOfFields in class VdmObject<CustomerReturn>
    • fromMap

      protected void fromMap(Map<String,Object> inputValues)
      Overrides:
      fromMap in class VdmObject<CustomerReturn>
    • field

      @Nonnull public static <T> CustomerReturnField<T> field(@Nonnull String fieldName, @Nonnull Class<T> fieldType)
      Use with available fluent helpers to apply an extension field to query operations.
      Type Parameters:
      T - The type of the extension field when performing value comparisons.
      Parameters:
      fieldName - The name of the extension field as returned by the OData service.
      fieldType - The Java type to use for the extension field when performing value comparisons.
      Returns:
      A representation of an extension field from this entity.
    • field

      @Nonnull public static <T, DomainT> CustomerReturnField<T> field(@Nonnull String fieldName, @Nonnull TypeConverter<T,DomainT> typeConverter)
      Use with available fluent helpers to apply an extension field to query operations.
      Type Parameters:
      T - The type of the extension field when performing value comparisons.
      DomainT - The type of the extension field as returned by the OData service.
      Parameters:
      typeConverter - A TypeConverter<T, DomainT> instance whose first generic type matches the Java type of the field
      fieldName - The name of the extension field as returned by the OData service.
      Returns:
      A representation of an extension field from this entity, holding a reference to the given TypeConverter.
    • getDestinationForFetch

      @Nullable public HttpDestinationProperties getDestinationForFetch()
      Overrides:
      getDestinationForFetch in class VdmEntity<CustomerReturn>
    • setServicePathForFetch

      protected void setServicePathForFetch(@Nullable String servicePathForFetch)
      Overrides:
      setServicePathForFetch in class VdmEntity<CustomerReturn>
    • attachToService

      public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination)
      Overrides:
      attachToService in class VdmEntity<CustomerReturn>
    • getDefaultServicePath

      protected String getDefaultServicePath()
      Overrides:
      getDefaultServicePath in class VdmEntity<CustomerReturn>
    • toMapOfNavigationProperties

      @Nonnull protected Map<String,Object> toMapOfNavigationProperties()
      Overrides:
      toMapOfNavigationProperties in class VdmObject<CustomerReturn>
    • fetchCustomerReturnOverviewStatus

      @Nullable public CustomerReturnOverviewStatus fetchCustomerReturnOverviewStatus()
      Fetches the CustomerReturnOverviewStatus entity (one to one) associated with this entity. This corresponds to the OData navigation property to_CustomerReturnOverviewStatus.

      Please note: This method will not cache or persist the query results.

      Returns:
      The single associated CustomerReturnOverviewStatus entity, or null if an entity is not associated.
      Throws:
      com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException - If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
    • getCustomerReturnOverviewStatusOrFetch

      @Nullable public CustomerReturnOverviewStatus getCustomerReturnOverviewStatusOrFetch()
      Retrieval of associated CustomerReturnOverviewStatus entity (one to one). This corresponds to the OData navigation property to_CustomerReturnOverviewStatus.

      If the navigation property to_CustomerReturnOverviewStatus of a queried CustomerReturn is operated lazily, an ODataException can be thrown in case of an OData query error.

      Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.

      Returns:
      List of associated CustomerReturnOverviewStatus entity.
      Throws:
      com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException - If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
    • getCustomerReturnOverviewStatusIfPresent

      @Nonnull public io.vavr.control.Option<CustomerReturnOverviewStatus> getCustomerReturnOverviewStatusIfPresent()
      Retrieval of associated CustomerReturnOverviewStatus entity (one to one). This corresponds to the OData navigation property to_CustomerReturnOverviewStatus.

      If the navigation property for an entity CustomerReturn has not been resolved yet, this method will not query further information. Instead its Option result state will be empty.

      Returns:
      If the information for navigation property to_CustomerReturnOverviewStatus is already loaded, the result will contain the CustomerReturnOverviewStatus entity. If not, an Option with result state empty is returned.
    • setCustomerReturnOverviewStatus

      public void setCustomerReturnOverviewStatus(CustomerReturnOverviewStatus value)
      Overwrites the associated CustomerReturnOverviewStatus entity for the loaded navigation property to_CustomerReturnOverviewStatus.
      Parameters:
      value - New CustomerReturnOverviewStatus entity.
    • fetchItem

      @Nonnull public List<CustomerReturnItem> fetchItem()
      Fetches the CustomerReturnItem entities (one to many) associated with this entity. This corresponds to the OData navigation property to_Item.

      Please note: This method will not cache or persist the query results.

      Returns:
      List containing one or more associated CustomerReturnItem entities. If no entities are associated then an empty list is returned.
      Throws:
      com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException - If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
    • getItemOrFetch

      @Nonnull public List<CustomerReturnItem> getItemOrFetch()
      Retrieval of associated CustomerReturnItem entities (one to many). This corresponds to the OData navigation property to_Item.

      If the navigation property to_Item of a queried CustomerReturn is operated lazily, an ODataException can be thrown in case of an OData query error.

      Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.

      Returns:
      List of associated CustomerReturnItem entities.
      Throws:
      com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException - If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
    • getItemIfPresent

      @Nonnull public io.vavr.control.Option<List<CustomerReturnItem>> getItemIfPresent()
      Retrieval of associated CustomerReturnItem entities (one to many). This corresponds to the OData navigation property to_Item.

      If the navigation property for an entity CustomerReturn has not been resolved yet, this method will not query further information. Instead its Option result state will be empty.

      Returns:
      If the information for navigation property to_Item is already loaded, the result will contain the CustomerReturnItem entities. If not, an Option with result state empty is returned.
    • setItem

      public void setItem(@Nonnull List<CustomerReturnItem> value)
      Overwrites the list of associated CustomerReturnItem entities for the loaded navigation property to_Item.

      If the navigation property to_Item of a queried CustomerReturn is operated lazily, an ODataException can be thrown in case of an OData query error.

      Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.

      Parameters:
      value - List of CustomerReturnItem entities.
    • addItem

      public void addItem(CustomerReturnItem... entity)
      Adds elements to the list of associated CustomerReturnItem entities. This corresponds to the OData navigation property to_Item.

      If the navigation property to_Item of a queried CustomerReturn is operated lazily, an ODataException can be thrown in case of an OData query error.

      Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.

      Parameters:
      entity - Array of CustomerReturnItem entities.
    • fetchPartner

      @Nonnull public List<CustomerReturnPartner> fetchPartner()
      Fetches the CustomerReturnPartner entities (one to many) associated with this entity. This corresponds to the OData navigation property to_Partner.

      Please note: This method will not cache or persist the query results.

      Returns:
      List containing one or more associated CustomerReturnPartner entities. If no entities are associated then an empty list is returned.
      Throws:
      com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException - If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
    • getPartnerOrFetch

      @Nonnull public List<CustomerReturnPartner> getPartnerOrFetch()
      Retrieval of associated CustomerReturnPartner entities (one to many). This corresponds to the OData navigation property to_Partner.

      If the navigation property to_Partner of a queried CustomerReturn is operated lazily, an ODataException can be thrown in case of an OData query error.

      Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.

      Returns:
      List of associated CustomerReturnPartner entities.
      Throws:
      com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException - If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
    • getPartnerIfPresent

      @Nonnull public io.vavr.control.Option<List<CustomerReturnPartner>> getPartnerIfPresent()
      Retrieval of associated CustomerReturnPartner entities (one to many). This corresponds to the OData navigation property to_Partner.

      If the navigation property for an entity CustomerReturn has not been resolved yet, this method will not query further information. Instead its Option result state will be empty.

      Returns:
      If the information for navigation property to_Partner is already loaded, the result will contain the CustomerReturnPartner entities. If not, an Option with result state empty is returned.
    • setPartner

      public void setPartner(@Nonnull List<CustomerReturnPartner> value)
      Overwrites the list of associated CustomerReturnPartner entities for the loaded navigation property to_Partner.

      If the navigation property to_Partner of a queried CustomerReturn is operated lazily, an ODataException can be thrown in case of an OData query error.

      Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.

      Parameters:
      value - List of CustomerReturnPartner entities.
    • addPartner

      public void addPartner(CustomerReturnPartner... entity)
      Adds elements to the list of associated CustomerReturnPartner entities. This corresponds to the OData navigation property to_Partner.

      If the navigation property to_Partner of a queried CustomerReturn is operated lazily, an ODataException can be thrown in case of an OData query error.

      Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.

      Parameters:
      entity - Array of CustomerReturnPartner entities.
    • fetchPricingElement

      @Nonnull public List<CustomerReturnPrcgElmnt> fetchPricingElement()
      Fetches the CustomerReturnPrcgElmnt entities (one to many) associated with this entity. This corresponds to the OData navigation property to_PricingElement.

      Please note: This method will not cache or persist the query results.

      Returns:
      List containing one or more associated CustomerReturnPrcgElmnt entities. If no entities are associated then an empty list is returned.
      Throws:
      com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException - If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
    • getPricingElementOrFetch

      @Nonnull public List<CustomerReturnPrcgElmnt> getPricingElementOrFetch()
      Retrieval of associated CustomerReturnPrcgElmnt entities (one to many). This corresponds to the OData navigation property to_PricingElement.

      If the navigation property to_PricingElement of a queried CustomerReturn is operated lazily, an ODataException can be thrown in case of an OData query error.

      Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.

      Returns:
      List of associated CustomerReturnPrcgElmnt entities.
      Throws:
      com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException - If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
    • getPricingElementIfPresent

      @Nonnull public io.vavr.control.Option<List<CustomerReturnPrcgElmnt>> getPricingElementIfPresent()
      Retrieval of associated CustomerReturnPrcgElmnt entities (one to many). This corresponds to the OData navigation property to_PricingElement.

      If the navigation property for an entity CustomerReturn has not been resolved yet, this method will not query further information. Instead its Option result state will be empty.

      Returns:
      If the information for navigation property to_PricingElement is already loaded, the result will contain the CustomerReturnPrcgElmnt entities. If not, an Option with result state empty is returned.
    • setPricingElement

      public void setPricingElement(@Nonnull List<CustomerReturnPrcgElmnt> value)
      Overwrites the list of associated CustomerReturnPrcgElmnt entities for the loaded navigation property to_PricingElement.

      If the navigation property to_PricingElement of a queried CustomerReturn is operated lazily, an ODataException can be thrown in case of an OData query error.

      Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.

      Parameters:
      value - List of CustomerReturnPrcgElmnt entities.
    • addPricingElement

      public void addPricingElement(CustomerReturnPrcgElmnt... entity)
      Adds elements to the list of associated CustomerReturnPrcgElmnt entities. This corresponds to the OData navigation property to_PricingElement.

      If the navigation property to_PricingElement of a queried CustomerReturn is operated lazily, an ODataException can be thrown in case of an OData query error.

      Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.

      Parameters:
      entity - Array of CustomerReturnPrcgElmnt entities.
    • fetchRelatedObject

      @Nonnull public List<CustomerReturnRelatedObject> fetchRelatedObject()
      Fetches the CustomerReturnRelatedObject entities (one to many) associated with this entity. This corresponds to the OData navigation property to_RelatedObject.

      Please note: This method will not cache or persist the query results.

      Returns:
      List containing one or more associated CustomerReturnRelatedObject entities. If no entities are associated then an empty list is returned.
      Throws:
      com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException - If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
    • getRelatedObjectOrFetch

      @Nonnull public List<CustomerReturnRelatedObject> getRelatedObjectOrFetch()
      Retrieval of associated CustomerReturnRelatedObject entities (one to many). This corresponds to the OData navigation property to_RelatedObject.

      If the navigation property to_RelatedObject of a queried CustomerReturn is operated lazily, an ODataException can be thrown in case of an OData query error.

      Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.

      Returns:
      List of associated CustomerReturnRelatedObject entities.
      Throws:
      com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException - If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
    • getRelatedObjectIfPresent

      @Nonnull public io.vavr.control.Option<List<CustomerReturnRelatedObject>> getRelatedObjectIfPresent()
      Retrieval of associated CustomerReturnRelatedObject entities (one to many). This corresponds to the OData navigation property to_RelatedObject.

      If the navigation property for an entity CustomerReturn has not been resolved yet, this method will not query further information. Instead its Option result state will be empty.

      Returns:
      If the information for navigation property to_RelatedObject is already loaded, the result will contain the CustomerReturnRelatedObject entities. If not, an Option with result state empty is returned.
    • setRelatedObject

      public void setRelatedObject(@Nonnull List<CustomerReturnRelatedObject> value)
      Overwrites the list of associated CustomerReturnRelatedObject entities for the loaded navigation property to_RelatedObject.

      If the navigation property to_RelatedObject of a queried CustomerReturn is operated lazily, an ODataException can be thrown in case of an OData query error.

      Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.

      Parameters:
      value - List of CustomerReturnRelatedObject entities.
    • addRelatedObject

      public void addRelatedObject(CustomerReturnRelatedObject... entity)
      Adds elements to the list of associated CustomerReturnRelatedObject entities. This corresponds to the OData navigation property to_RelatedObject.

      If the navigation property to_RelatedObject of a queried CustomerReturn is operated lazily, an ODataException can be thrown in case of an OData query error.

      Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.

      Parameters:
      entity - Array of CustomerReturnRelatedObject entities.
    • fetchText

      @Nonnull public List<CustomerReturnText> fetchText()
      Fetches the CustomerReturnText entities (one to many) associated with this entity. This corresponds to the OData navigation property to_Text.

      Please note: This method will not cache or persist the query results.

      Returns:
      List containing one or more associated CustomerReturnText entities. If no entities are associated then an empty list is returned.
      Throws:
      com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException - If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
    • getTextOrFetch

      @Nonnull public List<CustomerReturnText> getTextOrFetch()
      Retrieval of associated CustomerReturnText entities (one to many). This corresponds to the OData navigation property to_Text.

      If the navigation property to_Text of a queried CustomerReturn is operated lazily, an ODataException can be thrown in case of an OData query error.

      Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.

      Returns:
      List of associated CustomerReturnText entities.
      Throws:
      com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException - If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
    • getTextIfPresent

      @Nonnull public io.vavr.control.Option<List<CustomerReturnText>> getTextIfPresent()
      Retrieval of associated CustomerReturnText entities (one to many). This corresponds to the OData navigation property to_Text.

      If the navigation property for an entity CustomerReturn has not been resolved yet, this method will not query further information. Instead its Option result state will be empty.

      Returns:
      If the information for navigation property to_Text is already loaded, the result will contain the CustomerReturnText entities. If not, an Option with result state empty is returned.
    • setText

      public void setText(@Nonnull List<CustomerReturnText> value)
      Overwrites the list of associated CustomerReturnText entities for the loaded navigation property to_Text.

      If the navigation property to_Text of a queried CustomerReturn is operated lazily, an ODataException can be thrown in case of an OData query error.

      Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.

      Parameters:
      value - List of CustomerReturnText entities.
    • addText

      public void addText(CustomerReturnText... entity)
      Adds elements to the list of associated CustomerReturnText entities. This corresponds to the OData navigation property to_Text.

      If the navigation property to_Text of a queried CustomerReturn is operated lazily, an ODataException can be thrown in case of an OData query error.

      Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.

      Parameters:
      entity - Array of CustomerReturnText entities.
    • builder

      @Nonnull public static CustomerReturn.CustomerReturnBuilder builder()
    • getCustomerReturn

      @Nullable public String getCustomerReturn()
      (Key Field) Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: CustomerReturn

      Returns:
      Customer Return
    • getCustomerReturnType

      @Nullable public String getCustomerReturnType()
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: CustomerReturnType

      Returns:
      Customer Return Type
    • getSalesOrganization

      @Nullable public String getSalesOrganization()
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: SalesOrganization

      Returns:
      Sales Organization
    • getDistributionChannel

      @Nullable public String getDistributionChannel()
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: DistributionChannel

      Returns:
      Distribution Channel
    • getOrganizationDivision

      @Nullable public String getOrganizationDivision()
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: OrganizationDivision

      Returns:
      Division
    • getSalesGroup

      @Nullable public String getSalesGroup()
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: SalesGroup

      Returns:
      Sales Group
    • getSalesOffice

      @Nullable public String getSalesOffice()
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: SalesOffice

      Returns:
      Sales Office
    • getSalesDistrict

      @Nullable public String getSalesDistrict()
      Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: SalesDistrict

      Returns:
      Sales District
    • getSoldToParty

      @Nullable public String getSoldToParty()
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: SoldToParty

      Returns:
      Sold-to Party
    • getCreationDate

      @Nullable public LocalDateTime getCreationDate()
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: CreationDate

      Returns:
      Record Created On
    • getCreatedByUser

      @Nullable public String getCreatedByUser()
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: CreatedByUser

      Returns:
      Name of Person Responsible for Creating the Object
    • getLastChangeDate

      @Nullable public LocalDateTime getLastChangeDate()
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: LastChangeDate

      Returns:
      Last Changed On
    • getSenderBusinessSystemName

      @Nullable public String getSenderBusinessSystemName()
      Constraints: Not nullable, Maximum length: 60

      Original property name from the Odata EDM: SenderBusinessSystemName

      Returns:
      External Business System ID
    • getLastChangeDateTime

      @Nullable public ZonedDateTime getLastChangeDateTime()
      Constraints: Not nullable, Precision: 7

      Original property name from the Odata EDM: LastChangeDateTime

      Returns:
      UTC Time Stamp in Long Form (YYYYMMDDhhmmssmmmuuun)
    • getPurchaseOrderByCustomer

      @Nullable public String getPurchaseOrderByCustomer()
      Constraints: Not nullable, Maximum length: 35

      Original property name from the Odata EDM: PurchaseOrderByCustomer

      Returns:
      Customer Reference
    • getCustomerPurchaseOrderType

      @Nullable public String getCustomerPurchaseOrderType()
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: CustomerPurchaseOrderType

      Returns:
      Customer Purchase Order Type
    • getCustomerPurchaseOrderDate

      @Nullable public LocalDateTime getCustomerPurchaseOrderDate()
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: CustomerPurchaseOrderDate

      Returns:
      Customer Reference Date
    • getCustomerReturnDate

      @Nullable public LocalDateTime getCustomerReturnDate()
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: CustomerReturnDate

      Returns:
      Document Date (Date Received/Sent)
    • getTotalNetAmount

      @Nullable public BigDecimal getTotalNetAmount()
      Constraints: Not nullable, Precision: 16, Scale: 3

      Original property name from the Odata EDM: TotalNetAmount

      Returns:
      Net Value of the Sales Order in Document Currency
    • getTransactionCurrency

      @Nullable public String getTransactionCurrency()
      Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: TransactionCurrency

      Returns:
      SD Document Currency
    • getSDDocumentReason

      @Nullable public String getSDDocumentReason()
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: SDDocumentReason

      Returns:
      Order Reason (Reason for the Business Transaction)
    • getPricingDate

      @Nullable public LocalDateTime getPricingDate()
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: PricingDate

      Returns:
      Date for Pricing and Exchange Rate
    • getRequestedDeliveryDate

      @Nullable public LocalDateTime getRequestedDeliveryDate()
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: RequestedDeliveryDate

      Returns:
      Requested Delivery Date
    • getShippingType

      @Nullable public String getShippingType()
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: ShippingType

      Returns:
      Shipping Type
    • getHeaderBillingBlockReason

      @Nullable public String getHeaderBillingBlockReason()
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: HeaderBillingBlockReason

      Returns:
      Billing Block in SD Document
    • getDeliveryBlockReason

      @Nullable public String getDeliveryBlockReason()
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: DeliveryBlockReason

      Returns:
      Delivery Block (Document Header)
    • getIncotermsClassification

      @Nullable public String getIncotermsClassification()
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: IncotermsClassification

      Returns:
      Incoterms (Part 1)
    • getIncotermsTransferLocation

      @Nullable public String getIncotermsTransferLocation()
      Constraints: Not nullable, Maximum length: 28

      Original property name from the Odata EDM: IncotermsTransferLocation

      Returns:
      Incoterms (Part 2)
    • getIncotermsLocation1

      @Nullable public String getIncotermsLocation1()
      Constraints: Not nullable, Maximum length: 70

      Original property name from the Odata EDM: IncotermsLocation1

      Returns:
      Incoterms Location 1
    • getIncotermsLocation2

      @Nullable public String getIncotermsLocation2()
      Constraints: Not nullable, Maximum length: 70

      Original property name from the Odata EDM: IncotermsLocation2

      Returns:
      Incoterms Location 2
    • getIncotermsVersion

      @Nullable public String getIncotermsVersion()
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: IncotermsVersion

      Returns:
      Incoterms Version
    • getCustomerPaymentTerms

      @Nullable public String getCustomerPaymentTerms()
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: CustomerPaymentTerms

      Returns:
      Terms of Payment Key
    • getPaymentMethod

      @Nullable public String getPaymentMethod()
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: PaymentMethod

      Returns:
      Payment Method
    • getCustomerTaxClassification1

      @Nullable public String getCustomerTaxClassification1()
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: CustomerTaxClassification1

      Returns:
      Alternative Tax Classification
    • getCustomerTaxClassification2

      @Nullable public String getCustomerTaxClassification2()
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: CustomerTaxClassification2

      Returns:
      Tax Classification 2 for Customer
    • getCustomerTaxClassification3

      @Nullable public String getCustomerTaxClassification3()
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: CustomerTaxClassification3

      Returns:
      Tax Classification 3 for Customer
    • getCustomerTaxClassification4

      @Nullable public String getCustomerTaxClassification4()
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: CustomerTaxClassification4

      Returns:
      Tax Classification 4 for Customer
    • getCustomerTaxClassification5

      @Nullable public String getCustomerTaxClassification5()
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: CustomerTaxClassification5

      Returns:
      Tax Classification 5 for Customer
    • getCustomerTaxClassification6

      @Nullable public String getCustomerTaxClassification6()
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: CustomerTaxClassification6

      Returns:
      Tax Classification 6 for Customer
    • getCustomerTaxClassification7

      @Nullable public String getCustomerTaxClassification7()
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: CustomerTaxClassification7

      Returns:
      Tax Classification 7 for Customer
    • getCustomerTaxClassification8

      @Nullable public String getCustomerTaxClassification8()
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: CustomerTaxClassification8

      Returns:
      Tax Classification 8 for Customer
    • getCustomerTaxClassification9

      @Nullable public String getCustomerTaxClassification9()
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: CustomerTaxClassification9

      Returns:
      Tax Classification 9 for Customer
    • getRetsMgmtProcess

      @Nullable public String getRetsMgmtProcess()
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: RetsMgmtProcess

      Returns:
      Process Identification Number
    • getReferenceSDDocument

      @Nullable public String getReferenceSDDocument()
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: ReferenceSDDocument

      Returns:
      Document Number of Reference Document
    • getReferenceSDDocumentCategory

      @Nullable public String getReferenceSDDocumentCategory()
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: ReferenceSDDocumentCategory

      Returns:
      Document Category of Preceding SD Document
    • getAccountingDocExternalReference

      @Nullable public String getAccountingDocExternalReference()
      Constraints: Not nullable, Maximum length: 16

      Original property name from the Odata EDM: AccountingDocExternalReference

      Returns:
      Reference Document Number
    • getAssignmentReference

      @Nullable public String getAssignmentReference()
      Constraints: Not nullable, Maximum length: 18

      Original property name from the Odata EDM: AssignmentReference

      Returns:
      Assignment Number
    • getCustomerReturnApprovalReason

      @Nullable public String getCustomerReturnApprovalReason()
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: CustomerReturnApprovalReason

      Returns:
      Approval Request Reason ID
    • getSalesDocApprovalStatus

      @Nullable public String getSalesDocApprovalStatus()
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: SalesDocApprovalStatus

      Returns:
      Document Approval Status
    • getRetsMgmtLogProcgStatus

      @Nullable public String getRetsMgmtLogProcgStatus()
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: RetsMgmtLogProcgStatus

      Returns:
      Logistical Processing Status of a Return
    • getRetsMgmtCompnProcgStatus

      @Nullable public String getRetsMgmtCompnProcgStatus()
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: RetsMgmtCompnProcgStatus

      Returns:
      Status of Returns Refund Determination
    • getRetsMgmtProcessingStatus

      @Nullable public String getRetsMgmtProcessingStatus()
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: RetsMgmtProcessingStatus

      Returns:
      Processing Status
    • getOverallSDProcessStatus

      @Nullable public String getOverallSDProcessStatus()
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: OverallSDProcessStatus

      Returns:
      Overall Processing Status (Header/All Items)
    • getTotalCreditCheckStatus

      @Nullable public String getTotalCreditCheckStatus()
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: TotalCreditCheckStatus

      Returns:
      Overall Status of Credit Checks
    • getOverallSDDocumentRejectionSts

      @Nullable public String getOverallSDDocumentRejectionSts()
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: OverallSDDocumentRejectionSts

      Returns:
      Rejection Status (All Items)
    • toString

      @Nonnull public String toString()
      Overrides:
      toString in class VdmObject<CustomerReturn>
    • equals

      public boolean equals(@Nullable Object o)
      Overrides:
      equals in class VdmEntity<CustomerReturn>
    • canEqual

      protected boolean canEqual(@Nullable Object other)
      Overrides:
      canEqual in class VdmEntity<CustomerReturn>
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class VdmEntity<CustomerReturn>