Class SalesOrderPartnerAddress

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

public class SalesOrderPartnerAddress extends VdmEntity<SalesOrderPartnerAddress>
Header Partner Address

Original entity name from the Odata EDM: A_SalesOrderPartnerAddressType

  • Field Details

    • ALL_FIELDS

      public static final SalesOrderPartnerAddressSelectable ALL_FIELDS
      Selector for all available fields of SalesOrderPartnerAddress.
    • SALES_ORDER

      public static final SalesOrderPartnerAddressField<String> SALES_ORDER
      Use with available fluent helpers to apply the SalesOrder field to query operations.
    • PARTNER_FUNCTION

      public static final SalesOrderPartnerAddressField<String> PARTNER_FUNCTION
      Use with available fluent helpers to apply the PartnerFunction field to query operations.
    • ADDRESS_REPRESENTATION_CODE

      public static final SalesOrderPartnerAddressField<String> ADDRESS_REPRESENTATION_CODE
      Use with available fluent helpers to apply the AddressRepresentationCode field to query operations.
    • CORRESPONDENCE_LANGUAGE

      public static final SalesOrderPartnerAddressField<String> CORRESPONDENCE_LANGUAGE
      Use with available fluent helpers to apply the CorrespondenceLanguage field to query operations.
    • ADDRESSEE_FULL_NAME

      public static final SalesOrderPartnerAddressField<String> ADDRESSEE_FULL_NAME
      Use with available fluent helpers to apply the AddresseeFullName field to query operations.
    • ORGANIZATION_NAME1

      public static final SalesOrderPartnerAddressField<String> ORGANIZATION_NAME1
      Use with available fluent helpers to apply the OrganizationName1 field to query operations.
    • ORGANIZATION_NAME2

      public static final SalesOrderPartnerAddressField<String> ORGANIZATION_NAME2
      Use with available fluent helpers to apply the OrganizationName2 field to query operations.
    • ORGANIZATION_NAME3

      public static final SalesOrderPartnerAddressField<String> ORGANIZATION_NAME3
      Use with available fluent helpers to apply the OrganizationName3 field to query operations.
    • ORGANIZATION_NAME4

      public static final SalesOrderPartnerAddressField<String> ORGANIZATION_NAME4
      Use with available fluent helpers to apply the OrganizationName4 field to query operations.
    • CITY_NAME

      public static final SalesOrderPartnerAddressField<String> CITY_NAME
      Use with available fluent helpers to apply the CityName field to query operations.
    • DISTRICT_NAME

      public static final SalesOrderPartnerAddressField<String> DISTRICT_NAME
      Use with available fluent helpers to apply the DistrictName field to query operations.
    • POSTAL_CODE

      public static final SalesOrderPartnerAddressField<String> POSTAL_CODE
      Use with available fluent helpers to apply the PostalCode field to query operations.
    • STREET_PREFIX_NAME1

      public static final SalesOrderPartnerAddressField<String> STREET_PREFIX_NAME1
      Use with available fluent helpers to apply the StreetPrefixName1 field to query operations.
    • STREET_PREFIX_NAME2

      public static final SalesOrderPartnerAddressField<String> STREET_PREFIX_NAME2
      Use with available fluent helpers to apply the StreetPrefixName2 field to query operations.
    • STREET_NAME

      public static final SalesOrderPartnerAddressField<String> STREET_NAME
      Use with available fluent helpers to apply the StreetName field to query operations.
    • STREET_SUFFIX_NAME1

      public static final SalesOrderPartnerAddressField<String> STREET_SUFFIX_NAME1
      Use with available fluent helpers to apply the StreetSuffixName1 field to query operations.
    • STREET_SUFFIX_NAME2

      public static final SalesOrderPartnerAddressField<String> STREET_SUFFIX_NAME2
      Use with available fluent helpers to apply the StreetSuffixName2 field to query operations.
    • HOUSE_NUMBER

      public static final SalesOrderPartnerAddressField<String> HOUSE_NUMBER
      Use with available fluent helpers to apply the HouseNumber field to query operations.
    • COUNTRY

      public static final SalesOrderPartnerAddressField<String> COUNTRY
      Use with available fluent helpers to apply the Country field to query operations.
    • REGION

      public static final SalesOrderPartnerAddressField<String> REGION
      Use with available fluent helpers to apply the Region field to query operations.
    • FORM_OF_ADDRESS

      public static final SalesOrderPartnerAddressField<String> FORM_OF_ADDRESS
      Use with available fluent helpers to apply the FormOfAddress field to query operations.
    • TAX_JURISDICTION

      public static final SalesOrderPartnerAddressField<String> TAX_JURISDICTION
      Use with available fluent helpers to apply the TaxJurisdiction field to query operations.
    • TRANSPORT_ZONE

      public static final SalesOrderPartnerAddressField<String> TRANSPORT_ZONE
      Use with available fluent helpers to apply the TransportZone field to query operations.
    • PO_BOX

      public static final SalesOrderPartnerAddressField<String> PO_BOX
      Use with available fluent helpers to apply the POBox field to query operations.
    • PO_BOX_POSTAL_CODE

      public static final SalesOrderPartnerAddressField<String> PO_BOX_POSTAL_CODE
      Use with available fluent helpers to apply the POBoxPostalCode field to query operations.
    • EMAIL_ADDRESS

      public static final SalesOrderPartnerAddressField<String> EMAIL_ADDRESS
      Use with available fluent helpers to apply the EmailAddress field to query operations.
    • MOBILE_PHONE_COUNTRY

      public static final SalesOrderPartnerAddressField<String> MOBILE_PHONE_COUNTRY
      Use with available fluent helpers to apply the MobilePhoneCountry field to query operations.
    • MOBILE_NUMBER

      public static final SalesOrderPartnerAddressField<String> MOBILE_NUMBER
      Use with available fluent helpers to apply the MobileNumber field to query operations.
    • PHONE_NUMBER_COUNTRY

      public static final SalesOrderPartnerAddressField<String> PHONE_NUMBER_COUNTRY
      Use with available fluent helpers to apply the PhoneNumberCountry field to query operations.
    • PHONE_NUMBER

      public static final SalesOrderPartnerAddressField<String> PHONE_NUMBER
      Use with available fluent helpers to apply the PhoneNumber field to query operations.
    • PHONE_EXTENSION_NUMBER

      public static final SalesOrderPartnerAddressField<String> PHONE_EXTENSION_NUMBER
      Use with available fluent helpers to apply the PhoneExtensionNumber field to query operations.
    • FAX_NUMBER_COUNTRY

      public static final SalesOrderPartnerAddressField<String> FAX_NUMBER_COUNTRY
      Use with available fluent helpers to apply the FaxNumberCountry field to query operations.
    • FAX_AREA_CODE_SUBSCRIBER_NUMBER

      public static final SalesOrderPartnerAddressField<String> FAX_AREA_CODE_SUBSCRIBER_NUMBER
      Use with available fluent helpers to apply the FaxAreaCodeSubscriberNumber field to query operations.
    • FAX_EXTENSION_NUMBER

      public static final SalesOrderPartnerAddressField<String> FAX_EXTENSION_NUMBER
      Use with available fluent helpers to apply the FaxExtensionNumber field to query operations.
    • TO_PARTNER

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

      public static final SalesOrderPartnerAddressOneToOneLink<SalesOrder> TO_SALES_ORDER
      Use with available fluent helpers to apply the to_SalesOrder navigation property to query operations.
  • Constructor Details

    • SalesOrderPartnerAddress

      public SalesOrderPartnerAddress()
    • SalesOrderPartnerAddress

      public SalesOrderPartnerAddress(@Nullable String salesOrder, @Nullable String partnerFunction, @Nullable String addressRepresentationCode, @Nullable String correspondenceLanguage, @Nullable String addresseeFullName, @Nullable String organizationName1, @Nullable String organizationName2, @Nullable String organizationName3, @Nullable String organizationName4, @Nullable String cityName, @Nullable String districtName, @Nullable String postalCode, @Nullable String streetPrefixName1, @Nullable String streetPrefixName2, @Nullable String streetName, @Nullable String streetSuffixName1, @Nullable String streetSuffixName2, @Nullable String houseNumber, @Nullable String country, @Nullable String region, @Nullable String formOfAddress, @Nullable String taxJurisdiction, @Nullable String transportZone, @Nullable String pOBox, @Nullable String pOBoxPostalCode, @Nullable String emailAddress, @Nullable String mobilePhoneCountry, @Nullable String mobileNumber, @Nullable String phoneNumberCountry, @Nullable String phoneNumber, @Nullable String phoneExtensionNumber, @Nullable String faxNumberCountry, @Nullable String faxAreaCodeSubscriberNumber, @Nullable String faxExtensionNumber, @Nullable SalesOrderHeaderPartner toPartner, @Nullable SalesOrder toSalesOrder)
  • Method Details

    • getType

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

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

      Original property name from the Odata EDM: SalesOrder

      Parameters:
      salesOrder - Sales and Distribution Document Number
    • setPartnerFunction

      public void setPartnerFunction(@Nullable String partnerFunction)
      (Key Field) Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: PartnerFunction

      Parameters:
      partnerFunction - Partner Function
    • setAddressRepresentationCode

      public void setAddressRepresentationCode(@Nullable String addressRepresentationCode)
      (Key Field) Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: AddressRepresentationCode

      Parameters:
      addressRepresentationCode - Version ID for International Addresses
    • setCorrespondenceLanguage

      public void setCorrespondenceLanguage(@Nullable String correspondenceLanguage)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: CorrespondenceLanguage

      Parameters:
      correspondenceLanguage - Language Key
    • setAddresseeFullName

      public void setAddresseeFullName(@Nullable String addresseeFullName)
      Constraints: Not nullable, Maximum length: 80

      Original property name from the Odata EDM: AddresseeFullName

      Parameters:
      addresseeFullName - Full Name of Person
    • setOrganizationName1

      public void setOrganizationName1(@Nullable String organizationName1)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: OrganizationName1

      Parameters:
      organizationName1 - Name 1
    • setOrganizationName2

      public void setOrganizationName2(@Nullable String organizationName2)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: OrganizationName2

      Parameters:
      organizationName2 - Name 2
    • setOrganizationName3

      public void setOrganizationName3(@Nullable String organizationName3)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: OrganizationName3

      Parameters:
      organizationName3 - Name 3
    • setOrganizationName4

      public void setOrganizationName4(@Nullable String organizationName4)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: OrganizationName4

      Parameters:
      organizationName4 - Name 4
    • setCityName

      public void setCityName(@Nullable String cityName)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: CityName

      Parameters:
      cityName - City
    • setDistrictName

      public void setDistrictName(@Nullable String districtName)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: DistrictName

      Parameters:
      districtName - District
    • setPostalCode

      public void setPostalCode(@Nullable String postalCode)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: PostalCode

      Parameters:
      postalCode - City Postal Code
    • setStreetPrefixName1

      public void setStreetPrefixName1(@Nullable String streetPrefixName1)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: StreetPrefixName1

      Parameters:
      streetPrefixName1 - Street 2
    • setStreetPrefixName2

      public void setStreetPrefixName2(@Nullable String streetPrefixName2)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: StreetPrefixName2

      Parameters:
      streetPrefixName2 - Street 3
    • setStreetName

      public void setStreetName(@Nullable String streetName)
      Constraints: Not nullable, Maximum length: 60

      Original property name from the Odata EDM: StreetName

      Parameters:
      streetName - Street
    • setStreetSuffixName1

      public void setStreetSuffixName1(@Nullable String streetSuffixName1)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: StreetSuffixName1

      Parameters:
      streetSuffixName1 - Street 4
    • setStreetSuffixName2

      public void setStreetSuffixName2(@Nullable String streetSuffixName2)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: StreetSuffixName2

      Parameters:
      streetSuffixName2 - Street 5
    • setHouseNumber

      public void setHouseNumber(@Nullable String houseNumber)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: HouseNumber

      Parameters:
      houseNumber - House Number
    • setCountry

      public void setCountry(@Nullable String country)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: Country

      Parameters:
      country - Country/Region Key
    • setRegion

      public void setRegion(@Nullable String region)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: Region

      Parameters:
      region - Region (State, Province, County)
    • setFormOfAddress

      public void setFormOfAddress(@Nullable String formOfAddress)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: FormOfAddress

      Parameters:
      formOfAddress - Form-of-Address Key
    • setTaxJurisdiction

      public void setTaxJurisdiction(@Nullable String taxJurisdiction)
      Constraints: Not nullable, Maximum length: 15

      Original property name from the Odata EDM: TaxJurisdiction

      Parameters:
      taxJurisdiction - Tax Jurisdiction
    • setTransportZone

      public void setTransportZone(@Nullable String transportZone)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: TransportZone

      Parameters:
      transportZone - Transportation zone to or from which the goods are delivered
    • setPOBox

      public void setPOBox(@Nullable String pOBox)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: POBox

      Parameters:
      pOBox - PO Box
    • setPOBoxPostalCode

      public void setPOBoxPostalCode(@Nullable String pOBoxPostalCode)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: POBoxPostalCode

      Parameters:
      pOBoxPostalCode - PO Box Postal Code
    • setEmailAddress

      public void setEmailAddress(@Nullable String emailAddress)
      Constraints: Not nullable, Maximum length: 241

      Original property name from the Odata EDM: EmailAddress

      Parameters:
      emailAddress - Email Address
    • setMobilePhoneCountry

      public void setMobilePhoneCountry(@Nullable String mobilePhoneCountry)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: MobilePhoneCountry

      Parameters:
      mobilePhoneCountry - Country/Region for Telephone/Fax Number
    • setMobileNumber

      public void setMobileNumber(@Nullable String mobileNumber)
      Constraints: Not nullable, Maximum length: 30

      Original property name from the Odata EDM: MobileNumber

      Parameters:
      mobileNumber - Telephone No.: Dialing Code + Number
    • setPhoneNumberCountry

      public void setPhoneNumberCountry(@Nullable String phoneNumberCountry)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: PhoneNumberCountry

      Parameters:
      phoneNumberCountry - Country/Region for Telephone/Fax Number
    • setPhoneNumber

      public void setPhoneNumber(@Nullable String phoneNumber)
      Constraints: Not nullable, Maximum length: 30

      Original property name from the Odata EDM: PhoneNumber

      Parameters:
      phoneNumber - Telephone No.: Dialing Code + Number
    • setPhoneExtensionNumber

      public void setPhoneExtensionNumber(@Nullable String phoneExtensionNumber)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: PhoneExtensionNumber

      Parameters:
      phoneExtensionNumber - Telephone no.: Extension
    • setFaxNumberCountry

      public void setFaxNumberCountry(@Nullable String faxNumberCountry)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: FaxNumberCountry

      Parameters:
      faxNumberCountry - Country/Region for Telephone/Fax Number
    • setFaxAreaCodeSubscriberNumber

      public void setFaxAreaCodeSubscriberNumber(@Nullable String faxAreaCodeSubscriberNumber)
      Constraints: Not nullable, Maximum length: 30

      Original property name from the Odata EDM: FaxAreaCodeSubscriberNumber

      Parameters:
      faxAreaCodeSubscriberNumber - Fax Number: Dialing Code+Number
    • setFaxExtensionNumber

      public void setFaxExtensionNumber(@Nullable String faxExtensionNumber)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: FaxExtensionNumber

      Parameters:
      faxExtensionNumber - Fax no.: Extension
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> SalesOrderPartnerAddressField<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> SalesOrderPartnerAddressField<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<SalesOrderPartnerAddress>
    • setServicePathForFetch

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

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

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

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

      @Nullable public SalesOrderHeaderPartner fetchPartner()
      Fetches the SalesOrderHeaderPartner entity (one to one) associated with this entity. This corresponds to the OData navigation property to_Partner.

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

      Returns:
      The single associated SalesOrderHeaderPartner entity, or null if an entity is not associated.
      Throws:
      com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException - If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
    • getPartnerOrFetch

      @Nullable public SalesOrderHeaderPartner getPartnerOrFetch()
      Retrieval of associated SalesOrderHeaderPartner entity (one to one). This corresponds to the OData navigation property to_Partner.

      If the navigation property to_Partner of a queried SalesOrderPartnerAddress 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 SalesOrderHeaderPartner entity.
      Throws:
      com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException - If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
    • getPartnerIfPresent

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

      If the navigation property for an entity SalesOrderPartnerAddress has not been resolved yet, this method will not query further information. Instead its Option result state will be empty.

      Returns:
      If the information for navigation property to_Partner is already loaded, the result will contain the SalesOrderHeaderPartner entity. If not, an Option with result state empty is returned.
    • setPartner

      public void setPartner(SalesOrderHeaderPartner value)
      Overwrites the associated SalesOrderHeaderPartner entity for the loaded navigation property to_Partner.
      Parameters:
      value - New SalesOrderHeaderPartner entity.
    • fetchSalesOrder

      @Nullable public SalesOrder fetchSalesOrder()
      Fetches the SalesOrder entity (one to one) associated with this entity. This corresponds to the OData navigation property to_SalesOrder.

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

      Returns:
      The single associated SalesOrder entity, or null if an entity is not associated.
      Throws:
      com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException - If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
    • getSalesOrderOrFetch

      @Nullable public SalesOrder getSalesOrderOrFetch()
      Retrieval of associated SalesOrder entity (one to one). This corresponds to the OData navigation property to_SalesOrder.

      If the navigation property to_SalesOrder of a queried SalesOrderPartnerAddress 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 SalesOrder entity.
      Throws:
      com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException - If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
    • getSalesOrderIfPresent

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

      If the navigation property for an entity SalesOrderPartnerAddress 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_SalesOrder is already loaded, the result will contain the SalesOrder entity. If not, an Option with result state empty is returned.
    • setSalesOrder

      public void setSalesOrder(SalesOrder value)
      Overwrites the associated SalesOrder entity for the loaded navigation property to_SalesOrder.
      Parameters:
      value - New SalesOrder entity.
    • builder

    • getSalesOrder

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

      Original property name from the Odata EDM: SalesOrder

      Returns:
      Sales and Distribution Document Number
    • getPartnerFunction

      @Nullable public String getPartnerFunction()
      (Key Field) Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: PartnerFunction

      Returns:
      Partner Function
    • getAddressRepresentationCode

      @Nullable public String getAddressRepresentationCode()
      (Key Field) Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: AddressRepresentationCode

      Returns:
      Version ID for International Addresses
    • getCorrespondenceLanguage

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

      Original property name from the Odata EDM: CorrespondenceLanguage

      Returns:
      Language Key
    • getAddresseeFullName

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

      Original property name from the Odata EDM: AddresseeFullName

      Returns:
      Full Name of Person
    • getOrganizationName1

      @Nullable public String getOrganizationName1()
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: OrganizationName1

      Returns:
      Name 1
    • getOrganizationName2

      @Nullable public String getOrganizationName2()
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: OrganizationName2

      Returns:
      Name 2
    • getOrganizationName3

      @Nullable public String getOrganizationName3()
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: OrganizationName3

      Returns:
      Name 3
    • getOrganizationName4

      @Nullable public String getOrganizationName4()
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: OrganizationName4

      Returns:
      Name 4
    • getCityName

      @Nullable public String getCityName()
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: CityName

      Returns:
      City
    • getDistrictName

      @Nullable public String getDistrictName()
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: DistrictName

      Returns:
      District
    • getPostalCode

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

      Original property name from the Odata EDM: PostalCode

      Returns:
      City Postal Code
    • getStreetPrefixName1

      @Nullable public String getStreetPrefixName1()
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: StreetPrefixName1

      Returns:
      Street 2
    • getStreetPrefixName2

      @Nullable public String getStreetPrefixName2()
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: StreetPrefixName2

      Returns:
      Street 3
    • getStreetName

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

      Original property name from the Odata EDM: StreetName

      Returns:
      Street
    • getStreetSuffixName1

      @Nullable public String getStreetSuffixName1()
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: StreetSuffixName1

      Returns:
      Street 4
    • getStreetSuffixName2

      @Nullable public String getStreetSuffixName2()
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: StreetSuffixName2

      Returns:
      Street 5
    • getHouseNumber

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

      Original property name from the Odata EDM: HouseNumber

      Returns:
      House Number
    • getCountry

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

      Original property name from the Odata EDM: Country

      Returns:
      Country/Region Key
    • getRegion

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

      Original property name from the Odata EDM: Region

      Returns:
      Region (State, Province, County)
    • getFormOfAddress

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

      Original property name from the Odata EDM: FormOfAddress

      Returns:
      Form-of-Address Key
    • getTaxJurisdiction

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

      Original property name from the Odata EDM: TaxJurisdiction

      Returns:
      Tax Jurisdiction
    • getTransportZone

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

      Original property name from the Odata EDM: TransportZone

      Returns:
      Transportation zone to or from which the goods are delivered
    • getPOBox

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

      Original property name from the Odata EDM: POBox

      Returns:
      PO Box
    • getPOBoxPostalCode

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

      Original property name from the Odata EDM: POBoxPostalCode

      Returns:
      PO Box Postal Code
    • getEmailAddress

      @Nullable public String getEmailAddress()
      Constraints: Not nullable, Maximum length: 241

      Original property name from the Odata EDM: EmailAddress

      Returns:
      Email Address
    • getMobilePhoneCountry

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

      Original property name from the Odata EDM: MobilePhoneCountry

      Returns:
      Country/Region for Telephone/Fax Number
    • getMobileNumber

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

      Original property name from the Odata EDM: MobileNumber

      Returns:
      Telephone No.: Dialing Code + Number
    • getPhoneNumberCountry

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

      Original property name from the Odata EDM: PhoneNumberCountry

      Returns:
      Country/Region for Telephone/Fax Number
    • getPhoneNumber

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

      Original property name from the Odata EDM: PhoneNumber

      Returns:
      Telephone No.: Dialing Code + Number
    • getPhoneExtensionNumber

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

      Original property name from the Odata EDM: PhoneExtensionNumber

      Returns:
      Telephone no.: Extension
    • getFaxNumberCountry

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

      Original property name from the Odata EDM: FaxNumberCountry

      Returns:
      Country/Region for Telephone/Fax Number
    • getFaxAreaCodeSubscriberNumber

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

      Original property name from the Odata EDM: FaxAreaCodeSubscriberNumber

      Returns:
      Fax Number: Dialing Code+Number
    • getFaxExtensionNumber

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

      Original property name from the Odata EDM: FaxExtensionNumber

      Returns:
      Fax no.: Extension
    • toString

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

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

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

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