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

public class Customer extends VdmEntity<Customer>
Customer

Original entity name from the Odata EDM: A_CustomerType

  • Field Details

    • ALL_FIELDS

      public static final CustomerSelectable ALL_FIELDS
      Selector for all available fields of Customer.
    • CUSTOMER

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

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

      public static final CustomerField<String> BILLING_IS_BLOCKED_FOR_CUSTOMER
      Use with available fluent helpers to apply the BillingIsBlockedForCustomer field to query operations.
    • CREATED_BY_USER

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

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

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

      public static final CustomerField<String> CUSTOMER_CLASSIFICATION
      Use with available fluent helpers to apply the CustomerClassification field to query operations.
    • CUSTOMER_FULL_NAME

      public static final CustomerField<String> CUSTOMER_FULL_NAME
      Use with available fluent helpers to apply the CustomerFullName field to query operations.
    • CUSTOMER_NAME

      public static final CustomerField<String> CUSTOMER_NAME
      Use with available fluent helpers to apply the CustomerName field to query operations.
    • DELIVERY_IS_BLOCKED

      public static final CustomerField<String> DELIVERY_IS_BLOCKED
      Use with available fluent helpers to apply the DeliveryIsBlocked field to query operations.
    • FREE_DEFINED_ATTRIBUTE01

      public static final CustomerField<String> FREE_DEFINED_ATTRIBUTE01
      Use with available fluent helpers to apply the FreeDefinedAttribute01 field to query operations.
    • FREE_DEFINED_ATTRIBUTE02

      public static final CustomerField<String> FREE_DEFINED_ATTRIBUTE02
      Use with available fluent helpers to apply the FreeDefinedAttribute02 field to query operations.
    • FREE_DEFINED_ATTRIBUTE03

      public static final CustomerField<String> FREE_DEFINED_ATTRIBUTE03
      Use with available fluent helpers to apply the FreeDefinedAttribute03 field to query operations.
    • FREE_DEFINED_ATTRIBUTE04

      public static final CustomerField<String> FREE_DEFINED_ATTRIBUTE04
      Use with available fluent helpers to apply the FreeDefinedAttribute04 field to query operations.
    • FREE_DEFINED_ATTRIBUTE05

      public static final CustomerField<String> FREE_DEFINED_ATTRIBUTE05
      Use with available fluent helpers to apply the FreeDefinedAttribute05 field to query operations.
    • FREE_DEFINED_ATTRIBUTE06

      public static final CustomerField<String> FREE_DEFINED_ATTRIBUTE06
      Use with available fluent helpers to apply the FreeDefinedAttribute06 field to query operations.
    • FREE_DEFINED_ATTRIBUTE07

      public static final CustomerField<String> FREE_DEFINED_ATTRIBUTE07
      Use with available fluent helpers to apply the FreeDefinedAttribute07 field to query operations.
    • FREE_DEFINED_ATTRIBUTE08

      public static final CustomerField<String> FREE_DEFINED_ATTRIBUTE08
      Use with available fluent helpers to apply the FreeDefinedAttribute08 field to query operations.
    • FREE_DEFINED_ATTRIBUTE09

      public static final CustomerField<String> FREE_DEFINED_ATTRIBUTE09
      Use with available fluent helpers to apply the FreeDefinedAttribute09 field to query operations.
    • FREE_DEFINED_ATTRIBUTE10

      public static final CustomerField<String> FREE_DEFINED_ATTRIBUTE10
      Use with available fluent helpers to apply the FreeDefinedAttribute10 field to query operations.
    • NF_PARTNER_IS_NATURAL_PERSON

      public static final CustomerField<String> NF_PARTNER_IS_NATURAL_PERSON
      Use with available fluent helpers to apply the NFPartnerIsNaturalPerson field to query operations.
    • ORDER_IS_BLOCKED_FOR_CUSTOMER

      public static final CustomerField<String> ORDER_IS_BLOCKED_FOR_CUSTOMER
      Use with available fluent helpers to apply the OrderIsBlockedForCustomer field to query operations.
    • POSTING_IS_BLOCKED

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

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

      public static final CustomerField<String> CUSTOMER_CORPORATE_GROUP
      Use with available fluent helpers to apply the CustomerCorporateGroup field to query operations.
    • FISCAL_ADDRESS

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

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

      public static final CustomerField<String> INDUSTRY_CODE1
      Use with available fluent helpers to apply the IndustryCode1 field to query operations.
    • INDUSTRY_CODE2

      public static final CustomerField<String> INDUSTRY_CODE2
      Use with available fluent helpers to apply the IndustryCode2 field to query operations.
    • INDUSTRY_CODE3

      public static final CustomerField<String> INDUSTRY_CODE3
      Use with available fluent helpers to apply the IndustryCode3 field to query operations.
    • INDUSTRY_CODE4

      public static final CustomerField<String> INDUSTRY_CODE4
      Use with available fluent helpers to apply the IndustryCode4 field to query operations.
    • INDUSTRY_CODE5

      public static final CustomerField<String> INDUSTRY_CODE5
      Use with available fluent helpers to apply the IndustryCode5 field to query operations.
    • INTERNATIONAL_LOCATION_NUMBER1

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

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

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

      public static final CustomerField<String> NIELSEN_REGION
      Use with available fluent helpers to apply the NielsenRegion field to query operations.
    • RESPONSIBLE_TYPE

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

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

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

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

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

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

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

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

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

      public static final CustomerField<String> EXPRESS_TRAIN_STATION_NAME
      Use with available fluent helpers to apply the ExpressTrainStationName field to query operations.
    • TRAIN_STATION_NAME

      public static final CustomerField<String> TRAIN_STATION_NAME
      Use with available fluent helpers to apply the TrainStationName field to query operations.
    • CITY_CODE

      public static final CustomerField<String> CITY_CODE
      Use with available fluent helpers to apply the CityCode field to query operations.
    • COUNTY

      public static final CustomerField<String> COUNTY
      Use with available fluent helpers to apply the County field to query operations.
    • TO_CUST_ADDR_DEPDNT_EXT_IDENTIFIER

      public static final CustomerLink<CustAddrDepdntExtIdentifier> TO_CUST_ADDR_DEPDNT_EXT_IDENTIFIER
      Use with available fluent helpers to apply the to_CustAddrDepdntExtIdentifier navigation property to query operations.
    • TO_CUST_ADDR_DEPDNT_INFORMATION

      public static final CustomerLink<CustAddrDepdntInformation> TO_CUST_ADDR_DEPDNT_INFORMATION
      Use with available fluent helpers to apply the to_CustAddrDepdntInformation navigation property to query operations.
    • TO_CUSTOMER_COMPANY

      public static final CustomerLink<CustomerCompany> TO_CUSTOMER_COMPANY
      Use with available fluent helpers to apply the to_CustomerCompany navigation property to query operations.
    • TO_CUSTOMER_SALES_AREA

      public static final CustomerLink<CustomerSalesArea> TO_CUSTOMER_SALES_AREA
      Use with available fluent helpers to apply the to_CustomerSalesArea navigation property to query operations.
    • TO_CUSTOMER_TAX_GROUPING

      public static final CustomerLink<CustomerTaxGrouping> TO_CUSTOMER_TAX_GROUPING
      Use with available fluent helpers to apply the to_CustomerTaxGrouping navigation property to query operations.
    • TO_CUSTOMER_TEXT

      public static final CustomerLink<CustomerText> TO_CUSTOMER_TEXT
      Use with available fluent helpers to apply the to_CustomerText navigation property to query operations.
    • TO_CUSTOMER_UNLOADING_POINT

      public static final CustomerLink<CustomerUnloadingPoint> TO_CUSTOMER_UNLOADING_POINT
      Use with available fluent helpers to apply the to_CustomerUnloadingPoint navigation property to query operations.
    • TO_CUST_UNLDG_PT_ADDR_DEPDNT_INFO

      public static final CustomerLink<CustUnldgPtAddrDepdntInfo> TO_CUST_UNLDG_PT_ADDR_DEPDNT_INFO
      Use with available fluent helpers to apply the to_CustUnldgPtAddrDepdntInfo navigation property to query operations.
  • Constructor Details

  • Method Details

    • getType

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

      public void setBillingIsBlockedForCustomer(@Nullable String billingIsBlockedForCustomer)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: BillingIsBlockedForCustomer

      Parameters:
      billingIsBlockedForCustomer - Central Billing Block for Customer
    • 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
    • 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
    • setCustomerClassification

      public void setCustomerClassification(@Nullable String customerClassification)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: CustomerClassification

      Parameters:
      customerClassification - Customer Classification
    • setCustomerFullName

      public void setCustomerFullName(@Nullable String customerFullName)
      Constraints: Not nullable, Maximum length: 220

      Original property name from the Odata EDM: CustomerFullName

      Parameters:
      customerFullName - Customer Full Name
    • setCustomerName

      public void setCustomerName(@Nullable String customerName)
      Constraints: Not nullable, Maximum length: 80

      Original property name from the Odata EDM: CustomerName

      Parameters:
      customerName - Name of Customer
    • setDeliveryIsBlocked

      public void setDeliveryIsBlocked(@Nullable String deliveryIsBlocked)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: DeliveryIsBlocked

      Parameters:
      deliveryIsBlocked - Central delivery block for the customer
    • setFreeDefinedAttribute01

      public void setFreeDefinedAttribute01(@Nullable String freeDefinedAttribute01)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: FreeDefinedAttribute01

      Parameters:
      freeDefinedAttribute01 - Attribute 1
    • setFreeDefinedAttribute02

      public void setFreeDefinedAttribute02(@Nullable String freeDefinedAttribute02)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: FreeDefinedAttribute02

      Parameters:
      freeDefinedAttribute02 - Attribute 2
    • setFreeDefinedAttribute03

      public void setFreeDefinedAttribute03(@Nullable String freeDefinedAttribute03)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: FreeDefinedAttribute03

      Parameters:
      freeDefinedAttribute03 - Attribute 3
    • setFreeDefinedAttribute04

      public void setFreeDefinedAttribute04(@Nullable String freeDefinedAttribute04)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: FreeDefinedAttribute04

      Parameters:
      freeDefinedAttribute04 - Attribute 4
    • setFreeDefinedAttribute05

      public void setFreeDefinedAttribute05(@Nullable String freeDefinedAttribute05)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: FreeDefinedAttribute05

      Parameters:
      freeDefinedAttribute05 - Attribute 5
    • setFreeDefinedAttribute06

      public void setFreeDefinedAttribute06(@Nullable String freeDefinedAttribute06)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: FreeDefinedAttribute06

      Parameters:
      freeDefinedAttribute06 - Attribute 6
    • setFreeDefinedAttribute07

      public void setFreeDefinedAttribute07(@Nullable String freeDefinedAttribute07)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: FreeDefinedAttribute07

      Parameters:
      freeDefinedAttribute07 - Attribute 7
    • setFreeDefinedAttribute08

      public void setFreeDefinedAttribute08(@Nullable String freeDefinedAttribute08)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: FreeDefinedAttribute08

      Parameters:
      freeDefinedAttribute08 - Attribute 8
    • setFreeDefinedAttribute09

      public void setFreeDefinedAttribute09(@Nullable String freeDefinedAttribute09)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: FreeDefinedAttribute09

      Parameters:
      freeDefinedAttribute09 - Attribute 9
    • setFreeDefinedAttribute10

      public void setFreeDefinedAttribute10(@Nullable String freeDefinedAttribute10)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: FreeDefinedAttribute10

      Parameters:
      freeDefinedAttribute10 - Attribute 10
    • setNFPartnerIsNaturalPerson

      public void setNFPartnerIsNaturalPerson(@Nullable String nFPartnerIsNaturalPerson)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: NFPartnerIsNaturalPerson

      Parameters:
      nFPartnerIsNaturalPerson - Natural Person
    • setOrderIsBlockedForCustomer

      public void setOrderIsBlockedForCustomer(@Nullable String orderIsBlockedForCustomer)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: OrderIsBlockedForCustomer

      Parameters:
      orderIsBlockedForCustomer - Central Order Block for Customer
    • setPostingIsBlocked

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

      Original property name from the Odata EDM: PostingIsBlocked

      Parameters:
      postingIsBlocked - Central Posting Block
    • setSupplier

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

      Original property name from the Odata EDM: Supplier

      Parameters:
      supplier - Account Number of Supplier
    • setCustomerCorporateGroup

      public void setCustomerCorporateGroup(@Nullable String customerCorporateGroup)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: CustomerCorporateGroup

      Parameters:
      customerCorporateGroup - Group Key
    • 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 the 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
    • setIndustryCode1

      public void setIndustryCode1(@Nullable String industryCode1)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: IndustryCode1

      Parameters:
      industryCode1 - Industry Code 1
    • setIndustryCode2

      public void setIndustryCode2(@Nullable String industryCode2)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: IndustryCode2

      Parameters:
      industryCode2 - Industry Code 2
    • setIndustryCode3

      public void setIndustryCode3(@Nullable String industryCode3)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: IndustryCode3

      Parameters:
      industryCode3 - Industry Code 3
    • setIndustryCode4

      public void setIndustryCode4(@Nullable String industryCode4)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: IndustryCode4

      Parameters:
      industryCode4 - Industry Code 4
    • setIndustryCode5

      public void setIndustryCode5(@Nullable String industryCode5)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: IndustryCode5

      Parameters:
      industryCode5 - Industry Code 5
    • 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
    • setNielsenRegion

      public void setNielsenRegion(@Nullable String nielsenRegion)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: NielsenRegion

      Parameters:
      nielsenRegion - Nielsen ID
    • 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
    • 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
    • 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
    • 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
    • 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
    • setExpressTrainStationName

      public void setExpressTrainStationName(@Nullable String expressTrainStationName)
      Constraints: Not nullable, Maximum length: 25

      Original property name from the Odata EDM: ExpressTrainStationName

      Parameters:
      expressTrainStationName - Express train station
    • setTrainStationName

      public void setTrainStationName(@Nullable String trainStationName)
      Constraints: Not nullable, Maximum length: 25

      Original property name from the Odata EDM: TrainStationName

      Parameters:
      trainStationName - Train station
    • setCityCode

      public void setCityCode(@Nullable String cityCode)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: CityCode

      Parameters:
      cityCode - City Code
    • setCounty

      public void setCounty(@Nullable String county)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: County

      Parameters:
      county - County Code
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> CustomerField<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> CustomerField<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<Customer>
    • setServicePathForFetch

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

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

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

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

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

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

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

      @Nonnull public List<CustAddrDepdntExtIdentifier> getCustAddrDepdntExtIdentifierOrFetch()
      Retrieval of associated CustAddrDepdntExtIdentifier entities (one to many). This corresponds to the OData navigation property to_CustAddrDepdntExtIdentifier.

      If the navigation property to_CustAddrDepdntExtIdentifier of a queried Customer 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 CustAddrDepdntExtIdentifier 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.
    • getCustAddrDepdntExtIdentifierIfPresent

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

      If the navigation property for an entity Customer 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_CustAddrDepdntExtIdentifier is already loaded, the result will contain the CustAddrDepdntExtIdentifier entities. If not, an Option with result state empty is returned.
    • setCustAddrDepdntExtIdentifier

      public void setCustAddrDepdntExtIdentifier(@Nonnull List<CustAddrDepdntExtIdentifier> value)
      Overwrites the list of associated CustAddrDepdntExtIdentifier entities for the loaded navigation property to_CustAddrDepdntExtIdentifier.

      If the navigation property to_CustAddrDepdntExtIdentifier of a queried Customer 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 CustAddrDepdntExtIdentifier entities.
    • addCustAddrDepdntExtIdentifier

      public void addCustAddrDepdntExtIdentifier(CustAddrDepdntExtIdentifier... entity)
      Adds elements to the list of associated CustAddrDepdntExtIdentifier entities. This corresponds to the OData navigation property to_CustAddrDepdntExtIdentifier.

      If the navigation property to_CustAddrDepdntExtIdentifier of a queried Customer 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 CustAddrDepdntExtIdentifier entities.
    • fetchCustAddrDepdntInformation

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

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

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

      @Nonnull public List<CustAddrDepdntInformation> getCustAddrDepdntInformationOrFetch()
      Retrieval of associated CustAddrDepdntInformation entities (one to many). This corresponds to the OData navigation property to_CustAddrDepdntInformation.

      If the navigation property to_CustAddrDepdntInformation of a queried Customer 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 CustAddrDepdntInformation 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.
    • getCustAddrDepdntInformationIfPresent

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

      If the navigation property for an entity Customer 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_CustAddrDepdntInformation is already loaded, the result will contain the CustAddrDepdntInformation entities. If not, an Option with result state empty is returned.
    • setCustAddrDepdntInformation

      public void setCustAddrDepdntInformation(@Nonnull List<CustAddrDepdntInformation> value)
      Overwrites the list of associated CustAddrDepdntInformation entities for the loaded navigation property to_CustAddrDepdntInformation.

      If the navigation property to_CustAddrDepdntInformation of a queried Customer 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 CustAddrDepdntInformation entities.
    • addCustAddrDepdntInformation

      public void addCustAddrDepdntInformation(CustAddrDepdntInformation... entity)
      Adds elements to the list of associated CustAddrDepdntInformation entities. This corresponds to the OData navigation property to_CustAddrDepdntInformation.

      If the navigation property to_CustAddrDepdntInformation of a queried Customer 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 CustAddrDepdntInformation entities.
    • fetchCustomerCompany

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

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

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

      @Nonnull public List<CustomerCompany> getCustomerCompanyOrFetch()
      Retrieval of associated CustomerCompany entities (one to many). This corresponds to the OData navigation property to_CustomerCompany.

      If the navigation property to_CustomerCompany of a queried Customer 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 CustomerCompany 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.
    • getCustomerCompanyIfPresent

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

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

      public void setCustomerCompany(@Nonnull List<CustomerCompany> value)
      Overwrites the list of associated CustomerCompany entities for the loaded navigation property to_CustomerCompany.

      If the navigation property to_CustomerCompany of a queried Customer 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 CustomerCompany entities.
    • addCustomerCompany

      public void addCustomerCompany(CustomerCompany... entity)
      Adds elements to the list of associated CustomerCompany entities. This corresponds to the OData navigation property to_CustomerCompany.

      If the navigation property to_CustomerCompany of a queried Customer 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 CustomerCompany entities.
    • fetchCustomerSalesArea

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

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

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

      @Nonnull public List<CustomerSalesArea> getCustomerSalesAreaOrFetch()
      Retrieval of associated CustomerSalesArea entities (one to many). This corresponds to the OData navigation property to_CustomerSalesArea.

      If the navigation property to_CustomerSalesArea of a queried Customer 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 CustomerSalesArea 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.
    • getCustomerSalesAreaIfPresent

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

      If the navigation property for an entity Customer 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_CustomerSalesArea is already loaded, the result will contain the CustomerSalesArea entities. If not, an Option with result state empty is returned.
    • setCustomerSalesArea

      public void setCustomerSalesArea(@Nonnull List<CustomerSalesArea> value)
      Overwrites the list of associated CustomerSalesArea entities for the loaded navigation property to_CustomerSalesArea.

      If the navigation property to_CustomerSalesArea of a queried Customer 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 CustomerSalesArea entities.
    • addCustomerSalesArea

      public void addCustomerSalesArea(CustomerSalesArea... entity)
      Adds elements to the list of associated CustomerSalesArea entities. This corresponds to the OData navigation property to_CustomerSalesArea.

      If the navigation property to_CustomerSalesArea of a queried Customer 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 CustomerSalesArea entities.
    • fetchCustomerTaxGrouping

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

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

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

      @Nonnull public List<CustomerTaxGrouping> getCustomerTaxGroupingOrFetch()
      Retrieval of associated CustomerTaxGrouping entities (one to many). This corresponds to the OData navigation property to_CustomerTaxGrouping.

      If the navigation property to_CustomerTaxGrouping of a queried Customer 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 CustomerTaxGrouping 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.
    • getCustomerTaxGroupingIfPresent

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

      If the navigation property for an entity Customer 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_CustomerTaxGrouping is already loaded, the result will contain the CustomerTaxGrouping entities. If not, an Option with result state empty is returned.
    • setCustomerTaxGrouping

      public void setCustomerTaxGrouping(@Nonnull List<CustomerTaxGrouping> value)
      Overwrites the list of associated CustomerTaxGrouping entities for the loaded navigation property to_CustomerTaxGrouping.

      If the navigation property to_CustomerTaxGrouping of a queried Customer 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 CustomerTaxGrouping entities.
    • addCustomerTaxGrouping

      public void addCustomerTaxGrouping(CustomerTaxGrouping... entity)
      Adds elements to the list of associated CustomerTaxGrouping entities. This corresponds to the OData navigation property to_CustomerTaxGrouping.

      If the navigation property to_CustomerTaxGrouping of a queried Customer 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 CustomerTaxGrouping entities.
    • fetchCustomerText

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

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

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

      @Nonnull public List<CustomerText> getCustomerTextOrFetch()
      Retrieval of associated CustomerText entities (one to many). This corresponds to the OData navigation property to_CustomerText.

      If the navigation property to_CustomerText of a queried Customer 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 CustomerText 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.
    • getCustomerTextIfPresent

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

      If the navigation property for an entity Customer 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_CustomerText is already loaded, the result will contain the CustomerText entities. If not, an Option with result state empty is returned.
    • setCustomerText

      public void setCustomerText(@Nonnull List<CustomerText> value)
      Overwrites the list of associated CustomerText entities for the loaded navigation property to_CustomerText.

      If the navigation property to_CustomerText of a queried Customer 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 CustomerText entities.
    • addCustomerText

      public void addCustomerText(CustomerText... entity)
      Adds elements to the list of associated CustomerText entities. This corresponds to the OData navigation property to_CustomerText.

      If the navigation property to_CustomerText of a queried Customer 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 CustomerText entities.
    • fetchCustomerUnloadingPoint

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

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

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

      @Nonnull public List<CustomerUnloadingPoint> getCustomerUnloadingPointOrFetch()
      Retrieval of associated CustomerUnloadingPoint entities (one to many). This corresponds to the OData navigation property to_CustomerUnloadingPoint.

      If the navigation property to_CustomerUnloadingPoint of a queried Customer 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 CustomerUnloadingPoint 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.
    • getCustomerUnloadingPointIfPresent

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

      If the navigation property for an entity Customer 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_CustomerUnloadingPoint is already loaded, the result will contain the CustomerUnloadingPoint entities. If not, an Option with result state empty is returned.
    • setCustomerUnloadingPoint

      public void setCustomerUnloadingPoint(@Nonnull List<CustomerUnloadingPoint> value)
      Overwrites the list of associated CustomerUnloadingPoint entities for the loaded navigation property to_CustomerUnloadingPoint.

      If the navigation property to_CustomerUnloadingPoint of a queried Customer 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 CustomerUnloadingPoint entities.
    • addCustomerUnloadingPoint

      public void addCustomerUnloadingPoint(CustomerUnloadingPoint... entity)
      Adds elements to the list of associated CustomerUnloadingPoint entities. This corresponds to the OData navigation property to_CustomerUnloadingPoint.

      If the navigation property to_CustomerUnloadingPoint of a queried Customer 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 CustomerUnloadingPoint entities.
    • fetchCustUnldgPtAddrDepdntInfo

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

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

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

      @Nonnull public List<CustUnldgPtAddrDepdntInfo> getCustUnldgPtAddrDepdntInfoOrFetch()
      Retrieval of associated CustUnldgPtAddrDepdntInfo entities (one to many). This corresponds to the OData navigation property to_CustUnldgPtAddrDepdntInfo.

      If the navigation property to_CustUnldgPtAddrDepdntInfo of a queried Customer 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 CustUnldgPtAddrDepdntInfo 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.
    • getCustUnldgPtAddrDepdntInfoIfPresent

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

      If the navigation property for an entity Customer 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_CustUnldgPtAddrDepdntInfo is already loaded, the result will contain the CustUnldgPtAddrDepdntInfo entities. If not, an Option with result state empty is returned.
    • setCustUnldgPtAddrDepdntInfo

      public void setCustUnldgPtAddrDepdntInfo(@Nonnull List<CustUnldgPtAddrDepdntInfo> value)
      Overwrites the list of associated CustUnldgPtAddrDepdntInfo entities for the loaded navigation property to_CustUnldgPtAddrDepdntInfo.

      If the navigation property to_CustUnldgPtAddrDepdntInfo of a queried Customer 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 CustUnldgPtAddrDepdntInfo entities.
    • addCustUnldgPtAddrDepdntInfo

      public void addCustUnldgPtAddrDepdntInfo(CustUnldgPtAddrDepdntInfo... entity)
      Adds elements to the list of associated CustUnldgPtAddrDepdntInfo entities. This corresponds to the OData navigation property to_CustUnldgPtAddrDepdntInfo.

      If the navigation property to_CustUnldgPtAddrDepdntInfo of a queried Customer 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 CustUnldgPtAddrDepdntInfo entities.
    • builder

      @Nonnull public static Customer.CustomerBuilder 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
    • getAuthorizationGroup

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

      Original property name from the Odata EDM: AuthorizationGroup

      Returns:
      Authorization Group
    • getBillingIsBlockedForCustomer

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

      Original property name from the Odata EDM: BillingIsBlockedForCustomer

      Returns:
      Central Billing Block for Customer
    • 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
    • getCustomerAccountGroup

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

      Original property name from the Odata EDM: CustomerAccountGroup

      Returns:
      Customer Account Group
    • getCustomerClassification

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

      Original property name from the Odata EDM: CustomerClassification

      Returns:
      Customer Classification
    • getCustomerFullName

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

      Original property name from the Odata EDM: CustomerFullName

      Returns:
      Customer Full Name
    • getCustomerName

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

      Original property name from the Odata EDM: CustomerName

      Returns:
      Name of Customer
    • getDeliveryIsBlocked

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

      Original property name from the Odata EDM: DeliveryIsBlocked

      Returns:
      Central delivery block for the customer
    • getFreeDefinedAttribute01

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

      Original property name from the Odata EDM: FreeDefinedAttribute01

      Returns:
      Attribute 1
    • getFreeDefinedAttribute02

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

      Original property name from the Odata EDM: FreeDefinedAttribute02

      Returns:
      Attribute 2
    • getFreeDefinedAttribute03

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

      Original property name from the Odata EDM: FreeDefinedAttribute03

      Returns:
      Attribute 3
    • getFreeDefinedAttribute04

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

      Original property name from the Odata EDM: FreeDefinedAttribute04

      Returns:
      Attribute 4
    • getFreeDefinedAttribute05

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

      Original property name from the Odata EDM: FreeDefinedAttribute05

      Returns:
      Attribute 5
    • getFreeDefinedAttribute06

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

      Original property name from the Odata EDM: FreeDefinedAttribute06

      Returns:
      Attribute 6
    • getFreeDefinedAttribute07

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

      Original property name from the Odata EDM: FreeDefinedAttribute07

      Returns:
      Attribute 7
    • getFreeDefinedAttribute08

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

      Original property name from the Odata EDM: FreeDefinedAttribute08

      Returns:
      Attribute 8
    • getFreeDefinedAttribute09

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

      Original property name from the Odata EDM: FreeDefinedAttribute09

      Returns:
      Attribute 9
    • getFreeDefinedAttribute10

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

      Original property name from the Odata EDM: FreeDefinedAttribute10

      Returns:
      Attribute 10
    • getNFPartnerIsNaturalPerson

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

      Original property name from the Odata EDM: NFPartnerIsNaturalPerson

      Returns:
      Natural Person
    • getOrderIsBlockedForCustomer

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

      Original property name from the Odata EDM: OrderIsBlockedForCustomer

      Returns:
      Central Order Block for Customer
    • getPostingIsBlocked

      @Nullable public Boolean getPostingIsBlocked()
      Constraints: none

      Original property name from the Odata EDM: PostingIsBlocked

      Returns:
      Central Posting Block
    • getSupplier

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

      Original property name from the Odata EDM: Supplier

      Returns:
      Account Number of Supplier
    • getCustomerCorporateGroup

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

      Original property name from the Odata EDM: CustomerCorporateGroup

      Returns:
      Group Key
    • 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 the fiscal address
    • getIndustry

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

      Original property name from the Odata EDM: Industry

      Returns:
      Industry key
    • getIndustryCode1

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

      Original property name from the Odata EDM: IndustryCode1

      Returns:
      Industry Code 1
    • getIndustryCode2

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

      Original property name from the Odata EDM: IndustryCode2

      Returns:
      Industry Code 2
    • getIndustryCode3

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

      Original property name from the Odata EDM: IndustryCode3

      Returns:
      Industry Code 3
    • getIndustryCode4

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

      Original property name from the Odata EDM: IndustryCode4

      Returns:
      Industry Code 4
    • getIndustryCode5

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

      Original property name from the Odata EDM: IndustryCode5

      Returns:
      Industry Code 5
    • 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
    • getNielsenRegion

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

      Original property name from the Odata EDM: NielsenRegion

      Returns:
      Nielsen ID
    • getResponsibleType

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

      Original property name from the Odata EDM: ResponsibleType

      Returns:
      Tax Type
    • 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
    • getTaxNumberType

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

      Original property name from the Odata EDM: TaxNumberType

      Returns:
      Tax Number Type
    • getVATRegistration

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

      Original property name from the Odata EDM: VATRegistration

      Returns:
      VAT Registration Number
    • getDeletionIndicator

      @Nullable public Boolean getDeletionIndicator()
      Constraints: none

      Original property name from the Odata EDM: DeletionIndicator

      Returns:
      Central Deletion Flag for Master Record
    • getExpressTrainStationName

      @Nullable public String getExpressTrainStationName()
      Constraints: Not nullable, Maximum length: 25

      Original property name from the Odata EDM: ExpressTrainStationName

      Returns:
      Express train station
    • getTrainStationName

      @Nullable public String getTrainStationName()
      Constraints: Not nullable, Maximum length: 25

      Original property name from the Odata EDM: TrainStationName

      Returns:
      Train station
    • getCityCode

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

      Original property name from the Odata EDM: CityCode

      Returns:
      City Code
    • getCounty

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

      Original property name from the Odata EDM: County

      Returns:
      County Code
    • toString

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

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

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

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