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

public class CustomerReturnSimulation extends VdmEntity<CustomerReturnSimulation>
Returns Order Simulation

Original entity name from the Odata EDM: A_CustomerReturnSimulationType

  • Field Details

    • ALL_FIELDS

      public static final CustomerReturnSimulationSelectable ALL_FIELDS
      Selector for all available fields of CustomerReturnSimulation.
    • CUSTOMER_RETURN

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

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

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

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

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

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

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

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

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

      public static final CustomerReturnSimulationField<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 CustomerReturnSimulationField<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 CustomerReturnSimulationField<LocalDateTime> CUSTOMER_PURCHASE_ORDER_DATE
      Use with available fluent helpers to apply the CustomerPurchaseOrderDate field to query operations.
    • CUSTOMER_RETURN_DATE

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

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

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

      public static final CustomerReturnSimulationField<String> SD_PRICING_PROCEDURE
      Use with available fluent helpers to apply the SDPricingProcedure field to query operations.
    • SD_DOCUMENT_REASON

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      Use with available fluent helpers to apply the to_Item navigation property to query operations.
    • TO_PARTNER

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

      public static final CustomerReturnSimulationLink<CustRetPrcgElmntSimulation> TO_PRICING_ELEMENT
      Use with available fluent helpers to apply the to_PricingElement navigation property to query operations.
  • Constructor Details

    • CustomerReturnSimulation

      public CustomerReturnSimulation()
    • CustomerReturnSimulation

      public CustomerReturnSimulation(@Nullable String customerReturn, @Nullable String customerReturnType, @Nullable String salesOrganization, @Nullable String distributionChannel, @Nullable String organizationDivision, @Nullable String salesGroup, @Nullable String salesOffice, @Nullable String salesDistrict, @Nullable String soldToParty, @Nullable String purchaseOrderByCustomer, @Nullable String customerPurchaseOrderType, @Nullable LocalDateTime customerPurchaseOrderDate, @Nullable LocalDateTime customerReturnDate, @Nullable BigDecimal totalNetAmount, @Nullable String transactionCurrency, @Nullable String sDPricingProcedure, @Nullable String sDDocumentReason, @Nullable LocalDateTime pricingDate, @Nullable LocalDateTime requestedDeliveryDate, @Nullable String shippingType, @Nullable String incotermsClassification, @Nullable String incotermsTransferLocation, @Nullable String incotermsLocation1, @Nullable String incotermsLocation2, @Nullable String incotermsVersion, @Nullable String customerPaymentTerms, @Nullable String paymentMethod, @Nullable String customerTaxClassification1, @Nullable String customerTaxClassification2, @Nullable String customerTaxClassification3, @Nullable String customerTaxClassification4, @Nullable String customerTaxClassification5, @Nullable String customerTaxClassification6, @Nullable String customerTaxClassification7, @Nullable String customerTaxClassification8, @Nullable String customerTaxClassification9, @Nullable String referenceSDDocument, @Nullable String accountingDocExternalReference, List<CustomerReturnItemSimulation> toItem, List<CustRetPartnerSimulation> toPartner, List<CustRetPrcgElmntSimulation> toPricingElement)
  • Method Details

    • getType

      @Nonnull public Class<CustomerReturnSimulation> getType()
      Specified by:
      getType in class VdmObject<CustomerReturnSimulation>
    • 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
    • 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
    • setSDPricingProcedure

      public void setSDPricingProcedure(@Nullable String sDPricingProcedure)
      Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: SDPricingProcedure

      Parameters:
      sDPricingProcedure - Pricing Procedure in Pricing
    • 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
    • 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
    • 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
    • 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
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> CustomerReturnSimulationField<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> CustomerReturnSimulationField<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<CustomerReturnSimulation>
    • setServicePathForFetch

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

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

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

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

      @Nonnull public List<CustomerReturnItemSimulation> fetchItem()
      Fetches the CustomerReturnItemSimulation 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 CustomerReturnItemSimulation 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<CustomerReturnItemSimulation> getItemOrFetch()
      Retrieval of associated CustomerReturnItemSimulation entities (one to many). This corresponds to the OData navigation property to_Item.

      If the navigation property to_Item of a queried CustomerReturnSimulation 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 CustomerReturnItemSimulation 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<CustomerReturnItemSimulation>> getItemIfPresent()
      Retrieval of associated CustomerReturnItemSimulation entities (one to many). This corresponds to the OData navigation property to_Item.

      If the navigation property for an entity CustomerReturnSimulation 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 CustomerReturnItemSimulation entities. If not, an Option with result state empty is returned.
    • setItem

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

      If the navigation property to_Item of a queried CustomerReturnSimulation 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 CustomerReturnItemSimulation entities.
    • addItem

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

      If the navigation property to_Item of a queried CustomerReturnSimulation 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 CustomerReturnItemSimulation entities.
    • fetchPartner

      @Nonnull public List<CustRetPartnerSimulation> fetchPartner()
      Fetches the CustRetPartnerSimulation 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 CustRetPartnerSimulation 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<CustRetPartnerSimulation> getPartnerOrFetch()
      Retrieval of associated CustRetPartnerSimulation entities (one to many). This corresponds to the OData navigation property to_Partner.

      If the navigation property to_Partner of a queried CustomerReturnSimulation 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 CustRetPartnerSimulation 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<CustRetPartnerSimulation>> getPartnerIfPresent()
      Retrieval of associated CustRetPartnerSimulation entities (one to many). This corresponds to the OData navigation property to_Partner.

      If the navigation property for an entity CustomerReturnSimulation 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 CustRetPartnerSimulation entities. If not, an Option with result state empty is returned.
    • setPartner

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

      If the navigation property to_Partner of a queried CustomerReturnSimulation 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 CustRetPartnerSimulation entities.
    • addPartner

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

      If the navigation property to_Partner of a queried CustomerReturnSimulation 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 CustRetPartnerSimulation entities.
    • fetchPricingElement

      @Nonnull public List<CustRetPrcgElmntSimulation> fetchPricingElement()
      Fetches the CustRetPrcgElmntSimulation 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 CustRetPrcgElmntSimulation 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<CustRetPrcgElmntSimulation> getPricingElementOrFetch()
      Retrieval of associated CustRetPrcgElmntSimulation entities (one to many). This corresponds to the OData navigation property to_PricingElement.

      If the navigation property to_PricingElement of a queried CustomerReturnSimulation 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 CustRetPrcgElmntSimulation 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<CustRetPrcgElmntSimulation>> getPricingElementIfPresent()
      Retrieval of associated CustRetPrcgElmntSimulation entities (one to many). This corresponds to the OData navigation property to_PricingElement.

      If the navigation property for an entity CustomerReturnSimulation 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 CustRetPrcgElmntSimulation entities. If not, an Option with result state empty is returned.
    • setPricingElement

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

      If the navigation property to_PricingElement of a queried CustomerReturnSimulation 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 CustRetPrcgElmntSimulation entities.
    • addPricingElement

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

      If the navigation property to_PricingElement of a queried CustomerReturnSimulation 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 CustRetPrcgElmntSimulation entities.
    • 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
    • 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
    • getSDPricingProcedure

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

      Original property name from the Odata EDM: SDPricingProcedure

      Returns:
      Pricing Procedure in Pricing
    • 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
    • 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
    • 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
    • getAccountingDocExternalReference

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

      Original property name from the Odata EDM: AccountingDocExternalReference

      Returns:
      Reference Document Number
    • toString

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

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

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

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