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

public class Supplier extends VdmEntity<Supplier>
Supplier

Original entity name from the Odata EDM: A_SupplierType

  • Field Details

    • ALL_FIELDS

      public static final SupplierSelectable ALL_FIELDS
      Selector for all available fields of Supplier.
    • SUPPLIER

      public static final SupplierField<String> SUPPLIER
      Use with available fluent helpers to apply the Supplier field to query operations.
    • ALTERNATIVE_PAYEE_ACCOUNT_NUMBER

      public static final SupplierField<String> ALTERNATIVE_PAYEE_ACCOUNT_NUMBER
      Use with available fluent helpers to apply the AlternativePayeeAccountNumber field to query operations.
    • AUTHORIZATION_GROUP

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

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

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

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

      public static final SupplierField<Boolean> PAYMENT_IS_BLOCKED_FOR_SUPPLIER
      Use with available fluent helpers to apply the PaymentIsBlockedForSupplier field to query operations.
    • POSTING_IS_BLOCKED

      public static final SupplierField<Boolean> POSTING_IS_BLOCKED
      Use with available fluent helpers to apply the PostingIsBlocked field to query operations.
    • PURCHASING_IS_BLOCKED

      public static final SupplierField<Boolean> PURCHASING_IS_BLOCKED
      Use with available fluent helpers to apply the PurchasingIsBlocked field to query operations.
    • SUPPLIER_ACCOUNT_GROUP

      public static final SupplierField<String> SUPPLIER_ACCOUNT_GROUP
      Use with available fluent helpers to apply the SupplierAccountGroup field to query operations.
    • SUPPLIER_FULL_NAME

      public static final SupplierField<String> SUPPLIER_FULL_NAME
      Use with available fluent helpers to apply the SupplierFullName field to query operations.
    • SUPPLIER_NAME

      public static final SupplierField<String> SUPPLIER_NAME
      Use with available fluent helpers to apply the SupplierName field to query operations.
    • VAT_REGISTRATION

      public static final SupplierField<String> VAT_REGISTRATION
      Use with available fluent helpers to apply the VATRegistration field to query operations.
    • BIRTH_DATE

      public static final SupplierField<LocalDateTime> BIRTH_DATE
      Use with available fluent helpers to apply the BirthDate field to query operations.
    • CONCATENATED_INTERNATIONAL_LOC_NO

      public static final SupplierField<String> CONCATENATED_INTERNATIONAL_LOC_NO
      Use with available fluent helpers to apply the ConcatenatedInternationalLocNo field to query operations.
    • DELETION_INDICATOR

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

      public static final SupplierField<String> FISCAL_ADDRESS
      Use with available fluent helpers to apply the FiscalAddress field to query operations.
    • INDUSTRY

      public static final SupplierField<String> INDUSTRY
      Use with available fluent helpers to apply the Industry field to query operations.
    • INTERNATIONAL_LOCATION_NUMBER1

      public static final SupplierField<String> INTERNATIONAL_LOCATION_NUMBER1
      Use with available fluent helpers to apply the InternationalLocationNumber1 field to query operations.
    • INTERNATIONAL_LOCATION_NUMBER2

      public static final SupplierField<String> INTERNATIONAL_LOCATION_NUMBER2
      Use with available fluent helpers to apply the InternationalLocationNumber2 field to query operations.
    • INTERNATIONAL_LOCATION_NUMBER3

      public static final SupplierField<String> INTERNATIONAL_LOCATION_NUMBER3
      Use with available fluent helpers to apply the InternationalLocationNumber3 field to query operations.
    • IS_NATURAL_PERSON

      public static final SupplierField<String> IS_NATURAL_PERSON
      Use with available fluent helpers to apply the IsNaturalPerson field to query operations.
    • RESPONSIBLE_TYPE

      public static final SupplierField<String> RESPONSIBLE_TYPE
      Use with available fluent helpers to apply the ResponsibleType field to query operations.
    • SUPLR_QLTY_IN_PROCMT_CERTFN_VALID_TO

      public static final SupplierField<LocalDateTime> SUPLR_QLTY_IN_PROCMT_CERTFN_VALID_TO
      Use with available fluent helpers to apply the SuplrQltyInProcmtCertfnValidTo field to query operations.
    • SUPLR_QUALITY_MANAGEMENT_SYSTEM

      public static final SupplierField<String> SUPLR_QUALITY_MANAGEMENT_SYSTEM
      Use with available fluent helpers to apply the SuplrQualityManagementSystem field to query operations.
    • SUPPLIER_CORPORATE_GROUP

      public static final SupplierField<String> SUPPLIER_CORPORATE_GROUP
      Use with available fluent helpers to apply the SupplierCorporateGroup field to query operations.
    • SUPPLIER_PROCUREMENT_BLOCK

      public static final SupplierField<String> SUPPLIER_PROCUREMENT_BLOCK
      Use with available fluent helpers to apply the SupplierProcurementBlock field to query operations.
    • TAX_NUMBER1

      public static final SupplierField<String> TAX_NUMBER1
      Use with available fluent helpers to apply the TaxNumber1 field to query operations.
    • TAX_NUMBER2

      public static final SupplierField<String> TAX_NUMBER2
      Use with available fluent helpers to apply the TaxNumber2 field to query operations.
    • TAX_NUMBER3

      public static final SupplierField<String> TAX_NUMBER3
      Use with available fluent helpers to apply the TaxNumber3 field to query operations.
    • TAX_NUMBER4

      public static final SupplierField<String> TAX_NUMBER4
      Use with available fluent helpers to apply the TaxNumber4 field to query operations.
    • TAX_NUMBER5

      public static final SupplierField<String> TAX_NUMBER5
      Use with available fluent helpers to apply the TaxNumber5 field to query operations.
    • TAX_NUMBER_RESPONSIBLE

      public static final SupplierField<String> TAX_NUMBER_RESPONSIBLE
      Use with available fluent helpers to apply the TaxNumberResponsible field to query operations.
    • TAX_NUMBER_TYPE

      public static final SupplierField<String> TAX_NUMBER_TYPE
      Use with available fluent helpers to apply the TaxNumberType field to query operations.
    • SUPLR_PROOF_OF_DELIV_RLVT_CODE

      public static final SupplierField<String> SUPLR_PROOF_OF_DELIV_RLVT_CODE
      Use with available fluent helpers to apply the SuplrProofOfDelivRlvtCode field to query operations.
    • BR_TAX_IS_SPLIT

      public static final SupplierField<Boolean> BR_TAX_IS_SPLIT
      Use with available fluent helpers to apply the BR_TaxIsSplit field to query operations.
    • DATA_EXCHANGE_INSTRUCTION_KEY

      public static final SupplierField<String> DATA_EXCHANGE_INSTRUCTION_KEY
      Use with available fluent helpers to apply the DataExchangeInstructionKey field to query operations.
    • TO_SUPPLIER_COMPANY

      public static final SupplierLink<SupplierCompany> TO_SUPPLIER_COMPANY
      Use with available fluent helpers to apply the to_SupplierCompany navigation property to query operations.
    • TO_SUPPLIER_PURCHASING_ORG

      public static final SupplierLink<SupplierPurchasingOrg> TO_SUPPLIER_PURCHASING_ORG
      Use with available fluent helpers to apply the to_SupplierPurchasingOrg navigation property to query operations.
    • TO_SUPPLIER_TEXT

      public static final SupplierLink<SupplierText> TO_SUPPLIER_TEXT
      Use with available fluent helpers to apply the to_SupplierText navigation property to query operations.
  • Constructor Details

    • Supplier

      public Supplier()
    • Supplier

      public Supplier(@Nullable String supplier, @Nullable String alternativePayeeAccountNumber, @Nullable String authorizationGroup, @Nullable String createdByUser, @Nullable LocalDateTime creationDate, @Nullable String customer, @Nullable Boolean paymentIsBlockedForSupplier, @Nullable Boolean postingIsBlocked, @Nullable Boolean purchasingIsBlocked, @Nullable String supplierAccountGroup, @Nullable String supplierFullName, @Nullable String supplierName, @Nullable String vATRegistration, @Nullable LocalDateTime birthDate, @Nullable String concatenatedInternationalLocNo, @Nullable Boolean deletionIndicator, @Nullable String fiscalAddress, @Nullable String industry, @Nullable String internationalLocationNumber1, @Nullable String internationalLocationNumber2, @Nullable String internationalLocationNumber3, @Nullable String isNaturalPerson, @Nullable String responsibleType, @Nullable LocalDateTime suplrQltyInProcmtCertfnValidTo, @Nullable String suplrQualityManagementSystem, @Nullable String supplierCorporateGroup, @Nullable String supplierProcurementBlock, @Nullable String taxNumber1, @Nullable String taxNumber2, @Nullable String taxNumber3, @Nullable String taxNumber4, @Nullable String taxNumber5, @Nullable String taxNumberResponsible, @Nullable String taxNumberType, @Nullable String suplrProofOfDelivRlvtCode, @Nullable Boolean bR_TaxIsSplit, @Nullable String dataExchangeInstructionKey, List<SupplierCompany> toSupplierCompany, List<SupplierPurchasingOrg> toSupplierPurchasingOrg, List<SupplierText> toSupplierText)
  • Method Details

    • getType

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

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

      Original property name from the Odata EDM: Supplier

      Parameters:
      supplier - Account Number of Supplier
    • setAlternativePayeeAccountNumber

      public void setAlternativePayeeAccountNumber(@Nullable String alternativePayeeAccountNumber)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: AlternativePayeeAccountNumber

      Parameters:
      alternativePayeeAccountNumber - Account Number of the Alternative Payee
    • 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
    • setCreatedByUser

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

      Original property name from the Odata EDM: CreatedByUser

      Parameters:
      createdByUser - Name of Person who Created the Object
    • setCreationDate

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

      Original property name from the Odata EDM: CreationDate

      Parameters:
      creationDate - Record Created On
    • setCustomer

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

      Original property name from the Odata EDM: Customer

      Parameters:
      customer - Customer Number
    • setPaymentIsBlockedForSupplier

      public void setPaymentIsBlockedForSupplier(@Nullable Boolean paymentIsBlockedForSupplier)
      Constraints: none

      Original property name from the Odata EDM: PaymentIsBlockedForSupplier

      Parameters:
      paymentIsBlockedForSupplier - Payment Block
    • setPostingIsBlocked

      public void setPostingIsBlocked(@Nullable Boolean postingIsBlocked)
      Constraints: none

      Original property name from the Odata EDM: PostingIsBlocked

      Parameters:
      postingIsBlocked - Central Posting Block
    • setPurchasingIsBlocked

      public void setPurchasingIsBlocked(@Nullable Boolean purchasingIsBlocked)
      Constraints: none

      Original property name from the Odata EDM: PurchasingIsBlocked

      Parameters:
      purchasingIsBlocked - Centrally imposed purchasing block
    • setSupplierAccountGroup

      public void setSupplierAccountGroup(@Nullable String supplierAccountGroup)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: SupplierAccountGroup

      Parameters:
      supplierAccountGroup - Supplier Account Group
    • setSupplierFullName

      public void setSupplierFullName(@Nullable String supplierFullName)
      Constraints: Not nullable, Maximum length: 220

      Original property name from the Odata EDM: SupplierFullName

      Parameters:
      supplierFullName - Supplier Full Name
    • setSupplierName

      public void setSupplierName(@Nullable String supplierName)
      Constraints: Not nullable, Maximum length: 80

      Original property name from the Odata EDM: SupplierName

      Parameters:
      supplierName - Name of Supplier
    • setVATRegistration

      public void setVATRegistration(@Nullable String vATRegistration)
      Constraints: Not nullable, Maximum length: 20

      Original property name from the Odata EDM: VATRegistration

      Parameters:
      vATRegistration - VAT Registration Number
    • setBirthDate

      public void setBirthDate(@Nullable LocalDateTime birthDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: BirthDate

      Parameters:
      birthDate - Date of birth of the person subject to withholding tax
    • setConcatenatedInternationalLocNo

      public void setConcatenatedInternationalLocNo(@Nullable String concatenatedInternationalLocNo)
      Constraints: Not nullable, Maximum length: 20

      Original property name from the Odata EDM: ConcatenatedInternationalLocNo

      Parameters:
      concatenatedInternationalLocNo - Cocatenated International Location Number
    • setDeletionIndicator

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

      Original property name from the Odata EDM: DeletionIndicator

      Parameters:
      deletionIndicator - Central Deletion Flag for Master Record
    • setFiscalAddress

      public void setFiscalAddress(@Nullable String fiscalAddress)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: FiscalAddress

      Parameters:
      fiscalAddress - Account number of the master record with fiscal address
    • setIndustry

      public void setIndustry(@Nullable String industry)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: Industry

      Parameters:
      industry - Industry key
    • setInternationalLocationNumber1

      public void setInternationalLocationNumber1(@Nullable String internationalLocationNumber1)
      Constraints: Not nullable, Maximum length: 7

      Original property name from the Odata EDM: InternationalLocationNumber1

      Parameters:
      internationalLocationNumber1 - International location number (part 1)
    • setInternationalLocationNumber2

      public void setInternationalLocationNumber2(@Nullable String internationalLocationNumber2)
      Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: InternationalLocationNumber2

      Parameters:
      internationalLocationNumber2 - International location number (Part 2)
    • setInternationalLocationNumber3

      public void setInternationalLocationNumber3(@Nullable String internationalLocationNumber3)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: InternationalLocationNumber3

      Parameters:
      internationalLocationNumber3 - Check digit for the international location number
    • setIsNaturalPerson

      public void setIsNaturalPerson(@Nullable String isNaturalPerson)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: IsNaturalPerson

      Parameters:
      isNaturalPerson - Natural Person
    • setResponsibleType

      public void setResponsibleType(@Nullable String responsibleType)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: ResponsibleType

      Parameters:
      responsibleType - Tax Type
    • setSuplrQltyInProcmtCertfnValidTo

      public void setSuplrQltyInProcmtCertfnValidTo(@Nullable LocalDateTime suplrQltyInProcmtCertfnValidTo)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: SuplrQltyInProcmtCertfnValidTo

      Parameters:
      suplrQltyInProcmtCertfnValidTo - Validity Date of Certification
    • setSuplrQualityManagementSystem

      public void setSuplrQualityManagementSystem(@Nullable String suplrQualityManagementSystem)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: SuplrQualityManagementSystem

      Parameters:
      suplrQualityManagementSystem - Supplier's QM System
    • setSupplierCorporateGroup

      public void setSupplierCorporateGroup(@Nullable String supplierCorporateGroup)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: SupplierCorporateGroup

      Parameters:
      supplierCorporateGroup - Group Key
    • setSupplierProcurementBlock

      public void setSupplierProcurementBlock(@Nullable String supplierProcurementBlock)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: SupplierProcurementBlock

      Parameters:
      supplierProcurementBlock - Function That Will Be Blocked
    • setTaxNumber1

      public void setTaxNumber1(@Nullable String taxNumber1)
      Constraints: Not nullable, Maximum length: 16

      Original property name from the Odata EDM: TaxNumber1

      Parameters:
      taxNumber1 - Tax Number 1
    • setTaxNumber2

      public void setTaxNumber2(@Nullable String taxNumber2)
      Constraints: Not nullable, Maximum length: 11

      Original property name from the Odata EDM: TaxNumber2

      Parameters:
      taxNumber2 - Tax Number 2
    • setTaxNumber3

      public void setTaxNumber3(@Nullable String taxNumber3)
      Constraints: Not nullable, Maximum length: 18

      Original property name from the Odata EDM: TaxNumber3

      Parameters:
      taxNumber3 - Tax Number 3
    • setTaxNumber4

      public void setTaxNumber4(@Nullable String taxNumber4)
      Constraints: Not nullable, Maximum length: 18

      Original property name from the Odata EDM: TaxNumber4

      Parameters:
      taxNumber4 - Tax Number 4
    • setTaxNumber5

      public void setTaxNumber5(@Nullable String taxNumber5)
      Constraints: Not nullable, Maximum length: 60

      Original property name from the Odata EDM: TaxNumber5

      Parameters:
      taxNumber5 - Tax Number 5
    • setTaxNumberResponsible

      public void setTaxNumberResponsible(@Nullable String taxNumberResponsible)
      Constraints: Not nullable, Maximum length: 18

      Original property name from the Odata EDM: TaxNumberResponsible

      Parameters:
      taxNumberResponsible - Tax Number at Responsible Tax Authority
    • setTaxNumberType

      public void setTaxNumberType(@Nullable String taxNumberType)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: TaxNumberType

      Parameters:
      taxNumberType - Tax Number Type
    • setSuplrProofOfDelivRlvtCode

      public void setSuplrProofOfDelivRlvtCode(@Nullable String suplrProofOfDelivRlvtCode)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: SuplrProofOfDelivRlvtCode

      Parameters:
      suplrProofOfDelivRlvtCode - Supplier indicator relevant for proof of delivery
    • setBR_TaxIsSplit

      public void setBR_TaxIsSplit(@Nullable Boolean bR_TaxIsSplit)
      Constraints: none

      Original property name from the Odata EDM: BR_TaxIsSplit

      Parameters:
      bR_TaxIsSplit - Tax Split
    • setDataExchangeInstructionKey

      public void setDataExchangeInstructionKey(@Nullable String dataExchangeInstructionKey)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: DataExchangeInstructionKey

      Parameters:
      dataExchangeInstructionKey - Instruction Key for Data Medium Exchange
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> SupplierField<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> SupplierField<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<Supplier>
    • setServicePathForFetch

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

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

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

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

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

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

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

      @Nonnull public List<SupplierCompany> getSupplierCompanyOrFetch()
      Retrieval of associated SupplierCompany entities (one to many). This corresponds to the OData navigation property to_SupplierCompany.

      If the navigation property to_SupplierCompany of a queried Supplier 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 SupplierCompany 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.
    • getSupplierCompanyIfPresent

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

      If the navigation property for an entity Supplier 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_SupplierCompany is already loaded, the result will contain the SupplierCompany entities. If not, an Option with result state empty is returned.
    • setSupplierCompany

      public void setSupplierCompany(@Nonnull List<SupplierCompany> value)
      Overwrites the list of associated SupplierCompany entities for the loaded navigation property to_SupplierCompany.

      If the navigation property to_SupplierCompany of a queried Supplier 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 SupplierCompany entities.
    • addSupplierCompany

      public void addSupplierCompany(SupplierCompany... entity)
      Adds elements to the list of associated SupplierCompany entities. This corresponds to the OData navigation property to_SupplierCompany.

      If the navigation property to_SupplierCompany of a queried Supplier 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 SupplierCompany entities.
    • fetchSupplierPurchasingOrg

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

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

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

      @Nonnull public List<SupplierPurchasingOrg> getSupplierPurchasingOrgOrFetch()
      Retrieval of associated SupplierPurchasingOrg entities (one to many). This corresponds to the OData navigation property to_SupplierPurchasingOrg.

      If the navigation property to_SupplierPurchasingOrg of a queried Supplier 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 SupplierPurchasingOrg 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.
    • getSupplierPurchasingOrgIfPresent

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

      If the navigation property for an entity Supplier 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_SupplierPurchasingOrg is already loaded, the result will contain the SupplierPurchasingOrg entities. If not, an Option with result state empty is returned.
    • setSupplierPurchasingOrg

      public void setSupplierPurchasingOrg(@Nonnull List<SupplierPurchasingOrg> value)
      Overwrites the list of associated SupplierPurchasingOrg entities for the loaded navigation property to_SupplierPurchasingOrg.

      If the navigation property to_SupplierPurchasingOrg of a queried Supplier 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 SupplierPurchasingOrg entities.
    • addSupplierPurchasingOrg

      public void addSupplierPurchasingOrg(SupplierPurchasingOrg... entity)
      Adds elements to the list of associated SupplierPurchasingOrg entities. This corresponds to the OData navigation property to_SupplierPurchasingOrg.

      If the navigation property to_SupplierPurchasingOrg of a queried Supplier 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 SupplierPurchasingOrg entities.
    • fetchSupplierText

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

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

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

      @Nonnull public List<SupplierText> getSupplierTextOrFetch()
      Retrieval of associated SupplierText entities (one to many). This corresponds to the OData navigation property to_SupplierText.

      If the navigation property to_SupplierText of a queried Supplier 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 SupplierText 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.
    • getSupplierTextIfPresent

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

      If the navigation property for an entity Supplier 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_SupplierText is already loaded, the result will contain the SupplierText entities. If not, an Option with result state empty is returned.
    • setSupplierText

      public void setSupplierText(@Nonnull List<SupplierText> value)
      Overwrites the list of associated SupplierText entities for the loaded navigation property to_SupplierText.

      If the navigation property to_SupplierText of a queried Supplier 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 SupplierText entities.
    • addSupplierText

      public void addSupplierText(SupplierText... entity)
      Adds elements to the list of associated SupplierText entities. This corresponds to the OData navigation property to_SupplierText.

      If the navigation property to_SupplierText of a queried Supplier 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 SupplierText entities.
    • builder

      @Nonnull public static Supplier.SupplierBuilder builder()
    • getSupplier

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

      Original property name from the Odata EDM: Supplier

      Returns:
      Account Number of Supplier
    • getAlternativePayeeAccountNumber

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

      Original property name from the Odata EDM: AlternativePayeeAccountNumber

      Returns:
      Account Number of the Alternative Payee
    • getAuthorizationGroup

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

      Original property name from the Odata EDM: AuthorizationGroup

      Returns:
      Authorization Group
    • getCreatedByUser

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

      Original property name from the Odata EDM: CreatedByUser

      Returns:
      Name of Person who Created the Object
    • getCreationDate

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

      Original property name from the Odata EDM: CreationDate

      Returns:
      Record Created On
    • getCustomer

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

      Original property name from the Odata EDM: Customer

      Returns:
      Customer Number
    • getPaymentIsBlockedForSupplier

      @Nullable public Boolean getPaymentIsBlockedForSupplier()
      Constraints: none

      Original property name from the Odata EDM: PaymentIsBlockedForSupplier

      Returns:
      Payment Block
    • getPostingIsBlocked

      @Nullable public Boolean getPostingIsBlocked()
      Constraints: none

      Original property name from the Odata EDM: PostingIsBlocked

      Returns:
      Central Posting Block
    • getPurchasingIsBlocked

      @Nullable public Boolean getPurchasingIsBlocked()
      Constraints: none

      Original property name from the Odata EDM: PurchasingIsBlocked

      Returns:
      Centrally imposed purchasing block
    • getSupplierAccountGroup

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

      Original property name from the Odata EDM: SupplierAccountGroup

      Returns:
      Supplier Account Group
    • getSupplierFullName

      @Nullable public String getSupplierFullName()
      Constraints: Not nullable, Maximum length: 220

      Original property name from the Odata EDM: SupplierFullName

      Returns:
      Supplier Full Name
    • getSupplierName

      @Nullable public String getSupplierName()
      Constraints: Not nullable, Maximum length: 80

      Original property name from the Odata EDM: SupplierName

      Returns:
      Name of Supplier
    • getVATRegistration

      @Nullable public String getVATRegistration()
      Constraints: Not nullable, Maximum length: 20

      Original property name from the Odata EDM: VATRegistration

      Returns:
      VAT Registration Number
    • getBirthDate

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

      Original property name from the Odata EDM: BirthDate

      Returns:
      Date of birth of the person subject to withholding tax
    • getConcatenatedInternationalLocNo

      @Nullable public String getConcatenatedInternationalLocNo()
      Constraints: Not nullable, Maximum length: 20

      Original property name from the Odata EDM: ConcatenatedInternationalLocNo

      Returns:
      Cocatenated International Location Number
    • getDeletionIndicator

      @Nullable public Boolean getDeletionIndicator()
      Constraints: none

      Original property name from the Odata EDM: DeletionIndicator

      Returns:
      Central Deletion Flag for Master Record
    • getFiscalAddress

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

      Original property name from the Odata EDM: FiscalAddress

      Returns:
      Account number of the master record with fiscal address
    • getIndustry

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

      Original property name from the Odata EDM: Industry

      Returns:
      Industry key
    • getInternationalLocationNumber1

      @Nullable public String getInternationalLocationNumber1()
      Constraints: Not nullable, Maximum length: 7

      Original property name from the Odata EDM: InternationalLocationNumber1

      Returns:
      International location number (part 1)
    • getInternationalLocationNumber2

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

      Original property name from the Odata EDM: InternationalLocationNumber2

      Returns:
      International location number (Part 2)
    • getInternationalLocationNumber3

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

      Original property name from the Odata EDM: InternationalLocationNumber3

      Returns:
      Check digit for the international location number
    • getIsNaturalPerson

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

      Original property name from the Odata EDM: IsNaturalPerson

      Returns:
      Natural Person
    • getResponsibleType

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

      Original property name from the Odata EDM: ResponsibleType

      Returns:
      Tax Type
    • getSuplrQltyInProcmtCertfnValidTo

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

      Original property name from the Odata EDM: SuplrQltyInProcmtCertfnValidTo

      Returns:
      Validity Date of Certification
    • getSuplrQualityManagementSystem

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

      Original property name from the Odata EDM: SuplrQualityManagementSystem

      Returns:
      Supplier's QM System
    • getSupplierCorporateGroup

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

      Original property name from the Odata EDM: SupplierCorporateGroup

      Returns:
      Group Key
    • getSupplierProcurementBlock

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

      Original property name from the Odata EDM: SupplierProcurementBlock

      Returns:
      Function That Will Be Blocked
    • getTaxNumber1

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

      Original property name from the Odata EDM: TaxNumber1

      Returns:
      Tax Number 1
    • getTaxNumber2

      @Nullable public String getTaxNumber2()
      Constraints: Not nullable, Maximum length: 11

      Original property name from the Odata EDM: TaxNumber2

      Returns:
      Tax Number 2
    • getTaxNumber3

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

      Original property name from the Odata EDM: TaxNumber3

      Returns:
      Tax Number 3
    • getTaxNumber4

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

      Original property name from the Odata EDM: TaxNumber4

      Returns:
      Tax Number 4
    • getTaxNumber5

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

      Original property name from the Odata EDM: TaxNumber5

      Returns:
      Tax Number 5
    • getTaxNumberResponsible

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

      Original property name from the Odata EDM: TaxNumberResponsible

      Returns:
      Tax Number at Responsible Tax Authority
    • getTaxNumberType

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

      Original property name from the Odata EDM: TaxNumberType

      Returns:
      Tax Number Type
    • getSuplrProofOfDelivRlvtCode

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

      Original property name from the Odata EDM: SuplrProofOfDelivRlvtCode

      Returns:
      Supplier indicator relevant for proof of delivery
    • getBR_TaxIsSplit

      @Nullable public Boolean getBR_TaxIsSplit()
      Constraints: none

      Original property name from the Odata EDM: BR_TaxIsSplit

      Returns:
      Tax Split
    • getDataExchangeInstructionKey

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

      Original property name from the Odata EDM: DataExchangeInstructionKey

      Returns:
      Instruction Key for Data Medium Exchange
    • toString

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

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

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

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