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

public class CustomerCompany extends VdmEntity<CustomerCompany>
Customer Company

Original entity name from the Odata EDM: A_CustomerCompanyType

  • Field Details

    • ALL_FIELDS

      public static final CustomerCompanySelectable ALL_FIELDS
      Selector for all available fields of CustomerCompany.
    • CUSTOMER

      public static final CustomerCompanyField<String> CUSTOMER
      Use with available fluent helpers to apply the Customer field to query operations.
    • COMPANY_CODE

      public static final CustomerCompanyField<String> COMPANY_CODE
      Use with available fluent helpers to apply the CompanyCode field to query operations.
    • APAR_TOLERANCE_GROUP

      public static final CustomerCompanyField<String> APAR_TOLERANCE_GROUP
      Use with available fluent helpers to apply the APARToleranceGroup field to query operations.
    • ACCOUNT_BY_CUSTOMER

      public static final CustomerCompanyField<String> ACCOUNT_BY_CUSTOMER
      Use with available fluent helpers to apply the AccountByCustomer field to query operations.
    • ACCOUNTING_CLERK

      public static final CustomerCompanyField<String> ACCOUNTING_CLERK
      Use with available fluent helpers to apply the AccountingClerk field to query operations.
    • ACCOUNTING_CLERK_FAX_NUMBER

      public static final CustomerCompanyField<String> ACCOUNTING_CLERK_FAX_NUMBER
      Use with available fluent helpers to apply the AccountingClerkFaxNumber field to query operations.
    • ACCOUNTING_CLERK_INTERNET_ADDRESS

      public static final CustomerCompanyField<String> ACCOUNTING_CLERK_INTERNET_ADDRESS
      Use with available fluent helpers to apply the AccountingClerkInternetAddress field to query operations.
    • ACCOUNTING_CLERK_PHONE_NUMBER

      public static final CustomerCompanyField<String> ACCOUNTING_CLERK_PHONE_NUMBER
      Use with available fluent helpers to apply the AccountingClerkPhoneNumber field to query operations.
    • ALTERNATIVE_PAYER_ACCOUNT

      public static final CustomerCompanyField<String> ALTERNATIVE_PAYER_ACCOUNT
      Use with available fluent helpers to apply the AlternativePayerAccount field to query operations.
    • AUTHORIZATION_GROUP

      public static final CustomerCompanyField<String> AUTHORIZATION_GROUP
      Use with available fluent helpers to apply the AuthorizationGroup field to query operations.
    • COLLECTIVE_INVOICE_VARIANT

      public static final CustomerCompanyField<String> COLLECTIVE_INVOICE_VARIANT
      Use with available fluent helpers to apply the CollectiveInvoiceVariant field to query operations.
    • CUSTOMER_ACCOUNT_NOTE

      public static final CustomerCompanyField<String> CUSTOMER_ACCOUNT_NOTE
      Use with available fluent helpers to apply the CustomerAccountNote field to query operations.
    • CUSTOMER_HEAD_OFFICE

      public static final CustomerCompanyField<String> CUSTOMER_HEAD_OFFICE
      Use with available fluent helpers to apply the CustomerHeadOffice field to query operations.
    • CUSTOMER_SUPPLIER_CLEARING_IS_USED

      public static final CustomerCompanyField<Boolean> CUSTOMER_SUPPLIER_CLEARING_IS_USED
      Use with available fluent helpers to apply the CustomerSupplierClearingIsUsed field to query operations.
    • HOUSE_BANK

      public static final CustomerCompanyField<String> HOUSE_BANK
      Use with available fluent helpers to apply the HouseBank field to query operations.
    • INTEREST_CALCULATION_CODE

      public static final CustomerCompanyField<String> INTEREST_CALCULATION_CODE
      Use with available fluent helpers to apply the InterestCalculationCode field to query operations.
    • INTEREST_CALCULATION_DATE

      public static final CustomerCompanyField<LocalDateTime> INTEREST_CALCULATION_DATE
      Use with available fluent helpers to apply the InterestCalculationDate field to query operations.
    • INTRST_CALC_FREQUENCY_IN_MONTHS

      public static final CustomerCompanyField<String> INTRST_CALC_FREQUENCY_IN_MONTHS
      Use with available fluent helpers to apply the IntrstCalcFrequencyInMonths field to query operations.
    • IS_TO_BE_LOCALLY_PROCESSED

      public static final CustomerCompanyField<Boolean> IS_TO_BE_LOCALLY_PROCESSED
      Use with available fluent helpers to apply the IsToBeLocallyProcessed field to query operations.
    • ITEM_IS_TO_BE_PAID_SEPARATELY

      public static final CustomerCompanyField<Boolean> ITEM_IS_TO_BE_PAID_SEPARATELY
      Use with available fluent helpers to apply the ItemIsToBePaidSeparately field to query operations.
    • LAYOUT_SORTING_RULE

      public static final CustomerCompanyField<String> LAYOUT_SORTING_RULE
      Use with available fluent helpers to apply the LayoutSortingRule field to query operations.
    • PAYMENT_BLOCKING_REASON

      public static final CustomerCompanyField<String> PAYMENT_BLOCKING_REASON
      Use with available fluent helpers to apply the PaymentBlockingReason field to query operations.
    • PAYMENT_METHODS_LIST

      public static final CustomerCompanyField<String> PAYMENT_METHODS_LIST
      Use with available fluent helpers to apply the PaymentMethodsList field to query operations.
    • PAYMENT_TERMS

      public static final CustomerCompanyField<String> PAYMENT_TERMS
      Use with available fluent helpers to apply the PaymentTerms field to query operations.
    • PAYT_ADVICE_IS_SENTBY_EDI

      public static final CustomerCompanyField<Boolean> PAYT_ADVICE_IS_SENTBY_EDI
      Use with available fluent helpers to apply the PaytAdviceIsSentbyEDI field to query operations.
    • PHYSICAL_INVENTORY_BLOCK_IND

      public static final CustomerCompanyField<Boolean> PHYSICAL_INVENTORY_BLOCK_IND
      Use with available fluent helpers to apply the PhysicalInventoryBlockInd field to query operations.
    • RECONCILIATION_ACCOUNT

      public static final CustomerCompanyField<String> RECONCILIATION_ACCOUNT
      Use with available fluent helpers to apply the ReconciliationAccount field to query operations.
    • RECORD_PAYMENT_HISTORY_INDICATOR

      public static final CustomerCompanyField<Boolean> RECORD_PAYMENT_HISTORY_INDICATOR
      Use with available fluent helpers to apply the RecordPaymentHistoryIndicator field to query operations.
    • USER_AT_CUSTOMER

      public static final CustomerCompanyField<String> USER_AT_CUSTOMER
      Use with available fluent helpers to apply the UserAtCustomer field to query operations.
    • DELETION_INDICATOR

      public static final CustomerCompanyField<Boolean> DELETION_INDICATOR
      Use with available fluent helpers to apply the DeletionIndicator field to query operations.
    • CASH_PLANNING_GROUP

      public static final CustomerCompanyField<String> CASH_PLANNING_GROUP
      Use with available fluent helpers to apply the CashPlanningGroup field to query operations.
    • KNOWN_OR_NEGOTIATED_LEAVE

      public static final CustomerCompanyField<String> KNOWN_OR_NEGOTIATED_LEAVE
      Use with available fluent helpers to apply the KnownOrNegotiatedLeave field to query operations.
    • VALUE_ADJUSTMENT_KEY

      public static final CustomerCompanyField<String> VALUE_ADJUSTMENT_KEY
      Use with available fluent helpers to apply the ValueAdjustmentKey field to query operations.
    • CUSTOMER_ACCOUNT_GROUP

      public static final CustomerCompanyField<String> CUSTOMER_ACCOUNT_GROUP
      Use with available fluent helpers to apply the CustomerAccountGroup field to query operations.
    • TO_COMPANY_TEXT

      public static final CustomerCompanyLink<CustomerCompanyText> TO_COMPANY_TEXT
      Use with available fluent helpers to apply the to_CompanyText navigation property to query operations.
    • TO_CUSTOMER_DUNNING

      public static final CustomerCompanyLink<CustomerDunning> TO_CUSTOMER_DUNNING
      Use with available fluent helpers to apply the to_CustomerDunning navigation property to query operations.
    • TO_WITH_HOLDING_TAX

      public static final CustomerCompanyLink<CustomerWithHoldingTax> TO_WITH_HOLDING_TAX
      Use with available fluent helpers to apply the to_WithHoldingTax navigation property to query operations.
  • Constructor Details

    • CustomerCompany

      public CustomerCompany()
    • CustomerCompany

      public CustomerCompany(@Nullable String customer, @Nullable String companyCode, @Nullable String aPARToleranceGroup, @Nullable String accountByCustomer, @Nullable String accountingClerk, @Nullable String accountingClerkFaxNumber, @Nullable String accountingClerkInternetAddress, @Nullable String accountingClerkPhoneNumber, @Nullable String alternativePayerAccount, @Nullable String authorizationGroup, @Nullable String collectiveInvoiceVariant, @Nullable String customerAccountNote, @Nullable String customerHeadOffice, @Nullable Boolean customerSupplierClearingIsUsed, @Nullable String houseBank, @Nullable String interestCalculationCode, @Nullable LocalDateTime interestCalculationDate, @Nullable String intrstCalcFrequencyInMonths, @Nullable Boolean isToBeLocallyProcessed, @Nullable Boolean itemIsToBePaidSeparately, @Nullable String layoutSortingRule, @Nullable String paymentBlockingReason, @Nullable String paymentMethodsList, @Nullable String paymentTerms, @Nullable Boolean paytAdviceIsSentbyEDI, @Nullable Boolean physicalInventoryBlockInd, @Nullable String reconciliationAccount, @Nullable Boolean recordPaymentHistoryIndicator, @Nullable String userAtCustomer, @Nullable Boolean deletionIndicator, @Nullable String cashPlanningGroup, @Nullable String knownOrNegotiatedLeave, @Nullable String valueAdjustmentKey, @Nullable String customerAccountGroup, List<CustomerCompanyText> toCompanyText, List<CustomerDunning> toCustomerDunning, List<CustomerWithHoldingTax> toWithHoldingTax)
  • Method Details

    • getType

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

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

      Original property name from the Odata EDM: Customer

      Parameters:
      customer - Customer Number
    • setCompanyCode

      public void setCompanyCode(@Nullable String companyCode)
      (Key Field) Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: CompanyCode

      Parameters:
      companyCode - Company Code
    • setAPARToleranceGroup

      public void setAPARToleranceGroup(@Nullable String aPARToleranceGroup)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: APARToleranceGroup

      Parameters:
      aPARToleranceGroup - Tolerance group for the business partner/G/L account
    • setAccountByCustomer

      public void setAccountByCustomer(@Nullable String accountByCustomer)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: AccountByCustomer

      Parameters:
      accountByCustomer - Our account number at customer
    • setAccountingClerk

      public void setAccountingClerk(@Nullable String accountingClerk)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: AccountingClerk

      Parameters:
      accountingClerk - Accounting Clerk Abbreviation
    • setAccountingClerkFaxNumber

      public void setAccountingClerkFaxNumber(@Nullable String accountingClerkFaxNumber)
      Constraints: Not nullable, Maximum length: 31

      Original property name from the Odata EDM: AccountingClerkFaxNumber

      Parameters:
      accountingClerkFaxNumber - Accounting clerk's fax number at the customer/vendor
    • setAccountingClerkInternetAddress

      public void setAccountingClerkInternetAddress(@Nullable String accountingClerkInternetAddress)
      Constraints: Not nullable, Maximum length: 130

      Original property name from the Odata EDM: AccountingClerkInternetAddress

      Parameters:
      accountingClerkInternetAddress - Internet address of partner company clerk
    • setAccountingClerkPhoneNumber

      public void setAccountingClerkPhoneNumber(@Nullable String accountingClerkPhoneNumber)
      Constraints: Not nullable, Maximum length: 30

      Original property name from the Odata EDM: AccountingClerkPhoneNumber

      Parameters:
      accountingClerkPhoneNumber - Accounting clerk's telephone number at business partner
    • setAlternativePayerAccount

      public void setAlternativePayerAccount(@Nullable String alternativePayerAccount)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: AlternativePayerAccount

      Parameters:
      alternativePayerAccount - Account number of an alternative payer
    • setAuthorizationGroup

      public void setAuthorizationGroup(@Nullable String authorizationGroup)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: AuthorizationGroup

      Parameters:
      authorizationGroup - Authorization Group
    • setCollectiveInvoiceVariant

      public void setCollectiveInvoiceVariant(@Nullable String collectiveInvoiceVariant)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: CollectiveInvoiceVariant

      Parameters:
      collectiveInvoiceVariant - Collective invoice variant
    • setCustomerAccountNote

      public void setCustomerAccountNote(@Nullable String customerAccountNote)
      Constraints: Not nullable, Maximum length: 30

      Original property name from the Odata EDM: CustomerAccountNote

      Parameters:
      customerAccountNote - Memo
    • setCustomerHeadOffice

      public void setCustomerHeadOffice(@Nullable String customerHeadOffice)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: CustomerHeadOffice

      Parameters:
      customerHeadOffice - Head Office Account Number (in branch accounts)
    • setCustomerSupplierClearingIsUsed

      public void setCustomerSupplierClearingIsUsed(@Nullable Boolean customerSupplierClearingIsUsed)
      Constraints: none

      Original property name from the Odata EDM: CustomerSupplierClearingIsUsed

      Parameters:
      customerSupplierClearingIsUsed - Indicator: Clearing between customer and vendor ?
    • setHouseBank

      public void setHouseBank(@Nullable String houseBank)
      Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: HouseBank

      Parameters:
      houseBank - Short Key for a House Bank
    • setInterestCalculationCode

      public void setInterestCalculationCode(@Nullable String interestCalculationCode)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: InterestCalculationCode

      Parameters:
      interestCalculationCode - Interest Indicator
    • setInterestCalculationDate

      public void setInterestCalculationDate(@Nullable LocalDateTime interestCalculationDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: InterestCalculationDate

      Parameters:
      interestCalculationDate - Key date of the last interest calculation
    • setIntrstCalcFrequencyInMonths

      public void setIntrstCalcFrequencyInMonths(@Nullable String intrstCalcFrequencyInMonths)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: IntrstCalcFrequencyInMonths

      Parameters:
      intrstCalcFrequencyInMonths - Interest Calculation Frequency in Months
    • setIsToBeLocallyProcessed

      public void setIsToBeLocallyProcessed(@Nullable Boolean isToBeLocallyProcessed)
      Constraints: none

      Original property name from the Odata EDM: IsToBeLocallyProcessed

      Parameters:
      isToBeLocallyProcessed - Indicator: Local processing?
    • setItemIsToBePaidSeparately

      public void setItemIsToBePaidSeparately(@Nullable Boolean itemIsToBePaidSeparately)
      Constraints: none

      Original property name from the Odata EDM: ItemIsToBePaidSeparately

      Parameters:
      itemIsToBePaidSeparately - Indicator: Pay all items separately ?
    • setLayoutSortingRule

      public void setLayoutSortingRule(@Nullable String layoutSortingRule)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: LayoutSortingRule

      Parameters:
      layoutSortingRule - Key for Sorting According to Assignment Numbers
    • setPaymentBlockingReason

      public void setPaymentBlockingReason(@Nullable String paymentBlockingReason)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: PaymentBlockingReason

      Parameters:
      paymentBlockingReason - Block Key for Payment
    • setPaymentMethodsList

      public void setPaymentMethodsList(@Nullable String paymentMethodsList)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: PaymentMethodsList

      Parameters:
      paymentMethodsList - List of Respected Payment Methods
    • setPaymentTerms

      public void setPaymentTerms(@Nullable String paymentTerms)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: PaymentTerms

      Parameters:
      paymentTerms - Terms of Payment Key
    • setPaytAdviceIsSentbyEDI

      public void setPaytAdviceIsSentbyEDI(@Nullable Boolean paytAdviceIsSentbyEDI)
      Constraints: none

      Original property name from the Odata EDM: PaytAdviceIsSentbyEDI

      Parameters:
      paytAdviceIsSentbyEDI - Indicator: Send Payment Advices by EDI
    • setPhysicalInventoryBlockInd

      public void setPhysicalInventoryBlockInd(@Nullable Boolean physicalInventoryBlockInd)
      Constraints: none

      Original property name from the Odata EDM: PhysicalInventoryBlockInd

      Parameters:
      physicalInventoryBlockInd - Posting block for company code
    • setReconciliationAccount

      public void setReconciliationAccount(@Nullable String reconciliationAccount)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: ReconciliationAccount

      Parameters:
      reconciliationAccount - Reconciliation Account in General Ledger
    • setRecordPaymentHistoryIndicator

      public void setRecordPaymentHistoryIndicator(@Nullable Boolean recordPaymentHistoryIndicator)
      Constraints: none

      Original property name from the Odata EDM: RecordPaymentHistoryIndicator

      Parameters:
      recordPaymentHistoryIndicator - Indicator: Record Payment History ?
    • setUserAtCustomer

      public void setUserAtCustomer(@Nullable String userAtCustomer)
      Constraints: Not nullable, Maximum length: 15

      Original property name from the Odata EDM: UserAtCustomer

      Parameters:
      userAtCustomer - User at customer
    • setDeletionIndicator

      public void setDeletionIndicator(@Nullable Boolean deletionIndicator)
      Constraints: none

      Original property name from the Odata EDM: DeletionIndicator

      Parameters:
      deletionIndicator - Deletion Flag for Master Record (Company Code Level)
    • setCashPlanningGroup

      public void setCashPlanningGroup(@Nullable String cashPlanningGroup)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: CashPlanningGroup

      Parameters:
      cashPlanningGroup - Planning group
    • setKnownOrNegotiatedLeave

      public void setKnownOrNegotiatedLeave(@Nullable String knownOrNegotiatedLeave)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: KnownOrNegotiatedLeave

      Parameters:
      knownOrNegotiatedLeave - Short Key for Known/Negotiated Leave
    • setValueAdjustmentKey

      public void setValueAdjustmentKey(@Nullable String valueAdjustmentKey)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: ValueAdjustmentKey

      Parameters:
      valueAdjustmentKey - Value Adjustment Key
    • setCustomerAccountGroup

      public void setCustomerAccountGroup(@Nullable String customerAccountGroup)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: CustomerAccountGroup

      Parameters:
      customerAccountGroup - Customer Account Group
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> CustomerCompanyField<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> CustomerCompanyField<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<CustomerCompany>
    • setServicePathForFetch

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

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

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

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

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

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

      Returns:
      List containing one or more associated CustomerCompanyText 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.
    • getCompanyTextOrFetch

      @Nonnull public List<CustomerCompanyText> getCompanyTextOrFetch()
      Retrieval of associated CustomerCompanyText entities (one to many). This corresponds to the OData navigation property to_CompanyText.

      If the navigation property to_CompanyText of a queried CustomerCompany 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 CustomerCompanyText 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.
    • getCompanyTextIfPresent

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

      If the navigation property for an entity CustomerCompany 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_CompanyText is already loaded, the result will contain the CustomerCompanyText entities. If not, an Option with result state empty is returned.
    • setCompanyText

      public void setCompanyText(@Nonnull List<CustomerCompanyText> value)
      Overwrites the list of associated CustomerCompanyText entities for the loaded navigation property to_CompanyText.

      If the navigation property to_CompanyText of a queried CustomerCompany 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 CustomerCompanyText entities.
    • addCompanyText

      public void addCompanyText(CustomerCompanyText... entity)
      Adds elements to the list of associated CustomerCompanyText entities. This corresponds to the OData navigation property to_CompanyText.

      If the navigation property to_CompanyText of a queried CustomerCompany 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 CustomerCompanyText entities.
    • fetchCustomerDunning

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

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

      Returns:
      List containing one or more associated CustomerDunning 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.
    • getCustomerDunningOrFetch

      @Nonnull public List<CustomerDunning> getCustomerDunningOrFetch()
      Retrieval of associated CustomerDunning entities (one to many). This corresponds to the OData navigation property to_CustomerDunning.

      If the navigation property to_CustomerDunning of a queried CustomerCompany 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 CustomerDunning 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.
    • getCustomerDunningIfPresent

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

      If the navigation property for an entity CustomerCompany 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_CustomerDunning is already loaded, the result will contain the CustomerDunning entities. If not, an Option with result state empty is returned.
    • setCustomerDunning

      public void setCustomerDunning(@Nonnull List<CustomerDunning> value)
      Overwrites the list of associated CustomerDunning entities for the loaded navigation property to_CustomerDunning.

      If the navigation property to_CustomerDunning of a queried CustomerCompany 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 CustomerDunning entities.
    • addCustomerDunning

      public void addCustomerDunning(CustomerDunning... entity)
      Adds elements to the list of associated CustomerDunning entities. This corresponds to the OData navigation property to_CustomerDunning.

      If the navigation property to_CustomerDunning of a queried CustomerCompany 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 CustomerDunning entities.
    • fetchWithHoldingTax

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

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

      Returns:
      List containing one or more associated CustomerWithHoldingTax 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.
    • getWithHoldingTaxOrFetch

      @Nonnull public List<CustomerWithHoldingTax> getWithHoldingTaxOrFetch()
      Retrieval of associated CustomerWithHoldingTax entities (one to many). This corresponds to the OData navigation property to_WithHoldingTax.

      If the navigation property to_WithHoldingTax of a queried CustomerCompany 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 CustomerWithHoldingTax 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.
    • getWithHoldingTaxIfPresent

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

      If the navigation property for an entity CustomerCompany 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_WithHoldingTax is already loaded, the result will contain the CustomerWithHoldingTax entities. If not, an Option with result state empty is returned.
    • setWithHoldingTax

      public void setWithHoldingTax(@Nonnull List<CustomerWithHoldingTax> value)
      Overwrites the list of associated CustomerWithHoldingTax entities for the loaded navigation property to_WithHoldingTax.

      If the navigation property to_WithHoldingTax of a queried CustomerCompany 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 CustomerWithHoldingTax entities.
    • addWithHoldingTax

      public void addWithHoldingTax(CustomerWithHoldingTax... entity)
      Adds elements to the list of associated CustomerWithHoldingTax entities. This corresponds to the OData navigation property to_WithHoldingTax.

      If the navigation property to_WithHoldingTax of a queried CustomerCompany 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 CustomerWithHoldingTax entities.
    • builder

      @Nonnull public static CustomerCompany.CustomerCompanyBuilder builder()
    • getCustomer

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

      Original property name from the Odata EDM: Customer

      Returns:
      Customer Number
    • getCompanyCode

      @Nullable public String getCompanyCode()
      (Key Field) Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: CompanyCode

      Returns:
      Company Code
    • getAPARToleranceGroup

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

      Original property name from the Odata EDM: APARToleranceGroup

      Returns:
      Tolerance group for the business partner/G/L account
    • getAccountByCustomer

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

      Original property name from the Odata EDM: AccountByCustomer

      Returns:
      Our account number at customer
    • getAccountingClerk

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

      Original property name from the Odata EDM: AccountingClerk

      Returns:
      Accounting Clerk Abbreviation
    • getAccountingClerkFaxNumber

      @Nullable public String getAccountingClerkFaxNumber()
      Constraints: Not nullable, Maximum length: 31

      Original property name from the Odata EDM: AccountingClerkFaxNumber

      Returns:
      Accounting clerk's fax number at the customer/vendor
    • getAccountingClerkInternetAddress

      @Nullable public String getAccountingClerkInternetAddress()
      Constraints: Not nullable, Maximum length: 130

      Original property name from the Odata EDM: AccountingClerkInternetAddress

      Returns:
      Internet address of partner company clerk
    • getAccountingClerkPhoneNumber

      @Nullable public String getAccountingClerkPhoneNumber()
      Constraints: Not nullable, Maximum length: 30

      Original property name from the Odata EDM: AccountingClerkPhoneNumber

      Returns:
      Accounting clerk's telephone number at business partner
    • getAlternativePayerAccount

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

      Original property name from the Odata EDM: AlternativePayerAccount

      Returns:
      Account number of an alternative payer
    • getAuthorizationGroup

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

      Original property name from the Odata EDM: AuthorizationGroup

      Returns:
      Authorization Group
    • getCollectiveInvoiceVariant

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

      Original property name from the Odata EDM: CollectiveInvoiceVariant

      Returns:
      Collective invoice variant
    • getCustomerAccountNote

      @Nullable public String getCustomerAccountNote()
      Constraints: Not nullable, Maximum length: 30

      Original property name from the Odata EDM: CustomerAccountNote

      Returns:
      Memo
    • getCustomerHeadOffice

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

      Original property name from the Odata EDM: CustomerHeadOffice

      Returns:
      Head Office Account Number (in branch accounts)
    • getCustomerSupplierClearingIsUsed

      @Nullable public Boolean getCustomerSupplierClearingIsUsed()
      Constraints: none

      Original property name from the Odata EDM: CustomerSupplierClearingIsUsed

      Returns:
      Indicator: Clearing between customer and vendor ?
    • getHouseBank

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

      Original property name from the Odata EDM: HouseBank

      Returns:
      Short Key for a House Bank
    • getInterestCalculationCode

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

      Original property name from the Odata EDM: InterestCalculationCode

      Returns:
      Interest Indicator
    • getInterestCalculationDate

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

      Original property name from the Odata EDM: InterestCalculationDate

      Returns:
      Key date of the last interest calculation
    • getIntrstCalcFrequencyInMonths

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

      Original property name from the Odata EDM: IntrstCalcFrequencyInMonths

      Returns:
      Interest Calculation Frequency in Months
    • getIsToBeLocallyProcessed

      @Nullable public Boolean getIsToBeLocallyProcessed()
      Constraints: none

      Original property name from the Odata EDM: IsToBeLocallyProcessed

      Returns:
      Indicator: Local processing?
    • getItemIsToBePaidSeparately

      @Nullable public Boolean getItemIsToBePaidSeparately()
      Constraints: none

      Original property name from the Odata EDM: ItemIsToBePaidSeparately

      Returns:
      Indicator: Pay all items separately ?
    • getLayoutSortingRule

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

      Original property name from the Odata EDM: LayoutSortingRule

      Returns:
      Key for Sorting According to Assignment Numbers
    • getPaymentBlockingReason

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

      Original property name from the Odata EDM: PaymentBlockingReason

      Returns:
      Block Key for Payment
    • getPaymentMethodsList

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

      Original property name from the Odata EDM: PaymentMethodsList

      Returns:
      List of Respected Payment Methods
    • getPaymentTerms

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

      Original property name from the Odata EDM: PaymentTerms

      Returns:
      Terms of Payment Key
    • getPaytAdviceIsSentbyEDI

      @Nullable public Boolean getPaytAdviceIsSentbyEDI()
      Constraints: none

      Original property name from the Odata EDM: PaytAdviceIsSentbyEDI

      Returns:
      Indicator: Send Payment Advices by EDI
    • getPhysicalInventoryBlockInd

      @Nullable public Boolean getPhysicalInventoryBlockInd()
      Constraints: none

      Original property name from the Odata EDM: PhysicalInventoryBlockInd

      Returns:
      Posting block for company code
    • getReconciliationAccount

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

      Original property name from the Odata EDM: ReconciliationAccount

      Returns:
      Reconciliation Account in General Ledger
    • getRecordPaymentHistoryIndicator

      @Nullable public Boolean getRecordPaymentHistoryIndicator()
      Constraints: none

      Original property name from the Odata EDM: RecordPaymentHistoryIndicator

      Returns:
      Indicator: Record Payment History ?
    • getUserAtCustomer

      @Nullable public String getUserAtCustomer()
      Constraints: Not nullable, Maximum length: 15

      Original property name from the Odata EDM: UserAtCustomer

      Returns:
      User at customer
    • getDeletionIndicator

      @Nullable public Boolean getDeletionIndicator()
      Constraints: none

      Original property name from the Odata EDM: DeletionIndicator

      Returns:
      Deletion Flag for Master Record (Company Code Level)
    • getCashPlanningGroup

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

      Original property name from the Odata EDM: CashPlanningGroup

      Returns:
      Planning group
    • getKnownOrNegotiatedLeave

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

      Original property name from the Odata EDM: KnownOrNegotiatedLeave

      Returns:
      Short Key for Known/Negotiated Leave
    • getValueAdjustmentKey

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

      Original property name from the Odata EDM: ValueAdjustmentKey

      Returns:
      Value Adjustment Key
    • getCustomerAccountGroup

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

      Original property name from the Odata EDM: CustomerAccountGroup

      Returns:
      Customer Account Group
    • toString

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

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

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

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