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

public class DebitMemoRequestSimulation extends VdmEntity<DebitMemoRequestSimulation>
Debit Memo Request Simulation

Original entity name from the Odata EDM: A_DebitMemoRequestSimulationType

  • Field Details

    • ALL_FIELDS

      public static final DebitMemoRequestSimulationSelectable ALL_FIELDS
      Selector for all available fields of DebitMemoRequestSimulation.
    • DEBIT_MEMO_REQUEST

      public static final DebitMemoRequestSimulationField<String> DEBIT_MEMO_REQUEST
      Use with available fluent helpers to apply the DebitMemoRequest field to query operations.
    • DEBIT_MEMO_REQUEST_TYPE

      public static final DebitMemoRequestSimulationField<String> DEBIT_MEMO_REQUEST_TYPE
      Use with available fluent helpers to apply the DebitMemoRequestType field to query operations.
    • SALES_ORGANIZATION

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

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

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

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

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

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

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

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

      public static final DebitMemoRequestSimulationField<LocalDateTime> DEBIT_MEMO_REQUEST_DATE
      Use with available fluent helpers to apply the DebitMemoRequestDate field to query operations.
    • TOTAL_NET_AMOUNT

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      public static final DebitMemoRequestSimulationField<LocalDateTime> BILLING_DOCUMENT_DATE
      Use with available fluent helpers to apply the BillingDocumentDate field to query operations.
    • SERVICES_RENDERED_DATE

      public static final DebitMemoRequestSimulationField<LocalDateTime> SERVICES_RENDERED_DATE
      Use with available fluent helpers to apply the ServicesRenderedDate field to query operations.
    • REFERENCE_SD_DOCUMENT

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

      Use with available fluent helpers to apply the to_Credit navigation property to query operations.
    • TO_ITEM

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

      Use with available fluent helpers to apply the to_Partner navigation property to query operations.
    • TO_PRICING_ELEMENT

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

  • Method Details

    • getType

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

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

      Original property name from the Odata EDM: DebitMemoRequest

      Parameters:
      debitMemoRequest - Debit Memo Request
    • setDebitMemoRequestType

      public void setDebitMemoRequestType(@Nullable String debitMemoRequestType)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: DebitMemoRequestType

      Parameters:
      debitMemoRequestType - Sales Document 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
    • setDebitMemoRequestDate

      public void setDebitMemoRequestDate(@Nullable LocalDateTime debitMemoRequestDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: DebitMemoRequestDate

      Parameters:
      debitMemoRequestDate - 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
    • 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
    • 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
    • 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
    • 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
    • setBillingDocumentDate

      public void setBillingDocumentDate(@Nullable LocalDateTime billingDocumentDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: BillingDocumentDate

      Parameters:
      billingDocumentDate - Billing Date
    • setServicesRenderedDate

      public void setServicesRenderedDate(@Nullable LocalDateTime servicesRenderedDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: ServicesRenderedDate

      Parameters:
      servicesRenderedDate - Date on which services are rendered
    • 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
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> DebitMemoRequestSimulationField<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> DebitMemoRequestSimulationField<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<DebitMemoRequestSimulation>
    • setServicePathForFetch

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

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

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

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

      @Nullable public DebitMemoReqCreditSimulation fetchCredit()
      Fetches the DebitMemoReqCreditSimulation entity (one to one) associated with this entity. This corresponds to the OData navigation property to_Credit.

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

      Returns:
      The single associated DebitMemoReqCreditSimulation 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.
    • getCreditOrFetch

      @Nullable public DebitMemoReqCreditSimulation getCreditOrFetch()
      Retrieval of associated DebitMemoReqCreditSimulation entity (one to one). This corresponds to the OData navigation property to_Credit.

      If the navigation property to_Credit of a queried DebitMemoRequestSimulation 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 DebitMemoReqCreditSimulation 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.
    • getCreditIfPresent

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

      If the navigation property for an entity DebitMemoRequestSimulation 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_Credit is already loaded, the result will contain the DebitMemoReqCreditSimulation entity. If not, an Option with result state empty is returned.
    • setCredit

      public void setCredit(DebitMemoReqCreditSimulation value)
      Overwrites the associated DebitMemoReqCreditSimulation entity for the loaded navigation property to_Credit.
      Parameters:
      value - New DebitMemoReqCreditSimulation entity.
    • fetchItem

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      If the navigation property to_PricingElement of a queried DebitMemoRequestSimulation 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 DebitMemoReqPrcgElmntSimln entities.
    • builder

    • getDebitMemoRequest

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

      Original property name from the Odata EDM: DebitMemoRequest

      Returns:
      Debit Memo Request
    • getDebitMemoRequestType

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

      Original property name from the Odata EDM: DebitMemoRequestType

      Returns:
      Sales Document 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
    • getDebitMemoRequestDate

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

      Original property name from the Odata EDM: DebitMemoRequestDate

      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
    • 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
    • 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
    • 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
    • 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
    • getBillingDocumentDate

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

      Original property name from the Odata EDM: BillingDocumentDate

      Returns:
      Billing Date
    • getServicesRenderedDate

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

      Original property name from the Odata EDM: ServicesRenderedDate

      Returns:
      Date on which services are rendered
    • 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
    • toString

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

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

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

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